Community
Showing results for 
Search instead for 
Do you mean 
Reply

Custom Control using VB instead of C#

Tuned Listener
Posts: 19
Country: USA

Custom Control using VB instead of C#

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.

Bronze Super Contributor
Posts: 1,231
Country: USA

Re: Custom Control using VB instead of C#

Have you tried to convert the code?

 

http://converter.telerik.com/

 

-- Jim Durkin'

 

Tuned Listener
Posts: 19
Country: USA

Re: Custom Control using VB instead of C#

Jim, I haven't. But I'm pessimistic on that.

good news is that I found out an alternative way. thanks to your post

http://community.act.com/t5/Act-Developer-s-Forum/programmatically-call-menu-item-in-ACT/m-p/243442/...

 

basically I build a control that simply calls the plugin. Thank again, Jim.

Copper Super Contributor
Posts: 86
Country: United_Kingdom

Re: Custom Control using VB instead of C#

Hi Steve,

 

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.

 

Kind regards,

 

Sam.

____________________________________________________________

Unfortunately I no longer work for Swiftpage International. Please do not send any queries to this account.
Tuned Listener
Posts: 19
Country: USA

Re: Custom Control using VB instead of C#

Thanks Sam. I'll try telerik next time if needed.

Silver Super Contributor
Posts: 2,328
Country: USA

Re: Custom Control using VB instead of C#

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.

 

Stan


If you would like to get more out of ACT! you can find an ACT! Certified Consultant near you by going to:www.act.com/acc.
-------------------------------------------------------------------------------------
Stan Smith
ACT! Certified Consultant
ADS Programming Services, Inc.
(205) 222-1661
www.adsprogramming.com
www.actwebhosting.com
Click Here to Purchase Act!