Known Problems Upgrading to VB.NET |
Post Reply |
Author | |
DDJJ
Senior Member Joined: 13 December 2004 Status: Offline Points: 143 |
Post Options
Thanks(0)
Posted: 20 September 2006 at 10:35am |
We are considering upgrading (maybe the wrong word to use) our VB6 app to VB.NET 2005. Since a lot of the code in our app relates to codejock controls, can anyone point out specific problems we might have after upgrading (if any??)? I'm mostly concerned that a lot of the codejock related code will (for whatever reason) need to be rewritten after the change.
Thanks for any feedback.
Dan
|
|
SuperMario
Admin Group Joined: 14 February 2004 Status: Offline Points: 18057 |
Post Options
Thanks(0)
|
should be an easy conversion. you can look at some of the VB6 and VB.net samples to compare how little the syntax has changed.
|
|
SuperMario
Admin Group Joined: 14 February 2004 Status: Offline Points: 18057 |
Post Options
Thanks(0)
|
Some of the biggest things, which are really minor would be the name of event parameters changed, for example the Commandbars Execture event in VB6 has a "Control" parameter, where it is now "eventArgs.control" in VB.NET. You don't use the keyword "Set" like you did in VB6, and you might need to fully qualify names such as "XtremeCommandBars.XTPControlType.xtpControlButton" which you can use Imports\Using statement (can't remember which is for vb and c#) to cut down on some of the name.
The only other thing is that some of the popup control properties are automatically renamed because they had the same name as the inherited control, so the codejock version will start with a "ctl" or something like that. |
|
DDJJ
Senior Member Joined: 13 December 2004 Status: Offline Points: 143 |
Post Options
Thanks(0)
|
Thanks for the detailed response, SuperMario.
At a minimum, it sounds like there will be some time required to bring the cj control code up to speed. Now, if I could only come up with an accurate estimate of the total time needed to convert all controls in the app, plus whatever other problems crop up.
Cheers.
|
|
SuperMario
Admin Group Joined: 14 February 2004 Status: Offline Points: 18057 |
Post Options
Thanks(0)
|
I forgot one important thing, SkinFramework only works with VB6, it will not work in VS2005. But not a big deal if you don't use it.
|
|
DDJJ
Senior Member Joined: 13 December 2004 Status: Offline Points: 143 |
Post Options
Thanks(0)
|
Thanks. I had already noted that from another thread, but at least for now it's not relevant since we're not using it. I also saw the thread about coming out with a .NET version of the controls. Will monitor as it develops.
Dan
|
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |