Got it sorted now. Needed to do:-
Me.Invoke(
New EventHandler(
AddressOf UpdateTextbox))
Jeremy
-----Original
Message-----
From: "Jeremy Coulter" <[EMAIL PROTECTED]>
To: "NZ
Borland Developers Group - Delphi List" <[email protected]>
Date: Fri, 16 Dec 2005 10:10:04 +1300
Subject: RE: [DUG] OFF TOPIC
still not having much lick searching. I see the DotNet list has had 2 emails
this morning....none of them mine tho :-)
-----Original
Message-----
From: "James Sugrue" <[EMAIL PROTECTED]>
To:
"'NZ Borland Developers Group - Delphi List'"
<[email protected]>
Date: Fri, 16 Dec 2005 09:59:07 +1300
Subject: RE: [DUG] OFF TOPIC
Should be ok then,
I am pretty sure SP3 gets installed with cf 2.0.
From:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jeremy Coulter
Sent: Friday, 16 December 2005 9:51
a.m.
To: NZ Borland
Developers Group -
Delphi List
Subject:
RE: [DUG] OFF TOPIC
cant see any SP under the add/remove programs,
although the CF2.0 stuff is installed.
-----Original Message-----
From:
"James Sugrue" <[EMAIL PROTECTED]>
To: "'NZ Borland Developers
Group - Delphi List'" <[email protected]>
Date: Fri, 16 Dec 2005
08:29:46 +1300
Subject: RE: [DUG] OFF TOPIC
I think it shows up in activesync under
add/remove programs.
From:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jeremy Coulter
Sent: Friday, 16 December 2005 8:05
a.m.
To: 'NZ Borland
Developers Group -
Delphi List'
Subject: RE: [DUG] OFF TOPIC
do you know how to tell if you have SP3
installed? I am running 2003 Special Edition.
Jeremy
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Behalf Of James Sugrue
Sent: 16 December 2005 08:00
To: 'NZ Borland Developers Group -
Delphi List'
Subject: RE: [DUG] OFF TOPIC
Oh and make sure the PPC 2003 SP3 is
installed otherwise it may not update anyway. There is a bug in PPC 2003 in
the UI code.
From:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jeremy Coulter
Sent: Friday, 16 December 2005 7:29
a.m.
To:
[email protected]
Subject:
[DUG] OFF TOPIC
Sorry to send this here....and I prob.should send to OffTopic, but
just incase someone who is not on the offtopic list knows the answer I am
sending here.
This is a .Net question that I asked lastnight 7pm but the email,
infact no emails, has not comethru form the nz dotnet mailing list. If
someone knows the answer, I would greatly appreciate the answer :-
I fired up VS2005 for the first time today...well first time to DO
something....and I noticed the new SerialPort control.
This fitted in nicely because I want to read some data from the
comport for the wee app I want to do.
Now I might be approching this the wrong way, but I dropped a
serialport control onto my SmartDevice app....I am writting a PPC 2003 app.
and set up the port settings etc, and on the "DataReceived" event I am doing
:-
TextBox1.Text = SerialPort1.ReadLine()
And
THIS is where it throws an error. Can someone please help?
The error is :-
System.NotSupportedException was unhandled
Message="Control.Invoke must be used to interact with controls created on a
separate thread."
StackTrace:
at
Microsoft.AGL.Common.MISC.HandleAr()
at
System.Windows.Forms.Control.get_Text()
at
System.Windows.Forms.Control.set_Text()
at
DeviceApplication1.Form1.SerialPort1_DataReceived()
at
System.IO.Ports.SerialPort.CatchReceivedEvents()
at
EventLoopRunner.CallReceiveEvents()
at
WorkItem.doWork()
at
System.Threading.Timer.ring()
--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.371 / Virus Database:
267.13.13/200 - Release Date: 14/12/2005
--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.371 / Virus Database:
267.13.13/200 - Release Date: 14/12/2005
_______________________________________________
Delphi mailing list
[email protected]
http://ns3.123.co.nz/mailman/listinfo/delphi