473,796 Members | 2,532 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Form loading speed c#

31 New Member
Hi all!

I have a problem regarding form loading speed. I have forms with many controls and some time ago I've implemented a fader that uses a symbollic millisecond of fade time to buffer the layout of the form. It works great, no flicker whatsoever, but even with settings on minimum, it creates some noticable delay between all form loading operations and final show. When i turn it off, form loads practically on click, but with ugly flicker which i haven't be able to circumvent. Now, is there a way to combine the two: the flicker-free loading of the fader and fast response? maybe a fader trick or something?
Dec 24 '07 #1
1 2139
Mecena
31 New Member
Eventually I found the solution:

protected override CreateParams CreateParams
{
get
{
CreateParams cp = base.CreatePara ms;
cp.ExStyle |= 0x02000000;
return cp;
}
}

I wonder why it's so well concealed in the 2.0 framework when it obviously works great (if you're not using owner drawing)!
Jan 24 '08 #2

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

Similar topics

6
3275
by: John | last post by:
Just a general question... I'm currently using a combobox that when updated, opens a form with its recordset based on a query using the combo box value as the criteria. I'm I correct in thinking that using: docmd.openfrm "frmName",,,where "=" & cboSelectID will open all records and then just navigate to that filtered record, which is not as fast/efficient as using a query where the criteria is
3
9373
by: B | last post by:
I know there are several ways to speed up combo boxes and form loading. Most of the solutions leave rowsource of the combo box blank and set the rowsource to a saved query or an SQL with a where clause after users typed in one or several letters/digits. My problem is as follows Most of the time I need to display form in continuous format, that means the combo box will appear in each record. For example I have a form to let users view...
2
1200
by: Tim Marshall | last post by:
Hi, I'm in the midst of designing a pretty code intensive form that will be the centrepiece of an app I'm working on. It has a very large number of combo boxes (which use pass through queries to an Oracle database) on it. My approach to such a form is to NEVER have the row sources for the combo boxes load immediately, ie, by default, the row source is simple null in the properties window. I use the on got focus event to put together...
8
4262
by: ken | last post by:
Hi, I'm trying to speed up the loading of my forms. One problem that I have(probably) is that I have many subforms in the form that I'm trying to speed up. I can't change that now, but I will redesign for a future upgrade. I heard having proper indexes may also speed up form loading. So I was wondering, if 2 tables have a 1 to many relationship, should both fields be indexed? I read somewhere that if a field has many records with the...
10
3164
by: Sarah Smith | last post by:
Hello, I am a bit of a newbie to VB.NET, but not totally new. I took the plunge recently and decided (along with my colleagues), to try to convert/port a VB6 client/server app to .Net. (I'm not using any upgrade tools, I'm just re-writing). I have be learning/testing .net with SDI type forms and now I'm actually working on the conversion, I'm starting to worry that VB.net
2
9041
by: thomasp | last post by:
Using VB 2005 Beta. I have a form containing a DataGirdView. The cell enter, cell validating, row enter, row validating events have a good bit of code that gets excuted for each of these events. I have noticed that when the form loads, each of these events run 3 times, before the form is ready for interaction with the user. I would like to set a boolean variable to true when the form first starts loading and change it's value when the...
4
1164
by: mikrogen | last post by:
Hi, I am using managed cpp, /clr, VS2005 Prof., and I must wait for terrible long loading time for even simple forms. does anybody encouter this problem too or u have any solutions for this? thx, Petr
4
1717
by: BerkshireGuy | last post by:
Is there an event that triggers as a form is loading? I want to display a "loading form" event as the form is loading since it tends to take 20 second or so to open. TIA Brian
0
10223
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9050
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7546
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6785
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5441
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5573
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4115
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 we have to send another system
2
3730
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2924
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.