Geeks With Blogs


Rodney Vinyard - .NET & SQL Developer When all is said and done, more will be said than done miscellaneous
String.Split Method
String.Split Method 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 ......

Posted On Tuesday, December 8, 2009 9:27 AM

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 ......

Posted On Tuesday, May 5, 2009 7:21 AM

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: 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 ......

Posted On Saturday, November 8, 2008 2:06 AM

Windows XP Backup


Windows XP Backup

Posted On Thursday, August 28, 2008 8:27 AM

Random colors or Repeatable Colors
Original Article: 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 ......

Posted On Tuesday, December 18, 2007 1:30 PM

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… ......

Posted On Tuesday, August 21, 2007 3:49 AM

Parsing HTML in Microsoft C#

Original Article

By Jeff Heaton

Posted On Thursday, May 17, 2007 1:57 PM

no brainer public file transfer

no brainer public file transfer

Posted On Sunday, January 28, 2007 9:59 PM

How to Make Your Web Site Sing for You
How to Make Your Web Site Sing for You Original NYTimes Article 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 ......

Posted On Wednesday, November 15, 2006 7:38 PM

C# wait for n seconds
C# wait for n seconds
5 seconds:

Posted On Tuesday, November 7, 2006 1:27 PM

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, ......

Posted On Saturday, October 28, 2006 2:29 PM

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: ......

Posted On Friday, August 25, 2006 5:49 AM

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, ......

Posted On Tuesday, July 25, 2006 4:21 AM

Copyright © Rodney Vinyard | Powered by: