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

SHDocVw.InternetExplorer in windows service problem

H
I've experienced problems running the following code in a windows service. Notice that in a windows application it works just fine as spected

Private TextoUSD As Strin
Friend WithEvents WebUSD As New SHDocVw.InternetExplorer(

Private Sub WebUSD_DocumentComplete(ByVal pDisp As Object, ByRef URL As Object) Handles WebUSD.NavigateComplete2, WebUSD.DocumentComplet
LoggearError("WebUSD_DocumentComplete", -1, "Bien! ahora a insertar los datos"
TextoUSD = WebUSD.Document.documentElement.outerhtml().ToStri n
InsertarDatos(
End Su

Private Sub BuscarCotizacion(
LoggearError("BuscarCotizacion", -123, "Inicio navegaciĆ³n"
'WebUSD.Navigate("http://www.bna.com.ar"
WebUSD.Navigate("about:blank"
LoggearError("BuscarCotizacion", -123, "Esperando document_complete"
End Su

Public Sub LoggearError(ByVal Funcion As String, ByVal NroError As Long, ByVal MensajeError As String, Optional ByVal Descripcion As Object = ""
'Write file log informatio
End Su

Great
I realize where my problem was, while I was asking for help
That's what I call real time help, that discussion group is excelent
Thanks to all

Nov 20 '05 #1
0 1288

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

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: 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: Ryan Clark | last post by:
I'm trying to finish up an ASP.Net application but one requirement has got me stumped. I have a databound listbox that contains my information. The requirement is to open up another instance of...
4
by: Lars-Erik Aabech | last post by:
Hi! I've been walking in extacy since reading the article about test automation with IE in the latest MSDN mag. (http://msdn.microsoft.com/msdnmag/issues/05/10/TestRun/default.aspx) After a...
7
by: Mark | last post by:
I am trying to take a working VB.NET program (the SHOW HTML program from the Halvorson book) and pass in parameter values which are used to build the URL that IE looks up. The original program...
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...
4
by: Dick Sutton | last post by:
I am so close, yet oh so far! Here's the problem: I want to load a string variable that contains HTML into an instance of SHDocVw.InternetExplorer. Here's what I have so far: Function...
3
by: David | last post by:
I would like to use a AxSHDocVw.WebBroswer control in a Windows service- is this possible without creating a form? I added the reference I usually use to add this object in a Windows Application...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
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: 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: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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
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...

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.