Monday, May 13, 2013

AutoSend the mail from excelsheet


Create a Action Button and copy paste following Lotus Script.
When you click on action button it will open excel file.. add following columns and once your are done click "OK" Prompt button...

This is select individual rows and send mail.

Columns 1: To
Columns 2: Subject
Columns 3: Body Content

Programming Code:


Sub Click(Source As Button)
on error goto ErrorHandling

Dim session As New NotesSession
Dim db As NotesDatabase
Dim doc As NotesDocument
Dim richStyle As NotesRichTextStyle
Dim color As NotesColorObject

Dim xlApp As Variant
Dim xlsheet As Variant
Dim ARangeValue As Variant

Dim I As Integer
Dim c As Integer 
Dim j As Integer
Dim answer As Integer

Set db = session.CurrentDatabase
Set doc = New NotesDocument( db )
Set richStyle = session.CreateRichTextStyle
Set color = session.CreateColorObject
color.NotesColor = 240

Set xlApp = CreateObject("Excel.Application")
xlApp.Visible = True
xlApp.Workbooks.add

Set xlsheet = xlApp.Workbooks(1).Worksheets(1)
xlsheet.Activate

Messagebox " Copy the data in the excelsheet, Once you click 'OK' mail will sent to the respected users."


c=65
While Not xlsheet.Range(Chr(c) & "1").Value = ""
i=2

doc.Form = "Memo"
doc.SendTo = xlsheet.Range("A" & Trim(Str(i + 1))).Value
doc.Subject = xlsheet.Range("B" & Trim(Str(i + 1))).Value

Dim richText As New NotesRichTextItem(doc, "Body")

Call richText.AddNewline(1)

richStyle.Bold = True
richStyle.NotesColor = COLOR_BLUE
richStyle.FontSize = 18

Call richText.AppendStyle(richStyle)
Call richText.AppendText("Title with Tex Style")

richStyle.Bold = False
richStyle.FontSize = 10
richStyle.NotesColor = COLOR_BLACK

Call richText.AppendStyle(richStyle)
Call richText.AddNewline(2)
Call richText.AppendText("Body Contents for the mail....")
Call doc.Save(True, False)
Call doc.Send( False ) 

i = i + 1
Wend

Messagebox "Auto Mail send Process is Complited"

Exit Sub
ErrorHandling:
Messagebox  Error

End Sub 


Monday, April 15, 2013

Windows 7 Cool Feature – Problem Steps Recorder (PSR)


It seems that Microsoft is coming up with something nice interesting tools in Windows 7. We are talking about feature that is called “Problem Steps Recorder”.

Problem Steps Recorder can be used to automatically capture the steps performed by a user on a computer, including a text description of where they clicked and a picture of the screen during each click. This capture is then automatically saved to a file that can be used by a support professional to help the user troubleshoot the issue or understand what steps were taken by the user.


To Start the Problem Steps Recorder : In the tradition of all of Microsoft’s handiest utilities, the Problem Steps Recorder isn’t plainly visible in the Start menu. To run it, you’ll need to open the Run dialogue box by hitting Win + R, and then typing psr.exe (below, top). In a pinch, you can also search for PSR at the bottom of the Start menu.



In any case, PSR is more than just a screenshot capturing tool. Besides automating the capturing of what’s going on the screen, it will also highlight the user’s mouse clicks, and, most importantly, will provide a detailed textual metadata with a description of what the user is doing.

Saturday, March 30, 2013

Auto Complete mail address Outlook


In case of move to new PC/Laptop, if you want to move your Auto Complete mail address from Outlook then you just need to do following.

Locate the .nk2 file is C:\Users\[User Profile]\AppData\Roaming\Microsoft\Outlook 

Copy where your new outlook is configured at the same location mention above. and your have done. 

Load your outlook and see Auto Complete is working now !!!

Knowledge Management vs Skill Management

# Knowledge Management Skill Management
1 It Involves capturing the knowledge of employees and sharing it so that it is available for others to use. It only focuses on application of Knowledge to find Solution
2 It's learning technique It's a Problem Solving Technique
3 It starts from individual and ends in sharing. It starts with sharing and ends up in individuals ability
4 Knowledge Management uses experience gained out of failures and also success. Skill is strongly measured based on only success of solving problems.
5 Knowledge is an intellectual property. Skill is one of the means of producing intellectual property.
6 Knowledge is relative. Skill is individualistic.
7 Knowledge is implicit. Skill is explicit.
8 It's a measure of the VALUE of the Organization. It's the measure of the ABILITY of the Organization.

In brief, Knowledge Management is learning and Skill Management is applying what has been learnt. Such application of skill may result in improvement over earlier learning and thus knowledge but not necessarily improvement of skill. Thus Knowledge is dynamic.

Saturday, February 23, 2013

Error: 'This database has local access protection...' when trying to open local replica



