473,587 Members | 2,501 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to avoid changing the time/system time?

180 New Member
I have a form that shows the current time, My problem is when users change the system time and it will update the time in the program. Is there any idea on how to avoid users change the system time? or even they can change the system file, i want the program time will not be affected.
Dec 14 '10 #1
2 2332
Mr Key
132 New Member
My friend, the time in your program is a regional settings, I dont think if you can manage to have a time of your own.
If you want to disable the form after sometime, try to record the time changes and compare with previous time and date or Count howmany times should the form be opened before disabled
Dec 14 '10 #2
eneyardi
180 New Member
Thanks a lot
Dec 15 '10 #3

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

Similar topics

7
4641
by: Valiz | last post by:
Hi, I am updating system time with IRIG time source which sends irregular pulses as shown below 11000011111100111111111111111111....(1-IRIG present and 0-IRIG not present) I need to update system time when I find a steady pulse or a series of 1's say for a span of 10-15 seconds. Is there a way to implement this in VB6? Thanks in advance....
1
9855
by: thomasamillergoogle | last post by:
Hello, My sql server 2000 database is on a shared server that I have absolutely no control over. When i run query select getdate() it is reporting the wrong time! I am pretty sure that the sql admin changed the date on the server last night and now this is happening. Is this possible. Shouldn't getdate() ALWAYS report back the date time
3
2517
by: Russell Warren | last post by:
Does anyone know how long it takes for time.clock() to roll over under win32? I'm aware that it uses QueryPerformanceCounter under win32... when I've used this in the past (other languages) it is a great high-res 64-bit performance counter that doesn't roll-over for many (many) years, but I'm worried about how many bits Python uses for it...
4
16369
by: Mike Kearl | last post by:
I want to set the local Date Time of the xp systems in my organization using C# and a winform application. From what I have read this is not an easy task anymore. You have to obtain privlege and then set it from there. Does anyone have a good C# example on how to do this? I want to sync my local system to the time of my sql server. I...
0
1076
by: Ably+ | last post by:
Hi, I have use following code in order to avoid system changes by user: void OnTimeChanged(object sender, EventArgs e) { // Time has changed string message = MyMessages.GetString("TimeChng"); MessageBox.Show(message); this.Close();
2
5345
by: Kueishiong Tu | last post by:
How do I get system time in VC++ in the .net development environment?
28
17669
by: Nina | last post by:
I need to generate unique id for my application. Use system time to create id, which is the best fit, but I don't know how to do it. Please help. Thanks in advance for any input.
2
1494
by: bh | last post by:
Changing a Date Time Value I have a form with a date time picker or it and a button. When the button is pressed it passes the date/time into a stored procedure that queries an SQL database. Because the date time format is different I am receiving an error. I want the date format to be “dd-MMM-YYYY HH:MM:SS” e.g. “31-Dec-2006...
2
5083
by: Mike | last post by:
I know, it is old question. Is there some new way to protect system time changes with C# 2.0? What is the best way based on your oppinion? Thanks, I appreciate your help. Mike
2
1726
vdraceil
by: vdraceil | last post by:
Is it possible to find whether the current system date is changed or not with VB6.0 code?All i want to do is to prohibit the user from changing the system time.How can i do that?
0
7920
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, well explore What is ONU, What Is Router, ONU & Routers main...
0
7849
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
1
7973
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
8220
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
1
5718
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupr who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5394
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3879
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2358
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1454
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.