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

shdocvw - out of memory exception

Hi,

I developed a windows service using VS 2008 C# .Net 2.0, and am using Internet explroer 6.0. I am making use of shdocvw.dll to get the address strings of opened internet explorer windows. It works absolutely fine in debug mode, but throws out of memory error in the event log after installing and trying to start the service and the service fails.

Event Type: Error
Event Source: .NET Runtime 2.0 Error Reporting
Description:
EventType clr20r3, P1 millcomms_service.exe, P2 1.0.0.0, P3 4ad41c2e, P4 millcomms_service, P5 1.0.0.0, P6 4ad41c2e, P7 9, P8 7, P9 system.outofmemoryexception, P10 NIL.

The previous posts did not help much, I hope some one can fix this problem, what would be the remedy? please help me. Thanks in advance.
Oct 13 '09 #1
2 2917
Plater
7,872 Expert 4TB
Find out where your memory leak is, and correct it.
Oct 15 '09 #2
I avoided using Shdocvw.dll and managed to use main title of internet explorer window, that did my job. Thanks.
Oct 20 '09 #3

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

Similar topics

10
by: Hautzendorfer | last post by:
Hello, I'm currently working on some printing stuff: I have to print out several .xml files using a stylesheet. Therefor I choose the Internetexplorer PlugIn via SHDocVW. My problem: After...
3
by: Wiktor Zychla | last post by:
I have a problem I cannot solve. My application hosts IE activex control. I follow the standard procedure: I just aximp shdocvw.dll. Note that this gives you two files: axshdocvw.dll and...
3
by: Tom | last post by:
Hi, I wrote the following code in a c# winform. InternetExplorer ie = new InternetExplorer(); ie.Navigate(url, ref o, ref o, ref o, ref o); The url can be passed to the IE. However, how...
2
by: Or Lavy | last post by:
Hi there, As mentioned in message "aximp of shdocvw.dll -> problem with ShellExecute" posted before, aximp creates two files: AxSHDocVW.dll SHDocVW.dll The second has the same name as the...
2
by: shonend | last post by:
**** sorry about the length of the message. If you can't read the whole thing and still willing to help, read the last 2 paragraphs where the main problem is described. The introduction story is...
0
by: SLE | last post by:
Hi there, The following code does not work from a .NET service: Private Sub EnumIEWindows() Dim sw As SHDocVw.ShellWindows Dim ie As InternetExplorer Try sw = New SHDocVw.ShellWindows
3
by: Jay A. Moritz | last post by:
I have an application that loads IE and iterates through web pages to retrieve information from the page then activates specific controls to retrieve the next page and iterate through that page for...
0
by: raghavendra2007 | last post by:
Hi, I am developing a screen reader application in C#. So, I hooked the system using SetWindowsHookEx Win32 API. Now I need to access the information from Internet Explorer. So, I am using...
6
by: nagar | last post by:
In certain occasions I get an exception when trying to read the shown path for the active explorer window When I instantiate the object SHDocVw.ShellWindows shell = new ShellWindowsClass(); ...
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: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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...
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,...

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.