fbpx
× Visual Objects

Please use this forum to post questions about Visual Objects and Vulcan.NET

Porting Vulcan Net to XSharp

More
11 months 3 weeks ago #1 by Juraj Halás
Porting Vulcan Net to XSharp was created by Juraj Halás
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.

More
11 months 3 weeks ago #2 by Chris Pyrgas
Replied by Chris Pyrgas on topic Porting Vulcan Net to XSharp
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.

More
11 months 3 weeks ago #3 by Juraj Halás
Replied by Juraj Halás on topic Porting Vulcan Net to XSharp
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.