Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Public Variables
Message
From
27/05/2002 06:44:52
 
 
To
27/05/2002 06:12:34
General information
Forum:
Visual Basic
Category:
Other
Miscellaneous
Thread ID:
00661600
Message ID:
00661615
Views:
18
I think, you cannot access public variablis in standard .EXE as you did it with classes or ActiveX controls. One solution is to create out-of-process server (ActiveX EXE), which public variables you can access (more reliable solution in this situation is to create public properties instead of public variables). If you cannot create ActiveX .EXE, other possible solution is to export variables (for instance, in some file) and import them in other application. In this situation, you must know when to export variables. Best solution is to use database and to update immediately variables in it (you can store them into table). Other application will get variables from database on demand. One more solution: you can organize communication between two solutions with WinSock controls: First application listening on some port for requests. Second application makes request and first application returns values of variables in some format (for instance, =;=;...;).

Plamen Ivanov
MCSD .NET Early Achiever and MCAD .NET Charter Member (VB .NET/SQL Server 2000)
MCSD (VB 6.0/SQL Server 2000)

VB (.NET) - what other language do you need in the whole Universe?...

Previous
Next
Reply
Map
View

Click here to load this message in the networking platform