Lock Program For Use Only 30 Days?
Dec 15, 2009How to lock program.create count number at file or registry,i want to high security.
View 6 RepliesHow to lock program.create count number at file or registry,i want to high security.
View 6 RepliesMy friend's birthday is coming up in 4 days. I am currently out of the country(on the other side of the world),and I want to give her a program for her birthday.
View 5 Replieshow do i get total no of days between two days which might include leap year
right now i'm getting the no of days by using DateDiff function in vb.net. but i reckon it is not precise. cos it is not validating leapyear.
I need this for 2 different changes.ON one form i got a week calendar, the other a month calendar.Was hoping to add 2 buttons previous & next.To scroll back in time x days, or x days forward.And similar for the months, but instead of days months.Can anybody give me a exaple or a method how to get this to work?Figured it could be done with a loop, but not sure anymore.
View 2 RepliesI got two question: 1: How do I get the program to be "size lock?" When you have folder - you can drag it bigger or smaller, and I want the program to be inn the same size, and so it isn't possible to make it bigger.
2: When you have an important countdown on your computer - you need to see it all the time. I need the countdown to alltid stay in-front of others things like internet and games. How to do that?
So far, i get know the way to lock and unlock file.. but in my project, i want to lock and unlock the *.exe program.
View 4 RepliesIs there code in visual basic 2008 where i can set my program to expire every 30 days ?
View 4 RepliesIs there code in visual basic 2008 where i can set my program to expire every 30 days ?
View 8 RepliesI'm working on this program to delete .tmp files that are older then 5 days. The only problem that im running into is if there are no files older than 5 days to display a messagebox "There are no .tmp files older than 5 days". Im using VB.net, this is that i have so far.
Quote:
Private Sub Button4_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button4.Click
Try
[Code].....
Is there a way to block the mouse/keybord from .NET but System-wide? I tried with [code]...
View 1 Repliesi want to make a program that will lock the computer when the program will run and will ask for a password in order to unlock the computer again.
View 2 RepliesThe function for getting the difference in days between two days is giving me a wrong answer here.What could i be doing wrong??? DateDiff(DateInterval.Day, CDate("28/1/2011"), CDate("31/1/2011"))
View 1 RepliesI just want to inquire if it's possible to create a program that can lock not only the application but the whole system(PC)? What I want is that, if my application wasn't used within a specified time frame, it will automatically olock the whole computer and it can only be unlocked by a password.
View 8 RepliesI want to create a file with name:
CODE:
How do I make it so that if the filename in textbox13 already exists, it just adds a 1, 2, 3, etc... on the end so that the program doesn't lock up?
I am making a program which calculates the cost of (Let's say) Spent Electric Energy for a number of days,defined by the user..I have 2 Date Time Picker and x (The average energy spent in a day) where x must be an integer and it is defined by the user x * (DateTimePicker2.Value - DateTime Picker1.Value) = y (The value to be paid for a number of days)
View 4 RepliesThe local car rental company rents cars for 29.95 per day with unlimited mileage. There is a refueling fee of 12.95; regardless of what the level of fuel is when the car is returned. Write a program that will permit the user to input the customer's first and last names and the number of days that the car was rented. The program should compute the total charge for the car that was rented.
I have to do this:
A. using a standard window
B. Using a WPF window (And I don't even know what that means)
C. Using a console application
Get the current number of usage days, unique usage days, etc in an evaluation license using CryptoLicensing Generator.
View 1 Repliesconvert days to months and days?
Normal 0
false
false
falseEN-US
[Code]...
I have a date in the future e.g. 13/10/2008 I need to subtract the current date (today is the 28/09/2010) minus 7 days, so thats 21/09/2010 minus 13/10/2008, which would equal erm, 720 something ? But the current date won't always be 28/09/2010, obviously. I need the code for this. EDIT: When i said future I mean past :)
View 3 RepliesLets say every 7 days you manually kick off a VB.net program that moves all old files to an archive zipped folder; and you run this same code every 7 days BUT at some point in time you need to go into that zipped folder and delete every file that is 100 days old........What would you suggest I add to the code I have now, that would automatically un-zip the file (I assume I do need to unzip it first) then do the delete of the files that are 100 days old or older? I am thinking I need to set a timmer or somthing to trigger in 100 days from now then reset it once it is triggered; am I on the right track here???
View 8 RepliesThe date is actually a string being read in from a text file in the format
MM/dd/yyyy
how can i add 7 days onto the date?
I try to get how many days there are between two datetimepickers, but get convert error no mater what i do.
View 2 RepliesThis Code allows you too countdown seconds and minutes but im not sure how to add hours or maybe even days to it,[code...]
View 7 RepliesMy calculation is total/no.of days *3
View 3 RepliesI learned how to use DirectCast over the last few days and it's really helped me. However, I have a similar issue, instead of textboxes I am looking at variables that are referenced in the class.To bring you all up to speed, I have four variables, a Boolean that dictates each of the 4 players I have playing my game. [code] I would assume it'd work similar to DirectCast but I am unsure. What I came up with caused errors: [code]
View 14 RepliesI'm getting the following error:
[ArgumentOutOfRangeException: Value to add was out of range.
Parameter name: value]
System.DateTime.Add(Double value, Int32 scale) +7657639
System.DateTime.AddDays (Double value) +19
...
The line from which this error originates has the following code:
expires = Now.AddDays(30)
It occurs irregularly and irreproducibly. The server date/time is correct and set to GMT. I've heard that it could be some curiosity to do with timezones, but that is speculative. It seems that we're some time from the year 10,000 yet, so I can't understand why adding thirty days to the current time could cause this! Culture settings perhaps?
im trying to make a program, basically its a time in time out, i can get the date from my database and its in three columns, the first one is the date work, next is the timein and the other one is the timeout. im trying to convert the timein and timeout into date which are string at first but i having a problem when the timeout is the next day of the actual datework for example one emplyee has datework of 1/1/2009 and he time in at 6:00PM i can convert it to date and it work be datework + " " +timein or 1/1/2009 18:00, but if i add one day to the datework so the time out is correct "1/2/2009 6:00" , it wont work T_T is there a problem in my codes? [code]
View 5 RepliesI am trying to add 7 days to an existing date. [code]...
how to add 7 days to the date. txtErrorSent.Text will be the current date set equal to duedate.
If I know that today is 236th day of the year, how can I get what date is for 236 + 10 = 246th day of the year?
View 3 Repliesi have a textbox that displays date in format,for eg:March,20,2008.Then i need to get total days n march in year 2008.
View 4 Replies