The MASM Forum Archive 2004 to 2012

General Forums => The Workshop => Topic started by: xroot on October 30, 2007, 09:55:03 PM

Title: IIS and IE7
Post by: xroot on October 30, 2007, 09:55:03 PM
I can not get ShellExecute, WinExec, or wshell  commands working from IE7 with IIS on XP.
The program is doing everything correct except those commands I mentioned.
When I run any of the commands from the "exe" same program they all work fine.
Are there any IE7 and IIS experts out there? Whats stopping them from working?
Thanks all
Title: Re: IIS and IE7
Post by: Vortex on October 31, 2007, 07:00:29 PM
Could you post an example code?
Title: Re: IIS and IE7
Post by: xroot on November 01, 2007, 03:58:50 PM
Here is the code.

[attachment deleted by admin]
Title: Re: IIS and IE7
Post by: hutch-- on November 02, 2007, 03:14:27 AM
they are probably excluded for security reasons. If IE could be used to routinely start and run executable programs the extra risk would be massive.
Title: Re: IIS and IE7
Post by: xroot on November 02, 2007, 03:57:02 PM
Is there a way to "RUN AS" someother user?
Title: Re: IIS and IE7
Post by: Vortex on November 02, 2007, 06:01:21 PM
Check the DOS command RUNAS
Title: Re: IIS and IE7
Post by: Tedd on November 02, 2007, 10:38:42 PM
runas /user:xroot cmd

replace 'xroot' with the user you want to run 'as,' and 'cmd' with the command you want to run ('cmd' gets you the command prompt.)