Howto - Multiple Remote DLLs 
Author Message
 Howto - Multiple Remote DLLs

I have an application that uses a remote dll based on a server. However
I want to give the user the choice of which server to connect to via a
logon form.
As I understand it I can register a DLL on the client as being based on
a server, using clireg32.exe, but with multiple servers this would need
to be altered at run time.

Ideas so far are to access the registry and update it, or shell out to
clireg32.

Can anyone advise on the best method to do this.

Thank you

(Please be gentle as I'm new to this client server programming)
--
Darren Green



Mon, 22 Jul 2002 03:00:00 GMT  
 Howto - Multiple Remote DLLs
From the MSDN documentation:

"You can create an object on a remote networked computer
by passing the name of the computer to the servername
argument of CreateObject (new optional parameter in VB6).
That name is the same as the Machine Name portion of
a share name: for a share named "\\MyServer\Public,"
servername is "MyServer."

Note   Refer to COM documentation (see Microsoft Developer
Network) for additional information on making an application
visible on a remote networked computer. You may have to
add a registry key for your application"

Quote:

>I have an application that uses a remote dll based on a server. However
>I want to give the user the choice of which server to connect to via a
>logon form.
>As I understand it I can register a DLL on the client as being based on
>a server, using clireg32.exe, but with multiple servers this would need
>to be altered at run time.

>Ideas so far are to access the registry and update it, or shell out to
>clireg32.



Mon, 22 Jul 2002 03:00:00 GMT  
 Howto - Multiple Remote DLLs


Quote:
>From the MSDN documentation:

>"You can create an object on a remote networked computer
>by passing the name of the computer to the servername
>argument of CreateObject (new optional parameter in VB6).
>That name is the same as the Machine Name portion of
>a share name: for a share named "\\MyServer\Public,"
>servername is "MyServer."

>Note   Refer to COM documentation (see Microsoft Developer
>Network) for additional information on making an application
>visible on a remote networked computer. You may have to
>add a registry key for your application"

Thank you that looks like just what I'm after.
--
Darren Green


Mon, 22 Jul 2002 03:00:00 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. HOWTO: Create a Remote Assistance invitation in code?

2. HOWTO: Connecting to a remote SQL Server

3. HOWTO: Launch AddPrinter Wizard for remote machine

4. HowTo: Multiple select in DataGrid ?

5. VB6: Multiple Threads and ActiveX EXE's: HOWTO

6. HowTo show multiple textcolors using textbox control?

7. VB6 IDE crashes when reference local DLL that uses a remote MTS DLL

8. HOWTO: Display Multiple Images Upon Keypress and/or Mouse Click

9. HOWTO: FTP Get multiple files

10. Howto execute one query over multiple query results

11. HOWTO execute sql against multiple database connections

12. Howto execute one query over multiple query results

 

 
Powered by phpBB® Forum Software