Click here to Skip to main content
15,898,222 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: About Public Arrays in VB Pin
Ian Shlasko12-Jan-10 11:11
Ian Shlasko12-Jan-10 11:11 
GeneralRe: About Public Arrays in VB Pin
MikeMarq12-Jan-10 12:10
MikeMarq12-Jan-10 12:10 
GeneralRe: About Public Arrays in VB Pin
Ray Cassick12-Jan-10 14:14
Ray Cassick12-Jan-10 14:14 
GeneralRe: About Public Arrays in VB Pin
Wayne Gaylard12-Jan-10 21:05
professionalWayne Gaylard12-Jan-10 21:05 
Questionset WaitCursor without a form running Pin
JW73811-Jan-10 9:12
JW73811-Jan-10 9:12 
AnswerRe: set WaitCursor without a form running Pin
nlarson1111-Jan-10 10:10
nlarson1111-Jan-10 10:10 
GeneralRe: set WaitCursor without a form running Pin
JW73811-Jan-10 10:44
JW73811-Jan-10 10:44 
AnswerRe: set WaitCursor without a form running Pin
Luc Pattyn11-Jan-10 11:04
sitebuilderLuc Pattyn11-Jan-10 11:04 
the normal approach is to show a splash screen, which may or may not be animated. One way is like this:

Main() {
    SplashScreen splash=new SplashScreen();
    splash.Show();
    SlowForm form=new SlowForm(splash);
    Application.Run(form);
}


and the SlowForm could close the splash when it is far enough in its creation process.

BTW: if the SlowForm constructor is slow, you should consider postponing its slower parts ro a later event (Load, Shown) or even to a separate Thread.

PS: sorry, my example is using C#, you'll have to find the way to do something similar in VB.NET

Smile | :)

Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles]

Happy New Year to all.
We hope 2010 soon brings us automatic PRE tags!
Until then, please insert them manually.


modified on Monday, January 11, 2010 6:10 PM

GeneralRe: set WaitCursor without a form running Pin
JW73811-Jan-10 23:02
JW73811-Jan-10 23:02 
QuestionPrint each row of database on crystal report. !! Pin
jeshra27911-Jan-10 5:31
jeshra27911-Jan-10 5:31 
AnswerRe: Print each row of database on crystal report. !! Pin
Paramu197311-Jan-10 20:54
Paramu197311-Jan-10 20:54 
Questionconverting matlab codes to vb codes?? Pin
sheshe8811-Jan-10 5:16
sheshe8811-Jan-10 5:16 
AnswerRe: converting matlab codes to vb codes?? Pin
Dave Kreskowiak11-Jan-10 6:17
mveDave Kreskowiak11-Jan-10 6:17 
QuestionContext Menu Event setup Pin
JaeBeam11-Jan-10 3:23
JaeBeam11-Jan-10 3:23 
AnswerRe: Context Menu Event setup Pin
Dave Kreskowiak11-Jan-10 6:16
mveDave Kreskowiak11-Jan-10 6:16 
AnswerRe: Context Menu Event setup Pin
Eddy Vluggen12-Jan-10 8:27
professionalEddy Vluggen12-Jan-10 8:27 
QuestionMultiQuery,MultiTables in Single Dataset & SQL DataAdapter ? Pin
Paramu197311-Jan-10 3:10
Paramu197311-Jan-10 3:10 
AnswerRe: MultiQuery,MultiTables in Single Dataset & SQL DataAdapter ? Pin
Dave Kreskowiak11-Jan-10 6:03
mveDave Kreskowiak11-Jan-10 6:03 
Questioncasting gridviewrow to a type datatablerow Pin
Ebube11-Jan-10 1:46
Ebube11-Jan-10 1:46 
AnswerRe: casting gridviewrow to a type datatablerow Pin
Dave Kreskowiak11-Jan-10 5:51
mveDave Kreskowiak11-Jan-10 5:51 
Questionshow or show dialog all the forms in my project Pin
Milad.Biroonvand11-Jan-10 0:29
Milad.Biroonvand11-Jan-10 0:29 
AnswerRe: show or show dialog all the forms in my project Pin
Dave Kreskowiak11-Jan-10 1:17
mveDave Kreskowiak11-Jan-10 1:17 
QuestionFormat JDF (Job Definition Format) Pin
Maik Lange10-Jan-10 22:36
Maik Lange10-Jan-10 22:36 
AnswerRe: Format JDF (Job Definition Format) Pin
Dave Kreskowiak11-Jan-10 1:17
mveDave Kreskowiak11-Jan-10 1:17 
Questionsuggestion to copy data from Sql Server into Access database Pin
sal219-Jan-10 0:41
sal219-Jan-10 0:41 

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.