Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_components thread: Is there a way to execute a exe file with COM(DLL)?


Message #1 by "Kueh Hock Chye" <kuehhc@y...> on Wed, 24 Apr 2002 03:43:52
I need to execute a email program with dll after the user have submitted 
the form.
i understand that there is a winexec method and a shell(cmd.exe,1).

For winexec, you will need to declare the method up on the header protion 
but when compiling, a error msg will be prompted.

The shell method does not execute the first few word, meaning it skips.

does anyone knows of another method to do this?
Message #2 by Oleg Kapeljushnik <c-oleg.kapeljushnik@w...> on Wed, 24 Apr 2002 09:21:28 -0400
I am using this to excute another file from my COM+ object.

res = ShellExecute(0, vbNullString, sReportFileName, sCommandLine, App.Path,
vbHide)

Hope this what you looking for.

Oleg.

-----Original Message-----
From: Kueh Hock Chye [mailto:kuehhc@y...]
Sent: April 23, 2002 11:44 PM
To: ASP components
Subject: [asp_components] Is there a way to execute a exe file with
COM(DLL)?


I need to execute a email program with dll after the user have submitted
the form.
i understand that there is a winexec method and a shell(cmd.exe,1).

For winexec, you will need to declare the method up on the header protion
but when compiling, a error msg will be prompted.

The shell method does not execute the first few word, meaning it skips.

does anyone knows of another method to do this?

c-oleg.kapeljushnik@w...
%%email.unsub%%



  Return to Index