Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / ActiveX Controls / September 2004

Tip: Looking for answers? Try searching our database.

Trouble executing ActiveXObject

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Don - 17 Sep 2004 00:59 GMT
I'm trying to run the following page on my desktop from my host
server.  It works just fine if I run it from my desktop, but not if I
run it from the server.  I get "Error: Permission denied".  I
understand about the security issues surrounding ActiveX, but since
I'm not accessinig any client-side files, I would think this should
work.  Any ideas would be appreciated.

Thanks,
Don

<html>
<head>
<title>Test Script</title>
<meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1">
</head>
<body>
<script language="JavaScript" type="text/javascript">
<!--
//
//
    var sCPCIndexPage1URL = [];
    var sCPCIndexPage1HTML = [];
//
//  Get CPC index page 1
//
    sCPCIndexPage1URL = "http://www.google.com";
    var xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
    xmlhttp.Open("Get",sCPCIndexPage1URL,false);
    xmlhttp.send();
    sCPCIndexPage1HTML = xmlhttp.responseText;
//
//  Display page
//
    var wind = window.open();
    wind.document.write(sCPCIndexPage1HTML);
//-->
</script>
</body>
</html
Douglas J. Steele - 17 Sep 2004 22:20 GMT
Since you're attempting to use JavaScript, I'd suggest asking in
microsoft.public.scripting.jscript.

This newsgroup is for questions about using ActiveX controls with Access,
the database product that's part of Office Professional.

Signature

Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no e-mails, please!)

> I'm trying to run the following page on my desktop from my host
> server.  It works just fine if I run it from my desktop, but not if I
[quoted text clipped - 36 lines]
> </body>
> </html
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.