Friday, January 29, 2010

Spyware or Antivirus Protect 2009 / sysguard.exe Infection

Most of the people browse the internet every day and some sites are reliable and some or not. Eventhough we browse good sites, some sites as 3rd party Ads which install some crap/malware in our computer and says some infection or virus were found in our computer. It asks you to purchase the software to clean up the crap/malware. So many times it happened to my wife computer and good thing is i always take image of her PC so that when ever it infected with virus, i reimage back.
Monday, January 25, 2010

SQL Queries

TABLES:

1) Table name - programmer

name not null varchar2(8) name
dob not null date date of birth
doj not null date date of joining
sex not null varchar2(1) male or female
prof1 varchar2(8) known language 1
prof2 varchar2(8) known language 2
salary not null number(4) salary
Thursday, January 21, 2010

Singleton Pattern (Creational)

AIM:
Restrict instantiation of a class to one object and provide a global point of access to the object.
Class Diagram:


How to Increase the maximum size of list templates?

Problem / Issue:
Saving a list as template is an easy way of transferring data from one place to another in SharePoint. By default, however the maximum size of list templates in  WSS3.0 and MOSS 2007 is 10 MB.

If you try to save the list as template that is larger than this you will get the follwoing error.
The list is too large to save as a template. The size of a template cannot exceed 10485760 bytes.

How to print multi line text in InfoPath

Problem: If a multi line text box is used in an InfoPath form and in default print view only prints the text visible in the scroll box, not all the text contained within the field. So how do you make a print view so that all the text is printable?
Wednesday, January 20, 2010

Understanding Design Patterns

What is Design Pattern and why it is so important?

Before explaining what design pattern is, we will look into why we need to learn design patterns. As a software or application developer, we do write a lot of code every day to deliver the software/application. Most of the people write the code in different ways; someone writes all logic into one single file and someone separates that code into multiple files.