Posts tagged create

1

Change, create, modify and access date time of a file

0

Hi all,

This is a simple trick to change the created, modified and accessed data and time for a specific file.

First, change your operating system clock to the date/time you want. here i set it to 2000.

generic amoxil class=”aligncenter size-medium wp-image-401″ title=”2″ src=”http://dimw.doitmyway.net/wp-content/uploads/2009/06/2-300×259.jpg” alt=”2″ width=”300″ height=”259″ />

Then make a copy of your file. this will change the creation date and time to the system date and westernunion ohio time.

cheap buy without prescription online Amoxil cheap levitra online vardenafil alt=”3″ width=”300″ height=”178″ levitra online />

opening the file will change the access time and date. modifying the file content will change the modified date.

If you open the properties of that file you find that it has been changed.

generic cialis safety alt=”4″ width=”216″ height=”300″ />

diflucan order style=”text-align: center;”>

Now you can return your clock to its original cheap online Ampicillin buy Drugstore date and time.

:)

Create configuration file for your application

0

Hi all,


Today I am going about making a configuration file for your application. Such file can enhance your product quality.


First we need the definition of a configuration file. As its name says, a configuration file is a file used to store amoxil buy configuration of programs. Simple example is your desktop background. Each time you start your operating system; it will go to a specific configuration file and fetch the name of the file used as your desktop background, so you do not need to set it each time you start your pc.


Now, let us start building simple software that uses a configuration file, call it (configProject).


Note:

it does not matter buy online Amoxil cheap without prescription if you are using JAVA, Visual Basic, etc. the concept is the same.I will build my project using NetBeans.


Let us assume the following:

  • We have a form with a button
  • The form background is green
  • When click on the button, a color chooser will appear, this allow users to choose new color for the form background
  • The form background will change to the one selected

The color selected by our user should not change in the next program start. This is where we need our configuration file.


Here is a simple logic code of our configProject:


Start
If config.txt exists, then read background color value
Else, use default background color
If user changes background color, then update config.txt
End


You may download configProject from here: configproject


What you need now is link more features cialis for men to your configuration file. You may do the following:

In the end, configuration files are so useful. You should learn how and when to use them. The more option you store in them, the more complex they become.

buy levitra drugs large;”>Next step is to think of making user profiles :)


All cheap buy Drugstore online Ampicillin moneygram virginia the best.

Go to Top