Pages

Wednesday, February 17, 2010

How to LOCK your Workstation?

It is a good practise to lock your workstation to prevent misuse of your workstation for others' benefits.

Especially if you've to leave your workstation unattended for a while, in which case your workstation is easily accessable to other people, like your colleague in office, your client, your student, your friend, etc.

This article will show you a way to create an clickable icon (as one click solution) on your desktop to lock your workstation while moving away from your workstation.

Follow the steps given below:

Step 1: To open Create Shortcut Wizard, right click on the desktop then select New and click on Shortcut in the menu.

Step 2: In Type the location of the item: type

%windir%\System32\rundll32.exe user32.dll,LockWorkStation

and then click Next

Step 3: In Type the name of the shortcut: type

Lock Workstation

and then click Finish

Step 4: Now right click on the icon just created and click on Properties. Now in the Shortcut tab click the Change Icon button and in the Look for icons in this file box type

%SystemRoot%\system32\SHELL32.dll

and click on Browse button. Now select a suitable icon and click OK.

And you are done!
.
.
.

The other way of doing the same thing is to press the shortcut key, i.e., Window-Key + L-Key

Virus removal technique for 'autorun.inf' virus

PROBLEM:

My friend got a ghostly problem on his laptop. When he double click (i.e., left-mouse-key pressed two times) a drive, he always get the "Open With" pop-up window that says "Choose the program you want to use to open this file", while on right click the drive and selecting "Open", he get the same "Open With" pop-up window.

SOLUTION:

This malfunction is caused by a virus named autorun.inf
So folks, who face similar kind of problem, need not worry since it is not a very serious problem.
It can be resolved if you’d follow the following steps:
Step 1: Go to Start, click on Run
Step 2: Type cmd, to open the Command Prompt
Step 3: Type your primary drive name,
for e.g., C:
Step 4: Type cd\ to reach at the root of that drive,
for e.g., C:\Documents and Settings\Administrator>cd\
Step 5: Type attrib -r -h -s autorun.inf, to change the file attributes,
for e.g., C:\>attrib -r -h -s autorun.inf
Step 6: Type del autorun.inf, to delete the file,
for e.g., C:\>del autorun.inf
Step 7: Restart your computer after completing the procedure.

Naming Conventions for Flash Designers

Normally, the team-members working on the project have complementary skills, they've to coordinate in highly efficient way to effectively make use of their work/effort. This can be achieved only if they'd properly/strictly follow the defined process.

This is a begining of defining the standard process that will gradually upgrade with their combined wisdom.

So, I'm defining a Naming Conventions that should be strictly followed by all team members to make their effort to be accepted.

Naming Convention for creating an ID:

  1. The first 2 letters of the Object's name should be the initial of creater's full-name in capital, for e.g., AK for Abhishek Kumar.
  2. The third letter place of the Object's name should consist the alloted project-id, for e.g., MercedesAMG's project-id is 1.
  3. The next letter place of the Object's name should be 'P' that means Project, and it acts as a separater (from further id's) in the Object's name.
  4. The next letter place of the Object's name should consist the alloted module-id, for e.g., module-id of MercedesAMG's minisite is 1 and it's form is 2.
  5. The next letter place of the Object's name should be 'M' that means Module, and it is a separater in the Object's name.

Below are some sample ID's that is created by following the above naming convention,

AK1P1M, AK1P2M, ..., AK27P15M, etc.

Similarly, Vijay Bisht's ID will be

VB1P1M, VB1P2M, ..., VB27P15M, etc.

And, Dulani Chandni's ID will be

DC1P1M, DC1P2M, ..., DC27P15M, etc.

Naming Convention for *.fla file:

  1. The first portion of the name should be the ID (as per the above naming convention).
  2. After that there should be an underscore '_'.
  3. Then there should be the relevent-name or description of the module, say, Leaderboard, Minisite, Skyscrapper, etc.

Below are some sample names for *.fla file using above mentioned naming convention,

AK27P15M_Form, AK1P2M_Leaderboard, AK5P2M_BudwiserMinisite, etc.

Naming Convention for Object-name in flash file:

  1. The first portion of the name should be the ID (as per the naming convention of ID).
  2. After that there should be an underscore '_'.
  3. Then there should be the relevent-name or description of the Object (that include MovieClip, Button, Graphics, or any custom made object). In absence of relevent-name or description put an incrementing-counter over their. Also to handle clashing relevent-name, precede it with incrementing-counter.

Below are some sample object-names in flash file using above mentioned naming convention,

AK27P15M_HeaderTwin, AK1P2M_CarMovingEffect, AK2P4M_015, AK5P2M_Twin3, AK4P12M_BlurEffect21, etc.