You may find the following link useful: http://www.picbasic.co.uk/msg2.htm The web page supports PIC Basic, but the information re VB is still applicable, the file "RS232.BS2" was written for a BASIC Stamp-2 but is easy to modify for the PIC. Everything is defaulted to 9600 BAUD, 8 bits, 1 stop bit. There are four files devoted to the VB-4 program. It ran just fine under VB-6, so it should work on VB-5 just as well. Download the file RS232.ZIP which is the five files compressed using PKZIP (4 VB files + 1 PIC basic file). Just uncompress them into a sub-directory and have a blast. The VB brogram sends out a string consisting of "##" followed by a number. The number is determined by which button you press on the control panel. If you send out the number 0, I.E. "##0", the Stamp will perform a "soft reset". This means it will jump to the top of the program, set variables to 0, etc. It is sprinkled it with comments Regards http://www.picbasic.co.uk -------------------------------------------- ----- Original Message ----- From: "Gugus P Nugroho" To: Sent: Wednesday, November 29, 2000 2:10 AM Subject: Re: VB REFERENCE BOOK > Hi thank you for your response...I believe there was > some discussion about the serial communication between > PIC and VB. Do you know where can I retrive that > information back or maybe a FAQ site. I try to search > from the uChip site but I still can't find it. > Thank you very much for your time and help. > > Regards, > Gugus P Nugroho > > > --- "M. Adam Davis" wrote: > > You'll find the source code to a simple VB serial > > communication program on > > my site here: > > > http://ubasics.com/adam/electronics/ha/software/software.shtml > > > > It goes with my home automation terminal (yes, I'm > > still plugging away at > > it when I have time) which is here: > > http://ubasics.com/adam/electronics/ha/ > > > > And includes some information that might be useful > > to you (schematic, C > > code for onboard UART, etc) > > > > I hope this helps. > > > > -Adam > > > > Gugus P Nugroho wrote: > > > > > > Hi all > > > > > > I am doing a project that involve communication > > > between > > > PIC and Visual Basic. For the project I am > > planning > > > to > > > use PIC 16F84. Can anyone give me some > > informations > > > regarding communication between the two and a VB > > > reference book for me to read. > > > Thank you. > > > > > > >Gugus< > > > > > > __________________________________________________ > > > Do You Yahoo!? > > > Yahoo! Calendar - Get organized for the holidays! > > > http://calendar.yahoo.com/ > > > > > > -- > > > http://www.piclist.com hint: The PICList is > > archived three different > > > ways. See http://www.piclist.com/#archives for > > details. > > > > -- > > http://www.piclist.com hint: The PICList is archived > > three different > > ways. See http://www.piclist.com/#archives for > > details. > > > > > > > ===== > Gugus P Nugroho > > __________________________________________________ > Do You Yahoo!? > Yahoo! Shopping - Thousands of Stores. Millions of Products. > http://shopping.yahoo.com/ > > -- > http://www.piclist.com hint: PICList Posts must start with ONE topic: > [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads > > -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body