Posts Tagged ‘Code’

Access Windows special directories (My document, Desktop, Program Files)

October 12, 2009 - No Comments - C#.NET Code

You can easily access to special directories of windows in C# by using:

Environment.SpecialFolder.MyDocuments;

The same go with other directories

Environment.SpecialFolder.Desktop;
Environment.SpecialFolder.History;

Article Tags: ,

Application paths in C#.net

April 16, 2009 - No Comments - C#.NET Code

Application paths in C#.net
Application.ExecutablePath
return C:\projects\test\bin\debug\run.exe
Application.StartupPath
return C:\projects\test\bin\debug

Article Tags:

Selector internal/external links

April 15, 2009 - No Comments - jQuery Code

Common selectors to choose all internal or external links

Article Tags:

Find all the SP using specific tables or views

April 14, 2009 - No Comments - SQL Code

Find in the database all the store procedures using specific tables or views.
Or list all the tables or view, which the specific Views or StoreProcudres use.

Article Tags: , ,

Validate Email format

- No Comments - C#.NET Code

Check the input string if it’s in correct email format or not.

Article Tags: ,