copy *.csv files from T12B to Windows 7
Posted: Wed May 07, 2014 7:43 am
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);
}
}
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);
}
}