on 07-02-2015 1:13 PM
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
Hi Leon,
Can you try this ?
Select Case (pVal.FormTypeEx)
Case "139"
SalesOrderClass.ItemEventHandler( String FormUID, SAPbouiCOM.ItemEvent pVal, Boolean BubbleEvent)
End Select
Try to convert at this link:
CodeTranslator: Code Translation From VB.NET <-> C#
Convert C# to VB.NET. Convert C# projects to VB.NET
Hope it helps.
Thanks & Regards
Ankit Chauhan
SAP Business One Global Support
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
100 | |
8 | |
8 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.