Go Back   PCMech Forums > Help & Discussion > Software Discussion & Support

Need Some Help? Type Your Keywords Here:

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 09-19-2005, 02:01 PM   #1
Member (1 bit)
 
Join Date: Sep 2005
Posts: 1
Playing a movie (.wmv) file in Excel vba

Hi, Im not sure if i am in the right forum...i am new here. I am trying to use a command button on a user form in excel to initiate a movie to play in windown media player. does anyone know how to do this?

I have tried

Private Sub CommandButton12_Click()
CreateObject("WSCript.Shell").Run "C:\Documents and Settings\Richard.Richard-A2823C\Documents\InsertMovie.wmv", True
End Sub


but I keep getting a "run" method failed compiler error message.

Does anyone know what could be wrong or where I could find a knowledgebase on this? I have been searching the web but can't find the right thing. Thanks!
thekneeguy is offline   Reply With Quote
Reply

Bookmarks

Still Need Help? Type Your Keywords Here:


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 07:49 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 PL2