Hi George, I tried a different port number, and your suggestion worked. With the sample serial port application in the samples\serialtools folder, I was able to open a port, and write a string. I know the objPort.write statement worked because it reflected the number of characters written.
However, the statement: str = objPort.Read(0, 5000) kept returning a square bullet character. Any reason why the serial port is not reading the string thrown at it? Warmest Regards, Roland --- On Mon, 8/10/09, George Henne <g...@nsbasic.com> wrote: From: George Henne <g...@nsbasic.com> Subject: Re: [nsbasic-ce] Cannot open the Comm Port To: "nsbasic...@yahoogroups.com" <nsbasic...@yahoogroups.com> Date: Monday, 10 August, 2009, 6:31 PM Could the comPort be a different number? > > >Hi, > >I downloaded the Franson Serial Tools to add printer support to my WinCE >application, which runs on a Palm Treo 750. Using the serial number >provided by NSBasic, I proceded to code as follows: > >AddObject "serialce.port. 1","objPort" >AddObject "serialce.license" ,"objlicense" > >objLicense. LicenseKey = "licence key provided by NSBasic" > >objPort.ComPort = 8 >objPort.Enabled = True > >PrintString = "Hello World" >objPort.Write PrintString > >My problem is, whenever I execute the program on the PDA unit, the >application gives a VBScript error which says that it cannot open the >communication port despite installing the Franson runtime on the Treo. > >Please help! Any assistance provided to point me in the right direction >will be greatly appreciated. Thank you. > > >Roland > >How can I tell if my jewelry is real silver? >Find Out on Yahoo! Answers > > New Email names for you! Get the Email name you've always wanted on the new @ymail and @rocketmail. Hurry before someone else does! http://mail.promotions.yahoo.com/newdomains/ph/ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "nsb-ce" group. To post to this group, send email to nsb-ce@googlegroups.com To unsubscribe from this group, send email to nsb-ce+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/nsb-ce?hl=en -~----------~----~----~----~------~----~------~--~---