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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Dragging txt from Explorer to Text Box

Status
Not open for further replies.

Quehay

Programmer
Feb 6, 2000
804
US
I'm trying to drag a txt file from the Windows Explorer into a textbox on a form. When I start the drag the cursor turns into the universal "no go" sign as soon as it leaves the Explorer area. I thought this was one of those things that just works without any programming (I've tried setting the OLEDrop mode of the textbox both to Automatic with the code commented out and to Manual with code that checks the data object for vbcftext (or whatever the exact constant is)). The code came from help so it should be sound--also tried the vbcfFiles constant as well to no avail.

Is there a Project reference needed that I've missed perhaps?

Thanks if you can enlighten me [sig][/sig]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top