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

New Message on BDOTNET

-----------------------------------------------------------
From: Shekhar
Message 4 in Discussion


Hi 
suresh,
 
    Thanks for your information, now it's easy for me analyze 
the using the windows form control...basically I am convert an vb application to 
asp.net web application...since my application as rich gui controls and it's 
having lot of client side validation...so I thought to using this smart 
client technology...I will note your points while designing.. my application 
also contains exception handling, shall I need to catch explicitly in asp.net 
web page...please guide me....One more thing whenever I accessing these windows 
forms from web page I keep receiving a security message telling "This 
application is running in a partial trusted context, some functionality in the 
application may be disable due to security restriction" I don't want this 
message to come, what shall I do?...
 
thanks
shekhar

  -----Original Message-----
From: Suresh[MS MVP] 
  [mailto:[EMAIL PROTECTED]
Sent: 11 September 2003 
  18:09
To: BDOTNET
Subject: Re: custom 
  controls


  
    
      
      New Message on BDOTNET
    
      

  custom 
    controls


    
      
      
        Reply

        
          
            
            
               
              Reply to Sender   Recommend 
              Message 2 in 
                Discussion 
      
        
          
            
            
              From: Suresh[MS MVP] 
            
              

                
                
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>
View other groups in this 
    category. 





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

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