[Visual Basic] RE: Windows Media Player

Ogilvie, Ross A ogilvie.ross.a at edumail.vic.gov.au
Sun Mar 27 15:53:43 EST 2005


Hi Graeme,
 
That would be great if you could send me the project.
 
My kids are all still getting the error "Failed to initialize component"
 
Cheers
 
Ross Ogilvie 
 
Head Of Geography
 
 Sunbury College
 
 Macedon St. Sunbury PH: 9744 1066

________________________________

From: Maiser at novell2.fhc.vic.edu.au on behalf of Graeme Summers
Sent: Thu 3/17/2005 5:42 PM
To: Vbasic List
Subject: Re: Windows Media Player


Ross,
 
Not sure what that might be. I added the control to a form, put the following in the Form_Load procedure (after moving the mp3 to the Bin folder) and away it went:
 
wmpOzRock.URL = "Good Times.mp3"
 
I could send the project if you like.
 
regards,
 
Graeme
 
----- Original Message ----- 
From: "Ogilvie, Ross A" <ogilvie.ross.a at edumail.vic.gov.au <mailto:ogilvie.ross.a at edumail.vic.gov.au> >
To: "Vbasic List" <vbasic at fhc.vic.edu.au <mailto:vbasic at fhc.vic.edu.au> >
Sent: Thursday, March 17, 2005 2:03 PM
Subject: RE: Windows Media Player


Ta Graeme,
 
It was a lot easier than I envisaged. I had a student who put the Media Player into their form with some code and recieved an error referring to "initialize component".
 
Any ideas?
 
Cheers
 
Ross Ogilvie 
 
Head Of Geography
 
 Sunbury College
 
 Macedon St. Sunbury PH: 9744 1066

________________________________

From: Maiser at novell2.fhc.vic.edu.au <mailto:Maiser at novell2.fhc.vic.edu.au>  on behalf of Graeme Summers
Sent: Tue 3/15/2005 9:53 PM
To: Vbasic List
Subject: Re: Windows Media Player


Hello everyone, I'm pleased to be a part of this list.
 
Ross, to add Windows Media Player in VB.NET:
1. Go to the Tools menu
2. Add/Remove Toolbox items...
3. Choose COM components, then Browse...
4. In XP go to c:\Windows\System32\wmp.dll
 
If there's a security issue with students put a copy of wmp.dll in some safe location.
 
regards,
 
Graeme Summers

----- Original Message ----- 
From: Ogilvie, Ross A <mailto:ogilvie.ross.a at edumail.vic.gov.au <mailto:ogilvie.ross.a at edumail.vic.gov.au> >  
To: Vbasic List <mailto:vbasic at fhc.vic.edu.au <mailto:vbasic at fhc.vic.edu.au> >  
Sent: Tuesday, March 15, 2005 8:11 PM
Subject: Windows Media Player

Dear All,

Does anyone know how to get Windows Media Player into the components section of Visual Studio.Net?

It does appear on the program on our network. Any help would be greatly appreciated.

Cheers.

Ross Ogilvie 

Head Of Geography

Sunbury College

Macedon St. Sunbury PH: 9744 1066




Important - This email and any attachments may be confidential. If received in error, please contact us and delete all copies. Before opening or using attachments check them for viruses and defects. Regardless of any loss, damage or consequence, whether caused by the negligence of the sender or not, resulting directly or indirectly from the use of any attached files our liability is limited to resupplying any affected attachments. Any representations or opinions expressed are those of the individual sender, and not necessarily those of the Department of Education & Training.



Important - 
This email and any attachments may be confidential. If received in error, please contact us and delete all copies. Before opening or using attachments check them for viruses and defects. Regardless of any loss, damage or consequence, whether caused by the negligence of the sender or not, resulting directly or indirectly from the use of any attached files our liability is limited to resupplying any affected attachments. Any representations or opinions expressed are those of the individual sender, and not necessarily those of the Department of Education & Training.



Important - 
This email and any attachments may be confidential. If received in error, please contact us and delete all copies. Before opening or using attachments check them for viruses and defects. Regardless of any loss, damage or consequence, whether caused by the negligence of the sender or not, resulting directly or indirectly from the use of any attached files our liability is limited to resupplying any affected attachments. Any representations or opinions expressed are those of the individual sender, and not necessarily those of the Department of Education & Training.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/ms-tnef
Size: 7493 bytes
Desc: not available
Url : http://www.edulists.com.au/pipermail/vbasic/attachments/20050327/ba57882c/attachment.bin


More information about the vbasic mailing list