?
Solved

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

Posted on 2002-06-06
3
Medium Priority
?
270 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 4

Accepted Solution

by:
gencross earned 200 total points
ID: 7059613
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
ID: 7858162
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
ID: 8092477
Comment from expert accepted as answer

Computer101
E-E Admin
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…

765 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