-
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! :)
-
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.
-
No, I don't expect anyone to goto those lengths. :D
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?