Skip to Content
0
Jul 02, 2015 at 12:13 PM

Convert C# to VB.NET

123 Views

Hi,

I got this code from the forum, but I cannot convert it into VB.NET because apparently there is an error. I don't use C#.

An error occured converting your code, probably due to a syntax error: -- line 1 col 1: EOF expected

------------------------------------------------------------------------------------------------------------------------------------------------------

switch(pVal.FormTypeEx)

{

case "139":

SalesOrderClass.ItemEventHandler(ref string FormUID, ref SAPbouiCOM.ItemEvent pVal, ref bool BubbleEvent);

break;

}

------------------------------------------------------------------------------------------------------------------------------------------------------

Can anybody tell me where is the error?

I can convert the following without error:

switch(pVal.FormTypeEx)

{

case "139":

SalesOrderClass.ItemEventHandler( );

break;

}

So, it seems that the error lies inside the ()

Thanks

Leon Lai