Wrox Programmer Forums
|
Classic ASP Professional For advanced coder questions in ASP 3. NOT for ASP.NET 1.0, 1.1, or 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Professional section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old February 13th, 2005, 02:26 AM
Registered User
 
Join Date: Feb 2005
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Interacting with Server's Desktop

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?





Similar Threads
Thread Thread Starter Forum Replies Last Post
Interacting with Word hewstone999 Access VBA 0 March 25th, 2008 11:22 AM
Web page interacting kuzbari C# 1 March 19th, 2006 01:28 PM
Interacting User Controls [email protected] ASP.NET 1.0 and 1.1 Professional 4 March 27th, 2005 06:11 AM
web server's that support aspx badgolfer ASP.NET 1.0 and 1.1 Basics 1 January 4th, 2005 12:34 PM
using the server's time? budman Classic ASP Basics 1 December 16th, 2003 03:07 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.