Ask your technical questions on forums or here :
ASP.NET or MVC | C# | Windows Phone
Microsoft Technology Journals by Abhimanyu K Vatsa
Showing posts with label Miscellaneous. Show all posts
Showing posts with label Miscellaneous. Show all posts

25 May 2012

Accelerate the start-up of Windows Operating Systems


This utility, which has the most comprehensive knowledge of auto-starting locations of any startup monitor, shows you what programs are configured to run during system bootup or login, and shows you the entries in the order Windows processes them. These programs include ones in your startup folder, Run, RunOnce, and other Registry keys. You can configure Autoruns to show other locations, including Explorer shell extensions, toolbars, browser helper objects, Winlogon notifications, auto-start services, and much more. Autoruns goes way beyond the MSConfig utility bundled with Windows Me and XP.

Free e-book: Security and Privacy for Microsoft Office 2010 Users


Microsoft has just finished and provided a free e-book: Security and Privacy for Microsoft Office 2010 Users.

If you want to explore all security features included in Office 2010 just explore this free e-book.


Folder Name Conflict in Windows OS

Folder Name Conflict in Windows OS

This post contain some known folder naming facts in windows based OS.


Names conflicting with some of Win OS' old DOS functions (Not allowed in either upper or lowercase and with or without a file extension or as a file extension: COM1 to COM9 inclusive, LPT1 to LPT9 inclusive, CON, PRN, AUX, CLOCK$ and NUL).

I guess, you already aware about this.

Installing Windows 8 or any other OS using VirtualBox


Oracle VM VirtualBox is an x86 virtualization software package, created by software company Innotek GmbH, purchased by Sun Microsystems, and now developed by Oracle Corporation as part of its family of virtualization products. Oracle VM VirtualBox is installed on an existing host operating system as an application; this host application allows additional guest operating systems, each known as a Guest OS, to be loaded and run, each with its own virtual environment.

Supported host operating systems include Linux, Mac OS X, Windows XP, Windows Vista, Windows 7, Solaris, and OpenSolaris; there is also a port to FreeBSD. Supported guest operating systems include versions and derivations of Windows, Linux, BSD, OS/2, Solaris and others. Since release 3.2.0, VirtualBox also allows limited virtualization of Mac OS X guests on Apple hardware.

Download VirualBox

At very first, you need to download VirtualBox software and install it on your existing OS. Download it from here.

Download Guest OS

For example, if you have Windows 7 already running, and you are wishing to install Windows 8 then download the Windows 8 ISO.

Once you have Windows 8 ISO, read this post to install it using VirtualBox on Windows 7.


Connected to internet but can not open any websites

Possible Solution
Open command prompt and type
If you can’t able to ping then these steps will help you.

This issue can occur by incorrect DNS settings. I suggest you perform the following steps to troubleshoot the issue.
1. Click "Start", input "NCPA.CPL" (without quotation marks) and press Enter.
2. Right click on the connection that you use for the local connection, and then click "Properties".
3. Click to select "Internet Protocol Version 4 (TCP/IPv4)", and then click "Properties".
4. In the Internet Protocol window, let's change the "Preferred DNS server" to OR
5. Click 'OK' twice to complete the modification.

If the issue persists, please repeat the steps and change the "Preferred DNS server" to.
Meanwhile, I would appreciate your help in clarifying that if the network is based on a router or a DSL modem. If there is a router, please bypass it and connect to DSL modem directly for a test.

Data Access Options in Visual Basic 6


Visual Basic provides variety of options when it comes to accessing the data stored in the database. Find all options below.

(i) Data Access Objects (DAO)

It communicates with the Microsoft access and other ODBC compliant data sources through the JET engine.

(ii) ODBC Direct 

It allows accessing ODBC data sources through the RDO (Remote Data Objects) and DAO objects bypassing the JET database engine.

(iii) Data Control

It binds data-aware controls to Microsoft access or other ODBC data sources.

(iv) Remote Data Objects (RDO)

It provides a frame work for using code to create and manipulate components of a remote ODBC database system.

(v) Remote Database Control

It binds to controls to an ODBC remote database.


Recordset in Visual Basic 6


Recordset is logical set of records where Microsoft defines a record as 'A set of related data about a person, place, event or some other item'. Table data is stored in records (rows) in the database. Each record is composed of a set of related fields (columns) - each field defining one attribute of information for the record. Taken together, a record defines one specific unit of retrievable information in a database.

There are five types of Recordset:

(i) Table-type Recordset

Basically it is a complete table from a database. We can use to add, change or delete records. This is the simplest in concept since it matches a complete table in the database, but is not necessarily the best choice in many applications.

(ii) Dynaset-type Recordset

The result of a query that can have updatable records, we can use to add, change or delete records. It can contain fields from one or more tables in a database and it provides worse performance than a table-type Recordset.

(iii) Snapshot-type Recordset

A read-only set of records that we can use to find data or generate reports; it can contain fields from one or more tables in a database but can't be updated. It uses a minimum of resources and provides fast performance.

(iv) Forward-only-type Recordset

 Identical to a snapshot except that no cursor is provided. We can only scroll forward through records. This improves performance in situations where you only need to make a single pass through a Recordset.

(v) Dynamic-type Recordset

A query result set from one or more base tables in which you can add, change or delete records from row-returning query. Further, records other uses add, delete or edit in the base tables also appear in our Recordset. 

Make your keyboard lights like disco lights

Open the notepad and type following vbscript codes:-
Set wshShell =wscript.CreateObject("WScript.Shell")
wscript.sleep 100
wshshell.sendkeys "{CAPSLOCK}"
wshshell.sendkeys "{NUMLOCK}"
wshshell.sendkeys "{SCROLLLOCK}"

Now, save this notepad file by name 'disco.vbs' and open that saved file to look disco lightings.

Now, to stop this you need to open Task Manager and stop the process named 'wscript'.

Things not to do in an interview

Don't be cocky

Confidence-i.e., appearing composed and sure of yourself as opposed to like a nervous wreck-is always an appealing quality.....

Say the magic words

Of course you don't want a potential boss to think you're gunning for the role of office kiss-ass, but playing it too cool can wreck your chances.....

Don't sound rehearsed

Most of us have gotten this well-meaning advice from a career counsellor: when you're asked "What's your biggest weakness? .....

Don't fail the question test

There are only a few minutes left in the interview, and you get what seems like a throw-away: "Do you have any questions for me? .....

What is Intellisense?


Remember some program coding, when you type code in editors, Intellisense offers you a choice of words automatically. This feature is called Intellisense. It helps you to write code faster and even to avoid errors by proposing to you a choice according to what you are currently writing. In Visual Studio, when Intellisense proposes a choice to you, you can use the key combination Ctrl+Spacebar to complete the word you started to type. Intellisense is used in multiple circumstances:

When you declare a new variable by typing a class name, Intellisense offers you a choice of all the types currently available, grouped by namespace. A short documentation is also displayed, if available for that.
When you want to use a variable declared somewhere else by you, Intellisense proposes all variables currently accessible.
When you type a class name followed by a period, or an instance name followed by a period, Intellisense presents all the methods available in the class (static methods) or in the instance. Etc.