今天在Form上开发QVOD 加载了官方提供的DLL组件后
在窗体上托了个QvodCtrl Class控件 然后运行程序就出错为什么啊。 错误提示是
无法获取“AxQvodCtrl”控件的窗口句柄。不支持无窗口的 ActiveX 控件。错误行是
((System.ComponentModel.ISupportInitialize)(this.axQvodCtrl1)).EndInit();全部自动生成代码是
private void InitializeComponent()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
this.axQvodCtrl1 = new AxQvodInsertLib.AxQvodCtrl();
((System.ComponentModel.ISupportInitialize)(this.axQvodCtrl1)).BeginInit();
this.SuspendLayout();
//
// axQvodCtrl1
//
this.axQvodCtrl1.Enabled = true;
this.axQvodCtrl1.Location = new System.Drawing.Point(0, 0);
this.axQvodCtrl1.Name = "axQvodCtrl1";
this.axQvodCtrl1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axQvodCtrl1.OcxState")));
this.axQvodCtrl1.Size = new System.Drawing.Size(75, 23);
this.axQvodCtrl1.TabIndex = 0;
//
// Form1
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(284, 262);
this.Controls.Add(this.axQvodCtrl1);
this.Name = "Form1";
this.Text = "Form1";
this.Load += new System.EventHandler(this.Form1_Load);
((System.ComponentModel.ISupportInitialize)(this.axQvodCtrl1)).EndInit();
this.ResumeLayout(false); }希望大哥,大姐能帮忙解决下,小弟谢谢了。 在线等
在窗体上托了个QvodCtrl Class控件 然后运行程序就出错为什么啊。 错误提示是
无法获取“AxQvodCtrl”控件的窗口句柄。不支持无窗口的 ActiveX 控件。错误行是
((System.ComponentModel.ISupportInitialize)(this.axQvodCtrl1)).EndInit();全部自动生成代码是
private void InitializeComponent()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
this.axQvodCtrl1 = new AxQvodInsertLib.AxQvodCtrl();
((System.ComponentModel.ISupportInitialize)(this.axQvodCtrl1)).BeginInit();
this.SuspendLayout();
//
// axQvodCtrl1
//
this.axQvodCtrl1.Enabled = true;
this.axQvodCtrl1.Location = new System.Drawing.Point(0, 0);
this.axQvodCtrl1.Name = "axQvodCtrl1";
this.axQvodCtrl1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axQvodCtrl1.OcxState")));
this.axQvodCtrl1.Size = new System.Drawing.Size(75, 23);
this.axQvodCtrl1.TabIndex = 0;
//
// Form1
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(284, 262);
this.Controls.Add(this.axQvodCtrl1);
this.Name = "Form1";
this.Text = "Form1";
this.Load += new System.EventHandler(this.Form1_Load);
((System.ComponentModel.ISupportInitialize)(this.axQvodCtrl1)).EndInit();
this.ResumeLayout(false); }希望大哥,大姐能帮忙解决下,小弟谢谢了。 在线等
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货