Oct 28, 2008

Physics - Cyclotron



Purpose: Cyclotron is a device used to accelerate heavy charge particles e.g.protons,deuerons etc.

Principle: It is based on the p
rinciple that a changed particle can be accelerated to very hagh energies by making it pass through a moderate electric field a number of times and applying a strong magnetic field at same time.

Construction: -


1-Strong electromagnet(N&S).

2-Two dees D1&D2 (D shaped hollow semi circular copper chambers called dees).

3-Source of high voltage coupled with adjustable high frequency oscillator.

4-Source of charged ions at the centre of the dees.g. deuterium for protons,helium for a-particles,bombarded with high energy electrons.
The hole assembly is housed in a vaccum chamber which is evacuated to a pressure of about 10-6 mm Hg,to avoid collision of charged particlels with medium gas particles which would result in loss of energy.

Oct 26, 2008

Physics-Moving coil galvanometer



It is an instrument to detect and measure the strength of small electric current.

Principle:--When a current carrying coil is placed in magnetic field,it is experience a torque.

Construction:-It is consists of a coil bound on a non-magnetic field.The coil is suspended between two poles of a permanent magnet which are concave in shape.the coil is suspended by a phosphur bronze strip and this strip is connected to the terminal T1 of the galvanometer and other end of the coil is connected to hair spring which is connected to terminal T2 .A peace of the soft iron is the placed within the frame of the coil.A concave mirror is attached to the suspension to note the deflection of the coil using length and scale arrangement.

Physics - Fleming Left Hand Rule


Fleming Left Hand Rule describes that if took the first three fingers of your hand so that Center Finger point to Current, First Finger point to the direction of Field then Thumb will point the Force.

A simple rule to remember this

Center Finger --> Current Direction
First Finger --> Magnetic Field Direction
Thumb(Most Powerful in hand) --> Force

Oct 17, 2008

Haj Flight Schedule 2008 from Lucknow

Haj flight Schedule for 2008 from Lucknow is from 30Oct to 16 Nov.(From Lucknow to Medinah) and from 14Dec to 30Dec(From Jeddah to Lucknow).

For details for your Flight Information visit to http://hajcommittee.com/index.php?value=flt_inquiry


Aug 22, 2008

iPhone 3G Launch in India with High Price Difference

iPhone is now available in 8GB & 16GB models, priced at Rs 31,000 and Rs 36,100 respectively.

Where can you make this advance payment?
The iPhone 3G will be available at select Vodafone Stores. All you need to do is drop in at any select Vodafone Store between August 20 and 21 and make the advance payment by cash or credit card. Don´t forget to show the iPhone booking SMS, which you would have received from us, when you visit the Vodafone Store to pay the advance. To find a Vodafone Store near you, click here
Get an appointment now. No queues for you.
Once you pay the advance, we will immediately give you an appointment date and time, starting August 22 when you can come and experience a full demonstration and collect your iPhone, all ready to use with your contacts and settings, by paying the balance amount.

You can get the iPhone with Airtel service on same Price.

After seeing this High Price I turn my mind from having one. I am shocked first to see the price. In US it is around 9000 Rs (199USD) with two years service agreement with AT&T. I am wondering why Vodafone and Airtel not mainitaing the same with their TWO years of Service agreements.
I am seeing it totally flop show of iPhone in India. Hope the price will get down soon and Gadget lovers get this cool phone in their budget.


Aug 8, 2008

3g iPhone set to launch on 22 Aug in India

All set to lanuch ipod in india, a news from midday news

"Apple's iPhone, the touch screen handset that acquired a cult status in the US and other western countries, will be available to Indian mobile users through Bharti Airtel at the stroke of midnight on August 21, giving competitors like Nokia, Samsung and others a run for their money.
Millions of Airtel subscribers will be able to purchase the iPhone at Airtel's Relationship Centres from August 22.
"iPhone has been an iconic technological revelation of this year and Airtel has been at the forefront of innovation and customer delight in the Indian telecom sector," Sanjay Kapoor, President, Bharti Airtel mobile services, said.
iPhone is embedded with all 3G features and is twice as fast as the existing mobile phones. The phone also has in-built GPS system, that facilitates as a navigation and positioning tool.
US-based Apple has tied up with Airtel and Vodafone to bring iPhone in the country.
Asked at what price it will be available, Bharti Airtel officials declined to give details."
To read the whole article....
http://www.mid-day.com/news/2008/aug/06082008-iPhone-in-India-from-Aug-22.htm

Jul 14, 2008

Storing and Retirving Data in XML format from sql server

Retrieving and storing data in XML format in Sql Server 2000.

Suppose you have 20 X 20 controls on your page. And want to send all the data to sql server then create xml for it.

Example :

Let there are A,B,C,D,E,F ……….. controls .

Then create xml for it as

Through String builder as

StringBuilder xmlData = new StringBuilder();

xmlData.Append("<Column>");

xmlData.Append("<ColumnVal ");

xmlData.Append(" A=");

xmlData.Append("'0'");

xmlData.Append(" B=");

xmlData.Append("’1’");

xmlData.Append(" C=");

xmlData.Append(" 2=");

xmlData.Append(" D=");

xmlData.Append(" 3=");

xmlData.Append(" E=");

……………………………………………………………………………………

……………………………………………………………………………………..

……………………………………………………………………………………

xmlData.Append("</Column>");

xmlData.Append("</ColumnVal ");

And at last it will created as :

<Column ColumnVal=1 A=’val_A’ B=’val_B’ C=’val_C’ D=’val_D’ E=’val_E’ F=’val_F’………………….></ Column>

