Hi,
I have the following method:
private void fileSystemWatcher1_Created(object sender,
System.IO.FileSystemEventArgs e)
{
string tmpPath = e.FullPath;
tmpPath = tmpPath.Replace("\\", "\\\\");
Bitmap testtest = new Bitmap(tmpPath);
}
and I set the above code to monitor a folder like: E:\Word\Data\i2938
then I use photoshop and save a(many) bmp into that folder. It give me
the following error:
************** Exception Text **************
System.ArgumentException: Invalid parameter used.
at System.Drawing.Bitmap..ctor(String filename)
at Test.testprogram.fileSystemWatcher1_Created(Object sender,
FileSystemEventArgs e) in
Can someone please help?
Thank you in advance :)