|
-
Nov 26th, 2000, 03:53 PM
#1
Thread Starter
New Member
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
-
Nov 28th, 2000, 05:02 AM
#2
Addicted Member
What do you want it to do?
André
-
Nov 29th, 2000, 03:12 PM
#3
Thread Starter
New Member
re: How to create a NT service?
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
-
Nov 30th, 2000, 03:14 AM
#4
Addicted Member
How is your text file posted?
From a program?
André
-
Dec 3rd, 2000, 01:49 AM
#5
Addicted Member
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
*Rudy^
Visual Studio 6 Ent. SP5
Windows 2000 SP4
Windows XP SP1a
-
Dec 4th, 2000, 03:34 AM
#6
Addicted Member
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!!!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|