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 / .NET Framework / New Users / June 2006

Tip: Looking for answers? Try searching our database.

Is there a Forms collection?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Water Cooler v2 - 02 Jun 2006 12:15 GMT
Is there a Forms collection in the .NET framework that contains the
instances of the currently loaded (in memory, whether hidden or
visible) forms in the current project? I am looking for something
similar to the Forms collection that VB6 had.
Cor Ligthert [MVP] - 02 Jun 2006 12:30 GMT
Water

There are 2 depending what kind of form you are using or if you set the
owner.

MdiChildren
OwnedForms

By the way, I like relevant crossposting, but what is the relevancy to
crosspost to the newsgroups CSharp and VB

I hope this helps,

Cor

> Is there a Forms collection in the .NET framework that contains the
> instances of the currently loaded (in memory, whether hidden or
> visible) forms in the current project? I am looking for something
> similar to the Forms collection that VB6 had.
Water Cooler v2 - 02 Jun 2006 12:53 GMT
Thanks

- Water Cooler v2
Robin Mark Tucker - 02 Jun 2006 12:55 GMT
ahhh Cor - all of the questions answered in C# are also answered in VB and
visa-versa, just with a different syntax ;).  I often browse the C# group
when I can't find a VB answer.  Thats the beautfy of the CLR.

> Water
>
[quoted text clipped - 15 lines]
>> visible) forms in the current project? I am looking for something
>> similar to the Forms collection that VB6 had.
Cowboy (Gregory A. Beamer) - 02 Jun 2006 13:26 GMT
But, do you want your answer in VB or C#? To VB or not to VB, that is the
question! :-)

I think Cor was simply stating that a cross post is not in order. I would
tend to agree. It is better to target your post. In this instance, however,
I can see the reasoning more than some of the cross-postings out there.

Signature

Gregory A. Beamer

*************************************************
Think Outside the Box!
*************************************************

>
> ahhh Cor - all of the questions answered in C# are also answered in VB and
[quoted text clipped - 20 lines]
>>> visible) forms in the current project? I am looking for something
>>> similar to the Forms collection that VB6 had.
Robin Mark Tucker - 02 Jun 2006 13:46 GMT
It's true yes, once you get to know a group, you get a feel for whether the
question is likely to be answered.  At least initially I tended to post to a
few groups, ie. C#, VB and interop (as an example) with crossposts, when I
had particular MS Word problems some time ago.  It's like google though, you
learn how to phrase a query to get the best response.  Same with asking a
question in the newsgroups ;)

> But, do you want your answer in VB or C#? To VB or not to VB, that is the
> question! :-)
[quoted text clipped - 27 lines]
>>>> visible) forms in the current project? I am looking for something
>>>> similar to the Forms collection that VB6 had.
Herfried K. Wagner [MVP] - 02 Jun 2006 14:06 GMT
"Water Cooler v2" <wtr_clr@yahoo.com> schrieb:
> Is there a Forms collection in the .NET framework that contains the
> instances of the currently loaded (in memory, whether hidden or
> visible) forms in the current project? I am looking for something
> similar to the Forms collection that VB6 had.

.NET 2.0 (VB 2005):

Visual Basic Language Reference -- 'My.Application.OpenForms' Property
<URL:http://msdn2.microsoft.com/en-us/library/eh13dca9.aspx>

Signature

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


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.