<Column ColumnVal=2 A=’val_A’ B=’val_B’ C=’val_C’ D=’val_D’ E=’val_E’ F=’val_F’………………….></ Column>

<Column ColumnVal=3 A=’val_A’ B=’val_B’ C=’val_C’ D=’val_D’ E=’val_E’ F=’val_F’………………….></ Column>

<Column ColumnVal=4 A=’val_A’ B=’val_B’ C=’val_C’ D=’val_D’ E=’val_E’ F=’val_F’………………….></ Column>

………………………….

………………………….

………………………….

<Column ColumnVal=20 A=’val_A’ B=’val_B’ C=’val_C’ D=’val_D’ E=’val_E’ F=’val_F’………………….></ Column>

send this string into DataBase in as xml datatype.

And write query for inserting into datatable.

insert into YourTableName(A,B,C,D,E,F,G,H,…………………………… ColumnVal)

SELECT A,B,C,D,E,F,G,H, ColumnVal FROM OPENXML (@idoc, '/XML/ Column',1)

Retriving data from database.

It will return data in xml format.

CONVERT(xml,(select * from YourTableName where ‘yourcondition’ for xml raw,Elements,ROOT(' Column '))) as ColumnValue

Jul 7, 2008

Clustered Index vs Non Clustered Index

Clustered Index | Non Clustered Index

Indexing is used to get fast retrival of data. The indexing which is done on physical storage is known as Clustered Indexing. And an indexing which is performed logically is know as Non Clustered Indexing.

Clustered Indexing can be only one per table as we phyisically can arrange in one way only, while a table can have 249 Non Clustered Index.

Indexing should be used on table which not very frequently having update operations on it. There are many ways which can be used to get more performance while retrieving data.

Covering Index is --> when you create an index on fields which you are also using in select query, is know as covering index.

For ex suppose
Employee Table
---------------
EmpID int
EmpName
EmpDept
EmpDesing

----------------
If you have a query which only select EmpID and EmpName, then we can create a non clustered index with these two fields only, and it gains our performance while retrieving data.

Jul 1, 2008

Get all the triggers for a Database

To get all the triggers list and their scripts run the script below. View the result in file view mode.

SELECT [text]
FROM sysobjects o
JOIN syscomments c ON o.id = c.id
WHERE xtype = 'TR'

Getting all stored procedures scripts from a Database

By using Cursor
declare @proc_name varchar(100)
declare @str_query nvarchar(MAX)

declare loop_proc cursor
for select [name] from sys.procedures where type='P'
and is_ms_shipped = 0
open loop_proc

FETCH NEXT FROM loop_proc INTO @proc_name
IF @@FETCH_STATUS <> 0

PRINT ' <>'
WHILE @@FETCH_STATUS = 0


BEGIN
SELECT @str_query = 'sp_helptext ' + @proc_name
PRINT @str_query
exec sp_executesql @str_query
FETCH NEXT FROM loop_proc INTO @proc_name
END
CLOSE loop_proc
DEALLOCATE loop_proc

Run these sql statements and view the result in Text mode. You will get all scripts for stored procedures.

From sysobjects
This is better option to get all stroed procedures from a database.

SELECT [text]
FROM
sysobjects o
JOIN syscomments c ON o.id = c.id
WHERE xtype = 'P'

Jun 27, 2008

Abstract Classs vs Virtual Methods

Abstract Class:
Abstract class is a class that has no direct instances, but whose descendants may have direct instances. There are case in which it is useful to define classes for which the programmer never intends to instantiate any objects; because such classes normally are used as bae-classes in inheritance hierarchies, we call such classes abstract classes These classes cannot be used to instantiate objects; because abstract classes are incomplete. Derived classes called concrete classesmust define the missing pieces.

Abstract classes normally contain one or more abstract methods or abstract properties, such methods or properties do not provide implementations, but our derived classes must override inherited abstract methods or properties to enable obejcts ot those derived classes to be instantiated, not to override those methods or properties in derived classes is syntax error, unless the derived class also is an abstract class.

In some cases, abstract classes constitute the top few levels of the hierarchy, for Example abstract class Shape with abstract method Draw() has tow derived abstract classe Shape2D & Shape3D inherites the method Draw() & also do not provide any implementation for it. Now we have normal classes Rectangle, Square & Circle inherites from Shape2D, and another group of classes Sphere, Cylinder & Cube inherites from Shape3D. All classes at the bottom of the hierarchy must override the abstract method Draw().

A class is made abstract by declaring it with Keyword abstract.

Example:
public abstract class Shape
{
//...Class implementation

public abstract void Draw(int x, int y)
{
//this method mustn't be implemented here.
//If we do implement it, the result is a Syntax Error.
}
}
public abstract class Shape2D : Shape
{
//...Class implementation
//...you do not have to implement the the method Draw(int x, int y)
}

public class Cricle : Shape2D
{
//here we should provide an implemetation for Draw(int x, int y)
public override void Draw(int x, int y)
{
//draw the shape
}
}

Difference between an abstract method & virtual method:
Virtual method
has an implementation & provide the derived class with the option of overriding it. Abstract method does not provide an implementation & forces the derived class to override the method.

Important Notes:

(a)Any Class with abstract method or property in it must be declared abstract
(b)Attempting to instantiate an object of an abstract class retults in a compilation error

Example:
Shape m_MyShape = new Shape(); //it is Wrong to that.

But we can do that.
Shape m_MyShape = new Circle(); // True

Or
Shape m_MyShape;
/*

declare refrences only, and the refrences can refer to intances of
any concrete classes derived from abstract class
*/

