Nicholas De La Haye

c# Operators ++ and -- are converted incorrectly to vb.net

When converting c# to VB.net the operators ++ and -- is converted incorrectly which gives incorrect results then from the original code. Consider the following c# example:- TestValue = TestArray[Index++];

This code uses the original value of say 0 in the variable "Index" and then increments the value afterwards. But converting this code to VB. net does not do this!

After conversion we get the following:-
TestValue = TestArray(System.Math.Max(System.Threading.Interlocked.Increment(Index),Index - 1))

The converted code always increments the value first and never uses the initial value of say 0 before it is incremented. You use a the function Max which take the highest value, but your use of Max never uses "Index - 1" as its always less, making it pointless to use the Max function. The proper conversion would be:
Index+=1
TestValue = TestArray(Index)

Please can you fix this bug?
Problem by Nicholas De La Haye Status: Not Done Comments: 1 Last update: 2016-08-22T15:22:26 by Nicholas De La Haye
0
Ulaş Şenol

Request.QueryString(string value) to Request.QueryString[string value]

I'm working convert vb to c#. Please do Request.QueryString(string value) to Request.QueryString[string value]
Feedback by Ulaş Şenol Status: Not Done Comments: 0 Last update: 2016-08-17T07:14:47 by Ulaş Şenol
0
Alberto Rodríguez

Merge converter in my site

Is there any way to use your converter in my web site?
Feedback by Alberto Rodríguez Status: Not Done Comments: 0 Last update: 2016-06-28T00:33:57 by Alberto Rodríguez
0
Sean Fackrell

New language features

None of the new VB language features appear to be supported, e.g.

multi-line string literals
properties with default values
extension methods (not new but doesn't work)
null coalescing operator (myType?.MyProperty)
Feedback by Sean Fackrell Status: Not Done Comments: 0 Last update: 2016-06-15T12:41:06 by Sean Fackrell
0
Jérôme Labbé

Code converted not woring

Batch converter does not find and upload files to convert, getting the unable to find files error.
Problem by Jérôme Labbé Status: Done Comments: 0 Last update: 2016-06-13T12:51:42 by Vladimir Dragoev
0
Jhony Llontop Caballero

Batch converter error

Sorry, we couldn't find the page you're looking for.
The page you were looking for appears to have been moved, deleted or does not exist.
Feedback by Jhony Llontop Caballero Status: Done Comments: 0 Attachments: 1 Last update: 2016-06-13T12:51:35 by Vladimir Dragoev
0
Sean Fackrell

Cannot convert using batch: sorry, we couldn't find the page you are looking for

Choose one zip file or .vb file, click upload files,

HTTP POST returns 404: sorry, we couldn't find the page you are looking for

This is the cookie

Key Value
Cookie amazonImageLoaded=true; BCSI-CS-7317c05d9bb54987=2; telerikConverter=method=C2VB&theme=&tabs=True&lineNum=False&lineColor=False; _ga=GA1.3.383408137.1465390642; _dc_gtm_UA-111455-21=1; session_referrer=; optimizelyEndUserId=oeu1465390641219r0.6260556289151218; optimizelySegments=%7B%222325621325%22%3A%22direct%22%2C%222335711366%22%3A%22ie%22%2C%222372151524%22%3A%22none%22%2C%222375811128%22%3A%22false%22%7D; optimizelyBuckets=%7B%7D; gauuid=a5ad3798-2b9e-81e5-982b-e4762224a3d6; _ga=GA1.2.383408137.1465390642; optimizelyPendingLogEvents=%5B%5D; _dc_gtm_UA-111455-1=1; _gali=ctl00_cpMainContent_btnUpload



This is the URL it's looking for

http://converter.telerik.com/batch.aspx?RadUrid=86c02514-bfbc-45bc-bd02-23b6ed6648f9

ID changes, always the same result
Problem by Sean Fackrell Status: Done Comments: 0 Last update: 2016-06-13T12:51:26 by Vladimir Dragoev
0
Chris Langsenkamp

Please fix or close all of the open issues

Lots of issues, most over a year old, no attention. If Code Converter has become Abandonware, fine, but please say so and shut down the feedback tool.
Problem by Chris Langsenkamp Status: Not Done Comments: 0 Last update: 2016-05-04T13:35:57 by Chris Langsenkamp
0
Ryan Price

Post-Increment operator

This c#:
tokenList.Add(kvp.Key, new IndexValue(index++, kvp.Value));
converts to this VB:
tokenList.Add(kvp.Key, New IndexValue(System.Math.Max(System.Threading.Interlocked.Increment(index),index - 1), kvp.Value))

The Math.Max has no place in there.
Problem by Ryan Price Status: Not Done Comments: 0 Last update: 2016-04-29T06:17:22 by Ryan Price
0
Steve Florence

My.Resources

VB-NET to C#. Converter has incorrect output with My.Resources

VB Input:
Me.pboxOverallStatus.Image = My.Resources.ProgressBar_25_Mod

C# ourput:
Spits out this: this.pboxOverallStatus.Image == My.Resources.ProgressBar_25_Mod
which is plain wrong. "My" does not exists.
Feedback by Steve Florence Status: Not Done Comments: 0 Last update: 2016-04-21T22:29:47 by Steve Florence
0
Displaying items 31 - 40 of 98