Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
IE Frames objects
Message
From
21/12/2004 09:53:23
 
General information
Forum:
Visual FoxPro
Category:
Internet applications
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows Server 2003
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00970114
Message ID:
00970970
Views:
24
oBrowser.Document.Frames[0].Document.Body.InnerHtml   &&& wich is the banner of the web page

oBrowser.Document.Frames[1].Document.Body.InnerHtml	&&& wich is the content of the web page

oBrowser.Document.all.lenght = 2
oBrowser.Document.Frames.lenght = 2

I have access to all properties and methods of the oBrowser.Document.Frames[0] childs

But everythings after oBrowser.Document.Frames[1]...

	I get : OLE IDispatch exception code 0 from ?: Access is denied 

I read some thing about cross framing security, but i think both frames are on the same site wich is https://portal.lloydscanada.com/

I added 2 html text names frame1 and frame0 wich contains the html grabed after doing a right click and View source from the web page. Maybe It can help you understand my problem.


oBrowser.Document.Frames[0]
******************** FRAME0  ********** THE BANNER ************************

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
  "http://www.w3.org/TR/html4/loose.dtd">

<html>
<head>
<title>Lloyds Lineage</title>
<link rel="stylesheet" href="/SessionManager/static/global/style.css" type="text/css"></link>
</head>
<body marginheight="0" marginwidth="0" topmargin="0" leftmargin="0" rightmargin="0" scroll="no">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td background="/SessionManager/static/global/hdr_lines.gif"><a href="/desktop" target="lineage_body"><img src="/SessionManager/static/global/hdr_logo2.gif" width="139" height="54" alt="Lloyds" border="0"></a><img src="/SessionManager/static/global/hdr_curve.gif" width="56" height="54" alt=""></td><td align="right" valign="top" background="/SessionManager/static/global/hdr_lines.gif"><img src="/SessionManager/static/fr_CA/hdr_nav.gif" width="136" height="54" alt="" border="0" usemap="#nav"></td>
</tr>
<tr>
 <td bgcolor="#D28C10" colspan="2" height="20" class="light"><img src="/SessionManager/static/global/p.gif" 
 width="15" height="1" alt="" align="absmiddle">Bienvenue Stephane Scantland.
</td>
</tr>
</table>

<map name="nav">
<area alt="Accueil" coords="1,40,64,15" href="/desktop" target="lineage_body" shape="RECT">
<area alt="Sortie" coords="71,14,165,41" href="/SessionManager/logout?locale=fr_CA" target="_top" shape="RECT">
</map>

</body>
</html>


********************************** END of FRAME0 *****************



Next part

oBrowser.Document.Frames[1]
****************** FRAME1 *** WHAT I'am looking for *************

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<html lang="fr">
<head>
    <title>Journal des opérations sur la police</title>
    <!--
    TELUS Enterprise Solutions 
    Copyright 2001
    Contact us:
    Vancouver, BC
    604.801.5758
    esolutions@telus.com
    -->
    <meta name="description" content="insert description here">
    <meta name="keywords" content="insert keywords here">
    <meta name="author" content="TELUS Enterprise Solutions">
    <meta name="robots" content="all"> 
    <link rel="stylesheet" href="/lineage/css/style.css" type="text/css"></link>
    <script language="JavaScript" src="/lineage/js/uicommon.js" type="text/javascript"></script>
</head>

<body>


<div class="banner">
	<div class="leftContent">
		Journal des opérations sur la police
	</div>
	<div class="rightContent">
		<a href="/lineage/policy/policy/summary?policyId=1050372206"><em>Police</em></a>
 ->
<em>Journal des opérations</em>
 
	</div>
</div>









<table border="0" cellpadding="0" cellspacing="0" width="100%">
	
	<tr>
	<td>
		<em>Police: 01010318 </em>
	</td>
	
	<td align="right">
		<em>Modification de police - en cours</em>
	</td>
	</tr>
</table>


<br>



<table width="100%" cellspacing="1" cellpadding="3" border="0">
<tr valign="bottom">
	<td class="label">Opération</td>
    <td class="label">Date / Heure de l'opération</td>
    <td class="label">Auteur de l'opération</td>
    <td class="label">Numéro du versement</td>
	<td class="label">Numéro du risque assuré</td>            
	<td class="label">Type de garantie</td>
	<td class="label">Date d'effet de l'opération</td>
	<td class="label">Montant de l'opération</td>
	<td class="label">Situation</td>				    			    
</tr>
  




<tr class="rowshade1">

    <td class="listFieldProperty">
        Police -
        Exécuter la transaction              
    </td>				 
    <td class="listFieldProperty">
        06/12/2004 02:31 PM
    </td>
	<td class="listFieldProperty">
		CLUB ASSURANCE P. & J.-P. GUERTIN INC. /
        Nancy Trudel
    </td>            
    <td class="listFieldProperty">
        
    </td>
    <td class="listFieldProperty">
		
    </td>            
    <td class="listFieldProperty">
                      
    </td>
    <td class="listFieldProperty">
        
        
        
        
        
        
            03/11/2004 12:01 AM
        
    </td>
	<td class="listFieldProperty">
        -$45.00
	</td>
	<td class="listFieldProperty">
        Modification de police - en cours              
    </td>			    



