-----------------------------------------------------------

New Message on BDOTNET

-----------------------------------------------------------
From: Shekhar
Message 1 in Discussion


Hi Group,
    I am facing 
following problem,  I have vb.net windows control library project with a 
usercontrol and two windows forms and I built the dll and placed in a folder 
where I have fallowing html file
 
<!DOCTYPE HTML PUBLIC 
"-//W3C//DTD HTML 4.0 
Transitional//EN">
<html>
 <head>
  <title>DialogBoxesExample</title>
  <meta 
name="vs_defaultClientScript" content="JavaScript">
  <meta 
name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5";>
  <meta 
name="GENERATOR" content="Microsoft Visual Studio.NET 
7.0">
  <meta name="ProgId" 
content="VisualStudio.HTML">
  <meta name="Originator" 
content="Microsoft Visual Studio.NET 
7.0">
 </head>
 <script language="javascript" 
>
  function 
PutUpForm1()
  {
   DialogBoxesExampleObjectID.PutUpForm1();
  }
  function 
PutUpForm2()
  {
   DialogBoxesExampleObjectId.PutUpForm2();
  }
 
 </script>
 <body 
MS_POSITIONING="GridLayout">
  <p>
   Press 
the buttons to put up examples of forms built using windows control 

   library:
  </p>
  <input 
type="button" value="Put Up Form1" onclick="PutUpForm1()"> <input 
type="button" value="Put Up Form2" 
onclick="PutUpForm2()">
  <object 
id="DialogBoxesExampleObjectID" 
classid="http:DialogBoxesExample.dll#DialogBoxesExample.UserControl1" height="0" 
width="0" 
VIEWASTEXT>
  </object>
 </body>
</html>
            

            
Now when I call this file throught my local server which is 
registered as trusted site and press button, I am getting the error on the line 
with red color saying
" Microsoft JScript runtime 
error: Object doesn't support this property or method ", I am not able to 
understand what's wrong in it ...as related to functionality when I press one of 
the button I should get a windows form .
 
            Please 
any one know the solution this error please reply  eagerly waiting to 
replies..............
 
Thanks in 
advance....
Regards
Shekhar
 



-----------------------------------------------------------

To stop getting this e-mail, or change how often it arrives, go to your E-mail 
Settings.
http://groups.msn.com/BDotNet/_emailsettings.msnw

Need help? If you've forgotten your password, please go to Passport Member Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help

For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact

If you do not want to receive future e-mail from this MSN group, or if you received 
this message by mistake, please click the "Remove" link below. On the pre-addressed 
e-mail message that opens, simply click "Send". Your e-mail address will be deleted 
from this group's mailing list.
mailto:[EMAIL PROTECTED]

Reply via email to