473,382 Members | 1,545 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 software developers and data experts.

IIS ASPX .NET VB .NET Managed C++ and COM VB 6.0 ASP

I have a simple Managed C++ wrapper built around an *existing* C++
interactive
[GUI] application. I can access the Managed C++ application classes
from a VB .NET or C# client and the GUI part works as expected. I am
using VS .NET 2002 (.NET framework v1.0.3705) for building my Managed
C++ application on a Windows XP Professional (version 2002) SP1.

I do not have much of a choice with the way the C++ program is
designed (e.g how it displays GUI stuff to interact with the user)
except to try and build a wrapper around it and use it in the .NET
environment.

My primary goal is to access the application functionality thru an ASP
..NET webpage via a VB .NET class as below:
ASPX -> VB .NET -> my Managed C++ app

But then the GUI from my Managed CPP application does not show up when
I try to open the ASPX page and the page does not load at all.

If I disable the GUI part (of underlying C++ app) of the managed C++
app,
the ASPX page loads but then I won't have the User Interaction part.

Before trying this in the .NET environment, I used a COM wrapper
around
my C++ application and when I invoke the ASP page, the GUI part (of
underlying C++ app) of my COM wrapper comes up fine.
ASP -> VB 6.0 -> my COM wrapper around the C++ application.

As mentioned above, when I move the framework to .NET the GUI (for.
e.g
even a simple MessageBox) does not show up.

I have spent some time reading the newsgroup articles. I have enabled
the "Allow service to Interact with Desktop" in "Control Panel/Admin
tools/Services" World Wide Web Publishing service and the IIS Admin
service.

I have read in one news group that: all InetInfo managed services must
have this "allow desktop interaction ..." option turned on. Are there
any other services I am missing here? Also, are there any other things
to do to make this work?

Any helpful information will be appreciated. Thanks in advance.

CG
Nov 18 '05 #1
1 1462
Hi,
I dont see why you need to open windows as part of the server side
processing of web request. there isn;t any interaction with users in
this process ...

Any way this liknk might be helpful
:\http://support.microsoft.com/default...555134&Product
=asp

Natty Gur[MVP]

blog : http://weblogs.asp.net/ngur
Mobile: +972-(0)52-8888377
*** Sent via Devdex http://www.devdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 18 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

22
by: Alper AKCAYOZ | last post by:
Hello Esteemed Developers and Experts, I have been using Microsoft Visual C++ .NET for 1 year. During this time, I have searhed some topics over internets. Most of the topics about .NET is...
3
by: fdan4817 | last post by:
I read an earlier thread about a Java developer switching to .Net with much interest. It still has not resolved some questions that I am wrestling with. I am new to Windows programming (other...
3
by: Adam | last post by:
I can't seem to find one spot on the net that specifies exactly what I need to do. Situation: Native dll needs to hold a static reference to a managed class in .net 2.0 (whidbey) which needs to...
7
by: Adam | last post by:
I have a managed cpp wrapper. Im using this in a native dll as a static variable. I need to free this library when the dll is done being used. The perfect place to do this is DllMain for...
4
by: Bill Cohagan | last post by:
This is a managed MSDN newsgroup, right? I posted a question on 8/20 regarding event order, but have received no response at all. I was under the impression that such posts would be responded to...
3
by: Robert Hooker | last post by:
Does anyone have any information on when MDX2.0 will come out of Beta? It seems like its been in Beta for a looong time... Rob
8
by: Varangian | last post by:
Hello, was wondering of how to dispose of managed resources? or referencing every member of a class to null will release resources...? http://www.marcclifton.com/tabid/79/Default.aspx...
1
by: =?Utf-8?B?QmlsbHkgWmhhbmc=?= | last post by:
Is this a managed post?
2
by: =?Utf-8?B?QkJN?= | last post by:
Like WPF, WF, and WCF. I don't see them in the list?
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.