Visualizations and VB6
WMPTalk.com Forum Index WMPTalk.com
Discuss Windows Media Player
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web wmptalk.com
Visualizations and VB6

 
Post new topic   Reply to topic    WMPTalk.com Forum Index -> SDK
Author Message
Jim
Guest





Posted: Fri Sep 10, 2004 5:31 am    Post subject: Visualizations and VB6 Reply with quote

I am writing a program to receive an audio stream from a windows media
encoder and I would like to allow the user to choose the visualization by
pressing a next or previous buttons to step through the installed
visualizations on their computer.

I'm using VB6 and SDK 9.0

Back to top
Neil Smith [MVP Digital M
Guest





Posted: Fri Sep 10, 2004 6:15 pm    Post subject: Re: Visualizations and VB6 Reply with quote

I'm working on something like that now.

If you need to do this on a users computer, you will have to use a
'SKIN' or 'BORDER' file fot the player. This is a small ZIP package
(with a file extension of .wmz or .wmd depending on the contents)
which contains the button images you wish to use, and your script file
which queries the available visulalisations.

The full Skin / Border SDK documentation is http://tinyurl.com/4uqk4
You will also need to read the Skin Programming Reference in the
left-hand nav of the same SDK area on MSDN. Specifically, look under
the EFFECTS element. Use an ID on the element and use that ID to
reference the effects area you are playing the visualisation in.

Now you'll be looking for : "EFFECTS.effectCount" ...
"The effectCount attribute retrieves the number of visualizations
available.", Syntax elementID.effectCount

Combine this with effects.next() and effects.nextPreset() and you'll
be away.

HTH
Cheers - Neil

On Thu, 9 Sep 2004 18:31:07 -0700, Jim <Jim@discussions.microsoft.com>
wrote:

Quote:
I am writing a program to receive an audio stream from a windows media
encoder and I would like to allow the user to choose the visualization by
pressing a next or previous buttons to step through the installed
visualizations on their computer.

I'm using VB6 and SDK 9.0
Back to top
Jim
Guest





Posted: Sat Sep 11, 2004 3:55 am    Post subject: Re: Visualizations and VB6 Reply with quote

So your telling me that i can do everything i need to do to make a mindows
media streaming receiver with the wmp.dll in Visual basic but i have to skin
my program just to put a visualization previous and next button on my screen?

"Neil Smith [MVP Digital Media]" wrote:

Quote:
I'm working on something like that now.

If you need to do this on a users computer, you will have to use a
'SKIN' or 'BORDER' file fot the player. This is a small ZIP package
(with a file extension of .wmz or .wmd depending on the contents)
which contains the button images you wish to use, and your script file
which queries the available visulalisations.

The full Skin / Border SDK documentation is http://tinyurl.com/4uqk4
You will also need to read the Skin Programming Reference in the
left-hand nav of the same SDK area on MSDN. Specifically, look under
the EFFECTS element. Use an ID on the element and use that ID to
reference the effects area you are playing the visualisation in.

Now you'll be looking for : "EFFECTS.effectCount" ...
"The effectCount attribute retrieves the number of visualizations
available.", Syntax elementID.effectCount

Combine this with effects.next() and effects.nextPreset() and you'll
be away.

HTH
Cheers - Neil

On Thu, 9 Sep 2004 18:31:07 -0700, Jim <Jim@discussions.microsoft.com
wrote:

I am writing a program to receive an audio stream from a windows media
encoder and I would like to allow the user to choose the visualization by
pressing a next or previous buttons to step through the installed
visualizations on their computer.

I'm using VB6 and SDK 9.0



Back to top
Jim Travis [ms]
Guest





Posted: Sat Sep 11, 2004 5:05 am    Post subject: Re: Visualizations and VB6 Reply with quote

The only support for choosing visualizations is from skins. Unfortunately, I
think you're out of luck in VB6. In C++, you can hook this up, but it is not
trivial.


--
Jim Travis
Microsoft Corp.
Windows Media Player SDK

Download:
http://msdn.microsoft.com/library/default.asp?url=/downloads/list/winmedia.asp

Latest online:
http://msdn.microsoft.com/library/en-us/wmplay10/mmp_sdk/windowsmediaplayer10sdk.asp

Please do not send email directly to this alias as this alias is for
newsgroup purposes only. This posting is provided "AS IS" with no
warranties, and confers no rights. You assume all risk for your use. © 2004
Microsoft Corporation. All rights reserved.

"Jim" <Jim@discussions.microsoft.com> wrote in message
news:7288C2C9-C7D5-4977-9B1E-A8DDE8B870EC@microsoft.com...
Quote:
So your telling me that i can do everything i need to do to make a mindows
media streaming receiver with the wmp.dll in Visual basic but i have to
skin
my program just to put a visualization previous and next button on my
screen?

"Neil Smith [MVP Digital Media]" wrote:

I'm working on something like that now.

If you need to do this on a users computer, you will have to use a
'SKIN' or 'BORDER' file fot the player. This is a small ZIP package
(with a file extension of .wmz or .wmd depending on the contents)
which contains the button images you wish to use, and your script file
which queries the available visulalisations.

The full Skin / Border SDK documentation is http://tinyurl.com/4uqk4
You will also need to read the Skin Programming Reference in the
left-hand nav of the same SDK area on MSDN. Specifically, look under
the EFFECTS element. Use an ID on the element and use that ID to
reference the effects area you are playing the visualisation in.

Now you'll be looking for : "EFFECTS.effectCount" ...
"The effectCount attribute retrieves the number of visualizations
available.", Syntax elementID.effectCount

Combine this with effects.next() and effects.nextPreset() and you'll
be away.

HTH
Cheers - Neil

On Thu, 9 Sep 2004 18:31:07 -0700, Jim <Jim@discussions.microsoft.com
wrote:

I am writing a program to receive an audio stream from a windows media
encoder and I would like to allow the user to choose the visualization
by
pressing a next or previous buttons to step through the installed
visualizations on their computer.

I'm using VB6 and SDK 9.0

Back to top
Neil Smith [MVP Digital M
Guest





Posted: Sun Sep 12, 2004 2:06 pm    Post subject: Re: Visualizations and VB6 Reply with quote

Yes, but really the skin programming is trivial, and the file sizes
are minimal. Since you are replacing the provided stand-alone
interface of WMP with that of your program, you'll need to replace the
UI elements needed to allow the user to interact with the embedded
player (they won't be able to access the WMP Menu to do this !)

As Jim (MS) said, it's the only way to access visualisation properties
within WMP. Is there any reason this introduces a problem to your WMP
receiver package ?

Cheers - Neil

On Fri, 10 Sep 2004 16:55:02 -0700, Jim
<Jim@discussions.microsoft.com> wrote:

Quote:
So your telling me that i can do everything i need to do to make a mindows
media streaming receiver with the wmp.dll in Visual basic but i have to skin
my program just to put a visualization previous and next button on my screen?

"Neil Smith [MVP Digital Media]" wrote:

I'm working on something like that now.

If you need to do this on a users computer, you will have to use a
'SKIN' or 'BORDER' file fot the player. This is a small ZIP package
(with a file extension of .wmz or .wmd depending on the contents)
which contains the button images you wish to use, and your script file
which queries the available visulalisations.

The full Skin / Border SDK documentation is http://tinyurl.com/4uqk4
You will also need to read the Skin Programming Reference in the
left-hand nav of the same SDK area on MSDN. Specifically, look under
the EFFECTS element. Use an ID on the element and use that ID to
reference the effects area you are playing the visualisation in.

Now you'll be looking for : "EFFECTS.effectCount" ...
"The effectCount attribute retrieves the number of visualizations
available.", Syntax elementID.effectCount

Combine this with effects.next() and effects.nextPreset() and you'll
be away.

HTH
Cheers - Neil

On Thu, 9 Sep 2004 18:31:07 -0700, Jim <Jim@discussions.microsoft.com
wrote:

I am writing a program to receive an audio stream from a windows media
encoder and I would like to allow the user to choose the visualization by
pressing a next or previous buttons to step through the installed
visualizations on their computer.

I'm using VB6 and SDK 9.0

Back to top
Jim
Guest





Posted: Mon Sep 13, 2004 12:49 am    Post subject: Re: Visualizations and VB6 Reply with quote

goto www.digitaljukebox.com and look at the product called STLWare. The
Recieveris where I need the buttons and I really have no clue as to how to do
the skin thing. Email me at Jim AT DigitalJukeBox.com if you think you can
help me with it.

"Neil Smith [MVP Digital Media]" wrote:

Quote:
Yes, but really the skin programming is trivial, and the file sizes
are minimal. Since you are replacing the provided stand-alone
interface of WMP with that of your program, you'll need to replace the
UI elements needed to allow the user to interact with the embedded
player (they won't be able to access the WMP Menu to do this !)

As Jim (MS) said, it's the only way to access visualisation properties
within WMP. Is there any reason this introduces a problem to your WMP
receiver package ?

Cheers - Neil

On Fri, 10 Sep 2004 16:55:02 -0700, Jim
Jim@discussions.microsoft.com> wrote:

So your telling me that i can do everything i need to do to make a mindows
media streaming receiver with the wmp.dll in Visual basic but i have to skin
my program just to put a visualization previous and next button on my screen?

"Neil Smith [MVP Digital Media]" wrote:

I'm working on something like that now.

If you need to do this on a users computer, you will have to use a
'SKIN' or 'BORDER' file fot the player. This is a small ZIP package
(with a file extension of .wmz or .wmd depending on the contents)
which contains the button images you wish to use, and your script file
which queries the available visulalisations.

The full Skin / Border SDK documentation is http://tinyurl.com/4uqk4
You will also need to read the Skin Programming Reference in the
left-hand nav of the same SDK area on MSDN. Specifically, look under
the EFFECTS element. Use an ID on the element and use that ID to
reference the effects area you are playing the visualisation in.

Now you'll be looking for : "EFFECTS.effectCount" ...
"The effectCount attribute retrieves the number of visualizations
available.", Syntax elementID.effectCount

Combine this with effects.next() and effects.nextPreset() and you'll
be away.

HTH
Cheers - Neil

On Thu, 9 Sep 2004 18:31:07 -0700, Jim <Jim@discussions.microsoft.com
wrote:

I am writing a program to receive an audio stream from a windows media
encoder and I would like to allow the user to choose the visualization by
pressing a next or previous buttons to step through the installed
visualizations on their computer.

I'm using VB6 and SDK 9.0



Back to top
Neil Smith [MVP Digital M
Guest





Posted: Mon Sep 13, 2004 2:29 am    Post subject: Re: Visualizations and VB6 Reply with quote

Yes, but unfortunately I will be unable to work with you on this, as
I'm setting up a similar type of application right now. The resulting
conflict of interest wouldn't be possible to resolve - any of your
code I saw would potentially influence what I'm working on, and you'd
probably try to sue me ;-)

Sorry bout that.
Cheers - Neil


On Sun, 12 Sep 2004 13:49:01 -0700, Jim
<Jim@discussions.microsoft.com> wrote:

Quote:
goto www.digitaljukebox.com and look at the product called STLWare. The
Recieveris where I need the buttons and I really have no clue as to how to do
the skin thing. Email me at Jim AT DigitalJukeBox.com if you think you can
help me with it.

"Neil Smith [MVP Digital Media]" wrote:

Yes, but really the skin programming is trivial, and the file sizes
are minimal. Since you are replacing the provided stand-alone
interface of WMP with that of your program, you'll need to replace the
UI elements needed to allow the user to interact with the embedded
player (they won't be able to access the WMP Menu to do this !)

As Jim (MS) said, it's the only way to access visualisation properties
within WMP. Is there any reason this introduces a problem to your WMP
receiver package ?

Cheers - Neil

On Fri, 10 Sep 2004 16:55:02 -0700, Jim
Jim@discussions.microsoft.com> wrote:

So your telling me that i can do everything i need to do to make a mindows
media streaming receiver with the wmp.dll in Visual basic but i have to skin
my program just to put a visualization previous and next button on my screen?

"Neil Smith [MVP Digital Media]" wrote:

I'm working on something like that now.

If you need to do this on a users computer, you will have to use a
'SKIN' or 'BORDER' file fot the player. This is a small ZIP package
(with a file extension of .wmz or .wmd depending on the contents)
which contains the button images you wish to use, and your script file
which queries the available visulalisations.

The full Skin / Border SDK documentation is http://tinyurl.com/4uqk4
You will also need to read the Skin Programming Reference in the
left-hand nav of the same SDK area on MSDN. Specifically, look under
the EFFECTS element. Use an ID on the element and use that ID to
reference the effects area you are playing the visualisation in.

Now you'll be looking for : "EFFECTS.effectCount" ...
"The effectCount attribute retrieves the number of visualizations
available.", Syntax elementID.effectCount

Combine this with effects.next() and effects.nextPreset() and you'll
be away.

HTH
Cheers - Neil

On Thu, 9 Sep 2004 18:31:07 -0700, Jim <Jim@discussions.microsoft.com
wrote:

I am writing a program to receive an audio stream from a windows media
encoder and I would like to allow the user to choose the visualization by
pressing a next or previous buttons to step through the installed
visualizations on their computer.

I'm using VB6 and SDK 9.0



Back to top
 
Post new topic   Reply to topic    WMPTalk.com Forum Index -> SDK All times are GMT
Page 1 of 1

 
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



Microsoft Office Forum New Topics
Powered by phpBB