Click here to Skip to main content
15,914,447 members
Home / Discussions / C#
   

C#

 
GeneralRe: DirectPlay Pin
bouli22-Jun-04 5:24
bouli22-Jun-04 5:24 
GeneralRe: DirectPlay Pin
Heath Stewart22-Jun-04 8:51
protectorHeath Stewart22-Jun-04 8:51 
GeneralRe: DirectPlay Pin
bouli22-Jun-04 21:04
bouli22-Jun-04 21:04 
Generalplaying quicktime MOV and VR Pin
buffer_k.st22-Jun-04 3:52
buffer_k.st22-Jun-04 3:52 
GeneralRe: playing quicktime MOV and VR Pin
Heath Stewart22-Jun-04 4:49
protectorHeath Stewart22-Jun-04 4:49 
GeneralRe: playing quicktime MOV and VR Pin
buffer_k.st22-Jun-04 21:57
buffer_k.st22-Jun-04 21:57 
GeneralRe: playing quicktime MOV and VR Pin
Heath Stewart23-Jun-04 3:24
protectorHeath Stewart23-Jun-04 3:24 
GeneralRe: playing quicktime MOV and VR Pin
buffer_k.st23-Jun-04 6:20
buffer_k.st23-Jun-04 6:20 
GeneralOutlook Add-In in C# Pin
gek_at22-Jun-04 3:21
gek_at22-Jun-04 3:21 
GeneralRe: Outlook Add-In in C# Pin
Heath Stewart22-Jun-04 4:41
protectorHeath Stewart22-Jun-04 4:41 
GeneralRe: Outlook Add-In in C# Pin
gek_at22-Jun-04 6:10
gek_at22-Jun-04 6:10 
GeneralRe: Outlook Add-In in C# Pin
Heath Stewart22-Jun-04 6:14
protectorHeath Stewart22-Jun-04 6:14 
GeneralMonochrome instead of coloured cursors Pin
jjansen22-Jun-04 3:07
jjansen22-Jun-04 3:07 
GeneralRe: Monochrome instead of coloured cursors Pin
Heath Stewart22-Jun-04 4:33
protectorHeath Stewart22-Jun-04 4:33 
GeneralRe: Monochrome instead of coloured cursors Pin
leppie22-Jun-04 7:10
leppie22-Jun-04 7:10 
GeneralRe: Monochrome instead of coloured cursors Pin
jjansen22-Jun-04 21:35
jjansen22-Jun-04 21:35 
Generaluse mediaplayer Pin
fatidarya22-Jun-04 2:40
fatidarya22-Jun-04 2:40 
GeneralRe: use mediaplayer Pin
Heath Stewart22-Jun-04 4:32
protectorHeath Stewart22-Jun-04 4:32 
You can serialize its properties, but not the whole player. Instead of serializing it to pass it to another form, just add it to the other Form's Controls collection. So long as the forms are on the same thread, the AxMediaPlayer control will remove itself from it's current Parent's Controls collection. This also re-creates the handle, though, which also makes the video stop.

If you're trying to implement a small <-> large switching, the media player itself already supports this. Download and install the Windows Media SDK (very small) from MSDN[^]. Then take a look at the scripting object model in the HTML Help file, specifically the PlayerApplication.switchToControl and PlayerApplication.switchToPlayerApplication methods. The scripting (i.e., automation) object model is the same as what is created for the interop assembly you're using.

 

Microsoft MVP, Visual C#
My Articles
Generalconnecting to network server using C# Pin
Subin KJ22-Jun-04 2:15
Subin KJ22-Jun-04 2:15 
GeneralRe: connecting to network server using C# Pin
Heath Stewart22-Jun-04 4:14
protectorHeath Stewart22-Jun-04 4:14 
QuestionWhy do I get a System.NullReferenceException? Pin
_Arthur21-Jun-04 23:05
_Arthur21-Jun-04 23:05 
AnswerRe: Why do I get a System.NullReferenceException? Pin
Colin Angus Mackay22-Jun-04 1:15
Colin Angus Mackay22-Jun-04 1:15 
AnswerRe: Why do I get a System.NullReferenceException? Pin
Heath Stewart22-Jun-04 4:04
protectorHeath Stewart22-Jun-04 4:04 
GeneralProblems with richtextbox Pin
clatten21-Jun-04 22:48
clatten21-Jun-04 22:48 
GeneralRe: Problems with richtextbox Pin
clatten22-Jun-04 1:01
clatten22-Jun-04 1:01 

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.