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. 6 3573
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" <wt*****@yahoo.com> schreef in bericht
news:11**********************@u72g2000cwu.googlegr oups.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.
"Cor Ligthert [MVP]" <no************@planet.nl> wrote in message
news:el*************@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" <wt*****@yahoo.com> schreef in bericht news:11**********************@u72g2000cwu.googlegr oups.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.
--
Gregory A. Beamer
*************************************************
Think Outside the Box!
*************************************************
"Robin Mark Tucker" <ro*************@removehotmail.comremove> wrote in
message news:e5*******************@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]" <no************@planet.nl> wrote in message news:el*************@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" <wt*****@yahoo.com> schreef in bericht news:11**********************@u72g2000cwu.googlegr oups.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 ;)
"Cowboy (Gregory A. Beamer)" <No************@comcast.netNoSpamM> wrote in
message news:Ok**************@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" <ro*************@removehotmail.comremove> wrote in message news:e5*******************@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]" <no************@planet.nl> wrote in message news:el*************@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" <wt*****@yahoo.com> schreef in bericht news:11**********************@u72g2000cwu.googlegr oups.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" <wt*****@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>
--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/> This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Mark Hannon |
last post by:
I am designing a PayPal shopping cart/store for a client and have placed
several of PayPal's shopping cart forms on the page to correspond with
different products. Each form has a unique name...
|
by: Soryt |
last post by:
Hi everyone !
1) An example from help:
"Each Form object has a Controls collection, which contains all
controls on the form. You can refer to a control on a form either
by implicitly or...
|
by: sparks |
last post by:
OK we have it so we can use tables to define skip patterns on our forms.
BUT we can only do one form.
Public Function skipPattern(currentFrm As Form, Optional currentCtl As Control =
Null) As...
|
by: Edwinah63 |
last post by:
Hi everyone,
could someone give me some thoughts on the best way to manage mdi
parent and child forms?
in vb6 i could scroll through the forms collection and determine which
forms were...
|
by: Simon Verona |
last post by:
I have an application with a menu system which creates a new thread when a
menu item is selected - some of these other threads may open a form for user
interaction.
Before the menu system is...
|
by: Alex |
last post by:
Does anybody know why VB.NET would omit the Forms collection available in
previous versions versions of VB? I imagine that there must be a reason why
they decided to do away with it, but I can't...
|
by: Peter Van Wilrijk |
last post by:
Hi,
In VB6 I have the following code ...
Dim frmLink As Form
Set frmLink = Forms.Add(stringformname)
frmLink.Show
'wait until all data has been loaded
Do Until frmLink.Loaded = 21
DoEvent
|
by: Yuk Tang |
last post by:
I have created my own custom forms called baseform, inheriting normal
form properties and such. Baseform is, as can be expected, the basis
for the other forms in my project. I want to close all...
|
by: Jerry Boone |
last post by:
I'm looking for a way to fire a public sub/function when a form is opened
and closed - without using form level events.
I have already done some extensive form work with instancing, looping...
|
by: MLH |
last post by:
Am having trouble with the following
snippet. It stops after only cycling thru
open forms. There are many more than
that. How to modify this to cycle thru
all forms?
Sub AllOpenForms()
Dim...
|
by: Faith0G |
last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
|
by: ryjfgjl |
last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
|
by: taylorcarr |
last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: aa123db |
last post by:
Variable and constants
Use var or let for variables and const fror constants.
Var foo ='bar';
Let foo ='bar';const baz ='bar';
Functions
function $name$ ($parameters$) {
}
...
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
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...
| |