Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Hello all-

 

I am trying to implement File Drag and Drop for an App I am working on. I want to drag a custom file type onto the program and have it automatically open. Unfortunately I have had no luck with this so far. I keep getting an error about Drag and Drop registration having failed.

 

I have tried setting AllowDrop to True on the main form and implementing the events for DragEnter and DragDrop but I continue to get the error. Is it not possible to implement this for the main window...I have a tab control on the form...should I be trying to enable the drop functionality on that instead?

 

Any help would be greatly appreciated.

 

Thanks-

raquor

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...