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

Two questions on OLE!

Status
Not open for further replies.

Skorkpup

Programmer
Feb 17, 2005
11
Hello again gentlemen.

Can anybody answer these two questions on the standard ole control in VB6?

What do I use to make my ole control respond to a certain file type (in this case wave .wav files) and NOT open up any other file dropped into it. Such as dropping an EXE file into it will open the EXE program, Dropping a TXT file into it will open notepad. Uncool.

And secondly, what do I use to make the wave file play automatically when a .wav file is dropped into it . I don't want to have to click on it. Too Much work. I just want to drop the file into the ole control AFTER the progtram opens and have it play. I know how to get it to open and play when the file is dropped into the progran Icon. (Thanks to George!)

Thanks for taking the time to read this.

Skorkpup

Skorkpup
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top