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

C#

 
GeneralRe: DirectPlay Pin
Heath Stewart22-Jun-04 4:57
protectorHeath Stewart22-Jun-04 4:57 
GeneralRe: DirectPlay Pin
bouli22-Jun-04 5:04
bouli22-Jun-04 5:04 
GeneralRe: DirectPlay Pin
Heath Stewart22-Jun-04 5:37
protectorHeath Stewart22-Jun-04 5:37 
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 
buffer_k.st wrote:
i found the Interop.QTActiveXPlugin.dll .. but i have not been able to play a single movie ..

For one, you must have QuickTime installed on your machine. An interop assembly is an RCW (Runtime Callable Wrapper) that exposes an existing COM server to .NET. The QuickTime ActiveX control is installed on Windows when you install QuickTime. Second, you can make your own. By saying you "found" the interop assembly - do you trust the source? All you have to do to make one is, in VS.NET, right-click on your project, select Add Reference, click on the COM tab, and find the QuickTime library. Double-click to add it. This create an interop assembly.

However, you must also create an ActiveX wrapper. Do this by right-clicking on your toolbox and selecting "Customize" (it's a little different for different versions of VS.NET, but common sense should tell you want to click). Find the ActiveX control for QuickTime and double-click to add it. When you drag this to your form or user control, both the ActiveX interop assembly and the interop assembly you created above (if you haven't yet) are created automatically for you. It's this ActiveX control (AxHost derivative) that you use to display videos.

You cannot use DirectShow to play newer (like, within the last few years) QT files because they do not use a compatible codec (on purpose), just as RealNetworks doesn't.

Finally, if you're having a problem, please be specific. Saying something like "but i have not been able to play a single movie .." doesn't help. Are you getting any exceptions? Do you just not know what to do?

The last question shouldn't be a problem, though. Follow the instructions above, or search for existing articles. It's really quite easy.

 

Microsoft MVP, Visual C#
My Articles
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 
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 

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.