Hi,

*I originally posted this in c# but was advised to repost here. I'd
really appreciate any answers you may have, i'm programming using
Visual Studio C# Express.
Thankyou*



I will outline what i'm trying to do here, and would really like to
here your suggestions of how I can do it please.


I have some code which finds the open internet explorer windows. I
would like to display a form that allows the user to choose one of
these windows. I have generated an arraylist which contains all
internet explorer window objects, and I am able to count how many there

are and retrieve information from each by using properties such as
arraylist.count


My question is how do i build a form that displays the name and url's
of the windows? do i use labels? do I use text boxes? How do i
automatically assign the right number to handle however many internet
explorer windows are open? Sometimes there may be 2 windows open,
sometimes there may be 15... etc...


Just to stress i'm not asking how I actually determine url addresses
etc.. from internet explorer, after much learning i can now do this.
I'm asking about the construction of a (dynamic?) form to display this
information.


The idea is my user will select one of the windows they want to work
with from this form.


*I am a beginner please remember!


TIA


Gary.

Re: How to dynamically resize form and add controls by Stephany

Stephany
Wed Nov 29 06:45:32 CST 2006

I would suggest a ListView control in Details mode.

Simply add a ListViewItem for each 'IE Window' and use a seperate column for
each category of information item.



<garyusenet@myway.com> wrote in message
news:1164803767.100156.223500@14g2000cws.googlegroups.com...
> Hi,
>
> *I originally posted this in c# but was advised to repost here. I'd
> really appreciate any answers you may have, i'm programming using
> Visual Studio C# Express.
> Thankyou*
>
>
>
> I will outline what i'm trying to do here, and would really like to
> here your suggestions of how I can do it please.
>
>
> I have some code which finds the open internet explorer windows. I
> would like to display a form that allows the user to choose one of
> these windows. I have generated an arraylist which contains all
> internet explorer window objects, and I am able to count how many there
>
> are and retrieve information from each by using properties such as
> arraylist.count
>
>
> My question is how do i build a form that displays the name and url's
> of the windows? do i use labels? do I use text boxes? How do i
> automatically assign the right number to handle however many internet
> explorer windows are open? Sometimes there may be 2 windows open,
> sometimes there may be 15... etc...
>
>
> Just to stress i'm not asking how I actually determine url addresses
> etc.. from internet explorer, after much learning i can now do this.
> I'm asking about the construction of a (dynamic?) form to display this
> information.
>
>
> The idea is my user will select one of the windows they want to work
> with from this form.
>
>
> *I am a beginner please remember!
>
>
> TIA
>
>
> Gary.
>



Re: How to dynamically resize form and add controls by garyusenet

garyusenet
Wed Nov 29 07:11:13 CST 2006

Thankyou Stephany I will read of these from google.

Will the form automatically resize itself if the listview control
resizes?

Thankyou,

Gary.

Stephany Young wrote:

> I would suggest a ListView control in Details mode.
>
> Simply add a ListViewItem for each 'IE Window' and use a seperate column for
> each category of information item.
>
>
>
> <garyusenet@myway.com> wrote in message
> news:1164803767.100156.223500@14g2000cws.googlegroups.com...
> > Hi,
> >
> > *I originally posted this in c# but was advised to repost here. I'd
> > really appreciate any answers you may have, i'm programming using
> > Visual Studio C# Express.
> > Thankyou*
> >
> >
> >
> > I will outline what i'm trying to do here, and would really like to
> > here your suggestions of how I can do it please.
> >
> >
> > I have some code which finds the open internet explorer windows. I
> > would like to display a form that allows the user to choose one of
> > these windows. I have generated an arraylist which contains all
> > internet explorer window objects, and I am able to count how many there
> >
> > are and retrieve information from each by using properties such as
> > arraylist.count
> >
> >
> > My question is how do i build a form that displays the name and url's
> > of the windows? do i use labels? do I use text boxes? How do i
> > automatically assign the right number to handle however many internet
> > explorer windows are open? Sometimes there may be 2 windows open,
> > sometimes there may be 15... etc...
> >
> >
> > Just to stress i'm not asking how I actually determine url addresses
> > etc.. from internet explorer, after much learning i can now do this.
> > I'm asking about the construction of a (dynamic?) form to display this
> > information.
> >
> >
> > The idea is my user will select one of the windows they want to work
> > with from this form.
> >
> >
> > *I am a beginner please remember!
> >
> >
> > TIA
> >
> >
> > Gary.
> >