Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Rescue me...
Message
De
06/01/2011 17:55:49
 
 
À
06/01/2011 14:15:09
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Titre:
Versions des environnements
Visual FoxPro:
VFP 8 SP1
Divers
Thread ID:
01495009
Message ID:
01495071
Vues:
72
>>>Hi,
>>>The following snippet is from long-standing code in the Click event of an instance of the _hyperlinklabel class in _hyperlink.vcx:
DODEFAULT()  && Just 'Follow'
>>>WITH THIS.oHyperLink.oIE
>>>  DO WHILE .busy
>>>  ENDDO
>>>  IF TYPE(".Document")="O" .AND. !ISNULL(.DOCUMENT.ALL("TextBox2"))
>>>    * Code gets to here. Next line errors 'OLE error.  Access Denied'
>>>    .DOCUMENT.ALL("TextBox2").VALUE = THISFORM.cKeyToPass
>>>  ENDIF
>>> ENDWITH
TextBox2 is just asp:TextBox:
<asp:TextBox ID="TextBox2" runat="server"  Style="text-transform:uppercase"></asp:TextBox>
>>>
>>>Used to work. Something obviously changed but don't know what. Anyone know why this might fail (my VFP is so rusty I may be missing something simple....)
>>
>>What is the exact error
>The usual : "1426: OLE Error 0x80070005: Access is denied"
>
>>and which IE version you're using?
>IE8 (8.0.6001.18702 to be exact).
>
>>Most likely IE tighted its security model to prevent such automation.
> I was wondering about that. If it is an IE security setting then a whole section will have to be rehashed to bypass the problem :-{
>
>Oh - and I just tested *reading* the value and got the same error

What happens if you do the following:

1. Click “Internet Options” in “Tools” menu of IE.
2. Choose the “Security” tab, and select the “Trusted Site” option.
3. Click the “Sites” button in the right, then add the site to the list.
4. Close all open IE windows.
5. Test again.
.·*´¨)
.·`TCH
(..·*

010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform