By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,653 Members | 1,876 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,653 IT Pros & Developers. It's quick & easy.

Emulate desktop shortcut start in directory

P: n/a


What I am looking to do is to launch an executable program in VB that
will also point to the "start in" directory.
On the Shortcut, the Target is the command line and the Start in is
the working directory.

I know this is simple, Please help.

Thanks.

Randy

Mar 4 '06 #1
Share this Question
Share on Google+
3 Replies


P: n/a
I'm not absolutely sure what you ar trying to do but look at ChDir in VBA
help.

--

Terry Kreft
<rm******@comcast.net> wrote in message
news:11*********************@i39g2000cwa.googlegro ups.com...


What I am looking to do is to launch an executable program in VB that
will also point to the "start in" directory.
On the Shortcut, the Target is the command line and the Start in is
the working directory.

I know this is simple, Please help.

Thanks.

Randy

Mar 6 '06 #2

P: n/a
I am running an executable program (gerber viewer) and you need to
browse to the working directory if it is not in the same as the program
directory. Windows shortcut allows for the pointing to the working
directory via the "Start In". My browse starts where i want to start
which is on a network drive and since you can not use a shortcut to
launch a program, I am just trying to find a way to just do the same.

Mar 7 '06 #3

P: n/a
Sounds like ChDir is what you want.

ChDir Changes Directory, i.e. it changes the current directory to what you
pass to ChDir. If you look in VBA help there will be more help in there.

--

Terry Kreft
"MochaTrpl" <rm******@comcast.net> wrote in message
news:11*********************@i39g2000cwa.googlegro ups.com...
I am running an executable program (gerber viewer) and you need to
browse to the working directory if it is not in the same as the program
directory. Windows shortcut allows for the pointing to the working
directory via the "Start In". My browse starts where i want to start
which is on a network drive and since you can not use a shortcut to
launch a program, I am just trying to find a way to just do the same.

Mar 7 '06 #4

This discussion thread is closed

Replies have been disabled for this discussion.