Search results for query: *

  1. R

    Validating X509 certificates for EWS Managed API

    So the && C operator of the example should be AndAlso. Thank you
  2. R

    Validating X509 certificates for EWS Managed API

    If (chain <> vbNull) & (chain.ChainStatus <> vbNull) Then should be If (chain IsNot Nothing) & (chain.ChainStatus IsNot Nothing) Then Thank you for helping my muppetry
  3. R

    Validating X509 certificates for EWS Managed API

    Using the example set out in the MSDN for EWS API I have been trying to validate the server certificate but getting errors. Operator '<>' is not definted for types 'System.Cryptogrpahy.X509Certificates.X509Chain' and 'Microsoft.VisualBasic.VariantType'. Operator '<>' is not definted for types...
  4. R

    DrawRectangle on Picturebox not working

    Sorry I just realised I did not post the solution. This code takes images from the first two arguments of the call and creates a black and white difference image which it displays in the third argument. I currently have it called on a timer_tick which allows me to control FPS or the comparison...
  5. R

    DrawRectangle on Picturebox not working

    Yes John using the correct canvas by using the Bitmap.FromImage allows me to draw upon the image but the crucial part I was missing was a simple .update() call to the pbox holding the image. Its not about the paint event its just calling for an update (no code required in the .paint) .Setpixel...
  6. R

    DrawRectangle on Picturebox not working

    To change a bitmap with the graphics I must call the Bitmap.FromImage (like I am doing) but I must call the .Paint event to change every pixel individually using .setPixel as otherwise it will not work? Can so there is no way for me to create a graphic and convert it to an image? excluding...
  7. R

    DrawRectangle on Picturebox not working

    Ok so let me get this straight before I basically rewrite everything. To change a bitmap with the graphics I must call the Bitmap.FromImage (like I am doing) but I must call the .Paint event to change the pixel using .setPixel as doing it in the normal routine does nothing? Pseudo example below...
  8. R

    DrawRectangle on Picturebox not working

    I'm trying to get my head around using your code for my purpose as I have NO events to pass to the paint handler currently as the whole graphic is being calculated. After following other posts as well as this one I have still not got the result I had hoped. I am now using the...
  9. R

    DrawRectangle on Picturebox not working

    knew is just what i called it argument i could have called it Boba_Fett All I want to do is draw a rectangle over the discovered point. By adding PaintEventArgs (ByVal e as PaintEventArgs) i get to use the e.Graphics.DrawRectangle but am not passing any paint events because this is just a...
  10. R

    DrawRectangle on Picturebox not working

    I've coded a project to use a webcam for motion tracking (like many others). I use avicap32.dll and receive images happily at 640x480 i then grab a frame for reference then grab another frame and difference them to produce a black and white picturebox (picture4) I then use this picture to create...
  11. R

    Question Microsoft LifeCam libraries

    I have used both a Forms and a WPF application and still receive errors. The Forms application has the error listed above. The WPF says the streamer assembly is not found. I am using 3.5 as it says in my bar. The only reason I want this is to get higher resolution from the camera as avicap32...
  12. R

    Question Microsoft LifeCam libraries

    Below is what I have done so far to get the Lifecam functional (and failed). I get the error "No symbols are loaded for any call stack frame. The source code cannot be displayed". Followed by the debug report saying BadImageFormatException was unhandled with "Could not load file or assembly...
  13. R

    Webcams and full resolution support

    I've so far re-engineered a VB6 3D Scanner software found here. I can scan things to an extent but have some erroneous data here and there. I am currently using avicap32.dll to stream the webcam (Microsoft VX3000) which is native at 640x480. I then copy to clipboard the current frame (as a...
Back
Top