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
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
160 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
  • 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

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

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

808 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