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


ADVERTISEMENT

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

JQuery :: ClueTip And ActiveX Control?

May 15, 2009

I have a web page which contains a legacy ActiveX control (I know...) and am having a problem with the ClueTip plugin. Whenever a tooltip is displayed which should obscure the ActiveX it instead is drawn behind the ActiveX control. I have tried setting the value of cluezIndex to 1000, and also tried adding "<param name="wmode" value="transparent" /

View 1 Replies View Related

JQuery :: Unable To Fadeout ActiveX Control?

Jun 29, 2010

I facinga strange problem. I have developed a active-X control to play video on the top of VLC player in C# It contains a windows panel in which video is displayed Its is placed in a DIV tag , like this :

[Code]...

View 1 Replies View Related

Alternate Of Activex Control - Does Not Work On Mozila

Mar 3, 2011

I have written JS, in which I used activex control which does not work on mozila, anyone has idea to to same thing without activex , here is code which just upload the textfile contains on html page .

[Code]...

View 1 Replies View Related

Enabling ActiveX Control In Internet Explorer

Jul 30, 2009

How to enable axtiveX control using Javascript ...

View 1 Replies View Related

Javascript Control For HTML Radio Button

Mar 24, 2006

I'm not what you would call naturally gifted with javascript (I use PHP mostly), so I hope this is an easy question for one of you....

I'm trying to create a HTML link that, when clicked, affects a pair of HTML radio buttons by moving the selection from one radio button to the other.

the following code is wrong, but It's all mine, and its what I've written in a feeble attempt to accomplish this:

<HTML>
<HEAD>
<TITLE></TITLE>

<script type='text/javascript'>
<!--
function rejectAll()
{
if (window.document.link_form.a0.checked == 1)
{
window.document.link_form.a0.checked = -1;
}
}
-->
</script>
</HEAD>
<BODY>
<form action='file.php' method='post' name='link_form'>
<input type='radio' name='a0' value=&#391;' checked>
<input type='radio' name='a0' value='-1'>
</form>
<a href='javascript: void(0)' onClick='rejectAll();'>Reject All</a>
</BODY>
</HTML>

Can anyone see what I'm trying to do here and point me in the right direction...

View 3 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

How To Capture ActiveX Exe Event In Javascript?

Jul 19, 2006

I know this question has been asked a million times but I still can't
get an event from an embedded ActiveX Exe to be caught in javascript.
I am able to access all the properties and methods of the ActiveX Exe,
I just can't seem to catch the event.

I've declared my object as follows:

<OBJECT
ID = "Test3"
CODEBASE = "http://www.amys-attic.com/Test3.exe"
CLASSID = "CLSID:2ACAEF35-445C-4717-8ACB-A3423E8D64EB"
style="display:none;">
</OBJECT>

My javascript event handler is as follows:

<script language="javascript" for="Test3"
event="PipeEvent(bIsPresent)">
alert("Pipe Detect");
</script>

The event handler never fires. I debugged the ActiveX Exe and verified
that the event is indeed being raised. I am able to catch the event in a VB6 test container project as well. Any ideas?

View 3 Replies View Related

ActiveX - Export HTML To Excel - Date Format

Jan 22, 2010

I have a Javascript ActiveX function that exports the contents of an HTML table into MS Excel. The script works fine, however, some of the dates have changed from dd/mm/yyyy to mm/dd/yyyy. I do not know why this is happening, especially as it's only to a few. Here is the code:

[Code]....

View 4 Replies View Related

How To Read Dynamically Generated XML With Javascript And ActiveX XMLHTTP Object?

Jul 23, 2005

Ive been banging my head on the wall for hours with this one, hopefully
someone will know what Im doing wrong here :

The Goal:

I have an xml file that is generated on the fly via JSP which I want to
load into a Microsoft.XMLHTTP ActiveX object and manipulate via
javascript on the client side. Data is retreived from the server at the
request of the javascript without having to reload the page.

The Problem:

For the JSP to dynamically output xml, the file must have the extension
JSP, which is set to the mime type of dynamo-internal/html on the
server side (as we are using ATG Dynamo). But the javascript on the
client side will not retrieve anything unless the file extension is
..xml (or the mime type is recognized as text/xml). So the only way I
can get it to work is to change the extension to .xml, which then of
course amkes it so that the server will not process any of the JSP
code.

Ive tried to override the mime type within the javascript, using the
setRequestHeader method after opening the file, but no luck. A call to
alert the value of req.responseXML.xml after the send() turns up empty.
Ive only gotten it to work if I use a static xml file in palce of the
jsp. Sample of the javascript code is below:

