473,506 Members | 17,176 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Dynamically resize form and add text?

Hi,

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.

Nov 29 '06 #1
1 1854
On 29 Nov 2006 03:24:24 -0800, ga********@myway.com wrote:
>Hi,

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.
This seems to be an excellent question for the
microsoft.public.dotnet.framework.windowsforms news group.

Good luck with your project,

Otis Mukinfus
http://www.arltex.com
http://www.tomchilders.com
Nov 29 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1260
by: Owen Jenkins | last post by:
I have tried to resize a snapshot control on a form but it seems not to work. I can resize the width by clicking the maximize button with the following code in the Resize event....
2
15168
by: Noah Coad [C# MCP] | last post by:
I'm creating a program the must show the time (a clock) in a user control and the text must fill the user control. How do I make text dynamically resize to fill a label/panel/usercontrol? ...
1
4854
by: Nikhil Patel | last post by:
Hi all, I dynamically create new controls and display them on the form. My problem is that the user has to resize form manually to see controls whose location property points to a point outside...
10
8607
by: Tom | last post by:
I want to be able (at run time) to center a control (like a text box) inside a group box. Whats the best way to calculate this? Is there something in the framework that tells you the area INSIDE a...
4
3462
by: Rob Richardson | last post by:
Greetings! I have a form with a listview, a menu, and a few text boxes, labels and command buttons. I want to resize the listview when the form is resized to that the widths of the spaces...
6
5175
by: Rob | last post by:
I need to create a form that will resize only the verticle size of the Form and not the width. So far I'm partial to the following code. Can someone please elaborate the ??? . . . . Const...
6
4627
by: jawolter | last post by:
I have a list of links that are sometimes too long to display on a given screen. I want to trim the ends of them if they are too long, and show dot dot dot. If the browser is widened, though, and...
11
3456
by: Ajith Menon | last post by:
I have created a windows application in which the form needs to be resized on the MouseMove event. The windows resize function takes a lot of CPU cycles. And as the resize function is called on the...
8
2335
by: miladhatam | last post by:
can i change the size of a file dynamically ? for example have 100 Kb and i want to decrease it to 20 Kb thanks
10
44055
by: =?Utf-8?B?UmljaA==?= | last post by:
A lot of users at my workplace use different screen resolutions, and I build apps to use 1680 x 1050 pixels res by default. But some users are using 800 x 600, and the apps are too large for their...
0
7218
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7103
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7307
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7478
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
5035
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4701
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3188
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
1532
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
755
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.