Hi
I am new to VB. Is it possible to create a service by using VB?. If it is possible, how can I make it? I would appreciate if u guys can give an idea how to create it or any web link to read it.
Cheers
Alex
Printable View
Hi
I am new to VB. Is it possible to create a service by using VB?. If it is possible, how can I make it? I would appreciate if u guys can give an idea how to create it or any web link to read it.
Cheers
Alex
What do you want it to do?
André
I am getting some data in a txt format from users and it will be save in a folder. I am running AT command to process those data every 30 min. What I like to do is...I want to run a service to process the data immediately after a user submit the data.
Cheers
How is your text file posted?
From a program?
André
if im right you can create a service with about any exe, im not sure but i think it might be only in windows 2k though
Ok, you can,
I just wanted some more details, but let me give you some tips:
First, you want to check a folder for a text file.
You just make an exe that Dirs the folder every minute with a timer. If there is a file you launch your actions for that file. If ther is nothing your exe waits a minute and tries again. (of course it could be every second if you want).
Once you have the exe you go to settings and open Scheduled tasks, from there you choose new task and point to your exe and when you want it to run. Perhaps here, every time you logon, because the exe will run continuosly.
I hope this helps,
Good luck,
André
PS. If you can't find the scheduled Tasks icon might be because the service is not started. You must then goto services and start it!!!