Circle m_MyCircle = new Circle();
m_MyShape = m_MyCircle; // Also True
(d)An abstract class can have instance data and non-abstract methods -including constructors-.

Polymorphism, Method Hiding and Overriding in C#

Polymorphism

One of the fundamental concepts of object oriented software development is polymorphism. The term polymorphism (from the Greek meaning "having multiple forms") in OO is the characteristic of being able to assign a different meaning or usage to something in different contexts - specifically, to allow a variable to refer to more than one type of object.

C# Example

Let's assume the following simple classes A and B for the discussions in this text. A is the base class, B is derived from A.


Inherited Methods

A method Foo() which is declared in the base class A and not redeclared in classes B or C is inherited in the two subclasses

using System;
namespace Polymorphism
{
class A
{
public void Foo() { Console.WriteLine("A::Foo()"); }
}

class B : A {}

class Test
{
static void Main(string[] args)
{
A a = new A();
a.Foo(); // output --> "A::Foo()"

B b = new B();
b.Foo(); // output --> "A::Foo()"
}
}
}


The method Foo() can be overridden in classes B and C:

using System;
namespace Polymorphism
{
class A
{
public void Foo() { Console.WriteLine("A::Foo()"); }
}

class B : A
{
public void Foo() { Console.WriteLine("B::Foo()"); }
}

class Test
{
static void Main(string[] args)
{
A a;
B b;

a = new A();
b = new B();
a.Foo(); // output --> "A::Foo()"
b.Foo(); // output --> "B::Foo()"

a = new B();
a.Foo(); // output --> "A::Foo()"
}
}
}


There are two problems with this code.

The output is not really what we, expected. The method Foo() is a non-virtual method. C# requires the use of the keyword virtual in order for a method to actually be virtual.

Although the code compiles and runs, the compiler produces a warning:
...\polymorphism.cs(11,15): warning CS0108: The keyword new is required on 'Polymorphism.B.Foo()' because it hides inherited member 'Polymorphism.A.Foo()'

Virtual and Overridden Methods

Only if a method is declared virtual, derived classes can override this method if they are explicitly declared to override the virtual base class method with the override keyword.

using System;
namespace Polymorphism
{
class A
{
public virtual void Foo() { Console.WriteLine("A::Foo()"); }
}

class B : A
{
public override void Foo() { Console.WriteLine("B::Foo()"); }
}

class Test
{
static void Main(string[] args)
{
A a;
B b;

a = new A();
b = new B();
a.Foo(); // output --> "A::Foo()"
b.Foo(); // output --> "B::Foo()"

a = new B();
a.Foo(); // output --> "B::Foo()"
}
}
}

Method Hiding

Why did the compiler in the second listing generate a warning? Because C# not only supports method overriding, but also method hiding. Simply put, if a method is not overriding the derived method, it is hiding it. A hiding method has to be declared using the new keyword. The correct class definition in the second listing is thus:

using System;
namespace Polymorphism
{
class A
{
public void Foo() { Console.WriteLine("A::Foo()"); }
}

class B : A
{
public new void Foo() { Console.WriteLine("B::Foo()"); }
}

class Test
{
static void Main(string[] args)
{
A a;
B b;

a = new A();
b = new B();
a.Foo(); // output --> "A::Foo()"
b.Foo(); // output --> "B::Foo()"

a = new B();
a.Foo(); // output --> "A::Foo()"
}
}
}

Combining Method Overriding and Hiding

Methods of a derived class can both be virtual and at the same time hide the derived method. In order to declare such a method, both keywords virtual and new have to be used in the method declaration:

class A
{
public void Foo() {}
}

class B : A
{
public virtual new void Foo() {}
}


A class C can now declare a method Foo() that either overrides or hides Foo() from class B:

class C : B
{
public override void Foo() {}
// or
public new void Foo() {}
}

Important things to remember -->

1. If you are using same name in derived class it hides the base class method, and generate a compiler warning. Use new keyword to supress this warning and tells the compiler that ok i am hiding it intentional.
2. Else define the base as virtual and write override in derived class method.
3. If you dont sure whether you want to hide or override use both virtual and new in base class method definition.

Jun 26, 2008

Creating a DataTable | DataTable in C#

Creating a DataTable | DataTable in C#

DataTable aTable = new DataTable();
aTable.Columns.Add("ProductID", typeof(int));
aTable.Columns.Add("ProductName", typeof(string));
DataRow dr;
dr = aTable.NewRow();
dr[0] = 12;
dr[1] = "Lap Top";
aTable.Rows.Add(dr);
dr = aTable.NewRow();
dr[0] = 13;
dr[1] = "DeskTop";
aTable.Rows.Add(dr);
dr = aTable.NewRow();
dr[0] = 14;
dr[1] = "Server";
aTable.Rows.Add(dr);
dr = aTable.NewRow();
dr[0] = 15;
dr[1] = "Mac PC";
aTable.Rows.Add(dr);

You can create these rows by getting data from database also

command=new SqlCommand("select * from Product",connection);
connection.Open();
SqlDataReader reader = command.ExecuteReader();
while(reader.Read())
{
Dr=aTable.NewRow();
Dr[0] = reader.GetValue(1);
Dr[1] = reader.GetValue(2);
aTable.Rows.Add(Dr);
}

Jun 22, 2008

Haj committee India | Haj 2008 Lucknow

All about Haj, please visit http://www.hajcommittee.com

This year UP haj pilgrims will be decided on lottery draw due to more responces of limited quota assigned to UP. The lucky draw was decided to held on 21st June 08, and the final list of pilgrims will be posted on haj committee site.

Lets wait and see Whom Allah give a chance to perform Haj this year.
Finally wait is over you can get the results here

