Arsip: Background Application

more 16 years ago
yosstefano
Ada yang punya trik bagaimana menkonfigurasi project untuk membuat aplikasi yang berupa background process tanpa tampilan? saya sudah coba pakai service atau service application tetapi hasilnya sesudah create langsung destroy kembali.. thanks sebelumnya..

more 16 years ago
p2bf
Coba deh kamu buat form processnya terus tambahin source ini di project nya
program project1;
uses
Forms,
Unit1 in 'Unit1.pas' {Form1},
unSplash in 'unSplash.pas' {Form8};
{$R *.RES}
begin
Form8:=Tform8.Create(Application);
Form8.Show;
Form8.Update;
While Form8.Timer1.Enabled=true do
Application.ProcessMessages;
Application.Initialize;
Application.Title := 'Net Send...';
Application.CreateForm(TForm1, Form1);
Application.CreateForm(TForm8, Form8);
form8.hide;
Form8.free;
Application.Run;
end.
semoga membantu.....

more 16 years ago
irosyidi
project -> view source
trusprogram Project1;
uses
Forms,
Unit1 in 'Unit1.pas' {Form1};
{$R *.res}
begin
Application.Initialize;
Application.CreateForm(TForm1, Form1);
Application.ShowMainForm:=false;Application.Run; end.

more 16 years ago
pebbie
@yosstefano: Ada yang punya trik bagaimana menkonfigurasi project untuk membuat aplikasi yang berupa background process tanpa tampilan? saya sudah coba pakai service atau service application tetapi hasilnya sesudah create langsung destroy kembali.. thanks sebelumnya..pake service bisa kok, coba aja cek contoh service yang gw bikin di bagian open-source. klo pake service di dalam method execute isinya 'forever loop'

more 16 years ago
tomx
kayaknya cuma 2 baris aja yang perlu ditambah hahahaha
trusprogram Project1;
uses
Forms,
Unit1 in 'Unit1.pas' {Form1};
{$R *.res}
begin
...
...
Application.Title := '';//gak kelihatan waktu crtl+alt+del
Application.ShowMainForm:=false;//biar formnya gak tampil
...
...
Application.Run;
end.
more ...
- Pages:
- 1
reply |
Report Obsolete
Last Articles
Last Topic
- PascalTalk #6: (Podcast) Kuliah IT di luar negeri, susah gak sih?
by LuriDarmawan in Tutorial & Community Project more 2 years ago - PascalTalk #5: UX: Research, Design and Engineer
by LuriDarmawan in Tutorial & Community Project more 2 years ago - PascalTalk #4: Obrolan Ringan Seputar IT
by LuriDarmawan in Tutorial & Community Project more 2 years ago - PascalTalk #2: Membuat Sendiri SMART HOME
by LuriDarmawan in Tutorial & Community Project more 2 years ago - PascalTalk #3: RADically Fast and Easy Mobile Apps Development with Delphi
by LuriDarmawan in Tutorial & Community Project more 2 years ago - PascalTalk #1: Pemanfaatan Artificial Intelligence di Masa Covid-19
by LuriDarmawan in Tutorial & Community Project more 2 years ago - Tempat Latihan Posting
by LuriDarmawan in OOT more 3 years ago - Archive
- Looping lagi...
by idhiel in Hal umum tentang Pascal Indonesia more 10 years ago - [ask] koneksi ke ODBC user Dsn saat runtime dengan ado
by halimanh in FireBird more 10 years ago - Validasi menggunakan data tanggal
by mas_kofa in Hal umum tentang Pascal Indonesia more 10 years ago
Random Topic
- Aplikasi modular
by luckynvic in Enginering more 15 years ago - Tugas Akhir AVR
by putra in Hal umum tentang Pascal Indonesia more 17 years ago - About Databse using TQuery?
by mohawk in MySQL more 17 years ago - Bgm cara baca dta mysql yg terdapat pd komp. lain???-3 tier
by sukuguci in MySQL more 16 years ago - Help buat program internet pakai delphi ?....
by putu_niki in Tip n Trik Pemrograman more 15 years ago - kok ga mau jalan programmnya??
by akudana in Hal umum tentang Pascal Indonesia more 13 years ago - Penulisan Skrip SQL
by delphy in Enginering more 17 years ago - Beberapa pertanyaan terkait proses create form...
by Random in Hal umum tentang Pascal Indonesia more 15 years ago - help: merelasikan tabel
by giblartar in Bedah Kasus more 12 years ago - [?] Dimana Mendefinisikan Variabel di FastReport BeforePrint
by babypigs in Bedah Kasus more 15 years ago