473,498 Members | 1,074 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

system control program

3 New Member
Hi all the programmers, codechalie having a problem overe here am writing a program that can contol a pc according to the specified time but am failing to figure out the trick on how to analyse the time systematically any idea i will be grateful.
thanks
Jan 25 '08 #1
9 1357
codechalie
3 New Member
Hi all the programmers, codechalie having a problem overe here am writing a program in vb6 that can contol a pc according to the specified time but am failing to figure out the trick on how to analyse the time systematically any idea i will be grateful.
thanks
Jan 25 '08 #2
MindBender77
234 New Member
Hi all the programmers, codechalie having a problem overe here am writing a program in vb6 that can contol a pc according to the specified time but am failing to figure out the trick on how to analyse the time systematically any idea i will be grateful.
thanks
Have you tried something like:
Expand|Select|Wrap|Line Numbers
  1. My.Computer.Clock.LocalTime
  2.  
Hope this Helps,
JS
Jan 25 '08 #3
VACEPROGRAMER
168 New Member
Yes that code is useful and I have use.

/* Have a nice day */

Vace
Jan 25 '08 #4
Killer42
8,435 Recognized Expert Expert
codechalie, what do you mean precisely by "analyse the time systematically"?

MindBender77 and VACEPROGRAMMER, that's not VB6 code.
Jan 27 '08 #5
daniel aristidou
491 Contributor
contol a pc according to the specified time but am failing to figure out the trick on how to analyse the time systematically any idea i will be grateful.
thanks
What do you mean by systematically.......
Why dont you use a timer.....
Depending on how accurate you want the command to be executed
adjust the timer....... and format now Accordingly...
Expand|Select|Wrap|Line Numbers
  1.  Private Sub Timer_Tick 
  2. if Now = "Specified time" then
  3. End if
  4. End sub
  5.  
Jan 28 '08 #6
Killer42
8,435 Recognized Expert Expert
This thread has been posted twice, so I'm going to merge the two.
Jan 29 '08 #7
VACEPROGRAMER
168 New Member
Ok I know. Its VB 2003 code
Vace
Jan 30 '08 #8
WinblowsME
58 New Member
Hi all the programmers, codechalie having a problem overe here am writing a program that can contol a pc according to the specified time but am failing to figure out the trick on how to analyse the time systematically any idea i will be grateful.
thanks
Is this automation of some sort? If so, why not use the Task Scheduler to run your program?

Start -> Settings -> Control Panel -> Schedule Tasks
Jan 30 '08 #9
hackman
3 New Member
Is this automation of some sort? If so, why not use the Task Scheduler to run your program?

Start -> Settings -> Control Panel -> Schedule Tasks

When i run what i will do with this program!!!!!



HACKER OF RUSSIA
Apr 22 '08 #10

Sign in to post your reply or Sign up for a free account.

Similar topics

2
1029
by: Jenny | last post by:
Hi, I'm writing a GUI interface for a program that executes from the command line in Unix. I've used system("command..") to do it, and it all works fine. However, the problem is that the ideal...
1
324
by: december_beauty | last post by:
I am writing a program which a) accepts a command as a string b) breaks the string into separate arguements Eg: string : ls -l argv=ls arg=-l When I read the string using gets, it works fine....
0
3226
by: BeeFirst | last post by:
hi, i meet a problem when i try to develop an application with an ocx in c#. the same ocx works well in vc,but not in c#,the Microsoft .NET common language runtime throw a...
4
2645
by: DOTNET | last post by:
Hi, Anybody help me regarding this error: I am assigning the values to the session variables when the button is clicked and passing these session variables to the next page and when I am...
4
4463
by: Roger Aikin | last post by:
I've converted a VB6 project to VB.Net 2005. (Actually using vstudio pro 2005). I'm on a machine that also has VB6 and Vstudio.net 2003 on it. The project uses Word, Excel, MapPoint and SqlClient...
0
2195
by: Gursharan | last post by:
Hi, I get this error after I did a load test on my website (500 constant user load in team system for 35 minutes). This error is logged after about 1 minute of load testing and is logged every...
8
596
by: BVS | last post by:
I am moving from c++ to c# and I have been converting code to c# I have not been able to convert the following code: SYSTEM_INFO siSysInfo; GetSystemInfo(&siSysInfo); SystemID =...
1
714
by: qilin | last post by:
I have perl program which use system() to call another c program meanwhile the c program also use system() to execute a linux command line ....but not sure why it doesn't work. yes, the perl...
12
3449
by: tom_kuehnert | last post by:
Hi! I'm trying to execute a program using system(). The program itself is located in some path which might contain whitespaces. Simple solution would be this: system("\"C:\A B\C.exe\""); ...
0
7124
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7163
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7200
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
7375
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
4586
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3090
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3078
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
651
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
287
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.