Solved

TWebBrowser not posting forms when run from a service

Posted on 2004-04-23
3
147 Views
Last Modified: 2010-05-18
I am trying to run the TWebBrowser component from a Windows Service.  The browser fires correctly, but won't let me post any forms (for example, it breaks Google).

If I run the project as an application it runs fine, but it doesn't work as a service (which is what I need).

Has anyone got any ideas?
0
Comment
Question by:mrh30
  • 2
3 Comments
 
LVL 3

Accepted Solution

by:
Kunfufaresi earned 500 total points
ID: 10904723
Hello,

I'm not sure but you could try download embeddewb it is a twebBrowser with much more functionality at

http://www.euromind.com/iedelphi 

it has properties Silent which you could set to true, which would block any dialogs that might apear like javascript errors or i don't know whats..


0
 
LVL 2

Expert Comment

by:PatrickMMartin
ID: 10907403
MS already have come up an HTTP COM object designed specifically from this.

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winhttp/http/winhttp_start_page.asp

Perhaps this is the best approach, as it's designed as a service component.

There are for instance a large number of gotchas about following the http 1.1 rules when making concurrent requests to the same server.

I used some of the other http components and found you could get message boxes popping up just when you didn't want them.

Hope this helps
0
 
LVL 2

Expert Comment

by:PatrickMMartin
ID: 10907408
oops! should read: ...specifically FOR this type of use...
0

Featured Post

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question