EmbeddedRelated.com
Forums
Memfault Beyond the Launch

OT, sorry, simple Windoze GUI

Started by martin griffith August 12, 2005
I've always used Delphi and the AsyncPro communications components
originaly from Turbopower, now under an opensource license.

yes they're free!

http://sourceforge.net/projects/tpapro/

You can generally get a free copy of Delphi from a CD on the front of a
computer magazine.


Delphi is a very easy to use and excellently designed visual
development environment using Pascal.

The AsynchPro components make comms development (serial & ethernet ) as
technically demanding as tying a shoe lace.

VB is a cockroach in the restaurant of windows coding. Stamp on it at
every opportunity.

Not that I'm biased or anything :)

In order to run the serial port in Windows (including Visual Basic) yo
need to obtain mscomm32.ocx

You can get it from this URL
http://www.yes-tele.com/mscomm.html

There is also a good description of the control here.

Next you need to register it. From the Start button and the run, enter
regsvr32 mscomm32.ocx

Registration unfortunately is normally not enough. Access this URL an
follow the directions
http://archive.chipcenter.com/eexpert/rashby/rashby057.html

Once this is done you will be able to access the MSComm control in an
application that uses VBA like Excel, as well as Visual Basic itself.

All this and much more is covered in my book
"Excel by Example : A Microsoft Excel Cookbook for Electronics Engineers"
Published by Elsevier/Newnes, ISBN 0750677562 (you can see the TOC etc. o
Amazon)


Hope this helps

Aubrey Kagan
		
This message was sent using the comp.arch.embedded web interface o
www.EmbeddedRelated.com
Rob wrote:

> You can generally get a free copy of Delphi from a CD on the front of a > computer magazine. >
You might also try the open source Delphi semiclone Lazarus: <http://www.lazarus.freepascal.org/> Paul Burke
"martin griffith" <martingriffith@XXyahoo.co.uk> wrote in message 
news:5da1g1pme1tvkktvkduqau1a5dh11srk58@4ax.com...
> On Mon, 15 Aug 2005 09:35:56 -0500, in comp.arch.embedded Gary Peek > <mylastname@mycompanyname.com> wrote: > >>martin griffith wrote: >>> I tried to make a little 5 button VB program to chat down the serial >>> port, but its seems I need "the professional VB package" to talk to >>> the comms port >>> >>> Is there a simple way to make a elementary GUI on a XP machine that >>> doesnt have a steep learning curve and can talk to the serial port >> >>If you want a programming language on which you can expand >>and write other applications I can heartily recommend PowerBasic. >> >>There are plenty of example programs on their forums that are >>close to what you need too. > Thanks Gary, Guy Macon recommended that as well. > > I'll look into it, but I'll see how far I get with Python first > > > martin
I've not used Python, but I highly recommend Tk/Tcl. It is fun, easy to use and tutorials are available! And it now includes Expect, which can help create automated serial transactions. (Like the old Modem/BBS scripts...) You may have gotten Python from ActiveState, which also has Tk/tcl. www.ActiveState.com Rufus

Memfault Beyond the Launch