O
omar.torres
Hi all,
Currently I have a VB6 application which uses a custom OCX. To use the
ocx in my VB6 application, I used the following code:
Public MyOCXInstance As OCXobject 'Create a new instance of the OCX
.....
Function read()
Dim MyString as string
MyOCXInstance.read(MyString)
.....'Validate MyString
read=MyString
end Function
....
Function write(byVal S as string)
write = MyOCXInstance.write(S)
end Function
Now I will like to create a C# app base on the same OCX. How can I do
this?
I am new to the C# language so the more details the better!
Just in case, I am using .Net 2005.
Thanks in advance for your help,
-Omar
Currently I have a VB6 application which uses a custom OCX. To use the
ocx in my VB6 application, I used the following code:
Public MyOCXInstance As OCXobject 'Create a new instance of the OCX
.....
Function read()
Dim MyString as string
MyOCXInstance.read(MyString)
.....'Validate MyString
read=MyString
end Function
....
Function write(byVal S as string)
write = MyOCXInstance.write(S)
end Function
Now I will like to create a C# app base on the same OCX. How can I do
this?
I am new to the C# language so the more details the better!
Just in case, I am using .Net 2005.
Thanks in advance for your help,
-Omar