Topic: Autorun
How to Autorun this software after every hour or my given time limit...
My Visual Database → General → Autorun
How to Autorun this software after every hour or my given time limit...
You should use Windows Task Scheduler for this.
by using scheduler every one can check and remove..
I'm not an expert on the task scheduler, but I think you can hide schedules. You may need to read up on the security features.
Otherwise, I'm not sure what you can do. To my knowledge, MVD is not going to be able to do it within itself.
I think dmitiry can do this. because he is a genius..
Please describe in more details, why you need autorun every hour? Maybe will be easy when your application do something every hour (using timer) without having to run the application.
thanks for response..
i need a script that run my mvd software after every hour... is this possible???
because i want to develop a software that run automatically and check my given condition.. if condition is false then stop some services... else do nothing...
Software can't run automatically (without task scheduler), but you can make another software which will run your software every hour.
But as I said will be easy when your application start when starts Windows and do something every hour automatically using timer. Is it problem for you if your application will be sitting in the memory constantly?
okay.. how to do this.. please give an example.. thanks..
and what about Mac Adddress to Number...
another question..
is this possible that software run with windows but do not show to user. i mean software start like a windows service
another question..
is this possible that software run with windows but do not show to user. i mean software start like a windows service
const
EveryMin = 180; // period in minutes
var
Timer: TTimer;
Mins: integer;
procedure DoIt;
begin
// your script here
end;
procedure Form1_OnShow (Sender: TObject; Action: string);
begin
Mins := 0;
Timer := TTimer.Create(nil);
Timer.Interval := 1;
Timer.Enabled := True;
Timer.OnTimer := @OnTimer;
end;
procedure Form1_OnClose (Sender: TObject; Action: string);
begin
Timer.Free;
end;
procedure OnTimer(Sender: TObject);
begin
// hide main form
if Timer.Interval=1 then
begin
Form1.Hide;
Timer.Interval := 60000;
Exit;
end;
// do something every 'EveryMin' minutes
if Mins >= EveryMin then
begin
DoIt;
Mins := 0;
end;
Inc(Mins);
end;
thanks Dmitiry....
sorry I was out of city.. i'll check it soon... thanks again
Please upload a sample.
My Visual Database → General → Autorun
Powered by PunBB, supported by Informer Technologies, Inc.
Theme Hydrogen by Kushi