Seznam cz

Support VB.NET 15.0

Right now the converter does not support newer language features like the ?. operator and is practically useless for any modern VB code. See this file as an example:

My request is please support the latest VB.NET 15.0 language, thanks.
Feature Request by Seznam cz Status: Not Done Comments: 0 Last update: 2017-09-15T10:53:30 by Seznam cz
Victor Richerson

convert to remove linq

I hate linq and lamda expression code so I would like to be able to take something with those and convert it to regular code. I really don't like that you create one off methods with lambda expressions and think it is likely to lead to bad code.
Feature Request by Victor Richerson Status: Not Done Comments: 0 Last update: 2017-09-12T19:35:22 by Victor Richerson
Mario Cesar Simão Junior

VB Constants conversion

Need to convert the Constants, like {{Constants.vbCrLf}} to {{Environment.NewLine}}, and many others.
Problem by Mario Cesar Simão Junior Status: Not Done Comments: 0 Last update: 2017-07-27T12:12:30 by Mario Cesar Simão Junior
Thomas Johnson

aync not preserved when converting a c# async method to vb

static async Task<Uri> CreateProductAsync(Product product)

Current conversion to VB:
Private Shared Function CreateProductAsync(product As Product) As Task(Of Uri)

Correct conversion to VB:
Private Shared Async Function CreateProductAsync(product As Product) As Task(Of Uri)
Problem by Thomas Johnson Status: Not Done Comments: 0 Last update: 2017-07-19T16:49:13 by Thomas Johnson
Paul Stearns


Converter C#=>VB dies on line 2, column 15 "extern".

[DllImportAttribute("EDITS50.dll", EntryPoint = "Edit_RunEdits")]
public static extern int Edit_RunEdits(
int smfID,
[InAttribute()][MarshalAsAttribute(UnmanagedType.LPStr)] string edit_tag,
[InAttribute()][MarshalAsAttribute(UnmanagedType.LPStr)] string layout_tag,
[InAttribute()][MarshalAsAttribute(UnmanagedType.LPStr)] string data,
int edit_options,
ref int errors_count,
System.IntPtr owner,
System.IntPtr callback_func);
Feedback by Paul Stearns Status: Not Done Comments: 0 Last update: 2017-06-12T12:11:30 by Paul Stearns
Brian Mains

select keyword not converted correctly from C# to VB

See the differences in query; the C# was the original, the VB the generated. Note the C# "select p" is converted over with no "select", presumably because select is a VB keyword:

property = (from t in containerType.GetInterfaces()
let p = GetTypeDescriptor(t).GetProperties()
.Find(propertyName, true)
where p != null
select p

[property] = (From t In containerType.GetInterfaces()Let p = GetTypeDescriptor(t).GetProperties().Find(propertyName, True) Where p IsNot Nothingp).FirstOrDefault()

C# has where p != null select p, VB has Where p ISNot Nothingp, where the p is pushed against the "Nothing" keyword.
Problem by Brian Mains Status: Not Done Comments: 1 Last update: 2017-05-18T20:18:53 by Excel-galaxy Ajah Anayo
Sabata Mereeotlhe

Math and String functions

I am currently working on a engineering piece of software and convert old vb6 to c# 4.6

1. I have had quite a few times that I needed to add Math. in front of the converted c# code eg.

Log => Math.Log

This might be the case with other Math functions

2. I have had to change the statement of counting the length of a string and other string functions as follows

Len(string) => string.Length
Mid(string, int, int) => string.Substring(int, int)

This could be the case with other string functions
Feedback by Sabata Mereeotlhe Status: Not Done Comments: 1 Last update: 2017-04-14T02:42:19 by Bettyjowhitfield Hunt
Dimitar Karamfilov

a Client reported that the batch page of the converter does not work

It should be either removed or redirected:

This is the page:

Thanks in advance.
Problem by Dimitar Karamfilov Status: Not Done Comments: 0 Last update: 2017-03-23T12:43:36 by Dimitar Karamfilov
Chanchal Ingale

'Handles MyBase.Load' should be appended to event while converting Page_Load method from to

I was converting 'protected void Page_Load(object sender, EventArgs e)' from C# to VB and it returned me 'Protected Sub Page_Load(sender As Object, e As EventArgs)' where as expected was 'Protected Sub Page_Load(sender As Object, e As EventArgs) Handles MyBase.Load'. This caused me couple of hours to detect as I was considering that conversion is 100% correct. I understand and appreciate this converter and understand this is evolving product, Hence thought should report same to you guys. Keep it up with your good Work.
Problem by Chanchal Ingale Status: Not Done Comments: 0 Last update: 2017-01-25T15:39:51 by Chanchal Ingale
Israel Aguasanta

cshtml/ vbhtml.

Would be great a converter for cshtml to vbhtml and vice versa.
Idea by Israel Aguasanta Status: Not Done Comments: 2 Last update: 2017-01-05T14:56:12 by Caty Hespel
Displaying items 1 - 10 of 76