Posted: Wed Oct 18, 2006 8:36 pm Post subject: Re: How can I play a .wmv file in VB6
Pass the path to Internet Exploder instead.
Dim ie5
Set ie5 = CreateObject("InternetExplorer.Application")
ie5.Visible = True
ie5.navigate "C:\KyleXY.wmv"
Set ie5 = Nothing
"Garry" wrote in message @TK2MSFTNGP05.phx.gbl...
>I have used the ShellExecute API to try to play a .wmv file. The Windows
>Media Player is loaded automatically BUT the .wmv file is not played.
>
> Does anyone have a solution??
>
> Garry
>
Posted: Thu Oct 19, 2006 12:12 pm Post subject: Re: How can I play a .wmv file in VB6
boaz wrote:
> Pass the path to Internet Exploder instead.
>
> Dim ie5
>
> Set ie5 = CreateObject("InternetExplorer.Application")
>
> ie5.Visible = True
> ie5.navigate "C:\KyleXY.wmv"
> Set ie5 = Nothing
>
>
>
> "Garry" wrote in message
> @TK2MSFTNGP05.phx.gbl...
>> I have used the ShellExecute API to try to play a .wmv file. The Windows
>> Media Player is loaded automatically BUT the .wmv file is not played.
>>
>> Does anyone have a solution??
>>
>> Garry
>>
>
>
Why should you use the Internet Exploder for this? Seems quite some over
kill + you're assuming that the user allows WMV-content to be played
from within the browser.
Posted: Thu Oct 19, 2006 3:53 am Post subject: Re: How can I play a .wmv file in VB6
I am not sure what it does. But when I try it, IE never shows up, and WMP
pops right out and plays the movie.
"Sinna" wrote in message
news:%23ZO5VW08GHA.4552@TK2MSFTNGP05.phx.gbl...
> boaz wrote:
>> Pass the path to Internet Exploder instead.
>>
>> Dim ie5
>>
>> Set ie5 = CreateObject("InternetExplorer.Application")
>>
>> ie5.Visible = True
>> ie5.navigate "C:\KyleXY.wmv"
>> Set ie5 = Nothing
>>
>>
>>
>> "Garry" wrote in message
>> @TK2MSFTNGP05.phx.gbl...
>>> I have used the ShellExecute API to try to play a .wmv file. The Windows
>>> Media Player is loaded automatically BUT the .wmv file is not played.
>>>
>>> Does anyone have a solution??
>>>
>>> Garry
>>>
>>
>>
> Why should you use the Internet Exploder for this? Seems quite some over
> kill + you're assuming that the user allows WMV-content to be played from
> within the browser.
>
>
> Sinna
Posted: Fri Oct 20, 2006 12:06 pm Post subject: Re: How can I play a .wmv file in VB6
Garry wrote:
> I have used the ShellExecute API to try to play a .wmv file. The Windows
> Media Player is loaded automatically BUT the .wmv file is not played.
>
> Does anyone have a solution??
>
> Garry
>
>
Can you post the code you're using to play it?
In most cases there's something wrong with a declaration and/or parameter.
How To Get File Size of Remote File Hi every one, I am trying to get file size on a remote computer using vb 6.0. I tried using GetFileSize API, but it rquires File Handle and I do not know how to get File Handle. Please help. I do not want to open file. I am actualy coping file to remote m
I can not run exe file Dear All I write an Client/Server application use Winsock Control . Side Client I have a MDI form (frmMain) and MDI child form , .. In frmMain I place a Winsock control (wskWinsock) . In Module (mdlGlobal) I declare an variant type Winso
saving file to CD Hi, On the desktop you can drag and drop files to a CD-R, and XP will take care the rest for you. How do I do this with VB6? "FileCopy" to a CD-R doesn't seem to work. -- > There is no answer. > There has not been an answer. > There will not be an answer.
Am I in the IDE or running from an EXE file? My VB error handler would like to know if I am running in the IDE in which case it could display a button to re-perform the error after executing an On Error GoTo 0 statement, or if this would be suicidal because of running from an EXE. Is there SOME way
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum