PDA

Click to See Complete Forum and Search --> : Running Application from Dll


matt.butler
Mar 7th, 2003, 10:50 AM
I have made an activex dll. In a asp page I have I create the object and can use the routines inside the dll but when I use the runapplication function I have in the dll in task manager it show the program as running but it is not visible on the screen.

The code to run the program in my dll is simply
ret = shell(sAppPath,vbnormalfocus)

Like I say it is running the program just not making it visible on the screen.

daughey
Mar 19th, 2003, 06:13 AM
Question:
Does your DLL run on the server or the client?
(Is it something your ASP uses to build the page or is it something in the HTML that the browser receives)?

If it's server based, then your DLL is running in the context of the IIS Service (as your ASP page is running under IIS). Typically the service only has "LocalSystem" priviliges. This means it does not have access to the screen or the network.

Cheers
Dave