Solved

TWebBrowser not posting forms when run from a service

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…
This is a video describing the growing solar energy use in Utah. This is a topic that greatly interests me and so I decided to produce a video about it.

932 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

14 Experts available now in Live!

Get 1:1 Help Now