Hi! I have a VB OCX that I plan to use with C# 2008. The Events I created are visible at C# from the OCX. My problem is: the global functions from the OCX are not visible at C#. How can I fix this? All suggestions are welcomed. Thanks in advance.
Using a VB OCX with C#
Collapse
X
-
Thank you for your idea.
The codes from my OCX are declared as Public, unless I am doing it incorrectly. Sample code is as follows:
Code:Public Sub DisconOPC() OPCData.Disconnect End Sub
Comment
-
Ok... here's what I found out. I started a fresh project. Using the same OCX, I finally have the public functions from the OCX showed up at C#. The problem persists with my original code which I could not afford to dispose now since I've written tons of codes.
Any idea why the global functions are not visible at my original project? Thanks in advance.Comment
Comment