Solved

TWebBrowser not posting forms when run from a service

Posted on 2004-04-23
3
149 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
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…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

763 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