473,386 Members | 1,830 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,386 software developers and data experts.

Automating IE in a Windows Service

I am using multiple instances of the SHDocVw.InternetExplorer object, in a standard Windows forms c# app, to repeatedly check a specific set of Web sites for information

The only problem is, not surprisingly, my app can interfere with the manual browsing of the sites being automated (probably where the sites use cookies to keep track of location etc)

So, recently I moved the automation part of the app into a Windows Service, which uses .Net remoting to call methods in the front-end client, to pass on the information found

This took a bit of setting up (must use a specific Windows User account etc) but it essentially works fine, except for some reason I get a "There is not enough storage space available..." message on attempting to create the twelth instance of the InternetExplorer object (had 18 instances in the stand-alone Windows app (one per thread/site))

Have I hit some sort of hard wired limit or is there a registry setting or something that I can change

I had expected the IE objects of the service would use the "Temporary Internet Files" area of the Windows User account I had created, but it actually uses the "windows\system32\config\sytemprofile" area.

I know some settings are used from the Windows User account because initialy every time the click method of a link was called I heard the Windows XP Start.wav sound, until I set the Windows Explorer, Start Navigation sound to "(none)" for the new Windows account

Any thoughts much appreciated

Nov 16 '05 #1
0 1261

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

12
by: SunshineGirl | last post by:
I'm trying to receive events from a running instance of Internet Explorer. So far I've only been able to receive events from an instance I launch from code, but I need to receive events from all...
1
by: Richard | last post by:
All, I am writing an Outlook 2000 Add-In .DLL program. I have applied the necessary knowledge base fixes to enable event handling in Outlook 2000 and everything is working except for one...
0
by: DanielBH | last post by:
I am using multiple instances of the SHDocVw.InternetExplorer object, in a standard Windows forms c# app, to repeatedly check a specific set of Web sites for information The only problem is, not...
0
by: Shamil Salakhetdinov | last post by:
Hi All, Have anybody seen somewhere techniques like the one described here: Automating Windows Applications http://www.thecodeproject.com/com/automatingwindowsapps.asp but for managed...
22
by: Howard Kaikow | last post by:
There's a significant problem in automating Excel from VB .NET. Reminds me of a problem I encountered almost 3 years ago that was caused by the Norton Auntie Virus Office plug-in. Can anybody...
2
by: Alan Pretre | last post by:
I have a .NET windows service that automates IE through interop to shdocvw. Everything works great as long as I only try to do one task at a time. However, this is a multithreaded service where...
4
by: cj | last post by:
I'm using VB2003 running on Windows 2000 5.00.2195 Service Pack 4 and Windows XP Pro Version 2002 Service Pack 2 PCs. I understand the Windows API offers a way for the program to reboot the pc...
6
by: =?Utf-8?B?QWRyaWFuIEpvbmVz?= | last post by:
Hi, I need to regularly check an FTP folder for the presence of a file, and if found, run a routine. Given that this is all on our ISP's servers, what is the best way to automate such a...
3
by: sportygeek3 | last post by:
Hi All, I am looking for a way to automate other applications programatically. Is there any C# library that will allow me to do this? i.e. I want to be able to iterate the menu items on...
0
by: =?Utf-8?B?TWFyY2VlcG9v?= | last post by:
I'm a newbie using Visual Studio and Vb.Net. The vbscript below opens a Windows Explorer Search Window. The Windows Explorer Search Window has fields in which the user can insert: (i) a search...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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...

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.