cs1026: ) expected error ... All of Sudden

UnknownArt

Member
Licensed User
Longtime User
Do you know why it complains about error CS1026: ) expected all of sudden?

It was working fine and I already distribute this program on Windows Mobile machine. My client is using the program happily. My client wants to change a small portion. So, I opened the program in a long time and compiled but, CS1026 or CS1025 error occurred all of sudden. I thought it caused by my changes, so I restored the original code and compile but it still occurs errors.

I don't know what causes. Please help.


Error compiling program
Error message: error CS1026: ) expected
Line number: 213
Line: AddRecord("0","0","0","0","0","0","0")

After remark the above code and compile the program, it keeps showing the error at the following codes:

RegexReplace("\<diffgr:.*",xmlResult,"")
RegexReplace("diffgr:id.*",xmlResult,">")
RegexReplace("\<\/diffgr:diffgram\>",xmlResult,"")
 

Attachments

  • unnamed.png
    unnamed.png
    258.9 KB · Views: 402
Last edited:

UnknownArt

Member
Licensed User
Longtime User
I followed your suggestion to avoid the file system permissions. No Luck as well.
My Basic4PPC version 6.80.01. Is it a latest version?
 

UnknownArt

Member
Licensed User
Longtime User
Thanks Erel
I upgraded successfully. I am sorry to inform you that I have totally different error occurred after the upgrade.

Error compiling program.
Error message: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
Line number:44
Line: UpdateRecord(txtBarcode.Text)
 

Attachments

  • _Wang__ie8winxp_-_Chrome_Remote_Desktop.jpg
    _Wang__ie8winxp_-_Chrome_Remote_Desktop.jpg
    37.3 KB · Views: 355
Top