Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Rescue me...
Message
From
07/01/2011 04:37:48
 
 
To
06/01/2011 17:55:49
General information
Forum:
Visual FoxPro
Category:
Internet applications
Title:
Environment versions
Visual FoxPro:
VFP 8 SP1
Miscellaneous
Thread ID:
01495009
Message ID:
01495122
Views:
56
>>>>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.

Thx - but no luck. Setting the security level to Low. Going to 'Custom' and enabling everything possible still didn't help.
Also tried the same for the Internet zone. Still no go. Only thing I discovered there was that setting 'Jave permissions' to 'Custom' and clicking 'Java Custom Settings' throws a Win32 exception :-}

I'm going to try this on a different machine. Given that, AFAIK, there have been no support calls on this issue it may be that it is a specific oddity with this development machine.....
Previous
Reply
Map
View

Click here to load this message in the networking platform