fbpx
Welcome, Guest
Username: Password: Remember me
Visual Objects

Please use this forum to post questions about Visual Objects and Vulcan.NET
  • Page:
  • 1

TOPIC: Porting Vulcan Net to XSharp

Porting Vulcan Net to XSharp 1 year 2 months ago #1

Hi All

I was porting a small app from VulcanNet 2.0 to XSharp. The app moves the data between the DBF files and the tables in MDB file.
In most cases, I repeat these two errors:


1. Field 'WindowName.components' is never assigned to, an wil always have its default value null

2. The type or namespace name 'dbServer' coould not be found........

Juraj

Please Log in or Create an account to join the conversation.

Porting Vulcan Net to XSharp 1 year 2 months ago #2

Hi Juraj,

The first one is just a warning and you can workaround it by going to the designer.prg file where "components" is declared and change the declaration from

PRIVATE components AS System.ComponentModel.IContainer

to (just add the assignment)

PRIVATE components := NULL AS System.ComponentModel.IContainer

About the second thing, can you please check that the reference to VulcanVORDDClasses.dll still exists in your project references? If it does, then you probably just need to go to the Project settings, in the Language page and enable the option "Enable Implicit Namespace lookup".

Chris
XSharp Development Team
chris(at)xsharp.eu

Please Log in or Create an account to join the conversation.

Porting Vulcan Net to XSharp 1 year 2 months ago #3

Hi Chris

thank you for the advice, especially for dbServer, I had to go into the property and change "Enable implicit ...".

Juraj

Please Log in or Create an account to join the conversation.

  • Page:
  • 1