Download software via http://www.ontimenow.com
Thursday, October 11, 2012
Thursday, September 13, 2012
Google searching tips
Explicit Phrase:
Lets say you are looking for content about internet marketing. Instead of just typing internet marketing into the Google search box, you will likely be better off searching explicitly for the phrase. To do this, simply enclose the search phrase within double quotes.
Lets say you want to search for content about internet marketing, but you want to exclude any results that contain the term advertising. To do this, simply use the "-" sign in front of the word you want to exclude.
Often, you want to search a specific website for content that matches a certain phrase. Even if the site doesn’t support a built-in search feature, you can use Google to search the site for your term. Simply use the "site:somesite.com" modifier.
Let’s say you want to include a word in your search, but want to include results that contain similar words or synonyms. To do this, use the "~" in front of the word.
If you’re looking to find results that are of a specific type, you can use the modifier "filetype:". For example, you might want to find only PowerPoint presentations related to internet marketing.
By default, when you do a search, Google will include all the terms specified in the search. If you are looking for any one of one or more terms to match, then you can use the OR operator. (Note: The OR has to be capitalized).
Let’s say someone calls you on your mobile number and you don’t know who it is. If all you have is a phone number, you can look it up on Google using the phonebook feature.
If all you need to do is to look-up the area code for a phone number, just enter the 3-digit area code and Google will tell you where it’s from.
This is a rarely used, but highly useful tip. Let’s say you want to find results that contain any of a range of numbers. You can do this by using the X..Y modifier (in case this is hard to read, what’s between the X and Y are two periods.) This type of search is useful for years (as shown below), prices, or anywhere where you want to provide a series of numbers.
Just enter a valid ticker symbol as your search term and Google will give you the current financials and a quick thumb-nail chart for the stock.
The next time you need to do a quick calculation, instead of bringing up the Calculator applet, you can just type your expression in to Google.
If you need to quickly look up the definition of a word or phrase, simply use the "define:" command.
Lets say you are looking for content about internet marketing. Instead of just typing internet marketing into the Google search box, you will likely be better off searching explicitly for the phrase. To do this, simply enclose the search phrase within double quotes.
Example: "internet marketing"Exclude Words:
Lets say you want to search for content about internet marketing, but you want to exclude any results that contain the term advertising. To do this, simply use the "-" sign in front of the word you want to exclude.
Example Search: internet marketing -advertisingSite Specific Search:
Often, you want to search a specific website for content that matches a certain phrase. Even if the site doesn’t support a built-in search feature, you can use Google to search the site for your term. Simply use the "site:somesite.com" modifier.
Example: "internet marketing" site:www.smallbusinesshub.comSimilar Words and Synonyms:
Let’s say you want to include a word in your search, but want to include results that contain similar words or synonyms. To do this, use the "~" in front of the word.
Example: "internet marketing" ~professionalSpecific Document Types:
If you’re looking to find results that are of a specific type, you can use the modifier "filetype:". For example, you might want to find only PowerPoint presentations related to internet marketing.
Example: "internet marketing" filetype:pptThis OR That:
By default, when you do a search, Google will include all the terms specified in the search. If you are looking for any one of one or more terms to match, then you can use the OR operator. (Note: The OR has to be capitalized).
Example: internet marketing OR advertisingPhone Listing:
Let’s say someone calls you on your mobile number and you don’t know who it is. If all you have is a phone number, you can look it up on Google using the phonebook feature.
Example: phonebook:617-555-1212 (note: the provided number does not work – you’ll have to use a real number to get any results).Area Code Lookup:
If all you need to do is to look-up the area code for a phone number, just enter the 3-digit area code and Google will tell you where it’s from.
Example: 617Numeric Ranges:
This is a rarely used, but highly useful tip. Let’s say you want to find results that contain any of a range of numbers. You can do this by using the X..Y modifier (in case this is hard to read, what’s between the X and Y are two periods.) This type of search is useful for years (as shown below), prices, or anywhere where you want to provide a series of numbers.
Example: president 1940..1950Stock (Ticker Symbol):
Just enter a valid ticker symbol as your search term and Google will give you the current financials and a quick thumb-nail chart for the stock.
Example: GOOGCalculator:
The next time you need to do a quick calculation, instead of bringing up the Calculator applet, you can just type your expression in to Google.
Example: 48512 * 1.02Word Definitions:
If you need to quickly look up the definition of a word or phrase, simply use the "define:" command.
Example: define:plethora
Tuesday, August 14, 2012
DllImport in C# vs VB.NET (unmanaged DLL Import)
The following code example shows how to use the DllImportAttribute attribute to import the Win32 MessageBox function. The code example then calls the imported method.
C#
using System;
using System.Runtime.InteropServices;
class Example
{
// Use DllImport to import the Win32 MessageBox function.
[DllImport("user32.dll", CharSet = CharSet.Unicode)]
public static extern int MessageBox(IntPtr hWnd, String text, String caption, uint type);
static void Main()
{
// Call the MessageBox function using platform invoke.
MessageBox(new IntPtr(0), "Hello World!", "Hello Dialog", 0);
}
}
VB.NET
, CharSet:=CharSet.Unicode)> _ Function MessageBox(ByVal hwnd As IntPtr, ByVal t As String, ByVal caption As String, ByVal t2 As UInt32) As Integer End Function Sub Main() ' Call the MessageBox function using platform invoke. MessageBox(New IntPtr(0), "Hello World!", "Hello Dialog", 0) End Sub End ModuleImports System
Imports System.Runtime.InteropServices
Module Example
' Use DllImport to import the Win32 MessageBox function.
"user32.dll"
Source : msdn
url :http://msdn.microsoft.com/en-us/library/system.runtime.interopservices.dllimportattribute.aspx
Thursday, August 9, 2012
How to open visual studio 2010 projects in visual studio 2008 (downgrade from VS 2010 to VS 2008)
1.Make back up of your .sln file
2.Open the .sln file corresponding to the Project to be converted with Notepad
Locate the following line: Microsoft Visual Studio Solution File, Format Version 11.00 Replace 11.00 with 10.00
3.Locate the following line: # Visual Studio 10
4.Replace 2010 with 2008
5.Save the File
6.Delete the .cache files existing in the following paths:
* obj/debug
* obj/release
7.Open the project with Visual Studio 2008
8.Build the project with Visual Studio 2008
2.Open the .sln file corresponding to the Project to be converted with Notepad
Locate the following line: Microsoft Visual Studio Solution File, Format Version 11.00 Replace 11.00 with 10.00
3.Locate the following line: # Visual Studio 10
4.Replace 2010 with 2008
5.Save the File
6.Delete the .cache files existing in the following paths:
* obj/debug
* obj/release
7.Open the project with Visual Studio 2008
8.Build the project with Visual Studio 2008
Friday, July 27, 2012
How to enable hidden administrator account in windows 7 - Vista
First you’ll need to open a command prompt in administrator mode by right-clicking and choosing “Run as administrator” (or use the Ctrl+Shift+Enter shortcut from the search box)
Now type the following command:
net user administrator /active:yes
You should see a message that the command completed successfully. Log out, and you’ll now see the Administrator account as a choice.
Wednesday, July 25, 2012
.NET Framwork Tools
Develop, configure, and deploy applications by using Microsoft .NET Framework technologies

[MSDN LINKS]
Source : MSDN
Tuesday, July 24, 2012
Partial Keyword in C#
A partial method has its signature defined in one part of a partial type, and its implementation defined in another part of the type. Partial methods enable class designers to provide method hooks, similar to event handlers, that developers may decide to implement or not. If the developer does not supply an implementation, the compiler removes the signature at compile time. The following conditions apply to partial methods:
- Signatures in both parts of the partial type must match.
- The method must return void.
- No access modifiers or attributes are allowed. Partial methods are implicitly private.
The following example shows a partial method defined in two parts of a partial class:
namespace PM
{
partial class A
{
partial void OnSomethingHappened(string s);
}
// This part can be in a separate file.
partial class A
{
// Comment out this method and the program
// will still compile.
partial void OnSomethingHappened(String s)
{
Console.WriteLine("Something happened: {0}", s);
}
}
}
More Information On MSDN
Subscribe to:
Posts (Atom)
