473,473 Members | 1,460 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

sorry, my sample is not good .

i checked again, and found my sample dont describe my real problem.

the real problem is : how to create in a server and of object of type that
server dont know, send it to the client. (till here it works ok)

AND , the client could access the methods of the real type that created.
(this part i can't do, invalid casting all the time )

"Daylor" <ro******@hotmail.com> wrote in message
news:bs**********@news2.netvision.net.il...
hi.
i built a sample that show my problem.

im creating an object from other appdomain,
and i try to cast it to an interface that this object is implement,and i get "No Valid Cast".

Nov 20 '05 #1
2 873
Sorry, I dont mean to be rude so please dont take offence here but . . .

I dont know what your language is but there are newsgroups for vb.net for
France, Italy, Germany, Koratia. One one of those may be more helpful ? I
think there are some problems with the translation of language in what you
are trying to acheive.

Regards - OHM


Daylor wrote:
i checked again, and found my sample dont describe my real problem.

the real problem is : how to create in a server and of object of type
that server dont know, send it to the client. (till here it works ok)

AND , the client could access the methods of the real type that
created. (this part i can't do, invalid casting all the time )

"Daylor" <ro******@hotmail.com> wrote in message
news:bs**********@news2.netvision.net.il...
hi.
i built a sample that show my problem.

im creating an object from other appdomain,
and i try to cast it to an interface that this object is
implement,and i get "No Valid Cast".


Regards - OHM# OneHandedMan{at}BTInternet{dot}com
Nov 20 '05 #2
"Daylor" <ro******@hotmail.com> schrieb
i checked again, and found my sample dont describe my real
problem.

the real problem is : how to create in a server and of object of type
that server dont know, send it to the client. (till here it works
ok)

AND , the client could access the methods of the real type that
created. (this part i can't do, invalid casting all the time )

"Daylor" <ro******@hotmail.com> wrote in message
news:bs**********@news2.netvision.net.il...
hi.
i built a sample that show my problem.

im creating an object from other appdomain,
and i try to cast it to an interface that this object is
implement,and i

get
"No Valid Cast".

"Daylor", I did not find the message you are quoting here. What are you
referring to? It would also be nice if you could write the subject in the
subject line and use the body of the message to describe the problem.
--
Armin

http://www.plig.net/nnq/nquote.html
http://www.netmeister.org/news/learn2quote.html

Nov 20 '05 #3

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

Similar topics

0
by: Daylor | last post by:
i checked again, and found my sample dont describe my real problem. the real problem is : how to create in a server and of object of type that server dont know, send it to the client. (till here...
5
by: Ale | last post by:
Ciao a tutti. Ho eliminato il database di esempio SAMPLE(non cancellato). Ora lo voglio reinstallare ma durante l'installazione mi da il seguente errore: nella finestra con scritto SQL1005N c'č...
3
by: mbox204 | last post by:
Hello, I want to see how Access databases are coded, can someone direct me to a site that has some good Access database samples?
1
by: Eliezer Figueroa | last post by:
Full Database System Sample? I want to know if there any good windows forms based database sample application that can be downloaded.I searched the MS site but most of the database samples are...
2
by: Ishwar | last post by:
I am not very much experienced in C# programming but has learnt a lot of C#. I want to test my C# skills by developing sample projects which covers different aspects of C# language. can anybody...
1
by: Tony Epton | last post by:
I'm coming from MS access and trying to get started in vb.net. I have been searching and searching for a simple complete sample database application with source code - eg a very simple...
13
by: Shelby | last post by:
Hi, if I have : rs.Fields("firstname").Value = "John" rs.Fields("middlename").Value = "D" rs.Fields("lastname").Value = "Paul" Is it possible to Dim the column name and make it a variable and...
4
by: fAnSKyer | last post by:
When using random we can get a uniform data sample. But how to transfer this sample in to a Guassion Sample? Thanks? Did C or C++ provide any function to do this? Thanks a lot. Cheers....
6
by: =?Utf-8?B?R2Vvcmdl?= | last post by:
Hello everyone, I am learning how to use C# to implement an OLE DB provider (a simple one which is based on CSV file format). I can not find any samples from MSDN (all samples are C++). Any...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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...
0
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,...
0
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...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
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...
0
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,...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.