Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 43
Default How to run an API

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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,934
Default How to run an API

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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9,101
Default How to run an API

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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 43
Default How to run an API

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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 02:30 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"