- Visitors can check out the Forum FAQ by clicking this link. You have to register before you can post: click the REGISTER link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. View our Forum Privacy Policy.
- Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!
test please delete
Collapse
This is a sticky topic.
X
X
Collapse
-
-
It transpires, after reading one of my 4 inch thick VB3 tomes that if you make autoredraw true, it waits for the whole thing to appear on the bitmap before it paints it... however by minimising & maximising the window, you can get it to paint.Originally posted by NickFitz View PostWhy's that then?
My first guess would be that the real-time version isn't setting the AutoRedraw property (or whatever it was called) to True...
You should probably set that in the Properties sheet (or whatever it's called) at design time, rather than having to remember to set it at run time.
Although of course that's just another of MS's leaky abstractions... IIRC, setting a property at design time merely generates a line in the boilerplate initialisation code that sets it at run time before your own code runs
Ho hum
I added another form with a picture, which has autoredraw true, while the original form.picture has autoredraw false.
And lo, with it false, it paints line by line, whereas with it true it waits for the end of the screen to be reached.
When I save the image (as discussed previously), the image saves successfully, but the comms buffer overflows & comms grinds to a halt until I close & reopen the port.
This stuff is so much fun...
I suspect its because I'm using VB for something it's not designed for.
Pretty usual for me, really.Comment
-
I've given up conversations like that; no one knows what the feck I'm talking about most of the time.Originally posted by NickFitz View PostWhy is it that whenever I make a techy post it goes all quiet?
It's eerily like a real-world conversation
Comment
-
Don't forget the £35k per account thing...Originally posted by kali View PostWe're moving - sold the house (fingers crossed it all goes through) going to rent for a while and bank the all the filthy lucre
Comment
-
I've still got a National Semiconductors databook with that datasheet in...Originally posted by kali View PostHey Chimp!
I was just going through some old boxes and found a photocopied data sheet for an 8250 UART
That was from a long time ago!
Comment
-
I snuck off 10 mins early this afternoon to catch the posh train home... that aircon is addictive in this weather.Comment
-
Have you thought about caching the data as it arrives, whilst also drawing it line by line, then when it's time to save, create a new bitmap thingy, draw to that using the cached data, and save that?Originally posted by zeitghost View PostIt transpires, after reading one of my 4 inch thick VB3 tomes that if you make autoredraw true, it waits for the whole thing to appear on the bitmap before it paints it... however by minimising & maximising the window, you can get it to paint.
I added another form with a picture, which has autoredraw true, while the original form.picture has autoredraw false.
And lo, with it false, it paints line by line, whereas with it true it waits for the end of the screen to be reached.
When I save the image (as discussed previously), the image saves successfully, but the comms buffer overflows & comms grinds to a halt until I close & reopen the port.
This stuff is so much fun...
I suspect its because I'm using VB for something it's not designed for.
Pretty usual for me, really.
Or have you already tried that?Comment
-
It could have been worse! you could have said cockoo!Originally posted by cailin maith View PostAh twat, I spelt it wrong..... knew it looked silly!
Comment
-
Originally posted by kali View Posthi everyone... thought I'd just look into to say hi and take a break from packing!
hi!

Comment
-
- Home
- News & Features
- First Timers
- IR35 / S660 / BN66
- Employee Benefit Trusts
- Agency Workers Regulations
- MSC Legislation
- Limited Companies
- Dividends
- Umbrella Company
- VAT / Flat Rate VAT
- Job News & Guides
- Money News & Guides
- Guide to Contracts
- Successful Contracting
- Contracting Overseas
- Contractor Calculators
- MVL
- Contractor Expenses
Advertisers
Contractor Services
CUK News
- Umbrella, PEO/GPP, or salaried EOR. Which is up 153% in 2026? Aug 6 08:43
- Outside IR35 isn’t making a comeback in 2026/27 — it’s something more complex Aug 5 04:55
- Why contractors keep putting off their pension (and why I'm one of them) Aug 4 02:43
- HMRC loan charge settlement offer: 3 things to check before you sign Aug 3 07:41
- HMRC standstill agreements extended to 72 months: why the term's doubled, and what to check before signing Jul 31 05:53
- Who owns the loans? Inside the mystery of the loan charge recall scandal Jul 30 06:20
- Umbrella company winding-up petitions in 2026: the practical guide for contractors Jul 29 05:29
- Payments on Account deadline: what contractors must do before July 31st — maybe for the final few times Jul 28 08:01
- Andy Burnham's first 100 days: five things contractors need from the new PM Jul 27 00:53
- Starmer vs Burnham on housing: What their rival plans mean for your contractor mortgage Jul 22 00:59

Comment