Solved

Invoking MTS/COM+ from a browser-bound ActiveX Control

Posted on 2002-06-06
3
203 Views
Last Modified: 2013-11-25
Dear Experts

Here's the scenario:
The client application has its GUI as well as all its libraries packaged into an Active-X control. It runs in the customer's browser. The remote IIS/SQL server recieves requests for data etc. via port 80.

The powers that be want me to remove the libraries from the ActiveX control, and implement them as COM+/MTS applications on the remote server.

Is this possible? If so, what changes would I have to make to the client's as well as the server's configuration? Would it be possible to invoke COM+/MTS services via port 80 too?

Many Thanks
Sean McDonald
0
Comment
Question by:Elphlight
3 Comments
 
LVL 4

Accepted Solution

by:
gencross earned 50 total points
Comment Utility
If all of the calls are in a class(es) within the control just remove them.  Compile them into a DLL(s), and call them from the control.

Once you compile the DLL(s) and create the MTS package you will need to reference the DLL in the control and dim and set the objects in the control.  Once you do this you should be able to call them just as you are now with little or no modifications.  

If you want to call the procedures from an ASP page you will need to create the objects in the ASP page...

set objMyObject = server.CreateObject("projname.clsname")

Once you create the object you can call it just as you would within the control.

I hope this all makes sense.  Let me know if I am off track.
0
 
LVL 49

Expert Comment

by:DanRollins
Comment Utility
Hi Elphlight,
It appears that you have forgotten this question. I will ask Community Support to close it unless you finalize it within 7 days. I will ask a Community Support Moderator to:

    Accept gencross's comment(s) as an answer.

Elphlight, if you think your question was not answered at all or if you need help, just post a new comment here; Community Support will help you.  DO NOT accept this comment as an answer.
==========
DanRollins -- EE database cleanup volunteer
0
 
LVL 1

Expert Comment

by:Computer101
Comment Utility
Comment from expert accepted as answer

Computer101
E-E Admin
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

A theme is a collection of property settings that allow you to define the look of pages and controls, and then apply the look consistently across pages in an application. Themes can be made up of a set of elements: skins, style sheets, images, and o…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

6 Experts available now in Live!

Get 1:1 Help Now