ActiveX - Not Working On IIS Server / Fix This?

Jan 6, 2010

I have JavaScript code, that exports a HTML table to MS Excel.

This works fine on my development (local) server, however, it fails to work on my 'live' IIS server. Once I click on the Export link, I confirm the "Export to Microsoft Excel?" message, then nothing happens. I am not sure if MS Excel needs to be installed on the server or not?code...

View 7 Replies


ADVERTISEMENT

ActiveX - Not Working On IIS Server

Jan 6, 2010

I have JavaScript code, that exports a HTML table to MS Excel. This works fine on my development (local) server, however, it fails to work on my 'live' IIS server. Once I click on the Export link, I confirm the "Export to Microsoft Excel?" message, then nothing happens. I am not sure if MS Excel needs to be installed on the server or not?

<script language="javascript" type="text/javascript">
function ExportToExcel() {
input_box=confirm("Export to Microsoft Excel?");
if (input_box==true) {

[Code]....

View 5 Replies View Related

"Automation Server Can't Create Object" Error With Activex Jscript?

Oct 22, 2010

i am trying to use mscomm in html and javascript to communicate with a device over the serial port but when i run a test of the activex object in a .hta file i get the error "Automation server can't create object". does anybody know why its doing this? it gives the error on the line with var mscomm = new activex.........

<OBJECT classid="clsid:648A5600-2C6E-101B-82B6-000000000014" id="MSComm1" CodeBase="mscomm32.ocx" type="application/x-oleobject" style ="display: none">
<PARAM NAME="_ExtentX" VALUE="1005">

[code]....

View 1 Replies View Related

JQuery :: Not Working On Public Server?

Jan 5, 2010

My form works just fine when testing on my local machine, but when I upload everything to the public server the form does not validate.

View 1 Replies View Related

Web App Not Working Properly When Uploaded To Server

Mar 10, 2009

I've been working on a college project to rebuild a php/mysql web application. My local dev. environment runs php/mysql on IIS, and the server that hosts the web-app runs php/mysql on Apache. As part of the revamp I've coded a few bits of javascript that works perfectly in my dev machine, but when upload do not work properly. Here is the latest bit:

Form with hidden fields I want to post to the next page.
<form action="ADToDoPrintPage.php" target="_blank" method="post" id="fm">
<input type="hidden" name="TotalHours" id="TtlHour" value="<?php echo
"$total_hours" ?>"><input type="hidden"
name="TotalCycles" id="TtlCycle" value="
<?php echo "$total_cycles"; ?>">

Then a list of links, one of which posts the form to the desired page:
<li><a href="" onclick="document.getElementById('fm').
submit();return false;">
Printer Friendly View</a></li>

Problem is rather than going to the desired page, it simply directs to the homepage. I'm baffled as to why this is happening and dont know where to start looking. Could it be something do to with javascipt not being enable or permitted on the webserver? I've made sure the site is in the 'trusted sites' list in IE but with no joy.

View 4 Replies View Related

Site Should Not Working On Host Server

Jun 9, 2010

I have designed a site. It's working properly in locally.Now I want to insert a special javascript on my home page.The job of that special javascript is, makes some errors in the site when site is going to publish on internet.

View 12 Replies View Related

JS Rotator Not Working On My Server / Solution For This?

Feb 24, 2010

I have installed an image rotator script on my page however the animation is not working i.e. the rotation between images is not taking place. The script works on my localhost though. code...

View 4 Replies View Related

Executing It In Apache Server Is Not Working?

Apr 20, 2011

When i am executing javascript in browser it is working properly..I have to execute it with some JSP code .. so iam executing it in apache server and javascript is not working .. what to do for resolving this.

View 4 Replies View Related

Working Locally But Not When Uploaded To Hosting Server?

Oct 23, 2011

I am working on the following page: [URL]

There is a news script on the right-handside which rotates news items (a kind of scroller).

Locally this works without any problems, but once I've uploaded it to the hosting server this doesn't work. There is no javascript error sign.

I have double checked with the hosting and they support javascript by default.

View 3 Replies View Related

Server Side Includes / Drop Down Menus Not Working

Sep 24, 2010

I have created a global navigation includes document. Unfortunately the drop down menus that are part of the navigation aren't working. They worked fine when they were part of the page, but now that they are separated from the page as includes the drop down menus don't appear in my test site (posted to a web server). All other content in the includes file appears and works.

View 1 Replies View Related

Drop Down Menus In Server Side Includes Not Working?

Sep 24, 2010

I've got a global navigation document with drop down menus created using javascript saved as includes. These are posted to a web server and the pages that reference the includes display the graphics and some of the links, but not the drop down menus. They don't appear on roll-over.

View 1 Replies View Related

Script Working Locally But Not When Uploaded To Hosting Server

Oct 23, 2011

I am working on the following page: [URL]. There is a news script on the right-handside which rotates news items (a kind of scroller). Locally this works without any problems, but once I've uploaded it to the hosting server this doesn't work. There is no javascript error sign. I have double checked with the hosting and they support javascript by default.

View 3 Replies View Related

Code Working On Local Server But Not When Uploaded To Webhost?

Mar 5, 2010

I have created a site and on one page it uses 2 divs side by side to display text information. in the left hand div it contains 8 links. these links when clicked load up text stored in separate text files and display it in the right hand div.The code below was working when i ran it from my mac but when i try to load it off the webhost it fails to execute.

$(document).ready(function() {
$("#mc").click(function() {
$("#innertext").load('mc.txt');

[code].....

View 6 Replies View Related

XMLHttpRequest: Script Works To Request XML File On Server But Not On External Server

Oct 2, 2010

I have the following JavaScript (see below). The script requests an XML file from the server and displays it on the page.

The script works fine when the requested XML file is stored on the same server as the script.

The problem is when I try requesting an XML file from an external server such as the National Weather Service. I get an error. If I take the XML file from the National Weather Service and save it to my server it works. Why can't I use my script to request XML files stored on external servers?

Javascript Code

window.onload = initAll;
var xhr = false;
function initAll() {
document.getElementById("makeTextRequest").onclick = getNewFile;

[Code]....

View 8 Replies View Related

AJAX :: Cross-domain Calls - Loaded From One Server Into A Website On Another Server

Mar 11, 2010

I'm trying to write a script that will be loaded from one server into a website on another server. This script is trying to talk (ajax) to the server that it comes from but I'm getting "Access Denied" errors. I'm well aware that cross-domain calls are not allowed for security reasons so my question is how does Google Analytics work because essentially thats what I'm trying to accomplish. I can embed a Google Analytics script into my website and it'll gather data and send it back to Google.

View 4 Replies View Related

AJAX :: Getting Server Date/time With No Server Side Script

Apr 19, 2010

I'd been looking for some way to get server date/time without using any server side script (such as ASP, PHP, etc).

I found this and it worked just excellent for me! I just want to share it because it wasn't easy to find.

I created a js document with code:

Code:

Now, I can use this js within a html like this:

HTML Code:

You may change your machine date/time and check both dates.

View 1 Replies View Related

Resolve Relative Server Links When HTML Source Is Not On Server

Feb 10, 2010

I would like to open an html file locally (not fetch it from a server) and somehow use javascript to fetch the relative resources from the server. One solution would be to convert all of the relative links to absolute links. I can convert the html source file anyway I wish, but ideally I would like to modify the html source as little as possible, for example insert a function that modifies the result of the src attribute. How would I go about this? Is there any trick I can use to define where the relative home is? Am I going to get into any scripting security gotchas?

View 3 Replies View Related

Calling ActiveX Dll

Jul 23, 2005

Im supposed to write an activeX dll that will be called by javascript
(with the OBJECT TAG) and was wondering if its supposed to have any
special features or its a regular activeX dll.

Also I would like to know if it matters if its written in C++ or VB,
and if someone has sample C++ code that does this i will be grateful
to see!

View 1 Replies View Related

ActiveX Object

Jul 20, 2005

I have a ActiveX object. This is working fine in English windows and IE, But causes IE to crash in Chinese windows.

View 1 Replies View Related

Detect If ActiveX Is Disabled?

Aug 1, 2009

I am currently detecting for Shockwave within IE by doing the following:

var isInstalled = false;
if (window.ActiveXObject) {
var control = null;
try {
control = new ActiveXObject('SWCtl.SWCtl');
} catch (e) {

[Code]...

This works as expected and if it fails to detect Shockwave I tell the user to install Shockwave.The problem comes when AcitveX is disabled as it still returns the same message that it's not installed. I would prefer to be able to include an extra step to detect if ActiveX is disabled, in which case I can tell the user to enable it rather than giving them false advice. My only idea would be to detect for an ActiveX Object that every IE user should have installed.

View 1 Replies View Related

Hangman (DHTML/ActiveX)

Jan 3, 2003

I thought I'd post this and see what you guys think (go easy on me :)). Anyway, my teacher gave the class a project to see if we could make a hangman game with an ActiveX object's draw methods and some good ole' DHTML. I've always wondered why javascript doesn't have any draw methods or graphics objects like Java has.

I suppose SVG will take the place of activeX and Flash... hopefully. Once we had the right object id it was a piece of cake (I found it by the way). Anyway, here's my program. I would've put the code in this post but I have a few includes and graphics that go with it. Best viewed in 1024 x 768 resolution, and IE only (of course).

View 2 Replies View Related

How Do You Get Around ActiveX Block Content

Oct 31, 2006

I have a windows media file that I want to play on a webpage but the stupid activex content blocker keeps on poping up. I have heard that there is a way of getting around this or to preload the content. Does anyone know how to do this?

View 2 Replies View Related

JavaScript Being Detected As ActiveX??

Mar 9, 2007

I built a form that utilizes arrays for storing data, prototype objects stored in arrays, and DOM using getElementByID and getElementByName. Now, in XP SP2 with the security center turned on, I get alerted by IE6/7 that there is an ActiveX script on the page and it asks to be allowed.

I don't want users IE to see this ActiveX warning. First, the users going to be using this form are not exactly tech savvy enough to know to allow it. Second, I had no idea JavaScript was related to ActiveX--which begs the question, what sort of things cause JavaScript to be flagged as ActiveX?

View 3 Replies View Related

ActiveX Control In HTML/JavaScript

Jul 23, 2005

Is there any way i can show my excel chart on my web page.

View 2 Replies View Related

Fading An ActiveX-object Into The Background

Oct 22, 2005

How can I create a fade with javascript that fade an activex object
(quicktime) to the background and not to the IE windowed control.

I call this function several times, each time decreasing the "opacity".
id is the quicktime activex object.

I have tried to set background:tranparent and
background-color:transparent in my style sheet.

//change the opacity for different browsers
function changeOpac(opacity, id) {
var object = document.getElementById(''+id+'').style;
if (object.opacity) {
object.opacity = (opacity / 100);
} else if (object.MozOpacity) {
object.MozOpacity = (opacity / 100);
} else if (object.MKhtmlOpacity) {
object.KhtmlOpacity = (opacity / 100);
} else if (object.filter) {
object.filter = "alpha(opacity=" + opacity + ")";
}
}

View 1 Replies View Related

Activex Control In Html Page?

Jan 14, 2006

i could create it successfully, but i can't manipulate it

<html>
<body>
<object height="50% width="50%" classid="clsid:XXXX....." id
= obj>
<script language= javascript>
obj.gridVisible= true //the method call here
don't take effect
</script>
</body>
</html>

here is the interface i implemented in my control
interface IControlInterface : IDispatch
{
[id(..), propput]
HRESULT gridVisible ([in] VARIANT_BOOL bVal);
}

anything wrong?

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved