Click here to Skip to main content
15,901,505 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Switching beteween forms in vb.net Pin
Zenly15-Dec-04 11:24
Zenly15-Dec-04 11:24 
GeneralRe: Switching beteween forms in vb.net Pin
Ryan Coleman15-Dec-04 13:23
Ryan Coleman15-Dec-04 13:23 
GeneralTest a connection to SQL Server Pin
marclenoir200515-Dec-04 10:18
marclenoir200515-Dec-04 10:18 
GeneralRe: Test a connection to SQL Server Pin
jonathan1517-Dec-04 2:56
jonathan1517-Dec-04 2:56 
GeneralInternal Domain Email Issues Pin
CitizenSoldier15-Dec-04 9:35
CitizenSoldier15-Dec-04 9:35 
GeneralFiles Closed but Not Really -- Database Error 16040 Pin
aubndez15-Dec-04 5:23
aubndez15-Dec-04 5:23 
GeneralForm creation crisis!!! Pin
carlos_rocha15-Dec-04 4:33
carlos_rocha15-Dec-04 4:33 
GeneralRe: Form creation crisis!!! Pin
Dennis C. Dietrich15-Dec-04 4:49
Dennis C. Dietrich15-Dec-04 4:49 
carlos_rocha wrote:
In my application i have an object that has threads that comunicate with the main form by means of an event.When something happens in the thread i raise in it an event and a handler in form1 gets the request.The thing is that when i use the same function to create the new form, it just hangs(after a while the window enters in a NOT RESPOND state!).

In this scenario you should use Control.Invoke()[^] to marshal the execution of the event handler to the thread that owns form1. Multithreaded Windows Forms Control Sample[^] explains why this is necessary (see also Asynchronous Execution in Visual Basic .NET[^] for a well documented code sample).

Best regards
Dennis
GeneralRe: Form creation crisis!!! Pin
carlos_rocha15-Dec-04 5:18
carlos_rocha15-Dec-04 5:18 
GeneralRe: Form creation crisis!!! Pin
Dennis C. Dietrich15-Dec-04 5:51
Dennis C. Dietrich15-Dec-04 5:51 
GeneralRe: Form creation crisis!!! Pin
carlos_rocha15-Dec-04 6:14
carlos_rocha15-Dec-04 6:14 
GeneralRe: Form creation crisis!!! Pin
Dennis C. Dietrich15-Dec-04 6:35
Dennis C. Dietrich15-Dec-04 6:35 
GeneralRe: Form creation crisis!!! Pin
carlos_rocha15-Dec-04 6:43
carlos_rocha15-Dec-04 6:43 
GeneralRe: Form creation crisis!!! Pin
carlos_rocha15-Dec-04 22:11
carlos_rocha15-Dec-04 22:11 
QuestionHow to add Icon Overlay in VB.Net Pin
Zenly15-Dec-04 3:56
Zenly15-Dec-04 3:56 
AnswerRe: How to add Icon Overlay in VB.Net Pin
Zenly16-Dec-04 6:14
Zenly16-Dec-04 6:14 
Generalfont like property Pin
Stumped115-Dec-04 3:21
sussStumped115-Dec-04 3:21 
GeneralRe: font like property Pin
OICU81215-Dec-04 16:52
OICU81215-Dec-04 16:52 
GeneralRe: font like property Pin
Stumped116-Dec-04 2:43
sussStumped116-Dec-04 2:43 
GeneralRe: font like property Pin
OICU81216-Dec-04 4:50
OICU81216-Dec-04 4:50 
GeneralHelp needed Pin
singhrajendra15-Dec-04 2:00
singhrajendra15-Dec-04 2:00 
GeneralRe: Help needed Pin
Dennis C. Dietrich15-Dec-04 2:16
Dennis C. Dietrich15-Dec-04 2:16 
GeneralRe: Help needed Pin
singhrajendra15-Dec-04 18:45
singhrajendra15-Dec-04 18:45 
GeneralRe: Help needed Pin
Dave Kreskowiak16-Dec-04 3:42
mveDave Kreskowiak16-Dec-04 3:42 
GeneralMod Operator Help PLEASE... Pin
stingerj15-Dec-04 1:18
stingerj15-Dec-04 1:18 

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.