473,503 Members | 4,272 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1265

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

Similar topics

12
19559
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
2142
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
309
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
1370
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
15312
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
1241
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
1043
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
1401
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
2514
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
2627
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
7316
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
6976
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
7449
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
4993
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
4666
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3160
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
3148
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1495
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
372
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.