× Share your code snippets, screen shots etc. here

bBrowser.NET migration to X#

  • wriedmann
  • wriedmann's Avatar Topic Author
  • Away
More
7 months 1 week ago #1 by wriedmann
bBrowser.NET migration to X# was created by wriedmann
Hi,

until a bBrowser.NET version is released specifically for X#, I would like to post a migration guide for people that cannot wait.

Please see it attached to this message.

Wolfgang
Attachments:

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

  • wriedmann
  • wriedmann's Avatar Topic Author
  • Away
More
7 months 1 week ago #2 by wriedmann
Replied by wriedmann on topic bBrowser.NET migration to X#
Hi all,

I'm now a step further: I have converted the 3 vh files you normally need to include in a .NET application using bBrowser.NET to a library, basically changing all statements like
#define ASC_DOT 0x2E
to
define ASC_DOT := 0x2E
If anyone needs it until bBrowser.NET is released for X#, you will find it attached to this message.
Wolfgang
Attachments:

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

More
1 week 6 days ago #3 by nkristensen
Replied by nkristensen on topic bBrowser.NET migration to X#
Wolfgang (or anyone else),

Thank you very much for this. I am a real newbie with his .NET stuff. I was a VPOS member, bought bBrowser.Net, etc but never got any of it to work in real work applications. Now I am trying XS and I am sure I will come right eventually!

I followed your bBrowser migration guidelines and am getting errors XS0246: The type or namespace name 'DBServer' could not be found (are you missing a using directive or an assembly reference?)

I have added references to VulcanVORDDClasses, etc but error won't go away.

Any help would be appreciated.

regards,
Niels

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

  • wriedmann
  • wriedmann's Avatar Topic Author
  • Away
More
1 week 6 days ago #4 by wriedmann
Replied by wriedmann on topic bBrowser.NET migration to X#
Hi Niels,

the DBServer class is defined in the VulcanVORDDClasses.DLL, but the DataServer (from which the DBServer is inherited) is in the VulcanVOSystemClasses.DLL, so you need to include this library as well.

Wolfgang

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

More
1 week 6 days ago - 1 week 6 days ago #5 by lumberjack
Replied by lumberjack on topic bBrowser.NET migration to X#
Hi Niels,

nkristensen wrote: I have added references to VulcanVORDDClasses, etc but error won't go away.

Did you also inlclude a USING statement in the top of your PRG? Otherwise you need to maybe provide the full namespace of the DbServer class. Might be good to show some code to get you on track.
Regards,

______________________
Johan Nel
George, South Africa
Last edit: 1 week 6 days ago by lumberjack. Reason: Added namespace response

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