Results 1 to 6 of 6

Thread: Default Path [RESOLVED]

  1. #1

    Thread Starter
    Fanatic Member robbedaya's Avatar
    Join Date
    Jul 2002
    Location
    Belgium
    Posts
    872

    Resolved Default Path [RESOLVED]

    IS it possible to set a default path for saving vb-apps. It alway's gives my a subfolder of the Vb-folder in "program files". I'd like to set the default to "my documents"
    Last edited by robbedaya; May 30th, 2005 at 02:00 PM. Reason: setting resolved icon

  2. #2
    Hyperactive Member Stiletto's Avatar
    Join Date
    Aug 2002
    Location
    Jerusalem, Israel
    Posts
    287
    VB Code:
    1. App.Path

  3. #3

    Thread Starter
    Fanatic Member robbedaya's Avatar
    Join Date
    Jul 2002
    Location
    Belgium
    Posts
    872
    this is not what I mean.
    Do not want to know where my application is located.
    I want to know if there is a setting in VB to set the default path for saving my projects. This has nothing to do with VB source code, but with a setting in Vb.
    - Use the thread tools to Mark your Thread as Resolved when your question is answered.
    - Please Rate my answers if they where helpful.

  4. #4
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    41,974
    Unfortunately there isn't - but there is a trick to help you out.

    Create a shortcut to the folder that you want to store your code files in, then put the shortcut into the default VB save/load folder. Then when the window opens you can click on the shortcut to instantly go to the right folder..

    It's not perfect, but the creators of VB didn't think we'd mind saving all our code in a pre-defined folder

  5. #5
    Frenzied Member Buzby's Avatar
    Join Date
    Jan 1999
    Location
    UK
    Posts
    1,670
    Yes there is a way..

    1. Find the shortcut to VB on your start menu / desktop / whereever, and do RIGHT-CLICK / PROPERTIES.

    2. In the "START IN" box put the location where you want the default save location to be; eg;

    "C:\Documents and Settings\mbeeton1\My Documents\vb6"

    is in mine.


    Hit OK to save the shortcut and then run VB and it will work fine.
    'Buzby'
    Visual Basic Developer
    "I'm moving to Theory. Everything works there."

  6. #6

    Thread Starter
    Fanatic Member robbedaya's Avatar
    Join Date
    Jul 2002
    Location
    Belgium
    Posts
    872
    thanks, this works fine.
    - Use the thread tools to Mark your Thread as Resolved when your question is answered.
    - Please Rate my answers if they where helpful.

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