Click here to Skip to main content
15,900,907 members
Home / Discussions / C#
   

C#

 
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 
GeneralRe: Problems with richtextbox Pin
Dave Kreskowiak22-Jun-04 3:30
mveDave Kreskowiak22-Jun-04 3:30 
GeneralRe: Problems with richtextbox Pin
clatten22-Jun-04 4:24
clatten22-Jun-04 4:24 
GeneralRe: Problems with richtextbox Pin
LongRange.Shooter22-Jun-04 10:11
LongRange.Shooter22-Jun-04 10:11 
QuestionChannels.Tcp namespace does not exist? Pin
fayth21-Jun-04 22:44
fayth21-Jun-04 22:44 
AnswerRe: Channels.Tcp namespace does not exist? Pin
Stefan Troschuetz21-Jun-04 23:55
Stefan Troschuetz21-Jun-04 23:55 
GeneralRe: Channels.Tcp namespace does not exist? Pin
fayth22-Jun-04 16:07
fayth22-Jun-04 16:07 
Generaloperator overloading Pin
bouli21-Jun-04 22:21
bouli21-Jun-04 22:21 
GeneralRe: operator overloading Pin
fayth21-Jun-04 22:51
fayth21-Jun-04 22:51 
GeneralRe: operator overloading Pin
bouli21-Jun-04 23:10
bouli21-Jun-04 23:10 
GeneralRe: operator overloading Pin
Dave Kreskowiak22-Jun-04 3:22
mveDave Kreskowiak22-Jun-04 3:22 

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.