473,473 Members | 1,735 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

activex is undefined

shweta123
692 Recognized Expert Contributor
hello
I am trying to create a wscript.shell object through javascript. I am getting the message as 'Activex is undefined' even after changing the setting for internet Tools.
This is my code
<script language="javascript">
var prog = "d:\\ASpPoerter\\testnycard.exe";
var oshell =new ActivexObject(Wscript.Shell);
ret=oShell.run(prog ,1,True);
window.close;
<script>
does anybody have idea?


Shweta
Nov 20 '06 #1
2 3459
AricC
1,892 Recognized Expert Top Contributor
Maybe this or this will help I've never used the shell commands looks like fun!


HTH,
Aric
Nov 20 '06 #2
shweta123
692 Recognized Expert Contributor
Maybe this or this will help I've never used the shell commands looks like fun!


HTH,
Aric

even that is not working its just starting the process but i cant c anything on the screen.

shweta
Nov 27 '06 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: wang xiaoyu | last post by:
Hello: i want use activex in wxpython program,but when i use MakeActiveXClass an exception occurs. this is my source code dealing the DICOM ocx.I must note that in this program "hwtxcontrol" is...
7
by: NewbieJon | last post by:
I am attempting to send the variable "sComputerName" from my ActiveX script to "GetInfo.asp" using javascript. (Having been advised this is the way to get my ActiveX variable into my ASP script) ...
2
by: Fie Fie Niles | last post by:
This one XP machine (with IE 6) is having a problem viewing any ActiveX controls (created on VB6) on the Internet Explorer browser. I put the same ActiveX control in a VB program, and when I run...
4
by: mike | last post by:
I'm tring to learn how to use activeX controls in my C++ programs but have hit a stone wall. I have a server control that's suppose to pass the clients name and password. The VB example shows it...
0
by: Brett | last post by:
I'm trying to use an ActiveX control that works fine in VB.NET but not in C#. The VB projects places the ActiveX control on a form. The C# project doesn't because the control is used in a non...
0
by: Edward | last post by:
I am completely in the dark about ActiveX, but I up until yesterday I used to have a working app with ASP.NET. Now the client wants to fire up a Word document from inside the browser and have...
2
by: Joe | last post by:
I have a javascript that calls a method of an activex control. I want to get the return value, S_OK or S_FALSE. I tried var r = document.Form1.PCtl.Download('h') document.write(r) // to see the...
6
by: hufaunder | last post by:
I have an ActiveX component that I want to use in a library that I am writing. As a first test I used the ActiveX component in a windows form application. Adding the component created: Ax.dll...
1
by: ebonnett | last post by:
What is the best way to test for the existence of an ActiveX Control on a client? I tried this: var control = new ActiveXObject("namespace.classname"); if (control == undefined) do...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.