|
-
Oct 20th, 2005, 09:04 AM
#1
Thread Starter
Junior Member
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
-
Oct 20th, 2005, 09:16 AM
#2
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.
-
Oct 20th, 2005, 09:28 AM
#3
Thread Starter
Junior Member
Re: Noob .net to vb6 question
Thanks
Nice avatar pic do you race lfs or rfactor?
-
Oct 20th, 2005, 09:38 AM
#4
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!
-
Oct 20th, 2005, 09:45 AM
#5
Thread Starter
Junior Member
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.
-
Oct 20th, 2005, 10:08 AM
#6
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).
-
Oct 20th, 2005, 11:45 AM
#7
Thread Starter
Junior Member
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.
-
Oct 20th, 2005, 12:23 PM
#8
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?
-
Oct 20th, 2005, 12:25 PM
#9
Thread Starter
Junior Member
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)
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
|