Hi,
I have a windows application (vb.net 2.0) running on ServerA that will
let a user browse to an image, display it on the form, enter in
additional data and then saves the image to a specified folder on the
server where the application resides (serverA).
If I browse to an image on ServerA I have no problems saving it to the
specified folder on ServerA.
However it I browse to an image on the C drive on my local machine
when trying to copy over the image to the specified folder on Server
A, it wont find the image since it is looking for the image on the C
drive on Server A.
Is there a way to get around this or do we have to make the user
browse to Server A to find the image to attach.
Here is the code I am using to copy over the file.
File.Copy("C:\Image.JPG", "\\ServerA\SpecificFolder")
Grateful for any ideas!
Thanks Mia
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML Web
Services,.NET Remoting" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://cm.megasolutions.net/forums/default.aspx
-~----------~----~----~----~------~----~------~--~---