Shell Command Issue in VB6.0

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Pankaj Khapre Technical Consultant (pankaj_k4u_at_yahoo.com)
Date: 05/04/04


Date: 4 May 2004 15:14:49 -0700

Hi ,
   I am trying to Open an Executable from my VB application using
Shell.
    e.g. Shell ABC.exe,vbnormalfocus
   The application does open by the above code when tested on a
machine. But, When i tried this same code from other machine, it gave
me error saying,
 "Invalid procedure call or argument".

  The application which i am calling using shell resides in the
following path.
   "D:\Program Files\Pankaj\ABC.exe"

I am out of ideas...on this issue. Can anybody help me out?
Why the heck i am getting this error..when it works on some other
machine.

   Urgent Reply please.



Relevant Pages

  • Re: Stupid find question
    ... :> How the heck does the -regex expression work? ... depend on your shell and shell options (for instance bash with shopt -s nullglob. ... You need to quote it as well. ...
    (comp.unix.shell)
  • Re: How split the input path into components
    ... but its urgent. ... You shouldn't use a variable named PATH; ... Shell Scripting Recipes: A Problem-Solution Approach (2005, Apress) ...
    (comp.unix.shell)
  • Re: Unable to ftp into UNIX machine
    ... One is using bash and the other is using tcsh. ... > the problem might be related to the shell? ... any email with the word "urgent" in the subject or address will be deleted. ...
    (comp.unix.questions)