When making my program exe.
OK,
I have a question. I am a few months from really needing to know this, but I figure I better start getting some answers. I am writing a program in Visual Basics. My program will require a few .txt files to be in the users C: drive. When making my program exe. 1. How do I attach the .txt files with the package? 2. How do I get the program to load these .txt files to the users C: folder? I don't want the user to have to move files around for my program to work. I simply want them to be able to download my program and it does all the work for them. When a user downloads my program from my web site, I need the .txt files to go to the C: folder because that's the path I used.
Thanks
Re: When making my program exe.
Are you using Visual Basic 6 or the VBA editor behind one of the Office apps?
Re: When making my program exe.
It sounds like you may have posted this in the wrong Forum. This forum is for developing applications in Microsoft Office, not in VB6 or VB.Net.
If this is the correct forum, then I'm afraid you can't make an executable out of an Office document.
If not, then it depends which version of VB you are using. In both versions, there is a built-in installer but it is much better for VB.Net than for VB6 and in that case you would be better off using one of a number of other install packages that are widely available.
In either case, have a look in the Application Deployment forum, where you will find many answers for whichever version of VB you are using.
Re: When making my program exe.
Only version of Office that can is the Developer version. :)
Re: When making my program exe.
Nobody uses that. Or VSTO. ;)
Re: When making my program exe.
the OP says visual basics, so maybe this is not the right forum and as it is a deployment issue still the wrong forum
it would be bad practice to put any dependent files into the root folder of drive C:, as there could be security or permissions issues, with Vista even using App.Path could still have issues, as far as actually doing it you need to be looking at the instructions for the packaging program you are going to use for your setup/ installation