-
Add a global variable: d as string
Run the program at the beginning:
d = date
shell "cmd /c date 2008-05-05" 'Modify the system time.
Run before the end of the program:
shell "cmd /c date " & d 'Restore system time.
-
Similar to the idea I did before, the time to read the company's server is refreshed every second.
-
What do you need to record for this check-in, and where do you record it?
-
The easiest way to do this is to use the system date:
private sub form_loadif date>datevalue(md) then msgbox "The beta period has passed",48:end
end sub
where md is your specified date, e.g. md="2011-12-31"
The biggest bug with this method is that the program will continue to run after the system date is modified.
-
Open it and make sure that if the current date is not equal to the date you requested, then exit sub will do.
-
Check the current time in the program startup function, and if it expires, it will be sent directly
-
Is this date written in the program, or is it required to be flexible?
If you need flexible control, you can write the expiration time to a file (e.g. ini), and then encrypt it when you write it, otherwise others can change the time at will.
If it's dead, it's easier, in the main() of the program at the beginning to directly determine whether the current time is less than the specified time, if the condition is not true, directly end
I won't write about this, this should be easy.
-
Here's an idea.
First, change the system time before modifying the file Hehe, did it suddenly dawn on me, the time was changed to the modification time of your previous file.
Second, change the time back after the modification, because you use VB, so you basically don't need to add the time difference. Directly in the program, change it to the time before the change.
Or, you write down the time when the original file was modified, then use vb to adjust the system time, adjust it to the time you wrote down, modify the file, and then call back the time. Hehe.
-
Method: Click "Project" - "Project Properties" - "Generate" - modify the version number and number of modifications.
In the production exe file, click Properties Modify.
-
What does it mean to always copy things with VB?
-
VB couldn't be easier to change the system time.
One ** can be realized.
datedatevalue("The date you want to amend"Note that the date entered is formatted.
Let's say you want to change it to August 8, 8888.
It's date
datevalue("8888-8-8"Do not write a date
datevalue("August 8, 8888")
-
When installing the freezing point, use the command to slow down the installation of the mu line, with the number of tan wheels to disturb the forest. For example, install allowtimechange pwd=123 freeze=c:,d:,e:
-
VBP file, that is, engineering file. Don't tell me that there are only exe files, no source**.
-
Are you sure you debug the bug? First debug to see if there are any errors and then generate one to see if you have to remove it into Mr. exe.
-
Generally, you open a project file.
The simple procedure is to open the bas directly
-
ping -n here to write the time "nul".
For example: ping -n 10>nul
Meaning: Execute the following ** after an interval of 10 seconds.
If we want to formulate a system that can be used in production, we can take the way of small rules and regulations and large systems, that is, we can sort out one or two small rules and regulations promulgated on a daily basis every six months or a year. >>>More
If I want to change the system time of the computer accurately, I can remove the option of the computer system time follows the time of the web page. Here's how to do it, you can tap the time in the bottom right corner of the screen. After double-clicking, an option will appear, whether to follow the network time or not. >>>More
You can jump, for example, if there are leaves on a tree in front of you, you can take a run-up and then hook the leaves with your hands (it's very effective, that's how I made it).
Yuntong 105 (Zhongyuan Hotel - Beijing University of Finance). >>>More
After reading the previous question, I simply didn't verify whether the method I copied was right or wrong! Just send it over! Now to give you a real way to operate! 100% success! >>>More