I DID IT!!!
-
I installed VB6 and got some old stuff running![^] That's about three days in lost productivity, so I hope it will be worth it :~ Registering the COM Callable Wrapper was a pain and took most of the time. I needed to run regasm. The trick was in setting the /codebase parameter, which shows an error, but still does something that made it work X| Also running it with the -tlb switch somehow works miracles. For anyone who may have to do this sometime:
regasm -tlb C:\Windows\SysWOW64\MyCCW.dll
regasm C:\Windows\SysWOW64\MyDLL.dll /codebase /tlb:C:\Windows\SysWOW64\MyCCW.tlbThe VB6 codebase has a total size of 1.63GB, plus VB6, which is another 3.77 GB, makes it 5.4 GB. The VM I needed to run it was a staggering 203 GB, which takes quite a chunck out of my 1 TB drive X| It now sits safe in some external storage (I don't dare delete it yet) :rolleyes: That alone should be worth it :D
Best, Sander Azure DevOps Succinctly (free eBook) Azure Serverless Succinctly (free eBook) Migrating Apps to the Cloud with Azure arrgh.js - Bringing LINQ to JavaScript
-
I installed VB6 and got some old stuff running![^] That's about three days in lost productivity, so I hope it will be worth it :~ Registering the COM Callable Wrapper was a pain and took most of the time. I needed to run regasm. The trick was in setting the /codebase parameter, which shows an error, but still does something that made it work X| Also running it with the -tlb switch somehow works miracles. For anyone who may have to do this sometime:
regasm -tlb C:\Windows\SysWOW64\MyCCW.dll
regasm C:\Windows\SysWOW64\MyDLL.dll /codebase /tlb:C:\Windows\SysWOW64\MyCCW.tlbThe VB6 codebase has a total size of 1.63GB, plus VB6, which is another 3.77 GB, makes it 5.4 GB. The VM I needed to run it was a staggering 203 GB, which takes quite a chunck out of my 1 TB drive X| It now sits safe in some external storage (I don't dare delete it yet) :rolleyes: That alone should be worth it :D
Best, Sander Azure DevOps Succinctly (free eBook) Azure Serverless Succinctly (free eBook) Migrating Apps to the Cloud with Azure arrgh.js - Bringing LINQ to JavaScript
-
I installed VB6 and got some old stuff running![^] That's about three days in lost productivity, so I hope it will be worth it :~ Registering the COM Callable Wrapper was a pain and took most of the time. I needed to run regasm. The trick was in setting the /codebase parameter, which shows an error, but still does something that made it work X| Also running it with the -tlb switch somehow works miracles. For anyone who may have to do this sometime:
regasm -tlb C:\Windows\SysWOW64\MyCCW.dll
regasm C:\Windows\SysWOW64\MyDLL.dll /codebase /tlb:C:\Windows\SysWOW64\MyCCW.tlbThe VB6 codebase has a total size of 1.63GB, plus VB6, which is another 3.77 GB, makes it 5.4 GB. The VM I needed to run it was a staggering 203 GB, which takes quite a chunck out of my 1 TB drive X| It now sits safe in some external storage (I don't dare delete it yet) :rolleyes: That alone should be worth it :D
Best, Sander Azure DevOps Succinctly (free eBook) Azure Serverless Succinctly (free eBook) Migrating Apps to the Cloud with Azure arrgh.js - Bringing LINQ to JavaScript
Congrats, Sander. Now if only you could figure out how to get the original Minesweeper installed on Windows 10/11!
The difficult we do right away... ...the impossible takes slightly longer.
-
I installed VB6 and got some old stuff running![^] That's about three days in lost productivity, so I hope it will be worth it :~ Registering the COM Callable Wrapper was a pain and took most of the time. I needed to run regasm. The trick was in setting the /codebase parameter, which shows an error, but still does something that made it work X| Also running it with the -tlb switch somehow works miracles. For anyone who may have to do this sometime:
regasm -tlb C:\Windows\SysWOW64\MyCCW.dll
regasm C:\Windows\SysWOW64\MyDLL.dll /codebase /tlb:C:\Windows\SysWOW64\MyCCW.tlbThe VB6 codebase has a total size of 1.63GB, plus VB6, which is another 3.77 GB, makes it 5.4 GB. The VM I needed to run it was a staggering 203 GB, which takes quite a chunck out of my 1 TB drive X| It now sits safe in some external storage (I don't dare delete it yet) :rolleyes: That alone should be worth it :D
Best, Sander Azure DevOps Succinctly (free eBook) Azure Serverless Succinctly (free eBook) Migrating Apps to the Cloud with Azure arrgh.js - Bringing LINQ to JavaScript
Sander Rossel wrote:
regasm
Wow, the memory of old tools that I have long since forgotten... It's amazing how we can be intimately familiar with certain tech & then never think about it again, unless someone mentions it. There are some things I'm glad to forget too. :rolleyes:
-
Congrats, Sander. Now if only you could figure out how to get the original Minesweeper installed on Windows 10/11!
The difficult we do right away... ...the impossible takes slightly longer.
VM with a Windows 98 ;)
M.D.V. ;) If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about? Help me to understand what I'm saying, and I'll explain it better to you Rating helpful answers is nice, but saying thanks can be even nicer.
-
I installed VB6 and got some old stuff running![^] That's about three days in lost productivity, so I hope it will be worth it :~ Registering the COM Callable Wrapper was a pain and took most of the time. I needed to run regasm. The trick was in setting the /codebase parameter, which shows an error, but still does something that made it work X| Also running it with the -tlb switch somehow works miracles. For anyone who may have to do this sometime:
regasm -tlb C:\Windows\SysWOW64\MyCCW.dll
regasm C:\Windows\SysWOW64\MyDLL.dll /codebase /tlb:C:\Windows\SysWOW64\MyCCW.tlbThe VB6 codebase has a total size of 1.63GB, plus VB6, which is another 3.77 GB, makes it 5.4 GB. The VM I needed to run it was a staggering 203 GB, which takes quite a chunck out of my 1 TB drive X| It now sits safe in some external storage (I don't dare delete it yet) :rolleyes: That alone should be worth it :D
Best, Sander Azure DevOps Succinctly (free eBook) Azure Serverless Succinctly (free eBook) Migrating Apps to the Cloud with Azure arrgh.js - Bringing LINQ to JavaScript
I feel for you! Around half of my company's codebase 1.7M LOC (100+ apps) is in VB6. :sigh: The difference is, I didn't inherit it, I created it. Migration efforts have been very slow as new projects take precedence and there really is no payoff (besides technical debt) when the legacy apps continue to work on the latest MS OS. The biggest hurdle you are likely to face (if you are actually trying to get those projects running in VB6/debug) is older third-party components without an installer. Good luck and have fun! :)
"Go forth into the source" - Neal Morse "Hope is contagious"
-
Congrats, Sander. Now if only you could figure out how to get the original Minesweeper installed on Windows 10/11!
The difficult we do right away... ...the impossible takes slightly longer.
Don't know if you're serious, but done that for my aunt that absolutely despises windows 10/11 ad ridden games. If you are serious, look at win7games.com, it has an installer for the old games that works in win 10/11. The only caveat I found is that windows update sometimes deletes the games and it needs a reinstall :)