Hi Henrik,
Quick question:
In VB6 it does but does it in VB2008?The serial port object has a RecevieThreshold property
Dave
Hi Henrik,
Quick question:
In VB6 it does but does it in VB2008?The serial port object has a RecevieThreshold property
Dave
Hi,Mine does....but it's called ReceivedBytesThershold, by default it's set to 1.
I told you my syntax might be off ;-)
/Henrik.
Last edited by HenrikOlsson; - 10th September 2010 at 17:09. Reason: I don't get this new editor....
So does mine and I've set it to two
How did you copy yours and make it an attachment?
Dave
I like this
http://sourceforge.net/projects/greenshot/
Dave
Always wear safety glasses while programming.
Not sure what happened then. I went to edit and ended up posting twice, sorry.
Dave
Well the VB program now displays WORD size output, see attachment
I'm not sure about what I'm going to type next (nothing new there then they all shout) But I'm outputting a Random WORD from the PIC, however do I need to send the WORD out as HighByte - LowByte so the VB program reads it correctly? Or is the WORD sent in the right order from the PIC (Byte-wise) for the VB program to read it properly.
As ever thanks for your help you two.
Almost forgot, my 'Greenshot' seems to have gone a bit mad on the resolution front, any ideas? (Correction the resolution on my pc has gone mad, it looks fine on here).
Dave
Last edited by LEDave; - 10th September 2010 at 23:41.
Hi Dave,
You must send the WORD one byte at the time. Doing HSEROUT [myWORD] will only send the low byte.
If you send the high or the low byte first doesn't really matter - it's up to you - as long as you write the VB code to match.
As for the screenshot thing, Win7 have screencapture tool built in, you just drag a box around the area you want to capture and you're done.
Bookmarks