Noob .net to vb6 question
A really noob question here…..
I have only access to visual studio .net, and have created a very simple app that does not require any .net stuff. I find on some older pc’s I get an error when opening my program, I believe that these pc’s do not have any .net runtimes. My question is can I somehow compile my program in .net to be compatible with the older vb6 runtimes or is that just a daft question?
Thanks
Re: Noob .net to vb6 question
I'm afraid that .Net is very different from VB6, in order to compile for VB6 you will need to have VB6 installed (and change the code, as it is not the same!).
The problem on the other PC's would be that you do not have the .Net runtimes (known as the Framework), but if you write a .Net application this does need to be installed. You can either provide this as part of your installation, or link to the Microsoft website for the users to install the framework from there.
Re: Noob .net to vb6 question
Thanks
Nice avatar pic do you race lfs or rfactor?
Re: Noob .net to vb6 question
Cheers! I have no idea what you mean by "lfs or rfactor".
My avatar is David Coulthard in a McLaren Mercedes Formula 1 car.. a bit out of date now, but it shows my favourite driver and team at the same time!
Re: Noob .net to vb6 question
"lfs or rfactor".
Online racing games- F1, F300 and most other cars.....
Btw: just got hold of a visual basic 5 i had lying around, will try to see if i can use that.
Re: Noob .net to vb6 question
I only tend to play Gran Turismo, but I just found rFactor and it looks good so far - I'll have a proper look later :)
VB5 will be very good in terms of size of the installation package, but you will probably need to make quite a few changes to the code (about the same as VB6).
Re: Noob .net to vb6 question
Just ported my program back to vb5 works great, now just need to remeber how i get "sleep" to work...
rfactor, you need a Force feedback wheel to appreciate it.
Re: Noob .net to vb6 question
Why not just include the .NET framework with your setup package instead of having had to go back to vb5?
Re: Noob .net to vb6 question
The end users do not know how to insert a picture in ms word, and they do not have admin access to there pc's, just want to make thing as simple a they can be.
Sleep got it:
Private Declare Sub Sleep Lib "kernel32.dll" (ByVal dwMilliseconds As Long)