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

Visual Basic

 
GeneralRe: Alternate Input Device Programming/Setup [modified] Pin
DidiKunz8-Aug-06 3:55
DidiKunz8-Aug-06 3:55 
GeneralRe: Alternate Input Device Programming/Setup [modified] Pin
Dave Kreskowiak8-Aug-06 14:16
mveDave Kreskowiak8-Aug-06 14:16 
QuestionHow to close all open MDI children without closing the Parent Pin
newbjohny7-Aug-06 9:02
newbjohny7-Aug-06 9:02 
AnswerRe: How to close all open MDI children without closing the Parent Pin
newbjohny7-Aug-06 9:26
newbjohny7-Aug-06 9:26 
QuestionDatagrid databinding problem Pin
raul.net7-Aug-06 8:12
raul.net7-Aug-06 8:12 
AnswerRe: Datagrid databinding problem Pin
raul.net9-Aug-06 1:29
raul.net9-Aug-06 1:29 
QuestionAccessing the cache from a Classlibrary Pin
_Zorro_7-Aug-06 7:30
professional_Zorro_7-Aug-06 7:30 
QuestionCross Thread Call Error Pin
BorgPidgeon7-Aug-06 5:43
BorgPidgeon7-Aug-06 5:43 
Hi, everything I've read seems to tell me the following code should work.. even the MSDN example seems to suggest this. I'm new to .NET and I've been trying to get this working for several days, does anyone have any idea why this doesn't work? I'm getting "Cross-thread operation not valid: Control 'Form1' accessed from a thread other than the thread it was created on." at ' Me.Text = "TEST" '
---------------------------------------------------
Imports System.Threading

Public Class Form1

Delegate Sub TEST()
Private TESTING As TEST

Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Dim ThreadBAH As New Thread(AddressOf DoCallBack)

Me.TESTING = New TEST(AddressOf Me.TakeArgs)

ThreadBAH.Start()

End Sub

Private Sub DoCallBack()
Me.TESTING()
End Sub

Private Sub TakeArgs()
Me.Text = "TEST"
End Sub
End Class

---------------------------------------------

All help appreciated.

---
Assimilating Knowledge

AnswerRe: Cross Thread Call Error Pin
Steve Pullan7-Aug-06 15:26
Steve Pullan7-Aug-06 15:26 
QuestionCustomise Report Viewer in Reporting Service 2005 Pin
kcsekhar7-Aug-06 5:25
kcsekhar7-Aug-06 5:25 
QuestionA series of points(coordinates)which form a shape [modified] Pin
szevy_suez7-Aug-06 2:54
szevy_suez7-Aug-06 2:54 
AnswerRe: A series of points(coordinates)which form a shape Pin
Dave Kreskowiak7-Aug-06 14:33
mveDave Kreskowiak7-Aug-06 14:33 
GeneralRe: A series of points(coordinates)which form a shape Pin
szevy_suez8-Aug-06 6:21
szevy_suez8-Aug-06 6:21 
GeneralRe: A series of points(coordinates)which form a shape Pin
Dave Kreskowiak8-Aug-06 14:14
mveDave Kreskowiak8-Aug-06 14:14 
QuestionRe: A series of points(coordinates)which form a shape Pin
szevy_suez9-Aug-06 4:23
szevy_suez9-Aug-06 4:23 
AnswerRe: A series of points(coordinates)which form a shape Pin
Dave Kreskowiak9-Aug-06 16:09
mveDave Kreskowiak9-Aug-06 16:09 
QuestionRe: A series of points(coordinates)which form a shape Pin
szevy_suez9-Aug-06 22:17
szevy_suez9-Aug-06 22:17 
AnswerRe: A series of points(coordinates)which form a shape Pin
Dave Kreskowiak10-Aug-06 2:26
mveDave Kreskowiak10-Aug-06 2:26 
QuestionAccessing Window Service from Other Machine ? Pin
Rizwan Bashir7-Aug-06 2:01
Rizwan Bashir7-Aug-06 2:01 
AnswerRe: Accessing Window Service from Other Machine ? Pin
Craster7-Aug-06 3:02
Craster7-Aug-06 3:02 
Questionlistview item add problem [modified] Pin
skhurams7-Aug-06 1:57
skhurams7-Aug-06 1:57 
AnswerRe: listview item add problem Pin
Rizwan Bashir7-Aug-06 2:04
Rizwan Bashir7-Aug-06 2:04 
AnswerRe: listview item add problem Pin
Dave Sexton7-Aug-06 2:04
Dave Sexton7-Aug-06 2:04 
AnswerRe: listview item add problem Pin
Dave Kreskowiak7-Aug-06 3:09
mveDave Kreskowiak7-Aug-06 3:09 
GeneralRe: listview item add problem Pin
Dave Sexton7-Aug-06 20:43
Dave Sexton7-Aug-06 20: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.