473,804 Members | 3,460 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.Interne tExplorer 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 InternetExplore r 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\system 32\config\sytem profile" 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 1280

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

Similar topics

12
19619
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 running instances of Internet Explorer (I mean those that the user launches himself). I know this is possible because I did it three months ago. Unfortunately, I can't find the code. I've already looked at all the Microsoft articles on automating...
1
2154
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 thing: When I make changes to the items in a folder I get the ItemAdd() event and the ItemChange() event but I do not ever get the ItemRemove() event.
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 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...
0
1386
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 WinForms application? Basically what is needed:
22
15360
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 reproduce the behavior described below? For this example, I am using Excel 2002 and VS .NET 2002 and VB 6. MSFT KB article 304661 gives a trivial example of early and late binding to Excel from VB .NET. Note that there is a variable naming...
2
1260
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 each thread wants to go to different websites to do some work, and I find that my multiple instances of shdocvw.InternetExplorer step over each other. So I conclude that there really is only one instance of IE under the hood that they are...
4
1057
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 w/o asking me any questions. Just shut it down and restart it. Can someone tell me how to do this? Thanks.
6
1415
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 routine in ASP.NET? The end target of the routine is likely to be a MySQL database. If we were using SQL Server, I assume I could use DTS to trigger the process, but I'm
3
2525
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 another application and send a mouse click to each one. Thanks,
0
2642
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 String Filter, and (ii) a search path String. 1. I can't figure out how to convert the vbscript so that it runs as a Visual Basic standalone .exe file. I'd appreciate any help re what code to use, and re which references are needed. 2. I'd like...
0
9705
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9576
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10567
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10323
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
7613
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6847
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5515
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5647
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3809
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.