CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 8 of 8
  1. #1
    Join Date
    Sep 2000
    Posts
    200

    Opening a project

    Surely there is some way to override the default directory that VB opens when you attempt to open a project. I have placed my projects in a subdirectory of my C drive, & want that directory to open when I click Open files in VB. Any suggestions? Thanks!


  2. #2
    Join Date
    Apr 2000
    Location
    South Carolina,USA
    Posts
    2,210

    Re: Opening a project

    If you start VB from a shortcut, whioh most people do, You can specify a target path in the shortcut.
    To do this, Right Click on the shortcut, Select Properties then Alter "Start in:" textbox to point to your startup Directory of choice.

    John G

  3. #3

    Re: Opening a project

    I had the same problem...
    **** i'm so stupid that i didn't think of that!

    Thank you.

    --------------------------------------------------------------
    Do you search on Google.com and Astalavista.com?
    Get Traysearch! Easy, fast and in your systemtray!
    http://httpd.chello.nl/~d.mol/traysearch

  4. #4
    Join Date
    Jan 2001
    Location
    Germany
    Posts
    222

    Re: Opening a project

    Me too...

    ----------------
    You can contact me directly at [email protected]
    Hey, and... don't forget your parsley cause you can't eat your dog after having stolen him from some animal shelter and having drowned him in the Atlantic Ocean.
    Teamwork Software - Stuff That Does Something

  5. #5
    Join Date
    Sep 2000
    Posts
    200

    Re: Opening a project

    EXCELLENT!

    Thanks!

    John


  6. #6
    Join Date
    Oct 2000
    Location
    Upstate NY
    Posts
    249

    Re: Opening a project

    Seems like just what I need but I'm afraid I still dont get it.
    I would like to hit the shortcut Icon and have the program come up and running without going through all the VB Stuff.
    When I try putting the complete filepath in the start at box I get an invalid message. Im Missing somthing.
    73 RSH


  7. #7
    Join Date
    Apr 2000
    Location
    South Carolina,USA
    Posts
    2,210

    Re: Opening a project

    Your problem may be different from the one described in this post. This post addresses the problem of having VB compiler showing a default Folder when you try to open a project etc during design time.

    Is your problem during RUN time of your compiled program? if yes then this solution is not for you. Please tell what your problem is.

    John G

  8. #8
    Join Date
    Oct 2000
    Location
    Upstate NY
    Posts
    249

    Re: Opening a project

    You are probably right
    I am running my program as it was written. It does everything that I need but
    my current understanding is that it has not been compiled. I Could be wrong.
    What I would like to do is click on the desktop shortcut ICON and have the program start up and run without going to code first.
    Thanks RSH


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

Featured