473,499 Members | 1,525 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Load a form much faster

7 New Member
I am doing a local application in VB.Net 2005 that connect to SQL server 2005 to gather information. I have one big form in which I have a lot of control (and I mean a whopping lot, a few hundreds at least and no I can't really trim it down ) .
Most of those controls take data from the database and load it into the screen and this take a while. However, most of there controls are not available at start so if I could open the form and display it, then load the rest while the user start working that would make the loading seem much faster.
I am not really used to work with threads or other stuff, so I don't really know how to do it using that, but I fancy something of the sort might actually be feasable.
Jan 29 '08 #1
1 1991
RedSon
5,000 Recognized Expert Expert
I am doing a local application in VB.Net 2005 that connect to SQL server 2005 to gather information. I have one big form in which I have a lot of control (and I mean a whopping lot, a few hundreds at least and no I can't really trim it down ) .
Most of those controls take data from the database and load it into the screen and this take a while. However, most of there controls are not available at start so if I could open the form and display it, then load the rest while the user start working that would make the loading seem much faster.
I am not really used to work with threads or other stuff, so I don't really know how to do it using that, but I fancy something of the sort might actually be feasable.
Why not try a little loading dialog, the user can enter in the few informations you need to get started then you can spin a thread to access the database and the process thread can continue to load the form.
Jan 29 '08 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

1
1550
by: Gianluca_Venezia | last post by:
I'm developing an application and I'm testing it. There is a strange new thing, happened today (and only in one of two pc I'm using as test). In PCs with runtime, opening mde file, and before...
1
1096
by: AL | last post by:
Hello, I am able to load an aspx file ok but then when i start to fill out the form and click on a new form button, the pages takes too long to load. I am using Windows 2000 server with service...
1
2841
by: Josh Golden | last post by:
i have a sqldatareader that could potentially pull in many rows, maybe thousands, and put them into a listBox on a windows form. i want to do it as fast as possible so right away i think about a...
5
1178
by: jcrouse | last post by:
Many of you who may respond to this are somewhat familiar with my app in process (Cor). Simply, it's a form with 30 labels that is triggered from another application, with a hotkey. The labels text...
1
1220
by: Jarod_24 | last post by:
For my Application i have created 3-4 different forms that can be used as the user interface for the program. The user specifies which one he/she wants to use in a ini-file and then my code will...
7
6516
by: P. Adhia | last post by:
Sorry for quoting an old post and probably I am reading out of context so my concern is unfounded. But I would appreciate if I can get someone or Serge to confirm. Also unlike the question asked in...
6
2138
by: tony | last post by:
Hello! When exactly is it important or advisable to use this form load event handler compare to using the C-tor. For example here I create an event handler called dataBoundGridForm that is...
9
4918
by: =?Utf-8?B?cm9nZXJfMjc=?= | last post by:
hey, I have some preliminary code in my program (check for a certain file, define a like 15 variables) and I put it in the form load. I recently got the idea to make a method for it, and do it in...
13
6573
by: rdudejr | last post by:
Hi all, I hardly ever make a post unless I am having a very purplexing issue, so this one should be good... I am trying to do a load against a database on an AIX server into a DB2 v9.1...
0
7130
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
7007
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
7220
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
7386
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
4918
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
4599
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
3098
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
3090
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
664
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.