I have a system running on a Pocket PC that was written in VB .NET 2005. When docked to a desktop, it successfully opens an SQL Server Database runniing on a server and copies and moves data to and from it. All movement of data is controled by the Pocket PC. THis works with or without ActiveSync running.
I want to copy a file from the server onto the Pocket PC using the .NET File.Copy function and I can't get it to work. I have tried the obvious File.Copy("MyServerMyfolderMyFile.txt, "MyPocketPCFolderMyFile.txt) and it always gives me errors. The Pocket PC system must know about the server as the database connection works fine.
What am I doing wrong?
Any help is appreciated as always.