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

C#

 
GeneralC# Dockable/Floating Menu Pin
NHM23-May-03 3:14
NHM23-May-03 3:14 
GeneralDebug this!!!!!! Pin
nosmij23-May-03 1:36
nosmij23-May-03 1:36 
GeneralRe: Debug this!!!!!! Pin
James T. Johnson24-May-03 9:05
James T. Johnson24-May-03 9:05 
GeneralActiveX in C# Pin
james4723-May-03 1:32
james4723-May-03 1:32 
GeneralRe: ActiveX in C# Pin
J. Dunlap24-May-03 13:08
J. Dunlap24-May-03 13:08 
Generalobject.equals Pin
Andrei Matei23-May-03 1:28
Andrei Matei23-May-03 1:28 
GeneralRe: object.equals Pin
leppie23-May-03 7:18
leppie23-May-03 7:18 
GeneralMedia Service programming with C# Pin
dmhorse22-May-03 21:39
dmhorse22-May-03 21:39 
According to the MSDN(Windows media service sdk)
My steps:
1.Install the windows media service in msdn.
2.Run the vbs script to register the interop_msxml and windows media service.
3.Use c# to connect remote window media server9.

The code like as following:
// Declare variables.
Type tServerType;
WMSServer RemoteServer;
IWMSPublishingPoints PubPoints;
IWMSPublishingPoint PubPoint;
IWMSBroadcastPublishingPoint BCPubPoint;

//Create playlist
IXMLDOMDocument playlist;
IXMLDOMNode proc_inst, root, node;
IXMLDOMElement element_smil, element_media;


// Retrieve the type information from the Windows
// Media server running on the remote machine.
tServerType = Type.GetTypeFromProgID("WMSServer.Server",
"192.168.108.1");

// Create an instance of the remote server object locally.
RemoteServer = (WMSServer)Activator.CreateInstance(tServerType);

It work smoothly in my local computer to connect the media server.But while I use this programe in other computer in the same LAN,an error message prompt,(Connection Refuse).With this code,there is no api for setting the user id and password,how the media server identify my computer?

How to create the playlist is the other problem,the code liks as following

playlist = (IXMLDOMDocument)RemoteServer.CreatePlaylist();
proc_inst = playlist.createNode(DOMNodeType.NODE_PROCESSING_INSTRUCTION,"wsx","");
playlist.appendChild(proc_inst);
proc_inst.text ="version=1.0";
playlist.save("cti5.wsx");

It compiles well,but it will prompt a warnning message "No enable data source plug-in is available to access the request content.I don't know what's wrong with this?

I will appreciate your help,pls give me a hand.

GeneralChanging List View Highligh:confused: Pin
azusakt22-May-03 20:03
azusakt22-May-03 20:03 
GeneralRe: Changing List View Highligh:confused: Pin
J. Dunlap22-May-03 20:08
J. Dunlap22-May-03 20:08 
GeneralRe: Changing List View Highligh:confused: Pin
Carlos H. Perez22-May-03 21:17
Carlos H. Perez22-May-03 21:17 
GeneralRe: Changing List View Highligh:confused: Pin
Oyvind Bratland23-May-03 0:28
Oyvind Bratland23-May-03 0:28 
GeneralRe: Changing List View Highligh:confused: Pin
Carlos H. Perez23-May-03 17:32
Carlos H. Perez23-May-03 17:32 
GeneralRe: Changing List View Highligh:confused: Pin
azusakt23-May-03 15:20
azusakt23-May-03 15:20 
GeneralRe: Changing List View Highligh:confused: Pin
Carlos H. Perez23-May-03 17:31
Carlos H. Perez23-May-03 17:31 
GeneralXML Loading Problem Pin
Nick Parker22-May-03 17:29
protectorNick Parker22-May-03 17:29 
GeneralRe: XML Loading Problem Pin
Philip Fitzsimons23-May-03 2:55
Philip Fitzsimons23-May-03 2:55 
GeneralRe: XML Loading Problem Pin
Nick Parker23-May-03 5:21
protectorNick Parker23-May-03 5:21 
GeneralRe: XML Loading Problem Pin
cdehelean23-May-03 2:56
cdehelean23-May-03 2:56 
GeneralQuestion About Sockets Pin
jtmtv1822-May-03 16:04
jtmtv1822-May-03 16:04 
GeneralRe: Question About Sockets Pin
Burt Harris23-May-03 18:44
Burt Harris23-May-03 18:44 
GeneralRe: Question About Sockets Pin
jtmtv1823-May-03 20:28
jtmtv1823-May-03 20:28 
GeneralNetscape / Winamp / SAPrefs Style options dialog Pin
dazinith22-May-03 11:23
dazinith22-May-03 11:23 
GeneralDateTimePicker and TextBox Formatting - C# Windows Forms Pin
sajecw22-May-03 8:07
sajecw22-May-03 8:07 
GeneralDataGrid - C# Windows Forms - How to not Allow a 'new' record added to end of grid Pin
sajecw22-May-03 7:59
sajecw22-May-03 7:59 

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.