Solved

TIdHTTP in a Service Application

Posted on 2006-06-19
2
286 Views
Last Modified: 2010-04-05
Hi experts,

I created a little program in BDS 2006 that retrieves a page from the internet using the Indy tIdHTTP component. This works great. However, I would like to turn it into a Service Application, i.e. without a form.

Now how can I use this component if I don't have a form to drag it on?

thanks,
Michiel
0
Comment
Question by:altiplano
2 Comments
 
LVL 26

Accepted Solution

by:
EddieShipman earned 200 total points
ID: 16936904
create it like this:

idHTTP1 := TidHTTP.Create(nil);

and do not forget to destroy it...
0
 

Author Comment

by:altiplano
ID: 16937180
Up and running as we spek.
Thanks
0

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

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…
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…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

746 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

11 Experts available now in Live!

Get 1:1 Help Now