i!-PCLinkXtra.ocx in C#
John_Glove
Posts: 95
hi together
is there anyone who have written a programm with i!-PCLinkXtra in C#?
I have written a little Test-Software, but i can't connect to the master with the ActiveX
Component.
Can anyone tell me how i must initialize the OCX in the Code?
thanks a lot
John
BTW: I'm new in C# ;-)
is there anyone who have written a programm with i!-PCLinkXtra in C#?
I have written a little Test-Software, but i can't connect to the master with the ActiveX
Component.
Can anyone tell me how i must initialize the OCX in the Code?
thanks a lot
John
BTW: I'm new in C# ;-)
0
Comments
thanks for your answers!
i has also try the C# sample and compiled it.
After i try to make the connection: connection failed.
The settings are correct and with the NetLinx Studio, there is no problem to connect
from the same PC.
any hint's?
thanks
john
I have install the Visual Studio Express C#.NET again on a new installed Windows.
Open the sample Project from the PCLink Project for C# and compiled it.
After i type in the IP-Adress/Port i can't connect! Connection with the
NetLinx Studio is no problem! Authentication isn't active.
Is there soemone who can give me a hint?
thanks very much
John
.NET doesn't work very well with OCX's. You need to download "AXIMP.EXE" from Microsoft and drag and drop the OCX onto it. This will produce an Interopable dll that you can then make a reference to and access everything. Events and ConnectToMaster and such. I use it often in C#.