This is a migrated thread and some comments may be shown as answers.

2 problems I found with C# to VB converter

1 Answer 76 Views
Code Converter
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
IFox
Top achievements
Rank 1
IFox asked on 28 Jul 2011, 03:09 PM
1) The  Handles Me.Load event handler is missing after the conversion on the Page Load event.(and the other events are also missing).
2) It converted this : AuditLogging("UnitStdID = " + intUnitStdID);   to this: AuditLogging("UnitStdID = " + intUnitStdID)
Which causes the code to crash because it tries to add an integer field to a string.
I changed it to AuditLogging("UnitStdID = " & intUnitStdID.ToString) in my code to make it work.

But other than that, I am very grateful for this timesaving tool....

Thank you.

Regards,
Angela

1 Answer, 1 is accepted

Sort by
0
Todd
Telerik team
answered on 29 Jul 2011, 08:19 PM
Hi Angela,

I'm glad you find the tool useful!

Errors in the conversion like this usually trace back to the underlying, open source NRefactory engine that we consume for code conversion. We'll check with the NRefactory project to see if these problems have been addressed so we can improve the converter. Thanks for bringing them to our attention.

Enjoy your converted code!

-Todd

Tags
Code Converter
Asked by
IFox
Top achievements
Rank 1
Answers by
Todd
Telerik team
Share this question
or