Click here to Skip to main content
16,006,355 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionProblem:Remoting server is diconnect after some time. Pin
Nitin J. Jain11-Feb-08 1:02
professionalNitin J. Jain11-Feb-08 1:02 
GeneralRe: Problem:Remoting server is diconnect after some time. Pin
m@u11-Feb-08 3:31
m@u11-Feb-08 3:31 
QuestionRe: Problem:Remoting server is diconnect after some time. Pin
Nitin J. Jain11-Feb-08 7:21
professionalNitin J. Jain11-Feb-08 7:21 
GeneralRe: Problem:Remoting server is diconnect after some time. Pin
Dave Kreskowiak11-Feb-08 8:12
mveDave Kreskowiak11-Feb-08 8:12 
GeneralRe: Problem:Remoting server is diconnect after some time. Pin
m@u11-Feb-08 21:29
m@u11-Feb-08 21:29 
GeneralBlank screen Pin
Jodd11-Feb-08 0:32
Jodd11-Feb-08 0:32 
AnswerRe: Blank screen Pin
Steven J Jowett11-Feb-08 1:28
Steven J Jowett11-Feb-08 1:28 
GeneralRe: Blank screen Pin
Luc Pattyn11-Feb-08 1:54
sitebuilderLuc Pattyn11-Feb-08 1:54 
Hi,

if your app becomes unresponsive while populating a control, then runs fine again,
you should try and speed up the populating action, or use a background thread
(with Invoke stuff). If the GUI is screwed even when the population is done,
you probably violated the cross-thread-access rules for Controls (again, Invoke).

Speeding up can be obtained by avoiding the constant recalculations, due to the
fact the control cannot guess when the last addition will occur, so it relayouts
things all the time. Use Control.SuspendLayout() and ResumeLayout().
For Controls that have an AddRange, that helps too.

Using Application.DoEvents() is a hack: it lets your GUI settle but does not
shorten the population time, and it will fail dramatically if it ever is executed
concurrently (depends on where your population code is called).

Smile | :)

Luc Pattyn [Forum Guidelines] [My Articles]

This month's tips:
- before you ask a question here, search CodeProject, then Google;
- the quality and detail of your question reflects on the effectiveness of the help you are likely to get;
- use PRE tags to preserve formatting when showing multi-line code snippets.


Questionimplementing a basic VPN in vb.net 2005 Pin
Warp10-Feb-08 23:46
Warp10-Feb-08 23:46 
GeneralRe: implementing a basic VPN in vb.net 2005 Pin
Dave Kreskowiak11-Feb-08 8:13
mveDave Kreskowiak11-Feb-08 8:13 
QuestionHow to delete temporary files ,cookies and cache in vb.net? Pin
AshuVyas10-Feb-08 20:53
AshuVyas10-Feb-08 20:53 
AnswerRe: How to delete temporary files ,cookies and cache in vb.net? Pin
Guffa11-Feb-08 0:07
Guffa11-Feb-08 0:07 
QuestionRSA Encryption Key Pin
Sean Ferguson10-Feb-08 19:40
Sean Ferguson10-Feb-08 19:40 
GeneralRe: RSA Encryption Key Pin
Paul Conrad21-Mar-08 9:40
professionalPaul Conrad21-Mar-08 9:40 
GeneralArray population issue Pin
Dee Kay10-Feb-08 17:13
Dee Kay10-Feb-08 17:13 
GeneralRe: Array population issue Pin
nishkarsh_k10-Feb-08 18:52
nishkarsh_k10-Feb-08 18:52 
GeneralRe: Array population issue Pin
Dave Kreskowiak11-Feb-08 5:00
mveDave Kreskowiak11-Feb-08 5:00 
QuestionReport issue Pin
Tauseef A10-Feb-08 16:56
Tauseef A10-Feb-08 16:56 
GeneralRe: Report issue Pin
John_Adams10-Feb-08 22:32
John_Adams10-Feb-08 22:32 
GeneralRe: Report issue Pin
Dave Kreskowiak11-Feb-08 4:56
mveDave Kreskowiak11-Feb-08 4:56 
Questionhow to automatically create a folder and compress it in vb .net 2008? Pin
meki_211810-Feb-08 13:54
meki_211810-Feb-08 13:54 
AnswerRe: how to automatically create a folder and compress it in vb .net 2008? Pin
x200710-Feb-08 20:52
x200710-Feb-08 20:52 
GeneralRe: how to automatically create a folder and compress it in vb .net 2008? Pin
meki_211811-Feb-08 14:23
meki_211811-Feb-08 14:23 
AnswerRe: how to automatically create a folder and compress it in vb .net 2008? Pin
Dave Kreskowiak11-Feb-08 4:52
mveDave Kreskowiak11-Feb-08 4:52 
GeneralRe: how to automatically create a folder and compress it in vb .net 2008? Pin
meki_211811-Feb-08 14:22
meki_211811-Feb-08 14:22 

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.