|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Is there a Forms collection?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
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 Show quote "Water Cooler v2" <wtr_***@yahoo.com> schreef in bericht news:1149246943.763454.121590@u72g2000cwu.googlegroups.com... > 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. > 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. Show quote "Cor Ligthert [MVP]" <notmyfirstn***@planet.nl> wrote in message news:elAKoejhGHA.412@TK2MSFTNGP05.phx.gbl... > 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 > > > "Water Cooler v2" <wtr_***@yahoo.com> schreef in bericht > news:1149246943.763454.121590@u72g2000cwu.googlegroups.com... >> 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. >> > > 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. -- Show quoteGregory A. Beamer ************************************************* Think Outside the Box! ************************************************* "Robin Mark Tucker" <robintuckerhome@removehotmail.comremove> wrote in message news:e5p8ul$j64$1$8300dec7@news.demon.co.uk... > > 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. > > > "Cor Ligthert [MVP]" <notmyfirstn***@planet.nl> wrote in message > news:elAKoejhGHA.412@TK2MSFTNGP05.phx.gbl... >> 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 >> >> >> "Water Cooler v2" <wtr_***@yahoo.com> schreef in bericht >> news:1149246943.763454.121590@u72g2000cwu.googlegroups.com... >>> 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. >>> >> >> > > 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 ;) Show quote "Cowboy (Gregory A. Beamer)" <NoSpamMgbworld@comcast.netNoSpamM> wrote in message news:OkyTC$jhGHA.4044@TK2MSFTNGP03.phx.gbl... > 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. > > -- > Gregory A. Beamer > > ************************************************* > Think Outside the Box! > ************************************************* > "Robin Mark Tucker" <robintuckerhome@removehotmail.comremove> wrote in > message news:e5p8ul$j64$1$8300dec7@news.demon.co.uk... >> >> 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. >> >> >> "Cor Ligthert [MVP]" <notmyfirstn***@planet.nl> wrote in message >> news:elAKoejhGHA.412@TK2MSFTNGP05.phx.gbl... >>> 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 >>> >>> >>> "Water Cooler v2" <wtr_***@yahoo.com> schreef in bericht >>> news:1149246943.763454.121590@u72g2000cwu.googlegroups.com... >>>> 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" <wtr_***@yahoo.com> schrieb: ..NET 2.0 (VB 2005):> 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. Visual Basic Language Reference -- 'My.Application.OpenForms' Property <URL:http://msdn2.microsoft.com/en-us/library/eh13dca9.aspx> -- M S Herfried K. Wagner M V P <URL:http://dotnet.mvps.org/> V B <URL:http://classicvb.org/petition/> |
|||||||||||||||||||||||