Jun 10, 2008

AMU 2008 Test courses results

AMU 2008 Test Results

B. Arch.
B.A.L.L.B.
B.C.A./B.I.T./B.C.M.
B.Ed.
B.E. Evening
B.Lib.
B. Sc. (Hons.) Indus. Chemistry
B.Tech.
C.E.T.
D.C.P.
Dip. in Gen. Nursing
L.L.M .
M.B.A./M.B.A.(IB)
M.B.B.S. / B.D.S.
M.C.A.
MD/MS/PG Dip.
M.Ed.
M.Lib.
M.A Mass Comm.
M.S.W. (Final)
XI/Dip. Engg.

All the above courses results can be found at this link.

May 31, 2008

Learn ASP.NET

Here are the links which helps you to get started learning ASP.NET

1. Learn ASP.NET
2. Free videos to understand you better Free ASP.NET Videos
3. ASP.NET FAQs Get It
4. ASP.NET
5. For any technical queries join to this forum

Note: If you know some more resources for learning ASP.NET please add a comment.

May 29, 2008

May 28, 2008

Double click on Drive goes to search

Today I stuck with "when I clcik any drive it goes to search insted of opening it".
After a little search I get the solutions.
Problem occurs when you do some thing like that
Folder Options -> File Types --> Advanced (for Drive) --> Change Icon.

The problem occurs when you save this setting and the default value reset to some thing else.

To fix this problem
Go to
Regedit
HKEY_CLASSES_ROOT
Drive\Shell (in case of Drive)
Directory\Shell(in case of folders)
Edit shell value to none.
Close
Quit from registry

You did it.

CPMT 2008 Results

CPMT 2008 results have been declared.

Link -> http://www.luresults.org/index.cpmt.php

Best of Luck guys!!!

May 27, 2008

Free Downloads

Here are the list of free downloads:-
Standard C & C++ Editor:
To direct
download
you could click in the below image
too.

standard C & C++ Editor

Java editor v1.12




What do you can with Java editor.
edit java code ( move or copy marked text by dragging, search for
text, cut, copy, paste, undo, autoindent and "smart tabs" modes ...)
compile,jump in to error row/column
run application,
create HTML template for applet,
run applet
Note: you must have installed Java 2 SDK. Java
editor uses Java SDK's compiler, interpreter and applet viewer.

Free Visual HTML Editor

Download
here Free HTML Editor


JavaScript Editor


Click here to Download

Free FLV Player



Moyea FLV Player
is an easy-to-use desktop FLV playe for the desktop playback of FLV files in a controllable
mode, Files both from the local and the online video url can be accessed. Moreover,
the FLV videos playlist and favorites management make it convenient for you to organize
the FLV files, Support full screen mode, Quick thumbnail picture capturing, and
current screen saving can help you to get your favorite pictures from the video
in no time. Ultimately, it is totally for free!


Click here to Free Download



Photoscape: Free Photo Editing Software

Click here to Download
Vedio Composing Software

Down Load Here




Download the latest version of Adobe Reader



Adobe
Shockwave Player v11.0.0.0
More than 400 million Web
users have installed Adobe Shockwave Player in mature markets around the world.
These people now have access to some of the best the Web has to offer - including
dazzling 3D games and entertainment, interactive product demonstrations, and online
learning applications. Shockwave Player displays Web content that has been
created by Adobe Director. You could install from below too.

Adobe Shockwave Player
shockwave logoInstall now

: Microsoft Windows Live OneCare is a >comprehensive and
integrated PC health service that helps protect and maintain your computer with
antivirus, firewall, PC maintenance, and file backup and restore functionality.
This new service is in beta testing.
Download Here



:CyberLink PowerDVD 8.0 Final :PowerDVD
is a software DVD player that offers the solution to enjoy personalized DVD entertainment
on the PC. Its high quality video and audio playback has made it one of the most
reliable. Download

Mozilla
:Mozilla Firefox 3.0 Beta 5 for Windows
:
Firefox is a free, open-source web browser for Windows,
Linux and Mac OS X and is based on the Mozilla codebase. It is small, fast and easy
to use, and offers many advantages over Internet Explorer, such as the ability to
block pop-up windows


Winamp
:Winamp
5.531 Build 1938 Full


>Nullsoft Winamp is a fast, flexible, high-fidelity music player for Windows. Winamp
supports MP3, CD, Audiosoft, Audio Explosion, MOD, WAV and other audio formats,
custom appearances called skins, plus audio visualization and audio effect plug-ins.


Nokia
Nokia PC Suite 6.86 Release 8

Nokia PC Suite is a package of Windows-based PC applications developed especially
for use with Nokia phones. Depending on your phone model, Nokia PC Suite lets you
edit, synchronize and back up many of your phone's files on a compatible PC through
a cable or wireless connection.

RealRealPlayer 11.0.0.442 Gold >Easy, Fun
& Intuitive: Browse the web, organize audio & video files, create playlists,
& more

Virtual CloneDriveVirtual CloneDrive 5.3.0.0 BETA Virtual
CloneDrive works and behaves just like a physical CD/DVD drive, however it exists
only virtually. Image files generated with CloneDVD or CloneCD can be mounted onto
a virtual drive from your hard-disk or from a network drive and used in the same
manner as inserting them into a normal CD/DVD drive.

Probably the best virtual drive software, Virtual CloneDrive allows you to enjoy
the freedom of a virtual drive



