E
eNoodle
I am using CF SP2 on the device.
simply execute the following code, u'll get result "2";
string strTemp = "2 can";
double Qty = Microsoft.VisualBasic.Conversion.Val(strTemp);
MessageBox.Show(Qty.ToString());
but if u change the word "can" to "doz", U'll get a System.FormatException
error...
string strTemp = "2 doz";
double Qty = Microsoft.VisualBasic.Conversion.Val(strTemp);
MessageBox.Show(Qty.ToString());
Is this a bug ?
Besides that, I have converted my old application written from eVC++ 3 to
NET.CF, some module had been rewrite in C# with using the same programming
logic. and user can directly tell the difference in processing speed, (seems
like slow for 1 or 2 second...)
Any suggestion to improved the performance ?
simply execute the following code, u'll get result "2";
string strTemp = "2 can";
double Qty = Microsoft.VisualBasic.Conversion.Val(strTemp);
MessageBox.Show(Qty.ToString());
but if u change the word "can" to "doz", U'll get a System.FormatException
error...
string strTemp = "2 doz";
double Qty = Microsoft.VisualBasic.Conversion.Val(strTemp);
MessageBox.Show(Qty.ToString());
Is this a bug ?
Besides that, I have converted my old application written from eVC++ 3 to
NET.CF, some module had been rewrite in C# with using the same programming
logic. and user can directly tell the difference in processing speed, (seems
like slow for 1 or 2 second...)
Any suggestion to improved the performance ?