• 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
  •  
  • Filter
  • Time
  • Show
Clear All
new posts

    Originally posted by NickFitz View Post
    Afternoon denizens

    Originally posted by Diver View Post
    Afternoon all

    Comment


      Originally posted by NickFitz View Post
      Why'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
      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.

      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


        Originally posted by NickFitz View Post
        Why is it that whenever I make a techy post it goes all quiet?

        It's eerily like a real-world conversation
        I've given up conversations like that; no one knows what the feck I'm talking about most of the time.

        Comment


          Originally posted by kali View Post
          We're moving - sold the house (fingers crossed it all goes through) going to rent for a while and bank the all the filthy lucre
          Don't forget the £35k per account thing...

          Comment


            Originally posted by kali View Post
            Hey 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!
            I've still got a National Semiconductors databook with that datasheet in...

            Comment


              I snuck off 10 mins early this afternoon to catch the posh train home... that aircon is addictive in this weather.

              Comment


                Originally posted by zeitghost View Post
                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.

                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.
                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?

                Or have you already tried that?

                Comment


                  Originally posted by cailin maith View Post
                  Ah twat, I spelt it wrong..... knew it looked silly!
                  It could have been worse! you could have said cockoo!

                  Comment


                    Originally posted by kali View Post
                    hi everyone... thought I'd just look into to say hi and take a break from packing!

                    hi!


                    Comment


                      evening all

                      Comment

                      Working...
                      X