Solved

Shelling

Posted on 1998-10-27
5
323 Views
Last Modified: 2010-04-30
how do i set the start in directory when shelling an app
0
Comment
Question by:hess
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 
LVL 3

Expert Comment

by:TheAnswerMan
ID: 1441971
put the path in with the Shell command
0
 

Author Comment

by:hess
ID: 1441972
more specific plaese

i want an example
0
 
LVL 3

Expert Comment

by:fguerreiro_inix
ID: 1441973
Shell(pathname[,windowstyle])
      
The Shell function syntax has these named arguments:

pathname = Required; Variant (String). Name of the program to execute and any required arguments or command-line switches; may include directory or folder and drive.
0
 

Author Comment

by:hess
ID: 1441974
i can read a help file and thats all i'm getting here.  With a shortcut under propeties one can specify a start-up directory.... how do i do this with the shell function?
0
 
LVL 3

Accepted Solution

by:
fguerreiro_inix earned 30 total points
ID: 1441975
Did you try ChDir before shelling?
I don't now if works, but is a nice guess.

Hope this helps
Regards
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

691 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question