Solved

TWebBrowser not posting forms when run from a service

Posted on 2004-04-23
3
145 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
Comment Utility
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
Comment Utility
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
Comment Utility
oops! should read: ...specifically FOR this type of use...
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

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…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

772 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now