[DUG] OFF TOPIC

Jeremy Coulter vss at vss.co.nz
Fri Dec 16 08:05:22 NZDT 2005


do you know how to tell if you have SP3 installed? I am running 2003 Special
Edition.
 
Jeremy

   _____  

From: delphi-bounces at ns3.123.co.nz [mailto:delphi-bounces at ns3.123.co.nz] 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: delphi-bounces at ns3.123.co.nz [mailto:delphi-bounces at ns3.123.co.nz] On
Behalf Of Jeremy Coulter
Sent: Friday, 16 December 2005 7:29 a.m.
To: delphi at delphi.org.nz
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 :-

 

Hi all.

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()

 

 

Thanks, Jeremy


--
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



-- 
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
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://ns3.123.co.nz/pipermail/delphi/attachments/20051216/9159a1f4/attachment.html


More information about the Delphi mailing list