Click here to Skip to main content
15,924,507 members
Home / Discussions / C#
   

C#

 
General.NET Remoting Using C# Pin
Prasad Anand29-Mar-04 18:36
Prasad Anand29-Mar-04 18:36 
GeneralRe: .NET Remoting Using C# Pin
Heath Stewart29-Mar-04 18:52
protectorHeath Stewart29-Mar-04 18:52 
QuestionCircular dependency solution? Pin
Alex Korchemniy29-Mar-04 17:52
Alex Korchemniy29-Mar-04 17:52 
AnswerRe: Circular dependency solution? Pin
Heath Stewart29-Mar-04 18:29
protectorHeath Stewart29-Mar-04 18:29 
GeneralRe: Circular dependency solution? Pin
Alex Korchemniy30-Mar-04 6:06
Alex Korchemniy30-Mar-04 6:06 
GeneralRe: Circular dependency solution? Pin
Andy Wieberneit30-Mar-04 11:20
Andy Wieberneit30-Mar-04 11:20 
Generalwindows media player custom control Pin
Marveyles29-Mar-04 17:00
Marveyles29-Mar-04 17:00 
GeneralRe: windows media player custom control Pin
Heath Stewart29-Mar-04 18:23
protectorHeath Stewart29-Mar-04 18:23 
NEVER have a class request information from its parent in this way! This is WAY to tightly coupled. In your page, you simply set this control's Url property to whatever you want, just like you wouls set the <asp:HyperLink>'s NavigateUrl property, for instance, or many other contro's Text properties, etc. Why else would you declare it as a property? Your class is request accessing from a particular instance, which is completely the wrong way of doing it. Callers of your class set properties. In this case, that may be either the .aspx or .ascx file that contains the element for your control or your code-behind file.

Also, there are a couple of different param names that Windows Media Player uses depending on which version you're embedding. You should look at the Windows Media SDK on MSDN[^] and/or check out other examples online to use the right property with the right CLSID (class ID, a GUID).

 

Microsoft MVP, Visual C#
My Articles
GeneralRe: windows media player custom control Pin
Marveyles29-Mar-04 18:39
Marveyles29-Mar-04 18:39 
GeneralRe: windows media player custom control Pin
Heath Stewart29-Mar-04 18:45
protectorHeath Stewart29-Mar-04 18:45 
GeneralRe: windows media player custom control Pin
Marveyles29-Mar-04 19:05
Marveyles29-Mar-04 19:05 
GeneralTransparent Images on Transparent Forms Pin
authenticgeek29-Mar-04 15:38
authenticgeek29-Mar-04 15:38 
GeneralRe: Transparent Images on Transparent Forms Pin
Andy Brummer29-Mar-04 16:04
sitebuilderAndy Brummer29-Mar-04 16:04 
GeneralRe: Transparent Images on Transparent Forms Pin
authenticgeek29-Mar-04 16:33
authenticgeek29-Mar-04 16:33 
GeneralRe: Transparent Images on Transparent Forms Pin
Heath Stewart29-Mar-04 19:53
protectorHeath Stewart29-Mar-04 19:53 
GeneralRe: Transparent Images on Transparent Forms Pin
authenticgeek30-Mar-04 7:07
authenticgeek30-Mar-04 7:07 
GeneralDataGrid and FlexGrid Pin
«_Superman_»29-Mar-04 15:21
professional«_Superman_»29-Mar-04 15:21 
GeneralRe: DataGrid and FlexGrid Pin
Heath Stewart29-Mar-04 18:16
protectorHeath Stewart29-Mar-04 18:16 
GeneralRe: DataGrid and FlexGrid Pin
«_Superman_»1-Apr-04 14:53
professional«_Superman_»1-Apr-04 14:53 
GeneralRe: DataGrid and FlexGrid Pin
Heath Stewart2-Apr-04 9:05
protectorHeath Stewart2-Apr-04 9:05 
GeneralQuestion on drag-n'-drop and files vs folders Pin
Flack29-Mar-04 14:47
Flack29-Mar-04 14:47 
GeneralRe: Question on drag-n'-drop and files vs folders Pin
Heath Stewart29-Mar-04 18:09
protectorHeath Stewart29-Mar-04 18:09 
GeneralRe: Question on drag-n'-drop and files vs folders Pin
Flack30-Mar-04 4:47
Flack30-Mar-04 4:47 
GeneralRe: Question on drag-n'-drop and files vs folders Pin
Heath Stewart30-Mar-04 4:54
protectorHeath Stewart30-Mar-04 4:54 
Generalusing static Pin
pgraeve29-Mar-04 12:45
pgraeve29-Mar-04 12:45 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.