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
162 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering 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

Suggested Solutions

Title # Comments Views Activity
SSRS expression Issue finding a string 10 101
MsgBox 4 71
How to read File Date Created using VB6 8 62
Macro problems with Excel file 6 27
The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
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…
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…

733 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