Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Windows XP problem

Status
Not open for further replies.

CleoMan

Programmer
Jun 18, 2003
110
ZA
I mentioned in a previous post that we are using 3rd party software in conjunction with our paradox application.

For this software to open correctly I use the following code:
execute("explorer" + getaliaspath(":x:") + "\\xyz.exe")

The problem is that with XP a dialog box pops up saying the file might contain a virus and gives the option to open,save or cancel.

This dialog box is a major hassle, is there anyway that I can still use the same command, but without having the dialog box appear?
 
I have to, for some reason, if I dont use the explorer tag, the 3rd party software, for some reason, does not work properly!
 
What software is the dialog box from? If it's from Norton or some other virus checker you can probably exclude that specific executable file in it's settings. If it is IExplorer causing the problem, you can try lowering the security settings in the Internet Options (Caution, this may leave you vulnerable in other ways).

Mac :)

"There are only 10 kinds of people in this world... those who understand binary and those who don't"

langley_mckelvy@cd4.co.harris.tx.us
 
Thanks for all the help guys ;-)

Really appreciated!
 
Well, Cleo, you didn't tell us what the 'other' app is. Nor what the results are if you don't use explorer.exe.

I've never heard of having to use explorer.exe to start a program.

Is it a DOS program? If so, you can likely use cmd.exe to start it. Or possibly the 'start' command. Or a combination.

What happens if you try to execute the program directly?

Lastly, did you get it working without that dialog popping up?

Tony McGuire
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top