Link to home
Start Free TrialLog in
Avatar of ttobin333
ttobin333

asked on

VB6 drag and drop: grab file name and path into textbox

Dear Experts,

I would like to drag and drop a file/folder from Windows Explorer into a standard textbox, and have the file name and path appear.  I am using manual drag and drop.  So I guess I need a way of converting Data.GetData(vbCFFiles) into text format. The Str() function does not work.

Thanks!
ASKER CERTIFIED SOLUTION
Avatar of Mike Tomlinson
Mike Tomlinson
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of ttobin333
ttobin333

ASKER

Perfect! Thanks Idle_Mind!