K-Lite
K-Lite Codec Pack 3.8.5 Full
: K-Lite Codec Pack is a collection of codecs and related tools. Codecs are required
to encode and/or decode (play) audio and video. The K-Lite Codec Pack is designed
as a user-friendly solution for playing all your movie files. With the K-Lite Codec
Pack you should be able to play 99% of all the movies that you download from the
internet. The K-Lite Codec Pack works on Windows 2000/XP/2003/XP64/Vista.



Symantec
Norton
AntiVirus 2008 v15.5.0.23
Norton AntiVirus from Symantec
is one of the best anti-virus software titles in the world. Enjoy the security of
automatic protection against viruses, malicious ActiveX controls and Java applets,
and other dangerous code. It protects you while you're surfing the Internet or getting
information from floppy disks, CDs, or a network. It also automatically scans incoming
attachments in the most popular email programs.


WinDVD
Corel WinDVD Plus v9.0 >Enjoy state-of-the-art
HD-quality upscaling. Watch your movies on the go with advanced laptop enhancements.
Play home movies from AVCHD camcorders. For those who want the best, WinDVD 9 offers
the ultimate DVD and video playback experience.


Opera 9.27 Build 8841 Final >The most
full-featured Internet power tool on the market, Opera includes pop-up blocking,
tabbed browsing, integrated searches, and advanced functions like Opera's groundbreaking
E-mail program, RSS Newsfeeds and IRC chat. And because we know that our users have
different needs, you can customize the look and content of your Opera browser with
a few clicks of the mouse


Apple Safari 3.1 Final for Windows Experience
the web, Apple Style, with Safari - the fastest, easiest to use web browser in the
world. With its simple, elegant interface, Safari gets out of your way and lets
you enjoy the web - up to 2 times faster than Internet Explorer. Now on Windows,
too.


Google
Picasa 2.7 Build 37.49
Picasa is software that makes it
easy and fun to view, organise, edit and share the digital photos on your PC.Picasa
lets you pick the size and then automatically attaches your pictures. Browse through
all your pictures and view slideshows of your albums with the click of a button.
Enhance, fix red-eye, and even crop without losing data or permanently changing
your original picture





ACDSee Photo Editor 2008 5.0.244 Beta
Make
the most of your photos! Photo Editor has all the tools and clear instruction you
need to turn your digital photos into truly captivating keepsakes. Frame-worthy
memories and creative projects such as scrapbook pages, greeting cards, and invitations
are all easy to achieve. You'll be amazed at what you can do with your photos.


IE8



Internet Explorer 8 Beta 1 for Windows Vista

64-Bit



Internet Explorer 8 Beta 1 for Window XP SP2



Internet Explorer 8 Beta 1 for Windows Server 2003

64-Bit


Internet Explorer 8 takes the Web experience beyond the page and introduces a
new way to seamlessly experience the power of the Web whether you are a Web developer
writing

to standards, or an end user discovering a new online service.


WindowsXP
Windows XP Service Pack 3 Build 3311 RC2

Microsoft Windows XP Service Pack 3 (SP3) provides new proactive security technologies
for Windows XP to better defend against viruses, worms, and hackers along with increased
manageability and an improved experience for users.
Microsoft
Windows XP Service Pack 3 fixes a range of bugs in Windows XP. It doesn't matter
what XP updates you have previously applied to your system, SP3 will update any
unpatched, partially patched or completely updated system (it includes all previously
released patches and updates). XP SP3 fixes the security holes so you won't get
attacked.


F-Secure
F-Secure
Anti-Virus Client Security v7.11 Build 107


F-Secure Anti-Virus Client Security offers protection against new breeds of threats.
It is a centrally-managed solution consisting of tightly-integrated virus protection,
spyware protection, desktop firewall, and intrusion prevention and application control
software for desktop and laptop computers.





WinRAR 3.71 Final Regged
>WinRAR is a 32-bit
Windows version of RAR Archiver, an archiver and archive manager. RAR files can
usually compress content by 8 percent to 15 percent more than ZIP files can. WinRAR's
main features include strong general and multimedia compression, the ability to
process non-RAR archive formats, ZIP compression and decompression, support for
long filenames, programmable self-extracting archives (SFX), repair of damaged archives,
authenticity verification, embedded file comments, and encryption. Unicode is supported
in archive filenames, allowing non-English filenames to be handled painlessly. You
can manipulate the parameters of many archives at once and view a volume sequence
as a single archive. WinRAR can convert other archive formats to RAR and search
for specified text and files in archives.
FREEWARES

Mycpu113.zip
MyCPU is a small and simple utility that displays the type of CPU installed on your
system. It shows vendor, type, model, stepping and speed information and in addition,
it scans for features like MMX, 3dnow and SIMD (ISSE). and is able to read cache
information such as the size of the L1-data and more. (Size: 46 KB)




IPNetInfo is a small utility that allows you to easily find all available information
about an IP address: The owner of the IP address, the country/state name, IP addresses
range, contact information (address, phone, fax, and email). This utility can be
very useful for finding the origin of unsolicited mail. (Size: 47 KB)


Clean My Registry 3
:The
Windows Registry is a crucial part of your PC's operation system. Regular use of
computer makes the registry fragmented and cluttered with obsolete and invalid data.
Clean My Registry software keeps this critical part of your PC in perfect condition.
Just clean registry in a blink of an eye for free. (Size: 620 KB)



ScrubXP cleans temporary files and registry keys resulting from opening files and
or using the Internet. It removes IE History, IE Temporary Files, IE Cookies, Documents
List from Start Menu, Empties Recycle Bin, Clears Autocomplete Entries, Clears Recent
File Lists for Run, Common Dialogs, Recent Documents, Search Assistant, Typed URLs,
Paint, Find Computer, Printer Ports, Find Files, Media Player, Previous Tasks, and
Real Player... (Size: 344 KB)


