Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

calling vb compiled (exe) from perl cgi

Posted on 1998-07-14
2
Medium Priority
?
136 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
2 Comments
 
LVL 5

Accepted Solution

by:
b2pi earned 150 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Email validation in proper way is  very important validation required in any web pages. This code is self explainable except that Regular Expression which I used for pattern matching. I originally published as a thread on my website : http://www…
I have been pestered over the years to produce and distribute regular data extracts, and often the request have explicitly requested the data be emailed as an Excel attachement; specifically Excel, as it appears: CSV files confuse (no Red or Green h…
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

876 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