Hi Mike,
Thanks very much for your feedback.
Oh, based on your feedback, I see that what you have is a VB.net
usercontrol's source file. You want to use it in a C# project.
For a C# project, it will use csc.exe compiler to compile it and generate
assembly. It can not recognize VB.net code.
You should add a new VB.net windows control project into your entire
Solution, then add the VB.net usercontrol source code into this project.
Then, you can compile this project, an assembly will generate for this
VB.net usercontrol source code.
At last, you may add this usercontrol assembly into C# project through Add
Reference or through Tool Box
===================================
Please apply my suggestion above and let me know if it helps resolve your
problem.
Thank you for your patience and cooperation. If you have any questions or
concerns, please feel free to post it in the group. I am standing by to be
of assistance.
Best regards,
Jeffrey Tan
Microsoft Online Partner Support
Get Secure! -
www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.