-
Apr 6th, 2024, 06:27 AM
#1
Thread Starter
Fanatic Member
VS 2008 is it free to download anywhere? I don't find any working links
Was there a community version?
I was interested in converting an old vb6 app.
-
Apr 6th, 2024, 06:58 AM
#2
Re: VS 2008 is it free to download anywhere? I don't find any working links
The free VS2008 was the Express version. It can be obtained here:
https://www.blitzcoder.org/forum/topic.php?id=94
But why? Why not use the latest version VS2022 community which is also free:
https://visualstudio.microsoft.com/downloads/
All advice is offered in good faith only. You are ultimately responsible for the effects of your programs and the integrity of the machines they run on. Anything I post, code snippets, advice, etc is licensed as Public Domain https://creativecommons.org/publicdomain/zero/1.0/
C++23 Compiler: Microsoft VS2022 (17.6.5)
-
Apr 6th, 2024, 07:04 AM
#3
Thread Starter
Fanatic Member
Re: VS 2008 is it free to download anywhere? I don't find any working links
 Originally Posted by 2kaud
Supposedly vs2008 has a feature to import an old vb6 project.
Any experience with that?
How would you do that with vs2022?
can you recycle the code or the forms?
-
Apr 6th, 2024, 08:43 AM
#4
Re: VS 2008 is it free to download anywhere? I don't find any working links
That feature did exist, but it never really worked very well. Simple projects could be imported in a mediocre fashion, while anything beyond that would just result in loads of errors. The changes between the two programs were sufficient that the import tool just couldn't do a good job.
Since very few people were content with the results of the importer, we generally don't recommend that anybody use it. If you used the grid control, control arrays, any other kind of array, user types, and most anything else, the importer wouldn't work at all. So, what are you to do?
For the most part, the basic language is the same. What I found to be fairly workable was to create the forms I wanted in .NET, and for the code behind controls, I could copy and paste directly from the VB6 project. However, some changes were always going to be necessary, such as changing any Long into Integer, but more importantly, re-thinking the logic to take advantage of the features in .NET.
The biggest changes, from my perspective, was the introduction of generics, threading, and handlers. Most places where you would use an array in VB6, you would likely use a List(of T) in .NET. If you ever used DoEvents in VB6, then...well, that should go away in favor of one of the numerous threading strategies in .NET. If you used control arrays, then understanding the improved handler model in .NET would mean that those go away. If you used Modules in VB6, then those should be reconsidered, as there is likely a superior organization in .NET. And so on.
Iny my experience, if you have a working VB6 program, the thought of rewriting it can be daunting, but in practice, the amount of time taken for the re-write is a tiny fraction of the original development time.
My usual boring signature: Nothing
 
-
Apr 6th, 2024, 09:19 AM
#5
Re: VS 2008 is it free to download anywhere? I don't find any working links
VS 2008 Express With SP1 included:
http://download.microsoft.com/downlo...NUX1504728.iso
VS 2008 Professional 90 Day Trial:
http://download.microsoft.com/downlo...NUX1435622.iso
SP1 for VS 2008:
http://download.microsoft.com/downlo...NUX1512962.iso
If and when these links ever stop working, check the Wayback machine to see if the above files were archived there.
-
Apr 6th, 2024, 02:47 PM
#6
Thread Starter
Fanatic Member
Re: VS 2008 is it free to download anywhere? I don't find any working links
I opened the vb6 project in vs2008 and it ran it's conversion thing
102 errors
21 warnings
Which did not seem awfully terrible to me.
Funny but it fussed about a public function too
Lots of ME things, garbage collection, some array stuff
https://photos.app.goo.gl/HfBbfL2Soix9u8E49
-
Apr 6th, 2024, 04:25 PM
#7
Re: VS 2008 is it free to download anywhere? I don't find any working links
Those are just the errors that were reported, thus far. However, if I remember correctly, 102 errors is the maximum that the compiler will report before it gives up. If that's the case, the actual number of errors remains unknown.
My usual boring signature: Nothing
 
-
Apr 6th, 2024, 05:53 PM
#8
Thread Starter
Fanatic Member
Re: VS 2008 is it free to download anywhere? I don't find any working links
 Originally Posted by Shaggy Hiker
Those are just the errors that were reported, thus far. However, if I remember correctly, 102 errors is the maximum that the compiler will report before it gives up. If that's the case, the actual number of errors remains unknown.
That's pretty cruddy.
Can I fix some of the issues, then rescan?
How would you do that?
-
Apr 6th, 2024, 06:23 PM
#9
Re: VS 2008 is it free to download anywhere? I don't find any working links
That will happen automatically. As you fix, new errors will start popping up, so the number of errors will stay right around 102 for a time, then start dropping as you get things worked out.
My usual boring signature: Nothing
 
-
Apr 6th, 2024, 09:30 PM
#10
Re: VS 2008 is it free to download anywhere? I don't find any working links
Ther's a reason that that conversion tool hasn't been provided since 2008. As suggested, the results were generally so bad that you'd spend as much or more time fixing the errors as you would writing new code in the first place. Any project small enough that the errors weren't too significant would be small enough to write from scratch anyway. Writing the best VB.NET code you can to perform a task will almost always be better than converted VB6 code.
-
Apr 7th, 2024, 09:03 AM
#11
Thread Starter
Fanatic Member
Re: VS 2008 is it free to download anywhere? I don't find any working links
If I do it, then it is a learning experience, which I don't mind as long as I can figure out the needful answers with help.
It likely is not worth doing it.
That is what I seem to be getting here.
My program runs perfectly and on win11, and on the latest version of MSSQL, MySQL 8, and now I added MariaDB 11.3 so I don't really know what I would gain doing it program wise for future use. And I date tested it with PC year set to 2042. It passes that UNIX 2038 time bug.
I was spiffing it up and going over code and did have to make some changes to do all that.
Also in reading people seem to be moving away from vb.net, and simply writing stateless web apps.
I did years ago write a small PHP app to do database searches using the tables my program creates and it worked fine over the internet.
I did it all on Ubuntu, Apache web server etc... Reason I did it, I wanted to see something other than windows OS being needed for my program.
Did you know Facebook is entirely written using PHP.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|