Go Back   CodingForums.com > :: Client side development > JavaScript programming

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 07-31-2002, 08:59 PM   PM User | #1
maes
Regular Coder

 
Join Date: Jul 2002
Location: Belgium
Posts: 124
Thanks: 0
Thanked 0 Times in 0 Posts
maes is an unknown quantity at this point
Unhappy excel script doesn't work over internet

Hi,

I don't know very much about javascript, so I need your help.
I downloaded a script from Microsoft, that can generate and open excel files on the fly. when I click on the webpage on my hard disk everything works. But when I go there by a link over the internet it doesn't work. I get the error icon in my status bar.
I think I know the line that is causeing the error:
Code:
var oXL = new ActiveXObject("Excel.Application");
Am I not allowed to run Active X stuff over the internet?
Also, when I open the page in Opera (over the internet) I get an error dialog box saying:
Quote:
The server tried to set a cookie for a domain with no registered IP address. For security reasons, this is not acceptable, and the cookie has therefore been rejected

You might want to ask the site's webmaster to create an IP address for the domain specified in the cookie
What does this mean?

Here is the link to the full script. It is a realy cool and usefull script (My personal opinion)


Thank you for reading


-Maes
maes is offline   Reply With Quote
Old 08-01-2002, 03:29 AM   PM User | #2
joh6nn
wei wu wei


 
joh6nn's Avatar
 
Join Date: Jun 2002
Location: 72° W. 48' 57" , 41° N. 32' 04"
Posts: 1,887
Thanks: 0
Thanked 1 Time in 1 Post
joh6nn is an unknown quantity at this point
When Microsoft was developing the ActiveX controls, their choices for names were 'ActiveX' and 'ReallyBigSecurityHole'. So, realizing that every annoying little script kiddy in the world would use these controls if they could, they made it so that IE's default security settings block ActiveX. Generally speaking, you can only get ActiveX to work on a closed Intranet. ActiveX is also an exclusively IE thing, and won't work in any other browser.
__________________
bluemood | devedge | devmo | MS Dev Library | WebMonkey | the Guide

i am a loser geek, crazy with an evil streak,
yes i do believe there is a violent thing inside of me.
joh6nn is offline   Reply With Quote
Old 08-01-2002, 04:20 PM   PM User | #3
maes
Regular Coder

 
Join Date: Jul 2002
Location: Belgium
Posts: 124
Thanks: 0
Thanked 0 Times in 0 Posts
maes is an unknown quantity at this point
Hi Joh6nn,

thanks for replying. Actualy the script is for a company's intranet. so the general public won't have access to it. I'm creating a database with php and mysql as sort of final year project for school. and that script would be very handy to display and export statistics comming from the database. that is why I want to use it. I adjusted some options in IE like you said and now it works. all the PC at the company have a Windows licence so they all have IE.

thanks for helping, much appreciated


-Maes
maes is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 05:39 PM.


Advertisement
Log in to turn off these ads.