|
-
Oct 16th, 2002, 09:24 AM
#1
Thread Starter
Evil Genius
Need some code please
Hi all!
Cheeky one this, quick summary is I'm writing a vb setup app & need some C++ code to kick it all off.
Would any kind person out there care to help me out? I know nothing about C++ & haven't got the program with me, so...
I need an app (compiled exe please) which could tell if the vb6 runtime files are installed on a pc
If not, it'll do the equivalent of the vb "shell" command to start an app called "VB6RUNTIMEFILES.exe" held in the same path as this C++ exe.
Sorry to ask this, I don't normally ask for a whole code sample but I'm a bit stuck with this one. Any help is very much appriciated! Thank you!
-
Oct 16th, 2002, 09:25 AM
#2
Isn't there an installer packaged with Visual Basic? It should be capable of doing this. Searching for DLLs and making sure they are registered is hard work, nobody is going to write that for you.
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
-
Oct 16th, 2002, 09:30 AM
#3
Thread Starter
Evil Genius
No, I don't expect anyone to goto those lengths. 
I thought there might be a registry key holding the version of the runtimes if they were on the system etc.
& yes, you're right there is a P&D wizard in vb, but I'm trying to write an alternative to it. Apparently this uses C++ files to install the vb runtimes also, but I cannot open any of the C++ source code files.
Edited:
Okay, not a registry key, but is it possible to do some kind of check to see if the file MSVBVM60.DLL is in the user's system directory please?
Last edited by alex_read; Oct 16th, 2002 at 09:38 AM.
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
|