473,624 Members | 2,564 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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

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 AxMSPROPSHELLLi b.ocx.
I added a control to the form,after that i wrote code like this

IWMEncoder Encoder = EncoderApp.Enco der;

WMEncOutputPage outputpage= new WMEncOutputPage ();

axMSPropShell1. AddObject Encoder;

axMSPropShell1. AddPage outputpage;

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

"axMSPropSh ell1 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
0 1321

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
2252
by: Pettersen, Bjorn S | last post by:
I've been trying to stay blissfully unaware of Unicode, however now it seems like it's my turn. From the outside it seems like a rather massive subject, so any pointers as to where I should _start_ reading would be appreciated. The usecase is a class: class path(object): ... def __str__(self): return self.pathstr.encode(???) the question is what to put at ??? to be most useful to programmers/end users? Background: I've got a...
12
8211
by: Mike Dee | last post by:
A very very basic UTF-8 question that's driving me nuts: If I have this in the beginning of my Python script in Linux: #!/usr/bin/env python # -*- coding: UTF-8 -*- should I - or should I not - be able to use non-ASCII characters in strings and in Tk GUI button labels and GUI window titles and in raw_input data without Python returning wrong case in manipulated
0
1329
by: Fathy | last post by:
i use windows media station control to handle windows media server, i initiate it in main module of my project, but when i use it in multithreading module , program skip exceute of windows media station control methods such as: where Station is object of window media station control Station.channels.find , Station.channels.open,...etc. Please,reply
3
10878
by: Dafna m | last post by:
Please HELP 1. How can I display an array of images from diffrent types(jpeg, bmp..)(In C#) Can I also display video files?(In C#) *** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewarded for it!
1
3497
by: Isabella | last post by:
I have successfully insert .wmv files into MySQL. When I display the video in the browser using Read.aspx to get the .wmv: Response.ContentType = objDataReader.Item("swingContentType") Response.BinaryWrite(objDataReader.Item("swing")) if I directly call this Read.aspx, window media will open and play the .wmv. But I want to play the .wmv in browser, so I use another file to display ..wmv with <object>. Nothing happen:
5
4566
by: Paul Fi | last post by:
I have this code which tries to obtain the number of items in the current playlist of windows media player: private void MainForm_Load(object sender, System.EventArgs e) { // get Window handle wnd = Win32.FindWindow("WMPlayerApp","Windows Media Player"); wnd = Win32.FindWindowEx(wnd, 0, "WMPAppHost", null); wnd = Win32.FindWindowEx(wnd, 0, "WMP Skin Host", null); wnd = Win32.FindWindowEx(wnd, 0, "CWmpControlCntr", null);
1
5534
by: sri2097 | last post by:
Basically, I want to check if a URL is playable or not (without actually playing it). i.e. given a URL I want to write an automation script to figure it out for me if it's playable or not. If you give a bad/invalid URL for windows media player to play a pop-up window shows us that it cannot be played. So I would want to catch that event.
4
6276
by: hzgt9b | last post by:
Using VS 2003, VB.NET and/or ASP.NET 2.0, BACKGROUND I have a window forms based application that contains a TreeView control and a WebBroswer (AxSHDocVw.AxWebBrowser) control. The TreeView is populated with nodes that when clicked play an audio clip from specified local or web URL and navigate the browser control to a specified local or web URL. Audio playback uses as hidden media player object AxWMPLib.AxWindowsMediaPlayer).
0
831
by: salsatap | last post by:
I wanted to do something I thought was simple: I have a windows media file playing and when it finishes I want to move on to a new page. I would also prefer there to be a picture, NOT a black spot where the video will initially be...I don't mind a small delay as it buffers. I thought this was simply a matter of indexing the WM file at the end with a new URL to go to, but what actually happens is it attempts to pop up a new window. I can do it...
0
8231
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8168
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8672
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8614
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8471
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7153
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6107
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
1
2603
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1780
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.