Click here to Skip to main content
15,915,508 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: DataGridViewImageCell Pin
Dave Kreskowiak16-Jun-10 1:57
mveDave Kreskowiak16-Jun-10 1:57 
Questionbluetooth application Pin
Folad System16-Jun-10 0:48
Folad System16-Jun-10 0:48 
AnswerRe: bluetooth application Pin
Johnny J.16-Jun-10 0:51
professionalJohnny J.16-Jun-10 0:51 
AnswerRe: bluetooth application Pin
Dave Kreskowiak16-Jun-10 1:54
mveDave Kreskowiak16-Jun-10 1:54 
AnswerRe: bluetooth application Pin
Richard MacCutchan16-Jun-10 1:56
mveRichard MacCutchan16-Jun-10 1:56 
AnswerRe: bluetooth application Pin
AlmightyEdge16-Jun-10 10:34
AlmightyEdge16-Jun-10 10:34 
QuestionUsing event in vbnet Pin
thesum15-Jun-10 23:39
thesum15-Jun-10 23:39 
AnswerRe: Using event in vbnet Pin
Dave Kreskowiak16-Jun-10 1:54
mveDave Kreskowiak16-Jun-10 1:54 
There's not enough here to determine what your actually doing with these pieces of code (like the form you launched), but the most obvious reason why would be that ShowDialog is a blocking call. No other code will execute until that dialog is dismissed. If this is not what you want, change the ShowDialog to Show. Show does not block. The code after it will continue to execute with the new form still showing.

As a side, whenever you show a form with ShowDialog, you are also responsible for calling Dispose on it when you're done with it. Your code doesn't do that anywhere and will leak resources if it's not fixed.

A guide to posting questions on CodeProject[^]



Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic
     2006, 2007, 2008
But no longer in 2009...




GeneralRe: Using event in vbnet Pin
thesum16-Jun-10 2:18
thesum16-Jun-10 2:18 
GeneralRe: Using event in vbnet Pin
Dave Kreskowiak16-Jun-10 8:42
mveDave Kreskowiak16-Jun-10 8:42 
GeneralRe: Using event in vbnet Pin
thesum16-Jun-10 20:48
thesum16-Jun-10 20:48 
GeneralRe: Using event in vbnet Pin
Dave Kreskowiak17-Jun-10 1:32
mveDave Kreskowiak17-Jun-10 1:32 
QuestionPdf Reader Pin
sarathy5615-Jun-10 23:04
sarathy5615-Jun-10 23:04 
AnswerRe: Pdf Reader Pin
Scubapro16-Jun-10 0:54
Scubapro16-Jun-10 0:54 
Questioni want to convert StrPtr to vb.net Pin
buffering8315-Jun-10 22:19
buffering8315-Jun-10 22:19 
AnswerRe: i want to convert StrPtr to vb.net Pin
DaveAuld15-Jun-10 22:29
professionalDaveAuld15-Jun-10 22:29 
QuestionInserted row in unbound datagridview Pin
C#Coudou15-Jun-10 13:54
C#Coudou15-Jun-10 13:54 
AnswerRe: Inserted row in unbound datagridview Pin
Wayne Gaylard15-Jun-10 15:41
professionalWayne Gaylard15-Jun-10 15:41 
GeneralRe: Inserted row in unbound datagridview Pin
C#Coudou15-Jun-10 15:55
C#Coudou15-Jun-10 15:55 
GeneralRe: Inserted row in unbound datagridview Pin
DaveAuld15-Jun-10 22:15
professionalDaveAuld15-Jun-10 22:15 
GeneralRe: Inserted row in unbound datagridview Pin
C#Coudou16-Jun-10 13:58
C#Coudou16-Jun-10 13:58 
QuestionBuild Error Pin
shereen_shf15-Jun-10 10:27
shereen_shf15-Jun-10 10:27 
AnswerRe: Build Error Pin
DaveAuld15-Jun-10 10:30
professionalDaveAuld15-Jun-10 10:30 
GeneralRe: Build Error Pin
shereen_shf15-Jun-10 10:42
shereen_shf15-Jun-10 10:42 
GeneralRe: Build Error Pin
Luc Pattyn15-Jun-10 12:43
sitebuilderLuc Pattyn15-Jun-10 12:43 

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.