Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have tried to copy different shell command to my VB project (f ex
ShellAndWait Function) and run it, but it does not start at all. What am I doing wrong? Thanks for any help!! Johan |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
It is kind of hard to say without seeing the code you tried to use.
-- Rick (MVP - Excel) "Johan" wrote in message ... I have tried to copy different shell command to my VB project (f ex ShellAndWait Function) and run it, but it does not start at all. What am I doing wrong? Thanks for any help!! Johan |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Look at posting below. The code starts a process using the shell command and
then uses the Win32 library function WaitForSingleObject(). Use the code on this posting because it includes some error checking messages that will help you isolate the problem. http://www.microsoft.com/communities...&cr=&sloc=&p=1 "Johan" wrote: I have tried to copy different shell command to my VB project (f ex ShellAndWait Function) and run it, but it does not start at all. What am I doing wrong? Thanks for any help!! Johan |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Thank you, but my problem is that when I paste this code into my project and
press F5 or F8 nothing happend. Do I have to activate the ode or how do I execute this kind of code. Joel skrev: Look at posting below. The code starts a process using the shell command and then uses the Win32 library function WaitForSingleObject(). Use the code on this posting because it includes some error checking messages that will help you isolate the problem. http://www.microsoft.com/communities...&cr=&sloc=&p=1 "Johan" wrote: I have tried to copy different shell command to my VB project (f ex ShellAndWait Function) and run it, but it does not start at all. What am I doing wrong? Thanks for any help!! Johan |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|