Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Windows Forms / WinForm General / August 2005

Tip: Looking for answers? Try searching our database.

return value

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Jose - 25 Aug 2005 19:55 GMT
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/>


Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.