Displaying 16 results from an estimated 16 matches for "activexobject".
2008 Feb 04
2
Starting an exe from within the browser
...;'m still on Rails version 1.2.2. I
need to start an external app from within the browser, only IE and
pass an argument to it. The only way I found was using ActiveX.
<script language="javascript" type="text/javascript">
function OpenFile(cmd){
var x = new ActiveXObject("WScript.Shell");
x.run(cmd)
}
</script>
and then call it with
onClick="OpenFile(''C:\\projects\\some.exe c:\\projects\
\someinputfile.rpt'')
This works if I just use a regular HTML file and call it. In Rails for
testing I call it like this:
<...
2006 Apr 15
1
Begin with Autocompleter
...:
1 function makeRequest(url,element) {
2 var http_request = false;
3 if (window.XMLHttpRequest) { // Mozilla, Safari,...
4 http_request = new XMLHttpRequest();
5 if (http_request.overrideMimeType) {
6 http_request.overrideMimeType(''text/xml'');
7 }
8 } else if (window.ActiveXObject) { // IE
9 try {
10 http_request = new ActiveXObject("Msxml2.XMLHTTP");
11 } catch (e) {
12 try {
13 http_request = new ActiveXObject("Microsoft.XMLHTTP");
14 } catch (e) {}
15 }
16 }
17
18 if (!http_request) {
19 alert(''InformaciĆ³n: No se ha pod...
2008 Jan 19
1
Set Return Type XML in Prototype
...empID: 100,
amountTK: 200,
third: 30
};
var pars = new Hash(a).toQueryString();
var myAjax = new Ajax.Request(
url,
{
method: ''get'',
parameters: pars,
onComplete: loadXML
});
}
function loadXML(xmlHttpRequest)
{
// code for IE
if (window.ActiveXObject)
{
xmlDoc = new ActiveXObject("MSXML2.DOMDocument");
xmlDoc.loadXML(xmlHttpRequest.responseText);
//xmlDoc=new ActiveXObject("Microsoft.XMLDOM");
//xmlDoc.async=false;
//xmlDoc.load(xmlHttpRequest.responseText);
alert(xmlHttpRequest.responseText);
getmessage();...
2006 Feb 23
6
prototype ajax + xml response
Hi,
I am looking for a solution to use ajax.request object.
Return response text will be in xml format and I like to know how to
parse that xml information, so that I can put those info into the "span"
or "div" tags of my html page. Is there any easy way to parse that xml
info using prototype library?
Thanks,
kevin.
--
Posted via http://www.ruby-forum.com/.
2006 Mar 16
23
AJAX on Mobile Internet Explorer
Hi!
I try to get AJAX running on a mobile Windows Mobile 5.0 based device
and failed. There should be a JavaScript support but nothing happens.
Have any of you experience with the rails javascripts on a this platform
or are there any hints, documentation on the net?
tia,
--
Daniel V?lkerts
Protected by Anti Pesto.
2009 Jul 16
2
[PATCH server] updated anyterm/ovirt integration
...quest();
+ } else {
+ // For IE, it's active-X voodoo.
+ // There are different versions in different browsers.
+ // The ones we try are the ones that Sarissa tried. The disabled ones
+ // apparently also exist, but it seems to work OK without trying them.
+
+ //try{ return new ActiveXObject("MSXML3.XMLHTTP"); } catch(e){}
+ try{ return new ActiveXObject("Msxml2.XMLHTTP.5.0"); } catch(e){}
+ try{ return new ActiveXObject("Msxml2.XMLHTTP.4.0"); } catch(e){}
+ try{ return new ActiveXObject("MSXML2.XMLHTTP.3.0"); } catch(e){}
+ try{ re...
2005 Sep 25
14
script.aculo.us 1.5 release candidate 1
So, the first script.aculo.us 1.5 release candidate is out!
Important changes and fixes from 1.5_pre4 (for a detailed list, see
the CHANGELOG file):
* Droppables w/greedy and hoverclass are now reverted when dragged
item is no longer over them, fixes #2184
* Let Effect.Highlight correctly parse IE colors, add
String.prototype.parseColor() for this, fixes #2037
* Make scriptaculous.js work
2008 May 13
0
MGeoRSS and IE
...unction() {
if (this.request.readyState == 4) {
if (this.request.status == "200") {
var xmlDoc= null;
if (!isIE) {
xmlDoc = this.request.responseXML;
} else {
// use the IE/ActiveX XML parser
xmlDoc=new ActiveXObject("Microsoft.XMLDOM");
xmlDoc.async="false"
xmlDoc.loadXML(this.request.responseText);
}
...
===============
Hope this helps someone!
- mps
2006 Jan 26
0
XML Request in R: Pointers/examples needed
...;ds:SessionRequest">
<ds:UserName>myusername</ds:UserName>
<ds:Password>mypassword</ds:Password>
</ds:Request>
</ds:Requests>
#### Script #2 Request in HTTP Header############################
<script>
<!--
function Exec()
{
var objRequest = new ActiveXObject( "MSXML2.XMLHTTP.3.0" );
var request = "<?xml version="1.0"?>";
requests += <ds:Requests
xmlns:ds=\"http://product.datastream.com/zappy/dsxml_1_0\"
xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"
xsi:schemaLocation=\"http://pro...
2008 Jan 16
2
Ajax Response responseXML is null in IE
This may be a Prototype question but is probably a general JavaScript
question. I am creating an Ajax.Request and getting back a response
that should be evaluated as XML. But in IE, in my onSuccess function,
the response.responseXML object is null. In Firefox it works
properly.
I have checked the three things that are supposed to determine whether
the browser interprets the response text as
2014 Oct 17
0
Wine release 1.7.29
...37004 Jupiter crashes on startup
37026 Matlab 2009a, 2010 crashes on unimplemented function msvcr80.dll._fread_nolock
37081 Mario Forever 5.0.1 hangs on startup (ieframe 'IEnumOLEVERB::Next' always returns 'S_OK' even with no items retrieved)
37230 Cannot override window.ActiveXObject()
37256 Windows tree view control auto-collapses
37314 Linia v6.9.x (surveillance application) installation fails due to msvcp90.locale_ctor_locale_cstr stub
37334 Cisco Jabber fails to run, needs ntdsapi.dll.DsBindW
37344 SNMPc 7 Network Manager crashes on unimplemented function wsnmp3...
2002 Oct 24
0
[2] Re: How Samba let us down
...locks and data
corruption :( - It's just unfortunate it is one of the most used
corporate applications)
Based on this theory, I wrote a quick JScript to command MS office
products (Word/Excel/Powerpoint) to open a file and close it which
loops for 1000 iterations.
var i;
var myApp = new ActiveXObject("Word.Application");
myApp.Visible = true;
for (i = 0; i < 1000; i++)
{
myApp.Documents.Open("G:\\Test.doc");
//myApp.ActiveDocument.SaveAs("G:\\Test.doc");
myApp.Documents.Close();
}
myApp.Application.Quit();
Further scripts can be downloaded from
http://...
2009 Oct 09
0
Wine release 1.1.31
...STR.
Jacek Caban (51):
jscript: Use host global object as default 'this' if available and global object otherwise.
mshtml: Added IHTMLDocument3::attachEvent implementation.
urlmon.idl: Added IInternetHostSecurityManager and CONFIRMSAFETY declarations.
jscript: Added ActiveXObject constructor stub implementation.
mshtml: Added ScriptHost IServiceProvider stub implementation.
mshtml: Added IInternetHostSecurityManager stub implementation.
jscript: Added ActiveXObject constructor implementation.
jscript: Added ActiveXObject tests.
msxml3: Store po...
2005 Mar 06
8
Tutorial about XMLHttpRequest+Rails
Hi All
I just finished writing up a tutorial relating my experience
developing a system to edit line-items ''in-line'' in my Rails
application using XMLHttpRequest. I thought this might be of interest
to some readers of this list... Check it out at
http://hieraki.goodlad.ca/read/book/1
Thanks!
Dave
--
Dave Goodlad
dgoodlad-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org or
2011 Sep 23
0
Wine release 1.3.29
...d support for DISPATCH_METHOD flags in invoke_builtin.
vbscript: Lookup global object before host-provided objects.
vbscript: Added CreateObject implementation.
vbscript: Added support for IObjectWithSite in create_object.
vbscript: Added CreateObject tests (based on jscript ActiveXObject tests).
vbscript: Better stub for interp_errmode.
widl: Define __REQUIRED_RPCNDR_H_VERSION__ in generated headers.
Josh Juran (1):
gdi32: Simplify logic in WineEngGetFontData().
Juan Lang (3):
wintrust: Correct ObjectTrust error with empty files.
crypt32: Test CertCr...
2012 Aug 17
2
How to test Websocket support in SIP in Asterisk trunk?
I see no indication of how to do this in sip.conf, and when I start
Asterisk, it doesn't wait on port 80.
Greetings,
--
Juan Carlos Castro y Castro
Instant Solutions - Telefonia Gerando Resultado
http://www.instant.com.br
Principais capitais: 4063-6100
Demais regi?es: (11)4063-6100