Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to determine the field a textbox is bound to
Message
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Environment versions
Environment:
VB 8.0
OS:
Vista
Network:
Windows XP
Database:
Jet/Access Engine
Application:
Desktop
Miscellaneous
Thread ID:
01487443
Message ID:
01487757
Views:
37
>
>Duh. The second result is actually spot on. I think I must have just mis-typed the C# code that I submitted for that one :-{
>I was just wondereing, purely out of curiousity, how I'd go about writing a similar translartor.....

I wrote one using CodeRush from DevExpress (I have the full version but it works with the free version):

http://www.rcs-solutions.com/blog/2008/08/17/TranslateCToVBNETOrViceversaUsingCodeRush.aspx

Since it basically builds a syntax tree behind the scenes (and has the ability to generate code from that tree) it was really easy to just use it's built-in functionality to do the conversion for me. It's not perfect but it works pretty well.
-Paul

RCS Solutions, Inc.
Blog
Twitter
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform