Click here to Skip to main content

.NET Framework

   

 
You must Sign In to use this message board. (secure sign-in)
 
Search this forum  
 FAQ
    Noise  Layout  Per page  Show 
  Refresh
AnswerRe: Wide table visualization Pinmemberjschell9:55 20 Feb '12  
AnswerRe: Wide table visualization PinmvpLuc Pattyn12:18 20 Feb '12  
AnswerWORKAROUND/SOLUTION !!! PinmemberTPIRick10:09 7 Mar '12  
Question.Net 4.0 Win Forms Caching? Pinmemberjulian@giant3:34 16 Feb '12  
AnswerRe: .Net 4.0 Win Forms Caching? PinprotectorPete O'Hanlon3:41 16 Feb '12  
GeneralRe: .Net 4.0 Win Forms Caching? Pinmemberjulian@giant4:59 16 Feb '12  
AnswerRe: .Net 4.0 Win Forms Caching? PinmvpLuc Pattyn4:06 16 Feb '12  
Assuming your description of the situation is somewhat accurate, I can only conclude one did a few things wrongly in the implementation. Adding some simple logging (with time stamps obviously) to the app would allow to pinpoint the major problems. And yes I expect there to be more than one. To name some candidates:
- user authorization on the network
- user authorization on the DB
- establishing the first DB connection
- building the GUI
- obtaining all the data
- stuffing the data in the GUI.
 
You'll need some facts before you can effectively tackle this, so start logging!
Alternatively, and maybe harder to implement and interpret, try simpler set-ups.
 
BTW: your app may or may not contain extra implementation features to make subsequent operations faster, think caching. The more of these you have, the more impossible it should become for the first operation to be as fast as subsequent ones.
 
FWIW: In Windows, dialog windows can be hidden and shown over and over, without recreating them. So even the most complex dialog could be shown again in a fraction of a second (and anyone can come up with ways to make things slower).
 
PS: if you have tab pages on a Form, then there is no need to fully populate them all before showing anything to the user, as he can see only one of them at a time. The right approach would be to either load the others in a lazy way, i.e. only when needed; or in a background operation, i.e. after the essential work has finished.
 
Smile | :)
Luc Pattyn [My Articles] Nil Volentibus Arduum

GeneralRe: .Net 4.0 Win Forms Caching? Pinmemberjulian@giant4:54 16 Feb '12  
AnswerRe: .Net 4.0 Win Forms Caching? PinmvpLuc Pattyn5:11 16 Feb '12  
GeneralRe: .Net 4.0 Win Forms Caching? Pinmemberjulian@giant5:19 16 Feb '12  
AnswerRe: .Net 4.0 Win Forms Caching? PinmvpLuc Pattyn5:33 16 Feb '12  
GeneralRe: .Net 4.0 Win Forms Caching? Pinmemberjulian@giant6:13 16 Feb '12  
GeneralRe: .Net 4.0 Win Forms Caching? Pinmemberjulian@giant5:04 22 Feb '12  
AnswerRe: .Net 4.0 Win Forms Caching? PinmvpLuc Pattyn5:10 22 Feb '12  
GeneralRe: .Net 4.0 Win Forms Caching? Pinmemberjulian@giant5:32 22 Feb '12  
GeneralRe: .Net 4.0 Win Forms Caching? PinmvpDave Kreskowiak6:04 16 Feb '12  
GeneralRe: .Net 4.0 Win Forms Caching? Pinmemberjulian@giant6:15 16 Feb '12  
GeneralRe: .Net 4.0 Win Forms Caching? PinmvpLuc Pattyn6:36 16 Feb '12  
GeneralRe: .Net 4.0 Win Forms Caching? [modified] Pinmemberjulian@giant22:17 16 Feb '12  
GeneralRe: .Net 4.0 Win Forms Caching? PinprotectorAspDotNetDev22:11 18 Feb '12  
GeneralRe: .Net 4.0 Win Forms Caching? PinmemberEddy Vluggen5:38 19 Feb '12  
GeneralRe: .Net 4.0 Win Forms Caching? Pinmemberjulian@giant6:19 20 Feb '12  
GeneralRe: .Net 4.0 Win Forms Caching? PinmemberEddy Vluggen6:28 20 Feb '12  
GeneralRe: .Net 4.0 Win Forms Caching? PinprotectorPete O'Hanlon5:14 16 Feb '12  
GeneralRe: .Net 4.0 Win Forms Caching? Pinmemberjulian@giant5:20 16 Feb '12  

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Beta | 2.5.120517.1 | Last Updated 21 May 2012
Copyright © CodeProject, 1999-2012
All Rights Reserved. Terms of Use
Layout: fixed | fluid