Yes,
You can call an executable and get results, using the
System.Diagnostics.Process class.  However, the ASPNET user does not
usually possess sufficient permissions to do this, so you will need to
grant execute permission on the executable to the ASPNET user or
impersonate a user with the appropriate permissions.  If the
executable relies on other resources, it is possible that you will
have to grant permissions on these resources as well.

Another thing to consider is that spawning executable processes might
not scale terribly well in a web application.  If you can get the
source code and create a .NET dll, you won't have to worry about
either permissions or scaling issues.

On 7/18/05, nefilm99 <[EMAIL PROTECTED]> wrote:
> Hi
> 
> I am working on an application which needs to decode a string....
> 
> The encoding part runs on a non web application.
> 
> So users come to my web page with a code - and I want to decode it.
> 
> The guy that worked on the encoding gave me an exe file which decodes
> the string - by running "decrypt.exe <code>".
> 
> 
> Can I run this exe from the web page?  or do I need to get his code
> and build a web version of his decrypt?
> 
> it would be great if i could "shell" the command "decrypt.exe <code>"
> and get the response I need, but i ave no idea how to do this
> 
> 
> 
> 
> 
> 
> Yahoo! Groups Links
> 
> 
> 
> 
> 
> 
> 
> 


-- 
Dean Fiala
Very Practical Software, Inc
http://www.vpsw.com


 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to