Can anyone tell me if its even possible for a VB6 ActiveX DLL object to be created and called from an ASP page in IIS, and have it create a new Form object that the operator logged on at the serverâs keyboard/display can respond to? I have gotten this to âworkâ except that the form runs (it generates sound) in an invisible windows station. I expected this, creating the object directly from ASP as an in-proc component. However, everything Iâve tried by creating a COM+ application wrapper which would run out-of-proc by DLLHOST.EXE, even with the logged-on user specified as the identity to run under, fails. The Event Log shows a
VB Runtime Error, âNon-modal forms cannot be displayed in this applicationâ, even though I rewrote the component to show the form as Modal.
I created a separate COM+ application for this, not mucking with the built-in IIS COM+ apps in Component Services. I also checked the âAllow service to interact with the desktopâ box for the World Wide Web Publishing Service. Iâm on Windows Server 2000 with SP4 and using Visual Basic 6 SP6.
Am I missing something, or cannot COM be used for this? I donât need COMâs Transactional support. Is there an API function I can use to force the form onto WinSta0\Default?