Solved

calling vb compiled (exe) from perl cgi

Posted on 1998-07-14
2
132 Views
Last Modified: 2010-03-05
I want to call a compiled vbasic file (prog.exe) from a perl script on a NT server.
I tried:
system ("prog.exe");
and it did not work.  What do I need to do?
0
Comment
Question by:donb1
[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 Comments
 
LVL 5

Accepted Solution

by:
b2pi earned 50 total points
ID: 1208423
Try specifiying the full path of prog.exe
0
 
LVL 6

Expert Comment

by:alamo
ID: 1208424
If it still doesn't work, print $! after the system and see if it gives a meaningful error.

Another possibility is that the DLLs required by the program aren't in the PATH as inherited by your script, so it can't find them. Try printing $ENV{PATH} and see how it differs from the path you expect. The web server isn't logged on as you, so it might have a different path.
0

Featured Post

[Live Webinar] The Cloud Skills Gap

As Cloud technologies come of age, business leaders grapple with the impact it has on their team's skills and the gap associated with the use of a cloud platform.

Join experts from 451 Research and Concerto Cloud Services on July 27th where we will examine fact and fiction.

Question has a verified solution.

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

Many time we need to work with multiple files all together. If its windows system then we can use some GUI based editor to accomplish our task. But what if you are on putty or have only CLI(Command Line Interface) as an option to  edit your files. I…
Checking the Alert Log in AWS RDS Oracle can be a pain through their user interface.  I made a script to download the Alert Log, look for errors, and email me the trace files.  In this article I'll describe what I did and share my script.
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
Six Sigma Control Plans

627 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