|
-
Nov 25th, 2004, 12:23 AM
#1
Thread Starter
Frenzied Member
silly question: vb6 and xp rutnimes inclueded?
Im want to make an exe, this exe would be much easier to make in VB than C++ (for me). My question is will it work with just a standalone exe....nothing packaged with it? The exe is going to be the autorun of a cd.
thanks guys
-
Nov 25th, 2004, 12:27 AM
#2
It depends what the exe uses and does..... and in any case you need to have the msvbvm60.dll installed on the users system (which XP has on install).
-
Nov 25th, 2004, 12:30 AM
#3
Fanatic Member
I have never had a problem running a VB6 app on a compuer, i know it requires a dll but every computer i have ran the exe's on have had it installed. you shouldnt have a problem
-
Nov 25th, 2004, 12:40 AM
#4
It is not good to only relly on the user already having the DLL. Try running your app on a fresh install of Win 95, 98 or ME.
What you could do is download this file:
http://download.microsoft.com/downlo...vbrun60sp5.exe
Include it on your CD along with the main exe (it is 1MB in size).
Have the autorun run a small app made in C++ which will do this:
1. Check for existance of the msvbvm60.dll in the system folder.
2. If it exists run the main exe
If not: run the "vbrun60sp5.exe /q"
(the '/q' switch makes it run silently without user knowing about it or having to do anything)
3. When that install is finished run the main exe
-
Dec 29th, 2004, 09:51 AM
#5
Re: silly question: vb6 and xp rutnimes inclueded?
wow...
first of all there are 6 total runtime files that make up the "VB RUNTIMES"
not just a DLL, and to just assume that any user will have these files is just silly... granted windows 2000 and XP come with them, they DO NOT come with the latest service pack runtimes (maybe new XP builds shipping now do, but not all of them)
second of all they are on service pack 6 with them
-
Dec 29th, 2004, 11:21 AM
#6
Re: silly question: vb6 and xp rutnimes inclueded?
 Originally Posted by ALL
I have never had a problem running a VB6 app on a compuer, i know it requires a dll but every computer i have ran the exe's on have had it installed....
You've been lucky.
-
Dec 29th, 2004, 05:42 PM
#7
Frenzied Member
Re: silly question: vb6 and xp rutnimes inclueded?
As long as no custom dlls or controls are used I've found that you can just put msvbvm60.dll (i think that's it) in the same directory as the executable and it will load from there if it can't find it in the system dir
-
Dec 29th, 2004, 05:51 PM
#8
Re: silly question: vb6 and xp rutnimes inclueded?
 Originally Posted by numtel
As long as no custom dlls or controls are used I've found that you can just put msvbvm60.dll (i think that's it) in the same directory as the executable and it will load from there if it can't find it in the system dir
ASYCFILT.DLL
COMCAT.DLL
MSVBVM60.DLL
OLEAUT32.DLL
OLEPRO32.DLL
STDOLE2.TLB
these are the runtimes... and ALL of them need to be registered in COM to work (except for ASYCFILT)... so if what you said worked.. it was because the runtimes were already on the system... POSSIBLY some VERY VERY basic app would run with only the virtual machine runtime DLL... but even then it would still need to be registered on the system.
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
|