if (window.XMLHttpRequest) {
// branch for native XMLHttpRequest object - THIS WORKS
req = new XMLHttpRequest();
req.overrideMimeType("text/xml");
req.onreadystatechange = processReqChange;
req.open("GET", "models.jsp?cId=300006&mId=TAC24", true);
req.send(null);
alert(req.responseXML.xml); //this gives me the resulting xml file
} else if (window.ActiveXObject) {
// branch for IE/Windows ActiveX version - NOT WORKING
req = new ActiveXObject("Microsoft.XMLHTTP");
if (req) {
req.onreadystatechange = processReqChange;
req.open("GET", "models.jsp?cId=300006&mId=TAC24", true);
req.setRequestHeader("Content-Type","text/xml");
req.send();
alert(req.responseXML.xml); //this gives me nothing
}
}

In looking at the following example the Microsoft gives (bottom of
page):

http://support.microsoft.com/defaul...B;EN-US;Q290591

I just dont see what could be going wrong here.


I should note that I successfully got the script to work using the
XMLHttpRequest object and the overrideMimeType() method. This works
with FireFox and I think some Mozilla clients, but not with the all
important IE5, which instead uses the XMLHTTP ActiveX control.=

View 2 Replies View Related

Trying To Use The GoTo Method Of The Word.Application ActiveX Object In JavaScript

Dec 11, 2006

I am trying to use the Goto method of the Word ActiveX object. I am
trying to open a document and go to a named bookmark. If I use this
code in VB it works, so I'm sure the approach is possible, I just can't
get JavaScript to work with it.

Here is the code I am using, the error I get from IE is Object
Expected:
Hope someone can help! Any help would be much appreciated

function PageLoad()
{
var WordApp = new ActiveXObject('Word.Application');
WordApp.Visible = true;
var documentlocation = crmForm.all.new_documentlocation.DataValue;
var wd = WordApp.Documents.Open(documentlocation);
wd.Select();
var Name = 'TestFred'
var wr = wd.Selection.GoTo(What : Word.WdGoToItem.wdGoToBookmark,Name :
'TestFred');
}

View 6 Replies View Related

Call Script Function From Iframe.html To Control An Object On Index.html?

Aug 25, 2010

I'm building a webpage using javascript and iframes. Basically I have an iframe in the middle of the index.html page that links to another html page (let's call it iframe.html). My question is, is it possible to call a javascript function from iframe.html to control an object on index.html? If so, how do I do this? I'd like to be able to assign an image in iframe.html with the hyperlink of href="javascript:function()", where the function effects the CSS of a div on index.html.

View 2 Replies View Related

Control Collection In Javascript

Jul 23, 2005

I have a .net application that I am trying to add some javascript code
to for a client-side execution. What I want to do is resize all the
HTML text fields on my web form, but instead of writing a line for
each text box I would like to loop through a collection of controls
and resize the control if it is a text field. Is there a way to do
this in javascript? The function below is what I have been toying with
for the past couple of hours. Another idea was to use a css, but I
can't find an element for the text field.


function Test()
{
Tarray = new Object;
Tarray = document.Form1.children
for (var prop in Tarray)
{
//document.writeln(Tarray.toString);
var s;
s = prop
if (Left(s, 3) == "btn")
{
prop.height = "20px";
}
}
}

View 3 Replies View Related

Javascript Font Control

May 24, 2006

I have been unable to reduce the size of the text that goes along with
my image slideshow(the play, next, stop buttons and also the captions
for the pictures) without reducing the size of my title text(my
friends).

View 3 Replies View Related

Menu Control In Javascript

Jul 20, 2005

I would like to set dynamically the pressed item of a menu of a form in javascript. First, how to get the value of the item that has been selected with the mouse. Then how to set it in javascript. I don't know the object name. I do that like form.myfield.value = xxxx with an input text, but it it doesnot work for menu!

View 1 Replies View Related

JQuery :: Change Visibility Of A Html Control

Jun 25, 2011

How to change the visibility of a html control using jquery

View 2 Replies View Related

Accessing Value Of HTML File Input Control?

Feb 21, 2011

I have an HTML file input control, like this:

Code:
<input type="file" id="FormsFileSelector" name="FormsFileSelector" size="40" maxlength="1000" style="width: 382px; white-space: pre;"
accept="image/gif,image/jpg,image/jpeg/,image/tiff,image/bmp"
>

And it does indeed allow the user to select a file on his computer.

But when I access the value of the control I get an odd value. I do this, in javascript:

