Click here to Skip to main content
15,918,193 members
Home / Discussions / C#
   

C#

 
GeneralRe: Unload Pin
Heath Stewart30-Oct-04 3:19
protectorHeath Stewart30-Oct-04 3:19 
GeneralRe: Unload Pin
Heath Stewart30-Oct-04 3:25
protectorHeath Stewart30-Oct-04 3:25 
Generalconnection through proxy server Pin
Kamran Zafar29-Oct-04 22:35
Kamran Zafar29-Oct-04 22:35 
GeneralRe: connection through proxy server Pin
Heath Stewart30-Oct-04 4:01
protectorHeath Stewart30-Oct-04 4:01 
GeneralMdiWindowListItem in C# express beta Pin
benjymous29-Oct-04 21:04
benjymous29-Oct-04 21:04 
GeneralRe: MdiWindowListItem in C# express beta Pin
Heath Stewart30-Oct-04 3:51
protectorHeath Stewart30-Oct-04 3:51 
GeneralRe: MdiWindowListItem in C# express beta Pin
benjymous30-Oct-04 23:08
benjymous30-Oct-04 23:08 
GeneralRe: MdiWindowListItem in C# express beta Pin
Heath Stewart31-Oct-04 9:19
protectorHeath Stewart31-Oct-04 9:19 
GeneralStrange compile error Pin
steve_rm29-Oct-04 20:14
steve_rm29-Oct-04 20:14 
GeneralRe: Strange compile error Pin
Heath Stewart30-Oct-04 3:47
protectorHeath Stewart30-Oct-04 3:47 
Generalprocess.start problem Pin
Karl 200029-Oct-04 19:50
Karl 200029-Oct-04 19:50 
GeneralRe: process.start problem Pin
Heath Stewart30-Oct-04 3:45
protectorHeath Stewart30-Oct-04 3:45 
GeneralRe: process.start problem Pin
Karl 200030-Oct-04 9:23
Karl 200030-Oct-04 9:23 
GeneralRe: process.start problem Pin
Heath Stewart30-Oct-04 15:40
protectorHeath Stewart30-Oct-04 15:40 
GeneralRe: process.start problem Pin
Karl 20001-Nov-04 2:50
Karl 20001-Nov-04 2:50 
Generalabout dynamic image in the richtextbox Pin
oldhawkiu29-Oct-04 19:38
oldhawkiu29-Oct-04 19:38 
GeneralRe: about dynamic image in the richtextbox Pin
oldhawkiu31-Oct-04 14:15
oldhawkiu31-Oct-04 14:15 
GeneralHelp On A Oracle Insert Statement Pin
macsgirl29-Oct-04 17:03
macsgirl29-Oct-04 17:03 
GeneralRe: Help On A Oracle Insert Statement Pin
Dave Kreskowiak29-Oct-04 18:53
mveDave Kreskowiak29-Oct-04 18:53 
GeneralRe: Help On A Oracle Insert Statement Pin
macsgirl29-Oct-04 18:56
macsgirl29-Oct-04 18:56 
GeneralRe: Help On A Oracle Insert Statement Pin
Heath Stewart30-Oct-04 3:39
protectorHeath Stewart30-Oct-04 3:39 
GeneralRe: Help On A Oracle Insert Statement Pin
Alex Korchemniy29-Oct-04 20:50
Alex Korchemniy29-Oct-04 20:50 
GeneralRe: Help On A Oracle Insert Statement Pin
macsgirl29-Oct-04 21:15
macsgirl29-Oct-04 21:15 
Generalplay video in windows form Pin
machocr29-Oct-04 10:42
machocr29-Oct-04 10:42 
GeneralRe: play video in windows form Pin
Heath Stewart30-Oct-04 3:36
protectorHeath Stewart30-Oct-04 3:36 
The simplest way is to customize your toolbox in VS.NET to add the Windows Media Player. Then simply drag that to your form and set the variables.

If you're looking to play an AVI like for a copy dialog, it must have no audio and must not use a compression codec (like DivX or something, since AVI files can really use any codec) and you can encapsulate the Animation Windows Common Control. This requires quite a bit of work.

Surprisingly, it's the only Common Control that's not encapsulated in the .NET BCL. Most of those controls you typically use are just encapsulating the Windows Common Controls to present a consistent user interface (Java defines their controls from the ground-up, which is why - even with the loook-and-feel code - it never really matches the OS).

I've already written such a control but I'm not yet ready to share it. Just know that's its not an easy control to encapsulate and is quite a bit of work. If you're not familiar with the Window APIs, P/Invoke, and marshaling and need an animation control ASAP, just use the Windows Media Player. It's a quick, easy, and common approach for playing audio and video in a Windows Forms application.

This posting is provided "AS IS" with no warranties, and confers no rights.

Software Design Engineer
Developer Division Sustained Engineering
Microsoft

[My Articles] [My Blog]

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.