07-21-2015 03:15 PM
Anybody has a VB sample for creating a custom control? I know how to do it in C#. I tried to do it in VB but it doesn't work. The constructor is never called during DLL initilization.
Reason for doing this is I'd like to convert a Plugin to Costom Control. The Plugin was written in VB and it has lots of code.
07-22-2015 03:02 PM
Jim, I haven't. But I'm pessimistic on that.
good news is that I found out an alternative way. thanks to your post
basically I build a control that simply calls the plugin. Thank again, Jim.
07-23-2015 12:11 AM
I know I'm a little late but I thought I'd chime in and confirm that unfortunately we don't have any VB samples and would have had to go down Jim's route of conversion using Telerik.
Glad to hear that you got it working anyway.
07-23-2015 09:49 AM
I use telerik all the time to convert from c#.net samples to vb.net. I've also used it on my own code to convert back and forth. It's interesting to see what it does when you convert from vb.net to c#.net and then back to vb.net. The will actually refactor your code sometimes and it's interesting to see what they do.