miscellaneous

String.Split Method

String.Split Method http://msdn.microsoft.com/e... Public Class StringSplit2 Public Shared Sub Main() Dim delimStr As String = " ,.:" Dim delimiter As Char() = delimStr.ToCharArray() Dim words As String = "one two,three:four." Dim split As String() = Nothing Console.WriteLine("The delimiters are -{0}-", delimStr) Dim x As Integer For x = 1 To 5 split = words.Split(delimiter, x) Console.WriteLine(ControlCh... + "count = {0,2} ..............", x) Dim s As...

Shell to a process and wait synchronously

protected void Button1_Click(object sender, EventArgs e) { string executePath = System.Configuration.Config... ExecuteCommandSync(executeP... string resultfilePath = System.Configuration.Config... this.Label1.Text = System.IO.File.ReadAllText(... } public void ExecuteCommandSync(string executePath) { try { System.Diagnostics.Process p = new System.Diagnostics.Process(); // Redirect the output stream of the...

Get email addressees of all users from all mails in Outlook Folder

Get email addressees of all users from all mails in Outlook Folder Original Article: http://msmvps.com/blogs/oma... Sometimes you want to send some important notice to everyone who has ever mailed you. Let's say you have a folder named "Friends" in Outlook where you store all the emails from your friends. Now you want to get all of their email addresses (from the folder, not from the email bodies). Pretty difficult...

Windows XP Backup

Windows XP Backup http://www.microsoft.com/wi

Random colors or Repeatable Colors

Original Article: http://weblogs.asp.net/whag... Private Sub btnRandomColor_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnColor.Click lblColor.BackColor = C_Library.RandomColor.GetRa... lblColor.Text = lblColor.BackColor.R.ToString + "," + lblColor.BackColor.G.ToString + "," + lblColor.BackColor.B.ToString End Sub Private Sub btnRepeatableColor_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnColor.Click...

ISO with no burn

Paul Swanson came across this article that talks about an unsupported capability of MS that allows you to read an ISO file without having to burn to a cd. Not sure if you ever face this, but all the downloads in MSDN pretty much come in iso format. This will take the step out of burning the cd/dvd if you choose not to. I am in the process of using this and it seems to work so far. Enjoy… http://weblogs.asp.net/plel...

Parsing HTML in Microsoft C#

Original Article http://www.developer.com/ne... By Jeff Heaton

no brainer public file transfer

no brainer public file transfer http://www.senduit.com/

How to Make Your Web Site Sing for You

How to Make Your Web Site Sing for You Original NYTimes Article http://www.nytimes.com/2006... THE idea that if you build it, they will come, might have worked for Kevin Costner in the movie “Field of Dreams,” but it certainly does not hold true for Web sites. Skip to next paragraph Enlarge This Image T. WalentaBuild a bad-looking small-business site filled with poorly written text, and your potential customers will go away. Build one that is attractive, compelling...

C# wait for n seconds

C# wait for n seconds 5 seconds: System.Threading.Thread.Sle

enable or disable Windows NT TaskManager

original article http://www.windowsnetworkin... There is a registry hack to enable or disable Windows NT TaskManager. The same registry hack applies to Windows 2000 and Windows XP. Hive: HKEY_CURRENT_USER Key: Software\Microsoft\Windows\... Name: DisableTaskMgr Type: REG_DWORDValue: 1=Enablethis key, that is DISABLE TaskManagerValue: 0=Disablethis key, that is Don't Disable,...

remove errors in settings.designer.vb

remove errors in settings.designer.vb 1) In Visual Studio Solution Explorer, show all (hidden) files 2) Result: Resources.resx file is visible 3) In Visual Studio Solution Explorer, right click Resources.resx file, “Run Custom Tool“ 4) Result: build errors should disappear Shortcut to: http://64.233.187.104/searc...

Notepad++ - is a free source code editor (and Notepad replacement)

http://notepad-plus.sourcef... Notepad++ is a free source code editor (and Notepad replacement), which supports several programming languages, running under the MS Windows environment. This project, based on the Scintilla edit component (a very powerful editor component), written in C++ with pure win32 api and STL (that ensures the higher execution speed and smaller size of the program), is under the GPL Licence. This project is mature. However, as you can see it's a one-man-project,...