Question
You have appropriate access control list (ACL) rights but receive the following error message when attempting to open a local replica of a Lotus Notes database:
"The database has local access protection and you are not authorized to access it locally."
Cause
This situation occurs in cases in which a user other than you originally created the local replica.
Answer
There is a default security setting that encrypts local replicas in Notes releases (File menu --> Security --> User Security --> Notes Data --> Databases). However, instead of using the default option ("Locally encrypt using.."), you can create local replicas that are not encrypted from the File menu, by choosing Security --> User Security --> Notes Data --> Databases --> select "Do not locally encrypt" --> click OK.
IMPORTANT NOTE: This setting only controls what happens by default when you create new databases. If there is an existing database you must access, it must be decrypted by the ID of the user who encrypted it. This is a two step process. First, you must turn off encryption for the database and then you must compact it.
Instructions:
It is not possible to decrypt the database except with the ID that encrypted it because providing this ability would defeat the purpose of high-security encryption.
Switch to the ID of the user who encrypted the database.
If you have Domino Administrator installed:
a) Switch the Administrator to "Local server".
b) Find the database in the Files list.
c) Right-click and select Properties.
d) On the first tab of the Properties dialog box, click Encryption Settings --> select "Do not locally encrypt..." --> click OK.
e) Right-click the database in the Files list and click Compact. 
f) Accept the default options and click OK.

If Domino Administrator is not available or if you prefer to use Notes:

a) Copy the database to the Notes\Data directory.
b) Open Notes and login with the user ID and password for that database.
c) Open the database in Notes (File menu --> Open --> Application --> Browse). You may also want to change the Default access in the ACL at this time (File menu --> Application --> Access Control --> Default --> set Access to Manager).
d) Open the database's Database Properties dialog box (File menu --> Application --> Properties).
e) On the first tab, click Encryption Settings --> select "Do not locally encrypt..." --> click OK. 
f) Close Notes.
g) Run the Compact task locally in Notes from a command prompt. 
Example:
"c:\lotus\notes\ncompact -c c:\lotus\notes\data\xxxx.nsf"

You should now be able to open the database with any user.
In either case, you must close all windows in the database to let compaction proceed. If the database was opened in Domino Designer, you must close Designer itself, not just all windows in Designer.

Friday, December 21, 2012

Ergonomics



























1. What is Ergonomics?
1.1 Ergonomics is the study of Human Factors Engineering
The term is derived from the Greek: Argo = labor and Nomos = law
Ergonomics is the study of the influence of the environment on productivity in the workplace; the evaluation and improvement of the interface between the individual and their work environment by correlating work conditions, instrumentation and tasks with the natural functioning of the individual in relation to their physical, mental and physiological fitness, so as to improve their convenience, health and efficiency at work.
Ergonomics implements theory, principles, data and the methods for designing the work stations and the environment, developing products, systems, tasks and assignments, so as to assure their compatibility and accessibility to users, in accordance with their capabilities, limitations and needs (compatibility 0f the environment to the individual and not the worker to the workplace).
Frequently, due to the ability of our body to adjust, we tend to fit ourselves to our environment rather than adjust the environment to us. With time, this might lead to accumulating physical trauma that will eventually manifest itself in pain and possible damage to the bones, muscles and nerve system in various places of the human body.
1.2 Accumulated Physical Trauma
Respective strain injury is defined as health disorders related to accumulating bio mechanical strains due to exposure to ergonomic risk factors in the work environment. Respective strain injuries (RSI) are most common at work, for instance: carpal tunnel syndrome: (CTS), a damage potentially caused to the median nerve of the wrist, which might impair the functioning of the hand and cause inflammation of the sinew (Tendonitis), muscular, neural and skeletal injury (MSD – Musculoskeletal Disorders) of the lower back, neck, shoulders, etc.
1.3 Risk Factors
These are physical risk factors such as improper posture at work, mechanical pressure, the extent of repetitiveness in motion, lack of movement and environmental risk factors such as light source, climate or noise. Exposure to these risk factors for an extended period of time may result in accumulating physical injuries.
1.4 Work Station Evaluation
Evaluation or review of the work station using an ergonomic labeling list aids in reducing ergonomic risk factors and potential physical injuries.
2. Ergonomic Principles for Appropriate Working Environments
2.1 Ergonomics in the Office
2.1.1. Sitting in front of the Computer
Adjust the height of the chair according to the height of the work station, ensuring that your hands are: at a 90 degrees angle, between arm and forearm, parallel to the table, and that your shoulders are relaxed and without strain.
Should your legs not reach the floor in this position, add a stool so as to allow a sitting posture in which your legs are supported, for more convenience.
Lean back on the chair in a 105 degrees angle. This will reduce pressure on your back. (Use the chair lever to change the angle of the back rest)
Adjust the height of the back rest of your chair for full support of the lower back (Use the chair lever to change the height of the back rest.)
Adjust the height of the computer screen until its upper edge is on the same level as your eyes. If the screen is low, its height should be adjusted. Another option is to raise the screen.
The optimal distance between your eyes and the screen should be that of the extended arm, i.e., between 60 to 70 cm.
The keyboard and the mouse should be placed side by side, 8 – 10 cm away from the edge of the table, to enable placement of the palms in a straight line with the mouse and the keyboard.
Make sure that your wrist is positioned straightly when typing and that your wrist is not bent.
The forearm should be supported by the table or by the arms of the chair.
Take regular intervals (5 minutes every hour) and perform stretch and relax exercises.

