473,396 Members | 1,789 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Emulate desktop shortcut start in directory



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
3 1940
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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Eskimo Joe | last post by:
I am trying to create a desktop icon using VB6. is this possible? -p
1
by: Roy G. Vervoort | last post by:
I would like to create a shortcut on my desktop and be able to start a program (.exe) from the prgram tree (start > Programs > name program). Normally it wil be created with the setup program...
5
by: DraguVaso | last post by:
Hi, I want my appliation to Run a Shortcut on my Desktop. This should be done regardless the fact if the Shortcut is in the All Users\Desktop or MyProfile\Desktop and regardless the version of...
7
by: GrandpaB | last post by:
I would appreciate assistance learning how to create a Desktop shortcut in my setup project. In the left pane of the Setup/File System window I right-clicked User's Desktop. From the contex...
1
by: Mike L | last post by:
How do I set the publish wizard to add a shortcut to the client's desktop?
0
by: peter.bittner | last post by:
I have developed a Windows application in Visual Studio .NET 2003 and created a Setup project for it. In the File System Editor I have added a shortcut to the User's Desktop folder to point to the...
2
by: icenemesis | last post by:
I wasn't sure of what to search for to find similar posts so I appologize if this is an existing thread. I do not have access to a computer that has Server 2003/Active Directory installed, not do...
2
by: hermithead | last post by:
Hi ~ how would I go about entering a desktop shortcut into a HTML page as a link? For example if I had a shortcut to a program on my desktop that I wanted to include on a Intranet page how would...
0
by: cyberguy | last post by:
Hi, I've created a setup project which create a folder on desktop called "UnRelease" and place a shortcut to the application executable. The shortcut name is named by the version number , e.g....
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.