- 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
- 5 steps before your client ‘does a Foreign Office’ and puts 90% of contractors inside IR35 Today 01:11
- Luke’s Story: “I knew it was a loan. But they changed the rules.” Yesterday 00:00
- I registered my company with my home address. Whoops. Here's what Companies House shows the world about you Sep 22 13:06
- The Tories’ three IR35 replacement options — but contractors are right to be sceptical Sep 22 03:51
- Conservatives to replace IR35 outright, Griffith vows — advisers who met him reveal what it should contain Sep 21 05:06
- HMRC’s tax calculation errors: why contractors must check their bill now Sep 17 05:14
- HMRC names 12 loan charge-type schemes, one with ‘Tardis’ clause Sep 15 00:12
- Inside IR35 contractors as zero-hours reform victims is why Kate Dearden must meet us Sep 14 06:37
- Simple Assessment letters: How ex-Personal Service Companies are on HMRC’s radar Sep 11 12:16
- HMRC leaves 37,000 contractors’ nil-liability question in the air Sep 11 07:42

Comment