Results 1 to 4 of 4

Thread: [2005] Relative Path To Bin Directory

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jun 2007
    Posts
    115

    [2005] Relative Path To Bin Directory

    I have a text file that will be distributed with my application. I was thinking to put it in the bin directory. How would I refer to that folder using a relative path?

    Admittingly, I am somewhat of a newbie. I think I just don't have an understanding of the basics of putting the final release application on a client's machine - what are the steps, folders go along with it?

    Perhaps I need to be pointed to a tutorial unless the steps are simple enough to post here.

  2. #2
    Registered User nmadd's Avatar
    Join Date
    Jun 2007
    Location
    U.S.A.
    Posts
    1,676

    Re: [2005] Relative Path To Bin Directory

    You could consider saving your file somewhere within your application's startup folder: Application.StartupPath

    Here are some links that may help you with deployment:
    http://www.developer.com/net/net/article.php/3352511
    http://www.startvbdotnet.com/extras/deploy.aspx

    Hope that helps.

    EDIT: I'm not sure if you are using 2005 as the thread says or 2002 as your profile says.

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Jun 2007
    Posts
    115

    Re: [2005] Relative Path To Bin Directory

    Quote Originally Posted by nmadd
    You could consider saving your file somewhere within your application's startup folder: Application.StartupPath

    Here are some links that may help you with deployment:
    http://www.developer.com/net/net/article.php/3352511
    http://www.startvbdotnet.com/extras/deploy.aspx

    Hope that helps.

    EDIT: I'm not sure if you are using 2005 as the thread says or 2002 as your profile says.

    Thanks. I just upgraded to 2005.... had to take the plunge - too many differences....

  4. #4

    Thread Starter
    Lively Member
    Join Date
    Jun 2007
    Posts
    115

    Re: [2005] Relative Path To Bin Directory

    Just curious, when you deploy - do you need to specify config files in "additional files" such as the one created by My.Settings ?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width