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

How to call WordPad and Windows Media Player through createobject()

Status
Not open for further replies.

Johnweida

MIS
Apr 29, 2003
91
CN
HI,

Who can show me a sample to call WordPad and Windows Media Player through CreateObject() function ? Thanks.

John Satellite
 
I don't think that you can. An application has to be able to fucntion as a COM server. There are other ways to execute them.

Wordpad can be called with an API call. See Mike Lewis' article on this at his site:
And Windoes Media Player can be added to a form as an OLE object.

Brian
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top