PdfEdit.zip
>Create PDF files from any application
by simply selecting the print command. Preview documents, combine files, change
page orientation, add "Confidential" stamps, create PDF stationery, adjust
image resolution, summarize documents, convert PDFs to several image file formats,
create batch print jobs from Microsoft Office applications, and choose from several
file-naming methods. Encrypt or digitally sign your PDF documents. This download
contains all the features of PDF995, with additional support for PDF-to-HTML and
PDF-to-DOC conversions. (Size: 595 KB)


InternetSweeper.zip
:Erase
information stored in Windows about Internet sites visited. This program is free
(although donations are appreciated) and fully functional. It automatically runs
when the computer boots, the user logs in, or browsers are closed. It works with
all 32-bit Windows programs and with all major browsers (Internet Explorer, Navigator,
Opera, and now AOL). It erases the cache, history, cookies, addresses, passwords,
and temporary files, and closes pop-up windows in browsers, including AOL. (Size:
96 KB)



This tool can be used by System Administrators for identifying the Installed Windows
XP's CD Key on a machine. Just run this tool and it will just get you the installed
versions CD Key. This tool will a great addition to the system admins tool chest.
(Size: 12 KB)



This is a lossy disc copying program. Designed for recovering as much information
as possible from a corrupted file. The program is optimized for recovering corrupt
video data from CDs. Supports multiple file retrieval methods. Say goodbye to CRC
errors at the end of a file copy. (Size: 19 KB)

Himalaya
USB Modem Driver
(12.4 KB)

Nyxem.E Virus
Removal Tool
(1.05 MB)(for
any version of Windows XP)






Trend Micro Internet Security 2008 16.10 Build 1106


http://dl.ie7pro.com/ie7prodl/IE7proSetup.exe


http://www.9down.com/RealPlayer-11-0-0-442-Gold-23720/



http://www.9down.com/Windows-XP-Service-Pack-3-Build-5508-RC2-23620/


http://download.piriform.com/ccsetup206.exe


http://www.9down.com/Nero-8-3-2-1-Micro-23628/


http://www.9down.com/Nokia-PC-Suite-6-86-Release-6-23548/

http://www.9down.com/Mozilla-Firefox-2-0-0-13-Final-23601/

http://www.9down.com/Norton-AntiVirus-2008-v15-5-0-23-23445/

http://www.9down.com/Norton-Internet-Security-2008-v15-5-0-23-23446/


Orbit Downloader 2.6.5


http://www.9down.com/Messenger-Plus-Live-4-60-324-23385/


http://www.9down.com/Windows-Vista-Service-Pack-1-Five-Language-Standalone-Wave0--23336/


http://www.9down.com/jv16-PowerTools-2008-1-8-0-449-23410/

http://www.9down.com/Corel-WinDVD-Plus-v9-0-KeyGen-23400/

http://www.9down.com/ConvertXToDVD-3-0-0-7-Crack-23358/

http://www.9down.com/Cyberlink-PowerDVD-v8-Beta-1422-23236/


http://www.9down.com/Creative-Sound-Blaster-X-Fi-Driver-2-15-0006-23254/


http://www.9down.com/Adobe-Photoshop-Lightroom-1-4-23185/

http://www.9down.com/FlashGet-v2-0-Beta6-23139/

http://www.9down.com/Download-Accelerator-Plus-8-6-4-8-Final-23138/

WinZip

Roxio Nero 7
>Nero


NeroLinux
Nero6

CherryOS TweakNow

Hiren's BootCD

Windows
2003


Windows Vista

Windows Server
2008


Longhorn
>Linux
Lindows

RedHat
Windows 2000


Office
>Office 2007


Office2003

Microsoft
Office Live


PowerDVD
>Real
Winamp

Windows
Media Player


McAfee

Roxio
>Nero 7
Nero

Hiren's BootCD

WinRAR

Realtek
AC 97 Vista Audio Driver 6.280 WHQL (32/64 bits)


Realtek High-Definition
Audio Driver 1.89

May 19, 2008

2008 Results Links

CBSE 12th Results have been declared on 23rd May
CBSE 2008 Results
UP Board results will be declared today ie 24th May.
UP Board 2008 Results
Results across all over india

BHU announces results for PMT and PAT.
PMT
PAT

AMU Results
Test Courses
Non Test Courses

May 5, 2008

How to log Events from ASP

How to write Events to eventlog by ASP

 

Open run command à Type notepad

Open notepad à Type/Copy/Paste the code below into the notepad and save as Test.asp.

 

<%@ Language=VBScript %>

<HTML>

<BODY>

<% 'Use these Constants to designate the type of Event Log.

const SUCCESS = 0

const ERROR = 1

const WARNING = 2

const INFORMATION = 4

const AUDIT_SUCCESS = 8

const AUDIT_FAILURE = 16

dim WshShell set WshShell = Server.CreateObject("WScript.Shell")

wshshell.Logevent WARNING, " Event Logged Successfully by Windows Script Host!"

set wshshell=nothing

Response.write "Event Logged Successfully by Windows Script Host!" %>

</BODY>

</HTML>

 

Now copy the test.asp and place into C:\Inetpub\wwwroot à hit the browser as http://localhost/test.asp

OR

create a folder name Test and put this test.asp into this folder. Right click on Test folder à Click Web Sharing Tab à Share This Folder àKeep Name as Test à Apply OK. à Now hit http://localhost/test/test.asp

 

Now open run command à Type eventvwr à See application events à You will get logged your events to EventLog

Enjoy J

Ref: For more information visit http://support.microsoft.com/kb/301309

