Note that there are some explanatory texts on larger screens.

plurals
  1. POActiveX control is not displaying.Need to know Why?
    text
    copied!<p>Here I displayed the code.Suggest me,If anything wrong.</p> <pre><code>namespace MyActivex { public interface AxMyControl { String UserText { set; get; } } public partial class MyControl : UserControl,AxMyControl { string mystring; public MyControl() { this.InitializeComponent(); this.Show(); //InitializeComponent(); } public string UserText { get { return mystring; } set { mystring = value; textBox1.Text = value; } } } } </code></pre> <p>After building this code,created the dll and registered it successfully.And my html page is,</p> <pre><code>&lt;html&gt; &lt;body&gt; &lt;form name="frm" id="frm"&gt; &lt;input type="text" name="txt" value="enter text here"&gt; &lt;input type="button" value="Click me" onClick="doScript();"&gt; &lt;/form&gt; &lt;object id="MyControl" name="MyControl" classid="MyActivex.dll#MyActivex.MyControl" width=300 height=80&gt; &lt;/object&gt; &lt;/body&gt; &lt;script language="javascript"&gt; function doScript() { MyControl.UserText=frm.txt.value; } &lt;/script&gt; &lt;/html&gt; </code></pre> <p>I have placed my html page in the same folder where the dll exists.While opening the html page it displays as follows.Help me to find what is going wrong.If this is a simple and stupid issue, forgive me.I searched a lot for the solution but i didn't find.So that only posting here.</p> <p><a href="http://img136.imageshack.us/img136/4948/snapshotzl.jpg" rel="nofollow noreferrer">IE Snapshot http://img136.imageshack.us/img136/4948/snapshotzl.jpg</a></p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload