Solved

How to call a DLL or Activex exe running on server & call from client . Process should execute on server

Posted on 2004-09-17
5
164 Views
Last Modified: 2010-05-02
Hii All,
I am doing a project .  Development environment if windows 2003 server & Visual Basic 6 , Auto cad
I have developed a DLL which coverts .dwg files to .dwf files using AutoCad .
Now I want to call this Dll from a client machine then it should execute on server and  convert file on server only .
Because client doees not have auto cad installed .

Or do you know how to configure COM+ to work  for the situation

Thanks
Rahul
0
Comment
Question by:rahulbagal
[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
  • 2
  • 2
5 Comments
 
LVL 2

Expert Comment

by:x50Fade
ID: 12083016
What you need to do is to configue (Enable) DCOM. (Distributed COM)

DCOM allows you to derive objects from a remote dll just as if it was on your own local PC.

Check it up on google.
0
 
LVL 26

Expert Comment

by:Rejojohny
ID: 12083609
basically u will have to use "MTS" and configure ur dll on the server to work as a DCOM or use "dcomcnfg" .. then use the stub of the DLL as reference on the client application .. or else u could create an activex exe instead of a dll and access it from ur client applicaiton
0
 
LVL 2

Author Comment

by:rahulbagal
ID: 12085957
Hiii Rejojohny  & x50Fade  ,
Thanks
I am also trying the same thing  but I want the details how do I configure COM+ Components ( Previously MTS on NT  )
Is there any change is required  in VB code of dll .
& how to communicate between client & server .

0
 
LVL 26

Accepted Solution

by:
Rejojohny earned 500 total points
ID: 12094412
there is no need of any change in the dll for configuring it in MTS ..
have a look at this ...
http://support.microsoft.com/default.aspx?scid=kb;EN-US;191766
0
 
LVL 2

Author Comment

by:rahulbagal
ID: 12100836
Thanks ... You are great .
It worked
0

Featured Post

[Webinar] How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

Question has a verified solution.

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

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.
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
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…

728 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