2.1.2. Movements to be avoided so as to prevent accumulated physical trauma
Avoid bending forward for an extended period of time. This might weaken the ligaments in the lower back and consequently cause lower back aches. Make sure you sit according to the ergonomic principles. (Clause 2.1.1).
Avoid extending your arm for too long. This will cause pressure on the arms, shoulders and neck. Make sure the most frequently used accessories are within reaching range, ideally up to 40 cm from your body.
Avoid bending or stretching your neck too much or for an extended period of time, i.e., over 15 degrees upwards or downwards. This might cause pressure on the neck and back. It is recommended that you raise or lower the screen, according to the ergonomic rules.
Avoid blocking the space around your legs with various objects. This might cause an improper sitting posture. See to it that the space around the legs is free for placing of the legs comfortably and vacant space is available for using a stool.
Avoid bending your wrists while typing. Sit properly and position a supporting pad under your wrist, according to the ergonomic principles.
Avoid bending your palm while operating the mouse, by adequate sitting posture: keeping elbows tight to the body and adding a supporting pad to the wrist.
2.1.3. Principles of Proper Sitting
Illustrations of proper and improper sitting positions , Advisable accessibility ranges – working with the computer:


2.2 Ergonomics in the Laboratory
2.2.1. Sitting/Standing
When working at high work surface in the office or laboratory, it is advisable to work both standing and sitting.
When sitting, the height of the back rest of chair should be adjusted to the height of the work surface - elbows parallel to work surface.
The back rest of your chair should support your lower back.
Use a proper laboratory chair with a ring that supports the soles of your feet.
Frequently used accessories are to be positioned up to 40 cm away.
Accessories seldomly used should be positioned 40 – 60 cm away.
Sufficient space is to be left at the feet to enable comfortable sitting posture.
If standing for an extended period of time, one foot should be placed in front of the other. Change this position frequently.
2.2.2. Lifting and carrying
If objects/bottles are placed high above, a stool should be used.
When lifting heavy objects, lower your knees in and place your feet in a stepping position, thus straightening your back while accomplishing the task.
When moving an object, carry it close to the body and, if necessary, use a cart.
2.2.3. Working with pipetors
When using pipetor, lift your arm parallel to your body.
It is advisable not to exert prolonged pressure which might cause extensive pressure on the thumb.
Pipetors should be placed within reasonable range for comfortable accessibility (between 40 – 60 cm).
When using pipetors for small volumes (micro liter) that requires preciseness, it is advisable to lift the Eppendorf test tube and avoid bending the head forward.
Make sure the pipetor is in order and comfortable to use.
Make sure the illumination intensity is comfortable. This will improve the quality of performance.
Take regular intervals during prolonged activity and stretch and relax your wrist.
2.2.4. Movements to be avoided so as to prevent accumulated physical trauma
Avoid standing with your back bent forward for an extended period of time, as this might overstretch ligaments in your back and, consequently, cause back aches.
Avoid repetitive postures that require exaggerated bending or stretching of the wrist.
Avoid postures that require elongated pressure with the hand. This might cause pressure on the synovium and cause pains when moving the thumb. (Strong and quick pressing is advisable.)



For More details:
http://www.weizmann.ac.il/safety/ergonomics.html
http://www.nismat.org/ptcor/ergo


Friday, November 9, 2012

Ten Point Program for happy Family


1. Avoid the next quarrel: Never lose temper at the same time. Don't let the sun set on your quarrels (Never prolong fights if at all started). It is OK to say "I am sorry"

2. Do not expect perfection from your spouse: Marriage is coming together of two imperfect beings. Don't expect wife or husband to like this or that, accept them as they are.

3. Be a Good Listener: Think before speaking, it is a good idea to weigh before you speak. You are master of unspoken words but slave of spoken words. Better than listening from ear is listening through mind (with attention) and better than that is listening from heart.

4. Be a good forgiver: Some people forgive but they keep the memory alive or they forgive conditionally. Forgiveness should be complete and unconditional.

5. Grow in the spirit of humility: Be humble. Egos bring arrogance which divide and separate people.

6. Learn the art of appreciation: We all like to be appreciated. Always appreciate in front of others. Never criticize in a company of friends and relatives, you will get opportunities in privacy.

7. Do not argue: Winning love and friendship is far greater than winning an argument. It is OK to discuss with a open mind. Learn to win love and affection rather than arguments.

8. Develop healthy sense of humor: Learn to laugh and be cheerful. It is a great tonic for healthy living and being accepted by friends. It is important to laugh with others and NOT at others.

9. Always lend a helpful hand: You will win over if you have this attitude of offering a helpful hand with or without asking.

10. Bring GOD back into your home: This is one of the most important one. Have a common time for prayers. It brings families together. Families that pray together stays together.