VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Simple ole drag and drop

Stewart MacFarlane  (2 Submissions)   OLE/COM/DCOM/Active-X   Visual Basic 3.0   Beginner   Wed 3rd February 2021

This demonstrates a simple drag and drop of a file from windows explorer into a text box then grab the filename and path (this is part of the code im using to make a map install program for quake2)

Inputs
a dropped file from windows explorer

Assumes
you must create a textbox called text1 and make sure its big enough so its not too fiddly to drop a file onto. also make sure for text1 oledragmode and oledrop mode in the properties are set to manual

Returns
incorrect file type

Side Effects
none known

Rate Simple ole drag and drop (11(11 Vote))
Simple ole drag and drop.bas

Simple ole drag and drop Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters