Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Copy File Not On Disk

Status
Not open for further replies.

Miners47

Technical User
Jul 14, 2000
12
US
I am creating an application that allows users to drag and drop saved network/local files into a datagrid to help them organize information related to a specific order (i.e faxes, written correspondence etc...). The application retreives the physical file location during the drag/drop actions and then creates a copy of it and moves it to a predetermined location on the network.

I have also programmed the ability for the user to "PASTE" a file into the application. This functionality utilizes the FileDrop method in turn retreiving the saved file locoation (Clipboard.GetDataObject.GetData("FileDrop", False)).

My users would like to "COPY" an email from within Outlook and paste it into this same application. However, this poses a problem that I am not sure how to handle. The copied email does not yet exists as a physical file on disk and my existing code does not know how to handle the action through the FileDrop method. Essientially, I need to reroute the PASTE function to save the file to a location that I have predetermined.

Can anyone point me in the write direction on this particular issue?
 
Miners47,

Did you ever figure out a solution to this problem. I am experiencing the same. I can not drag and drop directly into my vb app. I have to drag/drop onto my desktop and then go to my app.

Thanks,
Chris
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top