October 10, 2005

Skip Navigation LinksIrocon > Blog > 2005 > October, 2005 > October 10, 2005

How TO: Execute Files in .NET

Dim sProc As New Process() Try If File.Exists(strPath) Then sProc.StartInfo.FileName = strPath sProc.StartInfo.UseShellExecute = True sProc.Start() 'sProc.WaitForExit() End If Catch exFNF As FileNotFoundException MessageBox.Show("The file: '" & strPath & "' could not be found!",...Last Updated:Thursday, September 02, 2010By:alfero#

Creating a Movable Borderless Form

This wonderful code saved me from a lot of headaches. Great code!//**************************************//// Name: Most professional way of moving// a borderless form without APIs and witho// ut mouse pointer coordinates// Description:Want to move a form by cl// ick and dragging on the client area beca// use your form is bordless/captionless? T// his IS the way to do it...Last Updated:Thursday, September 02, 2010By:alferoSource#