|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
ActiveX Instance
Hi,
As I am working with activeX at this very moment, I have a question (I do not have any documentation here and short access to internet). Is it possible to obtain an object in memory with one and one instance only. By example: If I have X programs running on a computer and all these programs need to perform an operation an ActiveX could do. If each programs make a CreatObject, there will be X instance of the object in memory! I would have X programs who use the SAME instance of the ActiveX exe. Is it possible? In fact I have 3 codes who need a common ressource (a Counter) and I would like to have a 'manager' of the counter accessible form the 3 codes easaly (by example with an activeX), but I need that the 3 codes use the same instance of the Object (or the counter will not have the good value!) Can someone help me plz? Thx a lot for your time. F. |
|
#2
|
||||
|
||||
|
The only thing I can think to do would be to class-orient your entire program, deploy the program to a central server that everyone can get to, and place a shortcut to that program on your users' computers
__________________
Fisherman "Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius -- and a lot of courage -- to move in the opposite direction." - A.Einstein |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > Visual Basic Programming > ActiveX Instance |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|