Re: Newbie Question Where to put files?
joisey_at_mindspring.com
Date: 12/21/04
- Next message: Maarten: "Re: Datagrid Column widths"
- Previous message: anonymous_at_discussions.microsoft.com: "Re: Find IP Address"
- In reply to: Cor Ligthert: "Re: Newbie Question Where to put files?"
- Next in thread: Cor Ligthert: "Re: Newbie Question Where to put files?"
- Reply: Cor Ligthert: "Re: Newbie Question Where to put files?"
- Reply: Andy O'Neill: "Re: Newbie Question Where to put files?"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 21 Dec 2004 07:25:35 -0500
I have saved the link, it looks useful'
But my question is:
If I want a file to reside in the same folder as my main .exe, for example
readme.txt or datafile.txt, where do I place this file during my vb sessions
of
creating, editing, debugging etc. so that the path used during debugging wil
be valid in the deployed program?
After running the deployment routine and clicking setup.exe, no "bin" folder
was created on my clients drive.
.....joisey
"Cor Ligthert" <notmyfirstname@planet.nl> wrote in message
news:eBMInJz5EHA.2196@TK2MSFTNGP14.phx.gbl...
> Joisey,
>
> Although you describe it well, do you mean that you want to use the "Bin"
> folder of your project?
> And to be sure, just try it.
>
> In runtime it is the application.startuppath
> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemWindowsFormsApplicationClassStartupPathTopic.asp
>
> I hope this helps?
>
> Cor
>
> <joisey@mindspring.com>
>
>>
>> Solution 'MyProj' (2 projects)
>> MyProj
>> References
>> bin
>> obj
>> assembly info.vb
>> Form1.vb
>> Form2.vb
>> MyProj_debug
>> Detected Dependencies
>> Primary output from MyProj(Active)
>>
>> When I build the project, the following files are placed in my project
>> directory:
>> MyProj>bin
>> >obj
>> form1.vb etc etc etc.
>> MyProj_debug>Debug>myproj.msi
>> setup.ini
>> MyProj.exe
>> etc. etc. etc.
>> >Release (empty)
>> MyProj_debug.vdproj
>> =================
>> When I double click the file MyProj_debug\Debug\MyProj.exe,
>> the install runs and creates c:\program
>> files\MyCompany\MyProj_Debug\MyProj.exe
>> ==================
>> Here is my question:
>> My program's function is to copy and modify many files.
>> I have no problem within the code to create a string containing the path
>> to the end user's files.
>>
>> I have created several text files containing the lists of files to be
>> manipulated.
>>
>> Where do I place these files so they will end up in the same directory as
>> the main .exe file?
>> Where do I place files during the vb sessions so that the vb editor and
>> debugger can access them with the same path name that the compiled code
>> will use to find them?
>> Where do I put Readme files so that they will be deployed to the same
>> directory?
>> Is there an on line tutorial I can link to on this subject?
>>
>> thanx........joisey
>>
>>
>>
>>
>
>
- Next message: Maarten: "Re: Datagrid Column widths"
- Previous message: anonymous_at_discussions.microsoft.com: "Re: Find IP Address"
- In reply to: Cor Ligthert: "Re: Newbie Question Where to put files?"
- Next in thread: Cor Ligthert: "Re: Newbie Question Where to put files?"
- Reply: Cor Ligthert: "Re: Newbie Question Where to put files?"
- Reply: Andy O'Neill: "Re: Newbie Question Where to put files?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|