Welcome Guest ( Login | Register )



All times are UTC - 7 hours [ DST ]



Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: copy *.csv files from T12B to Windows 7
PostPosted: Wed May 07, 2014 7:43 am 

Joined: Wed May 07, 2014 7:09 am
Posts: 1

Offline
Hy,
i have a problem with sharing *.csv files from the DataLogger!
I want to copy the *.csv file that has been generated to a server on Windows 7!

\Flashdrive\Project\project files\DatabaseExport\Data Loggers\Datalogger.csv
-->
for example: \\Servername\\name\\Datalogger.csv

Everytime i get "IOException"!

How can i do that with script to have permission to copy files between WinCE6.0 an Win7?
______________________________________________________________

My Code:

void Button12_Click(System.Object sender, System.EventArgs e)
{
try
{
string sourcePath = @"FlashDrive\Project\project files\DatabaseExport\Data Loggers\DataLogger1.csv";

string destPath = @"\\servername\\name\\DataLogger1.csv";

File.Copy(sourcePath, destPath);
}
catch (IOException ex)
{
MessageBox.Show(ex.Message);
}
}


 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC - 7 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron