473,388 Members | 1,286 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,388 software developers and data experts.

automation server can't create object - new ActiveXObject('InternetExplorer.Applicati

1
Hello!

I am getting the error 'automation server can't create object ' when trying to create new IE instance in jscript :

var ie = new ActiveXObject('InternetExplorer.Application');
ie.visible = true;
ie.navigate2('about:blank');

The site run asp.net 2.0 .

any ideas?

thanks in advance
Jan 17 '07 #1
2 10059
acoder
16,027 Expert Mod 8TB
Is it necessary to code like this? Why can you not just open a new window with the page that you require using window.open()?
Jan 17 '07 #2
AricC
1,892 Expert 1GB
var ie = new ActiveXObject('InternetExplorer.Application');
ie.visible = true;
ie.navigate2('about:blank');
Did you post about this on another site as well? Anyhow your syntax is incorrect.

Expand|Select|Wrap|Line Numbers
  1. function NewIE()
  2. {
  3. var ie = new 
  4. ActiveXObject('InternetExplorer.Application');
  5. ie.visible = true;
  6. ie.navigate('about:blank');
  7. }
I would stick with ACoder's idea though. Any time you run an ActiveX control your users are going to get a pop-up asking them to allow it to run.

HTH,
Aric
Jan 17 '07 #3

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

Similar topics

2
by: sonu | last post by:
I am tring to create activexobject like var Fo =new ActiveXObject("Scripting.FileSystemObject"); but i am finding error that automation server cant create object any help
7
by: Munsifali Rashid | last post by:
Hi, I've built a webservice in C# that can add public folders to Exchange. There's also a component built in VB6 which references the Outlook 10 (XP) DLL, so I can change the default form being...
0
by: Rodney | last post by:
Guys, I have got a vbscript which creates an instance of an object and I get the error ActiveX component can't create object This works if I have this in a standalone .html file but not...
3
by: Steve Richter | last post by:
running a simple vbscript in an .htm page that starts excel and loads the spreadsheet with the contents of a <table> ... </table> getting an "Error: ActiveX component cant create object....
0
by: Ram | last post by:
When I try to create a new project in VC#.net, this error message is coming. "Automation server cannot create objcet" can anybody help me?
1
by: erotikaboi | last post by:
Guys, Firstly let me say I am a photographer so if you can offer me a solution I will really appreciate it in simple english not techiespeak as I wont understand it. Thanks. Ok, I am using Access...
1
by: vanessak | last post by:
Hi , I have been trying to use wizards in Access to create new tables and quieries etc but everytime I try, this message pops up. I have tried removing and reinstalling the program but nothing seems...
0
by: dim505 | last post by:
hi friends, I'm new to this forum. I have created and build a dll but at first it was getting the error"Automation server can't create object" after a lot of head ache,I got the script...
0
by: coolminded | last post by:
Dear all, when i run the following code it shows the error run-time error:'429' ActiveX Component cant create object i have also registered vbxmlrpc.dll what might the problem? thanx in...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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...
0
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...

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.