Thread: make exe file
View Single Post
  #3 (permalink)  
Old October 9th, 2006, 01:05 PM
woodyz woodyz is offline
Friend of Wrox
 
Join Date: May 2006
Location: San Diego, CA, USA.
Posts: 643
Thanks: 0
Thanked 0 Times in 0 Posts
Default

It sounds like you need to create an install package. All components and references that you use in your project also needs to be installed on the target machine.

You can use the VB Package and Deployment wizard (which is an add-in for VB6), or a tool like Wise or InstallShield to do this.

You can also do this by hand using regsvr32.

There are a lot of details you must pay attention to, but it isn't very difficult for a typical small project. There is plenty of info and directions for doing this on the internet. Things can get very complicated on large, enterprise or commercial applications - but for a project like yours it is pretty straightforward.

I am assuming you are working in VB6. If you are working in VB.NET then you can use the similar funtionality provided by Visual Studio.NET - in that case you add a Setup project to your solution and modify it as needed for your specifics.

Woody Z http://www.learntoprogramnow.com