EDN Admin
Well-known member
Hello,
I am a somewhat inexperienced coder and need some help. I downloaded VisioForge Video Capture SDK (an ActiveX control, http://www.visioforge.com/video-capture-sdk.html), installed it, and added it to a brand new windows form application project via
Project->Add Reference->VisioForge Video Capture Control.
I then went to Toolbox->Choose Items and added the VisioForge Video Capture Control component to my toolbox, and dragged this onto my form. When I try to run this new project after only adding this component, I get an error from within the Form1.Designer.cs
code.
NotSupportedException was unhandled. Unable to get the window handle for the AxVFVideoCaptureX control. Windowless ActiveX controls are not supported.
**axVFVideoCaptureX1 is the name of the VisioForge component I just added to my form
This occurs on the line:
((System.ComponentModel.ISupportInitialize)(this.axVFVideoCaptureX1)).EndInit();
I am writing this in Visual C# 2010 Express. I even tried doing this in Visual C3 2008 Express to see if it was some kind of compatibility problem. Its error read differently, saying that I had an unregistered class...
I know that the ActiveX control is installed correctly because the C# 2008 version demo program that came with it ran correctly.
Any ideas would be a fantastic help!
Regards,
Jacob
View the full article
I am a somewhat inexperienced coder and need some help. I downloaded VisioForge Video Capture SDK (an ActiveX control, http://www.visioforge.com/video-capture-sdk.html), installed it, and added it to a brand new windows form application project via
Project->Add Reference->VisioForge Video Capture Control.
I then went to Toolbox->Choose Items and added the VisioForge Video Capture Control component to my toolbox, and dragged this onto my form. When I try to run this new project after only adding this component, I get an error from within the Form1.Designer.cs
code.
NotSupportedException was unhandled. Unable to get the window handle for the AxVFVideoCaptureX control. Windowless ActiveX controls are not supported.
**axVFVideoCaptureX1 is the name of the VisioForge component I just added to my form
This occurs on the line:
((System.ComponentModel.ISupportInitialize)(this.axVFVideoCaptureX1)).EndInit();
I am writing this in Visual C# 2010 Express. I even tried doing this in Visual C3 2008 Express to see if it was some kind of compatibility problem. Its error read differently, saying that I had an unregistered class...
I know that the ActiveX control is installed correctly because the C# 2008 version demo program that came with it ran correctly.
Any ideas would be a fantastic help!
Regards,
Jacob
View the full article