If (chain <> vbNull) & (chain.ChainStatus <> vbNull) Then
should be
If (chain IsNot Nothing) & (chain.ChainStatus IsNot Nothing) Then
Thank you for helping my muppetry
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.