Click here to Skip to main content
15,914,071 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
AnswerRe: Wide table visualization Pin
jschell20-Feb-12 9:55
jschell20-Feb-12 9:55 
AnswerRe: Wide table visualization Pin
Luc Pattyn20-Feb-12 12:18
sitebuilderLuc Pattyn20-Feb-12 12:18 
AnswerWORKAROUND/SOLUTION !!! Pin
TPIRick7-Mar-12 10:09
TPIRick7-Mar-12 10:09 
Question.Net 4.0 Win Forms Caching? Pin
julian@giant16-Feb-12 3:34
julian@giant16-Feb-12 3:34 
AnswerRe: .Net 4.0 Win Forms Caching? Pin
Pete O'Hanlon16-Feb-12 3:41
mvePete O'Hanlon16-Feb-12 3:41 
GeneralRe: .Net 4.0 Win Forms Caching? Pin
julian@giant16-Feb-12 4:59
julian@giant16-Feb-12 4:59 
AnswerRe: .Net 4.0 Win Forms Caching? Pin
Luc Pattyn16-Feb-12 4:06
sitebuilderLuc Pattyn16-Feb-12 4:06 
GeneralRe: .Net 4.0 Win Forms Caching? Pin
julian@giant16-Feb-12 4:54
julian@giant16-Feb-12 4:54 
Hi
Yep, already logging like crazy. I have 2 logs on the go,
Log1: almost every function logs it's 'In' and 'Out' times in milliseconds
Log2: Every single query performed on the database is logged to a separate file and time stamped.

I can see from the combination of these what takes time.

So I can see for instance that the Form Shown event finishes at time x (on first showing), and the form doesn't actually appear on the screen until 30 seconds later. Also, no queries occur or other functions called during that 30 seconds.

The database connection (as stated, an Alpha database running on a VMS server) is never dropped, it is continually open and open before the form is first constructed.

Untangling the data from the tabs would be too time consuming (showing data as needed), and we would be issuing queries multiple times, when it would only need to be once at the beginning. However I have taken this approach with the second tab control (there are 2 on the form - 1 with 1 image per tab, and 1 with controls on each tab). The image tab control does indeed load it's image only when necessary as image handling can take time.

I think it's too late to re-show the dialog and simply re-populate the controls on showing the second time, and the second time isn't a problem anyway.

I'm also using threads to help populate the form, attempting as best as possible to do many things at one time.

So, still not sure.

Julian
AnswerRe: .Net 4.0 Win Forms Caching? Pin
Luc Pattyn16-Feb-12 5:11
sitebuilderLuc Pattyn16-Feb-12 5:11 
GeneralRe: .Net 4.0 Win Forms Caching? Pin
julian@giant16-Feb-12 5:19
julian@giant16-Feb-12 5:19 
AnswerRe: .Net 4.0 Win Forms Caching? Pin
Luc Pattyn16-Feb-12 5:33
sitebuilderLuc Pattyn16-Feb-12 5:33 
GeneralRe: .Net 4.0 Win Forms Caching? Pin
julian@giant16-Feb-12 6:13
julian@giant16-Feb-12 6:13 
GeneralRe: .Net 4.0 Win Forms Caching? Pin
julian@giant22-Feb-12 5:04
julian@giant22-Feb-12 5:04 
AnswerRe: .Net 4.0 Win Forms Caching? Pin
Luc Pattyn22-Feb-12 5:10
sitebuilderLuc Pattyn22-Feb-12 5:10 
GeneralRe: .Net 4.0 Win Forms Caching? Pin
julian@giant22-Feb-12 5:32
julian@giant22-Feb-12 5:32 
GeneralRe: .Net 4.0 Win Forms Caching? Pin
Dave Kreskowiak16-Feb-12 6:04
mveDave Kreskowiak16-Feb-12 6:04 
GeneralRe: .Net 4.0 Win Forms Caching? Pin
julian@giant16-Feb-12 6:15
julian@giant16-Feb-12 6:15 
GeneralRe: .Net 4.0 Win Forms Caching? Pin
Luc Pattyn16-Feb-12 6:36
sitebuilderLuc Pattyn16-Feb-12 6:36 
GeneralRe: .Net 4.0 Win Forms Caching? Pin
julian@giant16-Feb-12 22:17
julian@giant16-Feb-12 22:17 
GeneralRe: .Net 4.0 Win Forms Caching? Pin
AspDotNetDev18-Feb-12 22:11
protectorAspDotNetDev18-Feb-12 22:11 
GeneralRe: .Net 4.0 Win Forms Caching? Pin
Eddy Vluggen19-Feb-12 5:38
professionalEddy Vluggen19-Feb-12 5:38 
GeneralRe: .Net 4.0 Win Forms Caching? Pin
julian@giant20-Feb-12 6:19
julian@giant20-Feb-12 6:19 
GeneralRe: .Net 4.0 Win Forms Caching? Pin
Eddy Vluggen20-Feb-12 6:28
professionalEddy Vluggen20-Feb-12 6:28 
GeneralRe: .Net 4.0 Win Forms Caching? Pin
Pete O'Hanlon16-Feb-12 5:14
mvePete O'Hanlon16-Feb-12 5:14 
GeneralRe: .Net 4.0 Win Forms Caching? Pin
julian@giant16-Feb-12 5:20
julian@giant16-Feb-12 5:20 

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

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