By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,795 Members | 1,660 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,795 IT Pros & Developers. It's quick & easy.

How to display windows Media Encode sessioproperties window in C#.net?

P: n/a
Hi

I am developing video capturing application in C#.NET,in that application i
want to display Windows Media Encoder Session properties window(If we click
on properties button of Windows Media Encoder).For this i added a reference
COM dll i.e AxMSPROPSHELLLib.ocx.
I added a control to the form,after that i wrote code like this

IWMEncoder Encoder = EncoderApp.Encoder;

WMEncOutputPage outputpage= new WMEncOutputPage();

axMSPropShell1.AddObject Encoder;

axMSPropShell1.AddPage outputpage;

I tried to execute this code,but i got syntax error

"axMSPropShell1 denotes a field where a class was expected"

How can i e xecute this code please give me any suggetions.

Thanks in advance

Mamatha


Nov 17 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.