Apr 24, 2008

How to write Text / Trace / Log file using ASP?

How to write Trace file using ASP?

Previously I wrote for how to write text file with ASP , Now one step forward how to write trace file with ASP?

So here we goes.

Create a text file .

1. Create an File system object that is used for File Access

2. Get the File Path

3. Create the file if not exist.

4. Open the File

5. Log the Server Variables

6. Close the File object release all memory

set FSO = Server.CreateObject("scripting.FileSystemObject")

Dim filePath

filePath = Server.MapPath("Trace.txt");

set myFile = fso.CreateTextFile(filePath ,8, true) 'Here 8 means we using for appending

myFile.WriteLine(Request.servervariables("SERVER_NAME"))

myFile.WriteLine(Request.servervariables("SCRIPT_NAME"))

myFile.WriteLine("Write more looging tuff")

myFile.Close

How to write text file using ASP?

How to write text file using ASP?

Previously I wrote for how to write text file with C#, Now one step back how to write text file with ASP?

So here we goes.

set FSO = Server.CreateObject("scripting.FileSystemObject")

This line creates an object that is used for File Access

set myFile = fso.CreateTextFile("C:\Trace.txt", true)

This creates a blank text file object for us to use.The CreateTextFile object creates a text file, based on what we specified. The first option specifies the location of the text file, while the second one states whether or not to create the file if one doesn't exist. Very simple methods.

Next, we do something simple

myFile.WriteLine("Write whatever you want to put")

myFile.WriteLine("Write some more stuff")

WriteLine writes the text to the text file.

myFile.Close

This closes the file and free the memory.

Now for Reading:

First, we create an object, but not after defining some constants

Const ForReading = 1, ForWriting = 2, ForAppending = 8

This just allows us the different methods of working with text, when we have an open text file.

set fso = server.CreateObject("Scripting.FileSystemObject")

Here we create our object again.

set f = fso.GetFile("C:\Trace.txt")

Here we state that we will be manipulating the file C:\Trace.txt . Moderately simple. Now we need to open it as a stream. Get ready, here comes the hard stuff ;-)

set ts = f.OpenAsTextStream(ForReading, -2)

This creates a text stream with our file. It is like a continous flow of information. Now we jsut read a line

TextStreamTest = ts.ReadLine

This code reads a line of information, and puts it into TextStreamTest. Pretty simple, isnt it?! I hope so. Anyway, I've discussed the code, and I shall let you go.

One last note. Let's say you wanted to read all the contents out a text file. Then you would do this

Do While not ts.AtEndOfStream

myText = myText & ts.ReadLine & vbCrLf

Loop

Hope you learn something !! Write your comments !! Thanks !!

Apr 23, 2008

Writing Log to Text File with C#

Writing Text File with C#

 

Problem definition : I need to write this for logging for testing purpose. I am logging the information when a aspx file is being called,

I want to put all information like browser, os, resolution, referer page etc.

 

So here we goes

I like to add a method let it call LogToFile()

Don't forget to include #using System.IO; as we are going to use stream writer