<tr class="rowshade2">

    <td class="listFieldProperty">
        Police -
        Modifier              
    </td>				 
    <td class="listFieldProperty">
        06/12/2004 02:31 PM
    </td>
	<td class="listFieldProperty">
		CLUB ASSURANCE P. & J.-P. GUERTIN INC. /
        Nancy Trudel
    </td>            
    <td class="listFieldProperty">
        
    </td>
    <td class="listFieldProperty">
		
    </td>            
    <td class="listFieldProperty">
                      
    </td>
    <td class="listFieldProperty">
        
        
        
        
        
        
            03/11/2004 12:01 AM
        
    </td>
	<td class="listFieldProperty">
        -$45.00
	</td>
	<td class="listFieldProperty">
        Modification de police - en cours              
    </td>			    



<tr class="rowshade1">

    <td class="listFieldProperty">
        Couverture -
        Annuler              
    </td>				 
    <td class="listFieldProperty">
        06/12/2004 02:32 PM
    </td>
	<td class="listFieldProperty">
		CLUB ASSURANCE P. & J.-P. GUERTIN INC. /
        Nancy Trudel
    </td>            
    <td class="listFieldProperty">
        
    </td>
    <td class="listFieldProperty">
		1
    </td>            
    <td class="listFieldProperty">
        F.A.Q. 34 - Capital assuré              
    </td>
    <td class="listFieldProperty">
        
        
        
        
        
        
            03/11/2004 12:01 AM
        
    </td>
	<td class="listFieldProperty">
        -$2.00
	</td>
	<td class="listFieldProperty">
        Modification de police - en cours              
    </td>			    



<tr class="rowshade2">

    <td class="listFieldProperty">
        Couverture -
        Annuler              
    </td>				 
    <td class="listFieldProperty">
        06/12/2004 02:32 PM
    </td>
	<td class="listFieldProperty">
		CLUB ASSURANCE P. & J.-P. GUERTIN INC. /
        Nancy Trudel
    </td>            
    <td class="listFieldProperty">
        
    </td>
    <td class="listFieldProperty">
		1
    </td>            
    <td class="listFieldProperty">
        Risques Spécifiés              
    </td>
    <td class="listFieldProperty">
        
        
        
        
        
        
            03/11/2004 12:01 AM
        
    </td>
	<td class="listFieldProperty">
        -$14.00
	</td>
	<td class="listFieldProperty">
        Modification de police - en cours              
    </td>			    



<tr class="rowshade1">

    <td class="listFieldProperty">
        Couverture -
        Annuler              
    </td>				 
    <td class="listFieldProperty">
        06/12/2004 02:32 PM
    </td>
	<td class="listFieldProperty">
		CLUB ASSURANCE P. & J.-P. GUERTIN INC. /
        Nancy Trudel
    </td>            
    <td class="listFieldProperty">
        
    </td>
    <td class="listFieldProperty">
		1
    </td>            
    <td class="listFieldProperty">
        Montant de l'assurance RC              
    </td>
    <td class="listFieldProperty">
        
        
        
        
        
        
            03/11/2004 12:01 AM
        
    </td>
	<td class="listFieldProperty">
        -$29.00
	</td>
	<td class="listFieldProperty">
        Modification de police - en cours              
    </td>			    



<tr class="rowshade2">

    <td class="listFieldProperty">
        Couverture -
        Créer              
    </td>				 
    <td class="listFieldProperty">
        06/12/2004 02:33 PM
    </td>
	<td class="listFieldProperty">
		CLUB ASSURANCE P. & J.-P. GUERTIN INC. /
        Nancy Trudel
    </td>            
    <td class="listFieldProperty">
        
    </td>
    <td class="listFieldProperty">
		2
    </td>            
    <td class="listFieldProperty">
        Montant de l'assurance RC - conducteur occasionnel              
    </td>
    <td class="listFieldProperty">
        

        
        
        
        
            03/11/2004 12:01 AM
        
    </td>
	<td class="listFieldProperty">
        $0.00
	</td>
	<td class="listFieldProperty">
        Modification de police - en cours              
    </td>			    



</table>
<br>
<br>
<br>

<table border="0" cellpadding="0" cellspacing="0" width="100%" bgcolor="#FFFFFF">
	<tr>
		<td align="left" valign="center">
			 
			
					<a href="/SessionManager/static/global/termsconditions_fr.html">
			
				Conditions d'utilisation
			</a>
			  | 
			<a href="mailto:lineage@lloyds.ca">
				Contactez-nous
			</a>
		</td>
		<td colspan="5" align="right">
			<a href="http://www.lloyds.com/canada" target="_top"><img src="/lineage/images/logo_lloyds.gif" width="116" height="44" alt="Lloyds" border="0"></a>
		</td>
	</tr>
</table>
</body>
</html>

*********************** END FRAME1
Thanks again for you time.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform