Does anyone know how to return a value from a form?
Thanks,
Jose
Mattias Sjögren - 25 Aug 2005 20:19 GMT
>Does anyone know how to return a value from a form?
Add properties to the form to expose any values the client needs.
Mattias

Signature
Mattias Sjögren [MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
Please reply only to the newsgroup.
Jose - 25 Aug 2005 20:32 GMT
The form is launched from MATLAB. I do not believe it is possible for MATLAB
to instance my form and access public members. I cannot use a console
application, to my knowledge, because I need to handle messages.
The application sends keys and operates on the clipboard. Is there a way to
do this with a console application? The object I need to return is a string.
So, if I could use a console app. I could simply use writeline.
> >Does anyone know how to return a value from a form?
>
> Add properties to the form to expose any values the client needs.
>
> Mattias
Jon Skeet [C# MVP] - 25 Aug 2005 20:23 GMT
> Does anyone know how to return a value from a form?
From what part of a form? You don't call a whole form - you call a
method on a form. Methods and properties have return values - objects
themselves don't.

Signature
Jon Skeet - <skeet@pobox.com>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too
Herfried K. Wagner [MVP] - 25 Aug 2005 21:05 GMT
"Jose" <Jose@discussions.microsoft.com> schrieb:
> Does anyone know how to return a value from a form?
<URL:http://groups.google.de/group/microsoft.public.de.german.entwickler.dotnet.vb/ms
g/255fcb93ea3510e5>

Signature
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>