[DOTNET] serialization on extended class

2002-05-30 Thread Patrick Tang
Hi, in C#, for a class X that extends a class Y that is not serializable, how can I serialize the class X without serialize the extended class Y ? And also when i deserizable the class X, how can I make class X extends Y again ? code as below, [Serializable] public class X:Y { . } Tha

[DOTNET] on serialization

2002-05-29 Thread Patrick Tang
Hi, in C#, for a class X that extends a class Y that is not serializable, how can I serialize the class X without serialize the extended class Y ? And also when i deserizable the class X, how can I make class X extends Y again ? code as below, [Serializable] public class X:Y { . } Tha

Re: [DOTNET] Re : [DOTNET] remoting channel

2002-05-22 Thread Patrick Tang
with HttpChannel nor TcpChannel is the same connection (the one originating from the client) reused for callbacks. HTH, -Ingo Author of "Advanced .NET Remoting" http://www.dotnetremoting.cc > -Original Message----- > From: Patrick Tang [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, M

[DOTNET] remoting channel

2002-05-22 Thread Patrick Tang
Hi, for a server to server communication using remoting, can the same http channel be used for both forward and backward communication ? If yes, any special settings are needed ? Thanks Patrick - Åwªï¨Ï¥ÎHongKong.com¶l¥ó¨t²Î Thank you for using hon

[DOTNET] passing interface in remoting

2002-05-20 Thread Patrick Tang
Hi, for remoting with c#, i get a object reference(objRef) from the server, and pass an argument as interface in the objRef method, but it get serialization error. the code is like below in client side, objRef.method1(IParameter parameter); where IParameter is an interface, is that i cannot pa

[DOTNET] web server by c#

2002-04-26 Thread Patrick Tang
Hi, how can i write a simple web server by c# for web services ?(since i don't want to use IIS as web server). Are there any special classes are in c# api for http services ? Thanks Patrick -- \305w\252\357\250\317\245\316 hongkon.com \271q\244l\266l\

[DOTNET] embedding powerpoint

2002-04-16 Thread Patrick Tang
Hi, How can I embed a powerpoint object in a window forms of C# window applications, for showing powerpoint slides. I can launch powerpoint program outside the applicatoin but cannot directly embedded it in the window forms. Thanks Patrick -- \305w\25