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

New Message on BDOTNET

-----------------------------------------------------------
From: Suresh[MS MVP]
Message 2 in Discussion






Hi
Shekhar,<o:p></o:p>


            <o:p></o:p>


                        Please
make sure following few points <o:p></o:p>


<o:p> </o:p>


1.      The
object URL should be full path describe inside the object tag.<o:p></o:p>


2.     
The Windows User Control should not gave any
exception, otherwise it will very difficult to catch in asp.net application.<o:p></o:p>


<o:p> </o:p>


3.      I
would like to suggest host the windows user control first in windows form and
try to run the same application as separate exe and see is there any exception
is giving or not (I practically face and tested this one)<o:p></o:p>


4.     
Give full trust the specified Assemblies in
the specified location like intranet or internet. <o:p></o:p>


 <o:p></o:p>


5.   There is tricks to know whether the assemblies
is getting load or not .<o:p></o:p>


a. use � gacutil      /ldl
  � to test the cached assemblies<o:p></o:p>


b. Go to assemblies folder and check
the �download� folder�s content your assemblies is there or
not <o:p></o:p>


c. When you browse the asp.net application
small blue square button should be appeared on the screen.<o:p></o:p>


  <o:p></o:p>


<o:p> </o:p>


Also
have a look at the following URL ,Log days back I was reading saurabha�s  article
<o:p></o:p>


<o:p> </o:p>


http://www.mastercsharp.com/article.aspx?ArticleID=73&&TopicID=8<o:p></o:p>


<o:p> </o:p>


<o:p> </o:p>


With
regards,<o:p></o:p>


<o:p> </o:p>


Suresh<o:p></o:p>


[Microsoft
MVP | MCAD.NET (CM) | MCSD.NET(CM)]<o:p></o:p>


<o:p> </o:p>


-----Original
Message-----

From: Shekhar [mailto:[EMAIL PROTECTED] 

Sent: <st1:date Year="10" Day="10" Month="9" ls="trans" w:st="on">Wednesday, <st1:date
 Year="10" Day="10" Month="9" ls="trans" w:st="on">September 10, 
2003</st1:date></st1:date><st1:time
Minute="18" Hour="14" w:st="on"> 2:18 PM</st1:time>

To: BDOTNET


<o:p> </o:p>


-----------------------------------------------------------<o:p></o:p>


<o:p> </o:p>


New
Message on BDOTNET<o:p></o:p>


<o:p> </o:p>


-----------------------------------------------------------<o:p></o:p>


From:
Shekhar<o:p></o:p>


Message
1 in Discussion<o:p></o:p>


<o:p> </o:p>


<o:p> </o:p>


Hi
Group,<o:p></o:p>


   
I am facing <o:p></o:p>


following
problem,  I have vb.net windows control library project with a <o:p></o:p>


usercontrol
and two windows forms and I built the dll and placed in a folder <o:p></o:p>


where
I have fallowing html file<o:p></o:p>


 <o:p></o:p>


<!DOCTYPE
HTML PUBLIC <o:p></o:p>


"-//W3C//DTD
HTML 4.0 <o:p></o:p>


Transitional//EN"><o:p></o:p>


<html><o:p></o:p>


 <head><o:p></o:p>


 
<title>DialogBoxesExample</title><o:p></o:p>


 
<meta <o:p></o:p>


name="vs_defaultClientScript"
content="JavaScript"><o:p></o:p>


 
<meta <o:p></o:p>


name="vs_targetSchema"
content="http://schemas.microsoft.com/intellisense/ie5";><o:p></o:p>


 
<meta <o:p></o:p>


name="GENERATOR"
content="Microsoft Visual Studio.NET <o:p></o:p>


7.0"><o:p></o:p>


 
<meta name="ProgId" <o:p></o:p>


content="VisualStudio.HTML"><o:p></o:p>


 
<meta name="Originator" <o:p></o:p>


content="Microsoft
Visual Studio.NET <o:p></o:p>


7.0"><o:p></o:p>


 </head><o:p></o:p>


 <script
language="javascript" <o:p></o:p>


><o:p> </o:p>


 
function <o:p></o:p>


PutUpForm1()<o:p></o:p>


 
{<o:p></o:p>


  
DialogBoxesExampleObjectID.PutUpForm1();<o:p></o:p>


 
}<o:p></o:p>


 
function <o:p></o:p>


PutUpForm2()<o:p></o:p>


 
{<o:p></o:p>


  
DialogBoxesExampleObjectId.PutUpForm2();<o:p></o:p>


 
}<o:p></o:p>


 <o:p></o:p>


 </script><o:p></o:p>


 <body
<o:p></o:p>


MS_POSITIONING="GridLayout"><o:p></o:p>


 
<p><o:p></o:p>


  
Press <o:p></o:p>


the
buttons to put up examples of forms built using windows control <o:p></o:p>


<o:p> </o:p>


  
library:<o:p></o:p>


 
</p><o:p></o:p>


 
<input <o:p></o:p>


type="button"
value="Put Up Form1" onclick="PutUpForm1()"> <input <o:p></o:p>


type="button"
value="Put Up Form2" <o:p></o:p>


onclick="PutUpForm2()"><o:p></o:p>


 
<object <o:p></o:p>


id="DialogBoxesExampleObjectID"
<o:p></o:p>


classid="http:DialogBoxesExample.dll#DialogBoxesExample.UserControl1"
height="0" <o:p></o:p>


width="0"
<o:p></o:p>


VIEWASTEXT><o:p></o:p>


 
</object><o:p></o:p>


 </body><o:p></o:p>


</html><o:p></o:p>


           
<o:p></o:p>


<o:p> </o:p>


           
<o:p></o:p>


Now
when I call this file throught my local server which is <o:p></o:p>


registered
as trusted site and press button, I am getting the error on the line <o:p></o:p>


with
red color saying<o:p></o:p>


"
Microsoft JScript runtime <o:p></o:p>


error:
Object doesn't support this property or method ", I am not able to <o:p></o:p>


understand
what's wrong in it ...as related to functionality when I press one of <o:p></o:p>


the
button I should get a windows form .<o:p></o:p>


 <o:p></o:p>


    
       Please <o:p></o:p>


any
one know the solution this error please reply  eagerly waiting to <o:p></o:p>


replies..............<o:p></o:p>


 <o:p></o:p>


Thanks
in <o:p></o:p>


advance....<o:p></o:p>


Regards<o:p></o:p>


Shekhar<o:p></o:p>


 <o:p></o:p>


<o:p> </o:p>


<o:p> </o:p>


<o:p> </o:p>


-----------------------------------------------------------<o:p></o:p>


<o:p> </o:p>


To
stop getting this e-mail, or change how often it arrives, go to your E-mail
Settings.<o:p></o:p>


http://groups.msn.com/BDotNet/_emailsettings.msnw<o:p></o:p>


<o:p> </o:p>


Need
help? If you've forgotten your password, please go to Passport Member 
Services.<o:p></o:p>


http://groups.msn.com/_passportredir.msnw?ppmprop=help<o:p></o:p>


<o:p> </o:p>


For
other questions or feedback, go to our Contact Us page.<o:p></o:p>


http://groups.msn.com/contact<o:p></o:p>


<o:p> </o:p>


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.<o:p></o:p>


mailto:[EMAIL PROTECTED]<o:p></o:p>


<o:p> </o:p>





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

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