Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations sizbut on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Extra Files When VB Project Packaged....

Status
Not open for further replies.

dodgyone

Technical User
Jan 26, 2001
431
GB
Along with the VB project I'm creating I also have an ini file and a log .txt file which the applicaiton will write to...

While I'm in design mode I've placed these in C:\Windows (As this is a standard area on most PC's) and they are edited from there...

When you package the project (a long way away for me ;o) is there a way to include these files and then place them in a certain area on installation (i.e. C:\Windows) so that your code can write to/edit the files...?

Sorry... but I'm pretty new with VB....

Thanks...
 
if using the package and deployment wizard or visual studio installer definately possible, simple wizard give it a look.


 
It might be better to store "your" extra files in your Application Path during deployment and use App.Path to access them.
strLogFile = App.Path & "\log.txt"
In the package and deployment wizard one window allows you to add files and a later one lets you specify the detination on the target machine in generic terms e.g. $AppPath.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top