Click here to Skip to main content
15,890,282 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: VB6 Simple Question I think Pin
Dave Kreskowiak21-Dec-04 1:06
mveDave Kreskowiak21-Dec-04 1:06 
GeneralRe: VB6 Simple Question I think Pin
dougstratton21-Dec-04 5:27
dougstratton21-Dec-04 5:27 
GeneralRe: VB6 Simple Question I think Pin
dougstratton21-Dec-04 5:37
dougstratton21-Dec-04 5:37 
GeneralRe: VB6 Simple Question I think Pin
Dave Kreskowiak21-Dec-04 6:33
mveDave Kreskowiak21-Dec-04 6:33 
GeneralRe: VB6 Simple Question I think Pin
Dave Kreskowiak21-Dec-04 6:28
mveDave Kreskowiak21-Dec-04 6:28 
GeneralRe: VB6 Simple Question I think Pin
m_hussein4-Jan-05 21:06
m_hussein4-Jan-05 21:06 
GeneralRe: how to treat events async.? Pin
carlos_rocha20-Dec-04 6:50
carlos_rocha20-Dec-04 6:50 
GeneralRe: how to treat events async.? Pin
Nicholas Cardi20-Dec-04 7:16
Nicholas Cardi20-Dec-04 7:16 
This is the normal behavoir of the AsyncCallBack class. However, you should not let this tread modify any of the forms controls. This is an Windows UI rule and if you violate it you will pay the price Smile | :) . If you need to modify the forms controls during the call back do the following in the call back function.


Private Sub MyFunct() 'This is your callback function.
If Me.InvokeRequired = True Then
Me.Invoke("Your Delegate here") 'You can create a delegate that matches the call back
'and pass that in. After the invoke the function will be recalled and you will
'end up in the else part of this block
Else
'Do your work here this code is now executing on the UI thread.
End If
End Sub


Forever Developing
GeneralRe: how to treat events async.? Pin
carlos_rocha20-Dec-04 7:29
carlos_rocha20-Dec-04 7:29 
GeneralRe: how to treat events async.? Pin
Nicholas Cardi20-Dec-04 7:47
Nicholas Cardi20-Dec-04 7:47 
GeneralRe: how to treat events async.? Pin
carlos_rocha20-Dec-04 21:58
carlos_rocha20-Dec-04 21:58 
QuestionHow to build a COM or Win32 in .NET IDE Pin
kmaclean20-Dec-04 6:48
kmaclean20-Dec-04 6:48 
AnswerRe: How to build a COM or Win32 in .NET IDE Pin
Nicholas Cardi20-Dec-04 7:24
Nicholas Cardi20-Dec-04 7:24 
QuestionExcel Interop with Existing File? Pin
halhamilton20-Dec-04 3:59
halhamilton20-Dec-04 3:59 
AnswerRe: Excel Interop with Existing File? Pin
Jim Matthews20-Dec-04 6:30
Jim Matthews20-Dec-04 6:30 
GeneralRe: Excel Interop with Existing File? Pin
halhamilton22-Dec-04 6:15
halhamilton22-Dec-04 6:15 
Questionhow to treat events async.? Pin
carlos_rocha20-Dec-04 3:17
carlos_rocha20-Dec-04 3:17 
AnswerRe: how to treat events async.? Pin
Nicholas Cardi20-Dec-04 5:24
Nicholas Cardi20-Dec-04 5:24 
GeneralAdd filenames to list box Pin
johnjsm20-Dec-04 2:07
johnjsm20-Dec-04 2:07 
GeneralRe: Add filenames to list box Pin
Nicholas Cardi20-Dec-04 5:54
Nicholas Cardi20-Dec-04 5:54 
GeneralRe: Add filenames to list box Pin
johnjsm20-Dec-04 22:09
johnjsm20-Dec-04 22:09 
GeneralRe: Add filenames to list box Pin
Nicholas Cardi21-Dec-04 4:14
Nicholas Cardi21-Dec-04 4:14 
GeneralRe: Add filenames to list box Pin
johnjsm21-Dec-04 4:56
johnjsm21-Dec-04 4:56 
GeneralRe: Add filenames to list box Pin
johnjsm22-Dec-04 0:25
johnjsm22-Dec-04 0:25 
GeneralRe: Add filenames to list box Pin
johnjsm22-Dec-04 0:24
johnjsm22-Dec-04 0:24 

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.