Click here to Skip to main content
15,907,329 members
Home / Discussions / Visual Basic
   

Visual Basic

 
NewsRe: How can I right-align an image inside a picturebox? Pin
Sonhospa26-May-10 8:30
Sonhospa26-May-10 8:30 
GeneralRe: How can I right-align an image inside a picturebox? Pin
Henry Minute26-May-10 11:59
Henry Minute26-May-10 11:59 
GeneralRe: How can I right-align an image inside a picturebox? Pin
Luc Pattyn26-May-10 13:05
sitebuilderLuc Pattyn26-May-10 13:05 
GeneralRe: How can I right-align an image inside a picturebox? Pin
Luc Pattyn26-May-10 13:09
sitebuilderLuc Pattyn26-May-10 13:09 
NewsRe: How can I right-align an image inside a picturebox? Pin
Sonhospa27-May-10 9:54
Sonhospa27-May-10 9:54 
QuestionShow dataset created in own thread in GUI Pin
Johan Hakkesteegt26-May-10 2:58
Johan Hakkesteegt26-May-10 2:58 
AnswerRe: Show dataset created in own thread in GUI Pin
Sonhospa26-May-10 5:53
Sonhospa26-May-10 5:53 
GeneralRe: Show dataset created in own thread in GUI Pin
William Winner26-May-10 13:08
William Winner26-May-10 13:08 
This is what is needed. The only thing I would note is that you need to make sure the number of parameters and the type of the parameters match.

VB
BeginInvoke(dlg, New Object() {e.arg1, e.arg2})


won't work because CopyDelegate only takes one parameter and it's the same type as what UpdateGui takes (as it has to be). I believe it should just be

VB
BeginInvoke(dlg, New Object() {e})


Also, you will want to specify which object the InvokeRequired is coming from...as in

VB
If DataGridView1.InvokeRequired Then
...
'And instead of BeginInvoke
DataGridView1.BeginInvoke(...)

GeneralRe: Show dataset created in own thread in GUI Pin
Johan Hakkesteegt26-May-10 20:56
Johan Hakkesteegt26-May-10 20:56 
QuestionVBA Previous sheet copy Pin
Dalek Dave26-May-10 1:21
professionalDalek Dave26-May-10 1:21 
AnswerRe: VBA Previous sheet copy Pin
JR21226-May-10 1:52
JR21226-May-10 1:52 
GeneralRe: VBA Previous sheet copy Pin
Dalek Dave26-May-10 3:11
professionalDalek Dave26-May-10 3:11 
GeneralRe: VBA Previous sheet copy Pin
JR21226-May-10 22:56
JR21226-May-10 22:56 
AnswerRe: VBA Previous sheet copy Pin
DaveAuld26-May-10 2:12
professionalDaveAuld26-May-10 2:12 
GeneralRe: VBA Previous sheet copy Pin
Dalek Dave26-May-10 3:12
professionalDalek Dave26-May-10 3:12 
GeneralRe: VBA Previous sheet copy Pin
DaveAuld26-May-10 3:55
professionalDaveAuld26-May-10 3:55 
GeneralRe: VBA Previous sheet copy Pin
Dalek Dave26-May-10 3:59
professionalDalek Dave26-May-10 3:59 
QuestionHow to serialize shared members of a class? Pin
MohammadAmiry26-May-10 0:32
MohammadAmiry26-May-10 0:32 
AnswerRe: How to serialize shared members of a class? Pin
Dave Kreskowiak26-May-10 2:02
mveDave Kreskowiak26-May-10 2:02 
QuestionDatagridview checkbox enter key Pin
C#Coudou25-May-10 15:04
C#Coudou25-May-10 15:04 
AnswerRe: Datagridview checkbox enter key Pin
Dr.Walt Fair, PE25-May-10 15:41
professionalDr.Walt Fair, PE25-May-10 15:41 
GeneralRe: Datagridview checkbox enter key Pin
C#Coudou25-May-10 15:56
C#Coudou25-May-10 15:56 
GeneralRe: Datagridview checkbox enter key Pin
Dr.Walt Fair, PE25-May-10 16:47
professionalDr.Walt Fair, PE25-May-10 16:47 
GeneralRe: Datagridview checkbox enter key [modified] Pin
C#Coudou25-May-10 18:35
C#Coudou25-May-10 18:35 
GeneralRe: Datagridview checkbox enter key Pin
Luc Pattyn25-May-10 18:59
sitebuilderLuc Pattyn25-May-10 18:59 

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.