Hello everyone,
I hope someone can help.
I have built a smart device project using VB in VS2005, which saves scanned barcodes to an XML file. When the user wishes to update the SQL Server database, my pgm reads the rows in the XML file into a datatable and then my pc based VB2005 pgm updates the SQL Server Express 2005 db.
My problem is this... When I run the WinCE app through the IDE in VS the synchronisation works OK, i.e. it reads the XML file, populates the dataset, connects to the database and updates successfully. However, when I run the pgm from the CE device and then attempt to synchronise the program crashes. It seems to do this when it attempts to read the XML file, but ONLY seems to do this when run directly from the device.
I am also having problems creating GUIDs. When the pgm creates the new record it creates a series of zeros as the GUID, e.g <Guid>00000000-0000-0000-0000-000000000000</Guid>. Are GUIDs not supported in smart device apps?
Your help is very much appreciated.
I am a newbie to WinCE, and would be grateful if you can help me
I hope someone can help.
I have built a smart device project using VB in VS2005, which saves scanned barcodes to an XML file. When the user wishes to update the SQL Server database, my pgm reads the rows in the XML file into a datatable and then my pc based VB2005 pgm updates the SQL Server Express 2005 db.
My problem is this... When I run the WinCE app through the IDE in VS the synchronisation works OK, i.e. it reads the XML file, populates the dataset, connects to the database and updates successfully. However, when I run the pgm from the CE device and then attempt to synchronise the program crashes. It seems to do this when it attempts to read the XML file, but ONLY seems to do this when run directly from the device.
I am also having problems creating GUIDs. When the pgm creates the new record it creates a series of zeros as the GUID, e.g <Guid>00000000-0000-0000-0000-000000000000</Guid>. Are GUIDs not supported in smart device apps?
Your help is very much appreciated.
I am a newbie to WinCE, and would be grateful if you can help me