CrossCom VB example - lionpeloux/KukavarProxy GitHub Wiki
Due to the use of the asynchronous interface in the KRC interface for SetInfoOn / SetInfoOff
and the implementation of the necessary callback routines in the cCrossComm class, there are inevitably some changes to be made to the clients.
Integrate the cCrossComm class into your own VB projects :
In the Project Explorer, only insert the class cCrossComm.cls
. The properties for cCrossComm
must be as follows:
DataBindingBehavior = 0 - vbNone
Persistable = 0 - NotPersistable
IMPORTANT : Instancing must not be set to "1 - Private"
ActiveX EXE
:
The client must be compiled as Settings for Project Type Active EXE: In VB call up menu "Project > Properties > call"
Project Type: ActiveX EXE
Startup Object: Sub Main
To do this, a Sub Main()
procedure must be implemented in a VB module in which the user interface is loaded.
Example:
Sub Main ()
Load Production Screen
ProductionScreen.Show
End Sub
Under Component, make the following settings:
- Start Mode: Standalone
- Version Compatibility: No Compatibility