Process to replace old COM obj with new 
Author Message
 Process to replace old COM obj with new

Is there a standard procedure when I want to update a COM object in VB6 on
the server?

Can I just unregister the existing object (DLL), copy the new file (DLL)
into the same location and register that one without conflicting results?
Or do I have to unregister the first one and delete it, before copying the
new one and registering it?

Thanks,

King Wilder

--
----------------------
Gizmo Beach
www.gizmobeach.com

626 351-4334
---------------------



Thu, 23 Jan 2003 03:00:00 GMT  
 Process to replace old COM obj with new
King,

Unregistering the existing COMponent is enough. Just overwrite (in which
case you're deleting the old one anyway) it and register the new one.

--
Regards

Carsten Thomsen
MVP VB/MCSE/MCSD/VB Programmer & Analyst

PLEASE post ALL replies to the newsgroup(s) so we can all benefit from the
discussion!

Quote:
> Is there a standard procedure when I want to update a COM object in VB6 on
> the server?

> Can I just unregister the existing object (DLL), copy the new file (DLL)
> into the same location and register that one without conflicting results?
> Or do I have to unregister the first one and delete it, before copying the
> new one and registering it?

> Thanks,

> King Wilder

> --
> ----------------------
> Gizmo Beach
> www.gizmobeach.com

> 626 351-4334
> ---------------------



Fri, 24 Jan 2003 03:00:00 GMT  
 Process to replace old COM obj with new
Unless the dll is currently in-use, therefore, can't delete it.  You may
want to unregister it.  Reboot the PC, then overwrite it with the new
version. Then re-register your dll.

If you don't want to reboot your PC, just un-register the old dll.  Put the
new dll in another directory then register it.

There are also compilation options with VB which deals with version
compatibility.  You may want to check it out.

http://msdn.microsoft.com/training/free/chapters/mvs2/topics/mvs0087.htm

The start-up URL is:
http://msdn.microsoft.com/training/free/chapters/mvs2/topics/mvs00182...



Fri, 24 Jan 2003 03:00:00 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. Dim obj As New Class crt Dim Obj As Class = New Class

2. Replace old DLL with new DLL

3. Old Old VB To New VB

4. kyduke(kyduke@yahoo.com)'s New Logic - New sorting, New paging method

5. Calling COM obj returning array question

6. C++ COM obj in VB

7. Can't edit COM obj without restarting computer

8. Path to DLL from COM Obj

9. COM Obj ?

10. QUESTION: Error Handling and COM obj's - best practices

11. how can I replace old msvcrt.dll ?

12. VBScript to replace DOS Batch that deletes old files

 

 
Powered by phpBB® Forum Software