|
Had to do this a few years ago and ended up using VS 2005 to convert the code. It worked pretty well - even handled the many control arrays. The biggest problem was none of the custom controls we purchased would convert (or even install), so a lot of the GUI had to be rebuilt.
|
|
|
|
|
Did you know about TwinBasic? Maybe try this as an escape hatch from VB6.
TwinBasic is free but runs slower than normal until you buy a monthly subscription to get full version and your code will run about 3x faster than the free version of TwinBasic.
My broad recommendation is the following
- convert the DBase to a modern database like SQLite or SQLServer, hopefully with the VB6 intact and still running the same, so now you have the data layer more solid
- convert the front-end VB6 to TwinBasic.
With a bit of luck your code will compile with little to no modification.
- you might be able to stop here, with a modern TwinBasic application running your VB6 after conversion
- otherwise, my next step would be rewrite your VB6/TwinBasic forms as React frontend with .NET server code running the backend (maybe this code is installed on your local machine, maybe a remote server, maybe both).
- This is now mostly a rewrite of the frontend with React (initially inside embedded TwinBasic web browser control) As the new UI, and incrementally converting the backend to .NET until the app is able to run completely browser-based, then you can leave the TwinBasic code once you no longer need to support desktop installations.
Learn more about TwinBasic here:
twinBASIC GitHub
twinBASIC Updates
|
|
|
|
|
OK, I'm going to throw the pigeons to the cat here - you need to define your required outcomes first.
and the main question is... who are the users?
Does this really need to be a web enabled application?
If your users are all known, internal users, then why does it need to be web enabled? It probably doesn't.
And I'm guessing that as a VB6 app this will be the case.
If all the users are internal and you can dish the application out as a desktop application, even via Remote Desktop Services then your most cost effective solution may be an Access application (hears howls from the gallery). But it will do the job at a fraction of the cost of a .net application.
If it need to be web enabled, or it really needs to be .Net
then don't fluff around with VB.net, just learn C#.
It's not that hard.
But it will be time consuming and hard on the budget because it's .net, not because it's C#.
There is a reason why VB6 has been hard to kill and it little to do with syntax.
Kent
|
|
|
|
|
Hi Sander,
is it possible to send you an email with a possible solution (at least there is a chance)?
greetings,
Thomas
I cannot remember: What did I before google?
|
|
|
|
|
Pull out sketch first - letter learner to start with (10)
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
In a closed society where everybody's guilty, the only crime is getting caught. In a world of thieves, the only final sin is stupidity. - Hunter S Thompson - RIP
|
|
|
|
|
Wordle 649 4/6
⬜⬜⬜⬜🟨
⬜🟩🟩🟩⬜
🟩🟩🟩🟩⬜
🟩🟩🟩🟩🟩
|
|
|
|
|
Wordle 649 2/6
⬛🟩🟨⬛🟨
🟩🟩🟩🟩🟩
|
|
|
|
|
Wordle 649 5/6
🟨⬜⬜⬜⬜
⬜⬜🟩⬜⬜
⬜🟩🟩🟩⬜
⬜🟩🟩🟩⬜
🟩🟩🟩🟩🟩
|
|
|
|
|
Wordle 649 3/6*
🟨🟩⬜⬜🟨
⬜🟩🟩🟩🟩
🟩🟩🟩🟩🟩
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
Wordle 649 4/6
🟨🟨🟨⬛⬛
🟨⬛⬛⬛⬛
⬛🟩🟩🟩🟩
🟩🟩🟩🟩🟩
Nice, I could have gotten it in 3. This has been fast and straightforward.
GCS/GE d--(d) s-/+ a C+++ U+++ P-- L+@ E-- W+++ N+ o+ K- w+++ O? M-- V? PS+ PE Y+ PGP t+ 5? X R+++ tv-- b+(+++) DI+++ D++ G e++ h--- r+++ y+++* Weapons extension: ma- k++ F+2 X
|
|
|
|
|
Wordle 649 3/6
⬜🟩🟨⬜🟨
⬜🟩🟩🟩🟩
🟩🟩🟩🟩🟩
In a closed society where everybody's guilty, the only crime is getting caught. In a world of thieves, the only final sin is stupidity. - Hunter S Thompson - RIP
|
|
|
|
|
Wordle 649 4/6*
⬜⬜🟩🟩⬜
⬜⬜🟩🟩⬜
🟨🟩🟩🟩⬜
🟩🟩🟩🟩🟩
Happiness will never come to those who fail to appreciate what they already have. -Anon
|
|
|
|
|
Wordle 649 3/6
🟨🟨⬜🟨⬜
⬜🟩🟩🟩🟩
🟩🟩🟩🟩🟩
|
|
|
|
|
Wordle 649 6/6
⬛⬛🟨⬛🟨
🟨🟨🟨⬛⬛
⬛🟨⬛🟨🟨
⬛⬛🟩🟨🟨
🟩🟩🟩🟩⬛
🟩🟩🟩🟩🟩
|
|
|
|
|
Wordle 649 3/6
🟨🟨⬛🟨🟨
⬛🟩🟩🟩🟩
🟩🟩🟩🟩🟩
Get me coffee and no one gets hurt!
|
|
|
|
|
Wordle 649 6/6
⬜⬜⬜⬜⬜
⬜🟨🟨🟨⬜
🟨🟨⬜⬜🟨
⬜🟩🟩🟩⬜
🟨🟩🟩🟩⬜
🟩🟩🟩🟩🟩
whew
"A little time, a little trouble, your better day"
Badfinger
|
|
|
|
|
Should I be concerned?
Has Windows become Spyware? - YouTube[^]
Has ad after 07:10!
"If builders built buildings the way programmers wrote programs, then the first woodpecker that came along would destroy civilization." ― Gerald Weinberg
|
|
|
|
|
Not at all, just open the laptop and remove the WiFi and network card!

|
|
|
|
|
You can always upgrade it to W10 if you want to. I know I would.
"They have a consciousness, they have a life, they have a soul! Damn you! Let the rabbits wear glasses! Save our brothers! Can I get an amen?"
|
|
|
|
|
My sincere condoleances
"If we don't change direction, we'll end up where we're going"
|
|
|
|
|
|
Authorities were overheard saying: Do you have CPU's strapped to your body or are you just glad to see me?
"the debugger doesn't tell me anything because this code compiles just fine" - random QA comment
"Facebook is where you tell lies to your friends. Twitter is where you tell the truth to strangers." - chriselst
"I don't drink any more... then again, I don't drink any less." - Mike Mullikins uncle
|
|
|
|
|
|
I must admit I was thinking IT Crowd too
|
|
|
|