Solved

calling vb compiled (exe) from perl cgi

Posted on 1998-07-14
2
129 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 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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

Suggested Solutions

I've just discovered very important differences between Windows an Unix formats in Perl,at least 5.xx.. MOST IMPORTANT: Use Unix file format while saving Your script. otherwise it will have ^M s or smth likely weird in the EOL, Then DO NOT use m…
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…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

815 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now