codeman_cas Posted June 14, 2009 Share Posted June 14, 2009 Hi guys , wonder if anyone can help , ive spent ages writing a program in visual basic that i needed to run on a variety of XP pcs , but found that everyone i run it on errors besides the ones with visual basic installed on them. Does VB need any dependancies to run programs ??? if it does then thats just daft if its specific to a VB machine . Codeman Link to comment Share on other sites More sharing options...
Ghozer Posted June 14, 2009 Share Posted June 14, 2009 Depending what it does, and what includes you have used, you may need the VB runtime files on the other machines. http://www.microsoft.com/downloads/details.aspx?FamilyID=BA9D7924-4122-44AF-8AB4-7C039D9BF629&displaylang=en Link to comment Share on other sites More sharing options...
codeman_cas Posted June 14, 2009 Author Share Posted June 14, 2009 thanks for that , all it does is backup about 30 files scattered all around the machines , doesnt do anything exciting , ill send you the .exe file if you want to look at it , cheers Codeman Link to comment Share on other sites More sharing options...
codeman_cas Posted June 14, 2009 Author Share Posted June 14, 2009 tried that but still errors , keeps saying to send error to microsoft , driving me nuts now lol Codeman Link to comment Share on other sites More sharing options...
John Posted June 15, 2009 Share Posted June 15, 2009 You are meant to run the create install wizzard which gathers all the dependancies and package it as an installable application. Alternatively, I believe there may is an option to package the dependancies into the .exe file itself. You need to click on a check box for this. The problem with this method is that the end result of the .exe is far larger + it takes a lot longer to run itself after having to check each time to see if the .ocx, dlls, e.t.c. files need extracting. Link to comment Share on other sites More sharing options...
Nazo Posted June 15, 2009 Share Posted June 15, 2009 What version of VB is it? Anything after VB 6 will need the .net runtimes installed. Link to comment Share on other sites More sharing options...
Yootha Posted June 16, 2009 Share Posted June 16, 2009 John's right - in my version of VB6 in the Add-Ins menu there's a "Package and Deployment Wizard..." option - that will create your installation with a setup.exe and all supporting files. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.