Code:
var FileSelector = document.getElementById("FormsFileSelector");
var FileName = FileSelector.value;
And the FileName that I get is "C:/fakepath/MyPicture.jpg"

The actual path is C:/MyDocuments/MyPictures/MyPicture.jpg". But instead it's coming up with "fakepath".

Very weird! How do I get it to return the actual full path to the file on the user's computer?

View 3 Replies View Related

Javascript Use <option> From <select> As Control

Jan 20, 2006

i tried to create a dropdown menu and use the option as a control to
change content inside another text area

the code is like this:

<select name="xxxx"><option onclick="changeunitprice(29.87)"
value="1744"/>

the function changeunitprice() is called when an option is selected

problem is it works well with firefox but not IE

any ideas? or is there anyway can make same effect in IE?

View 1 Replies View Related

Using Javascript To Control Acrobat Reader

Mar 28, 2006

I need information (sure, i used google but couldn't find anything useful yet) about automating/adjusting Acrobat Reader using javascript. I need to print multiple documents without having to open them individually and selecting the print option on each document. I also need to adjust the user interface. Sometimes printing is allowed, sometimes it is not. So i need a way to disable (or remove) the print button from the default toolbar.

Anyone has experience (sample code) or documentation i can use?

View 1 Replies View Related

Control Printing (What Prints) With Javascript ?

Jul 9, 2004

When designing a site, a request has come to me about printing web pages. What they want is the page to be broken up into frames, and only one frame will be able to be printed. so that if the page is broken into 3 vertical frames. Would it be possible to have it only print the middle page if the person clicked the print button.

This is so that even beginner users to IE or Netscrape would be able to get a printout of the page without having to change options in the print preferences.

* The example the person gave me was similar to Page Breaks in MS Excel. You can see the whole thing, but when print is clicked, you only get a certain section printing (even a beginner can do this).

View 3 Replies View Related

Hidden Control's Value Is Not Showing In Javascript On MAC Safari

Sep 7, 2005

I'm using input hidden control's value in the javascript function.

same code is working fine on all other browser except a specific
version of safari(i.e.: MAC OS 10.3.7 and Safari 1.2.4).

problem:
control's value is not getting displaying at the first time
when the page gets load, although the same piece of code would work if
I just refresh the page, strage.

declaration of hidden control:
<INPUT id="hSliders" type="hidden" runat="server">

javascript code which is calling the value of hSliders:

alert(document.Form1.hSliders.value)

this alert is showing nothing although it should display string.

i check the view source also control's value is getting populated.

View 1 Replies View Related

How To Dynamic Control Some Picture's Size By Javascript

Feb 14, 2006

i have some pictures in a page. there are have difference sizes. some
of them are too widen for be arrange in a line. so
i been tried to adject their sizes to more suitable.

i add a event to that image likes:
<img id="img" onLoad="adjustSize(this)" src="123.jpg">

and write a function in javascript:
function adjustSize(obj){
if (obj.width>250){
sizeRate=250/obj.width;
obj.width=obj.width*sizeRate;
if (obj.hight>268)
obj.hight=268;
}}

but exactly,i can get the image's width and height. cuz the loading
hasn't finished while the function of adjustSize works.

View 5 Replies View Related

JavaScript Ticker Using Tabular Data Control

Dec 10, 2002

This JavaScript Ticker is an example of "Data Binding" using "Tabular Data Control (TDC)" which is a Microsoft ActiveX control built in to Internet Explorer....

View 6 Replies View Related

Pass Control (text Field) Values From One Html To Other Using Hidden Variables.

Mar 7, 2007

function submitPartsForm(str) {

var count=document.getElementsByName("partId");
for(var i=0;i<count.length;i++)
{

document.mylist.myNum[i].value= document.getElementsByName("partNum")
(i).value;}

document.forms["mylist"].submit();
}

myNum[] is a hidden variable and partNum is the name of a text field
that has many instances i mean there are many textfields with the same
name so it forms a column in a data table.

View 3 Replies View Related

Embedding And Control Windows Media Player With HTML But Cannot Run Script Through A Different Page

Nov 29, 2009

I'm doing embedding Windows Media Player with the HTML but I can not run the script through a different page. The following script that I made: file : player.html

<html>
<OBJECT id="VIDEO" width="640" height="480"
style="position:relatif; left:0;top:0;"
CLASSID="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6"
type="application/x-oleobject">
<PARAM NAME="URL" VALUE="file_name.mpg">
<PARAM NAME="SendPlayStateChangeEvents" VALUE="true">
[Code]...

View 3 Replies View Related







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