protected void LogToFile()

    {

            string logFilePath = Server.MapPath("Trace.txt");

        StreamWriter sw = new StreamWriter(logFilePath, true);

        //true means if file not there then create it otherwise append to it.

        try

        {

            sw.WriteLine("Logging Time: " + DateTime.Now.ToLongDateString());

            sw.WriteLine("OS/Browser/Version : "+Request.Browser.Platform.ToString()+"/" +Request.Browser.Browser.ToString()+ “/"+Request.Browser.Version.ToString());

           

            if (Request.UrlReferrer != null)

            {

                sw.WriteLine("Referrer: "+ Request.UrlReferrer.ToString());

            }

            sw.WriteLine("User Agent: " + Request.UserAgent.ToString());

            sw.WriteLine("--------------------------------------------------------");

        }

        catch(Exception )

        {

        }

        finally

        {

            if (sw != null)

            {

                sw.Close();

            }

        } 

    }

Now call this function into pageload method of your page... you will get the trace.

You can add more properties/ information according to your needs.

Apr 22, 2008

Enable pinging - Ping worker process every ( 30 seconds)

Application Pools setting

 

Enable pinging – Ping worker process every (frequency in seconds)

This setting specifies that each worker process will be pinged every n seconds, where n is the number specified in the selection box. This process is used to determine if a worker process is running correctly, or if it has been deadlocked.

What it mean ?

Central to Health monitoring is process pinging. With process pinging, IIS periodically checks to see if worker processes are responsive. This means that the WWW Service (svchost.exe) sends a ping request at a specified interval to each worker process (w3wp.exe). If a worker process fails to respond to the ping request, either because it doesn’t have additional threads available for processing incoming requests or because it’s hung up, the WWW Service flags the worker process as unhealthy. If the worker process is in an idle but unresponsive state, the WWW Service terminates it immediately and a replacement worker process is created. Otherwise, the worker process is marked for recycling.

 

Apr 17, 2008

Free Tax Calculator 2008 2009 India

In my previous post I could not upload the Tax Calculator, Here I did it and posted it again.

Please get if from HERE

Note this is for salaried personal only.

Tips on Filling your Vehicles

This is a Message received from a friend:

I don't know what you guys are paying for petrol... but here in Durban, we are also paying higher, up to 47.35 per litre. But my line of work is in petroleum for about 31 years now, so here are some tricks to get more of your money's worth for every litre.

Here at the Marian Hill Pipeline, where I work in Durban, we deliver about 4 million litres in a 24-hour period thru the pipeline.

One day is diesel; the next day is jet fuel, and petrol, LRP and Unleaded. We have 34-storage tanks here with a total capacity of 16,800,000 litres.

ONLY BUY OR FILL UP YOUR CAR OR BIKKIE IN THE EARLY MORNING WHEN THE GROUND TEMPERATURE IS STILL COLD. Remember that all service stations have their storage tanks buried below ground. The colder the ground, the denser the fuel, when it gets warmer petrol expands, so buying in the afternoon or in the evening.... your litre is not exactly a litre.

In the petroleum business, the specific gravity and the temperature of the petrol, diesel and jet fuel, ethanol and other petroleum products play an important role. A 1degree rise in temperature is a big deal for this business. But the service stations do not have temperature compensation at the pumps.

WHEN YOU'RE FILLING UP, DO NOT SQUEEZE THE TRIGGER OF THE NOZZLE TO A FAST MODE. If you look, you will see that the trigger has three (3) stages: low, middle, and high. In slow mode, you should be pumping on low speed, thereby minimizing the vapours that are created, while you are pumping. All hoses at the pump have a vapour return. If you are pumping on the fast rate, some of the liquid that goes to your tank becomes vapour. Those vapours are being sucked up and back into the underground storage tank so you're getting less worth for your money.

ONE OF THE MOST IMPORTANT TIPS IS TO FILL UP WHEN YOUR TANK IS HALF FULL. The reason for this is, the more fuel you have in your tank, the less air occupying its empty space. Petrol evaporates faster than you can imagine. Petroleum storage tanks have an internal floating roof. This roof serves as zero clearance between the petrol and the atmosphere, so it minimizes the evaporation.

Unlike service stations, here where I work, every truck that we load is temperature compensated, so that every litre is actually the exact amount.

ANOTHER REMINDER, IF THERE IS A FUEL TRUCK PUMPING INTO THE STORAGE TANKS, WHEN YOU STOP TO BUY, DO NOT FILL UP - most likely the petrol/diesel is being stirred up as the fuel is being delivered, and you might pick up some of the dirt that normally settles on the bottom.

Hope, this will help you get the maximum value for your money.

DO SHARE THESE TIPS WITH OTHERS! LET’S SHARE INFORMATION AND BENEFIT ALL, FOR THE BETTER OF MANKIND.

Apr 11, 2008

A wonderful message for all who misuse their work phone : Joke

Phone Bill

The phone bill was exceptionally high and the man of the house called a family meeting...

Dad: People this is unacceptable. You have to limit the use of the phone. I do not use this phone, I use the one at the office.

Mum: Same here, I hardly use this home telephone as I use my work telephone

Son: Me too, I never use the home phone. I always use my company mobile

Maid: I know I am the one to be blamed but  what is the problem? We all use our work telephones.

 

 

Apr 3, 2008

TAX Calculator for Financial Year 2008 - 2009

A quick tax calculator by Economics Times for year 2008 - 2009.

Please get it from here

Note: Only for employed person only

Apr 1, 2008

Linked bloggers

Blogger List

At this page I wish to see a lot of information about blogs and their links.

Please write comment to add you blog here.

Computers & Internet

http://matespoint.blogspot.com Technical hurdles while development.

http://uiautomation.blogspot.com All about UI Automation information.

Education

http://up-results.blogspot.com Search Results, CPMT 2008, UP Board 2008 etc.

Fun and Entertainment

www.techieshangout.blogspot.com
http://worldofinfotainment.blogspot.com
http://rahul-games-movies.blogspot.com

http://teentweens.blogspot.com/

Personal

http://mohanitguy.blogspot.com
http://varunkrishna.blogspot.com
http://freakers-digest.blogspot.com/
www.sarv007.blogspot.com
http://mhkharish.blogspot.com
http://www.supershiva.blogspot.com
http://www.versatilecollection.blogspot.com
http://www.supershiva.blogspot.com

http://www.versatilecollection.blogspot.com

IT Technologies

http://itbuddy.blogspot.com
http://www.tech4logic.blogspot.com
www.goldnvk.blogspot.com
www.techieshangout.blogspot.com
http://theblogresource.blogspot.com
http://javabugger.blogspot.com
www.techieshangout.blogspot.com

Others

http://trusted-money-making-sites-for-asians.blogspot.com/

Note: These links remain there until you have this page into your blog. This applies for all, no discrepancy. If anybody wants to include his/her blog @ this page. He / She needs to include this page link into his/her page and leave a comment with his/her blog along the Category in which blog should be placed.

Mar 20, 2008

Proxy class generation from WSDL in .NET 2.0 and .NET3.0

Proxy class generation from WSDL in .NET 2.0

The following command creates a .wsdl file for the XML Web service located at the specified URL and creates a client proxy class in the C# language for the XML Web service.

wsdl http://hostServer/WebserviceRoot/WebServiceName.asmx?WSDL

The following command creates a client proxy class in the C# language for an XML Web service located at the specified URL. The tool saves the client proxy class in the file myProxyClass.cs

wsdl /out:myProxyClass.cs http://hostServer/WebserviceRoot/WebServiceName.asmx?WSDL

For more visit to:

http://msdn2.microsoft.com/en-us/library/7h3ystb6(VS.71).aspx

Proxy class generation from WSDL in .NET 3.0

Use this command to generate proxy class from a web service.

WseWsdl3 http://hostServer/WebServiceRoot/WebServiceName.asmx?WSDL /out:MyProxyClass.cs

This will generate the class MyProxyClass.cs which we can include in our solution to create an object of this and then call the appropriate method.

For more visit to :

http://msdn2.microsoft.com/en-us/library/aa529578.aspx

SQL - Difference between CAST,CONVERT and PARSE

TODO---