VB Code:
Cursor.Current = System.Windows.Forms.Cursors.WaitCursor
'Creating the new instance of a process class
Dim startProg As New Process
'Prividing Application Name and File name to be opened
startProg.StartInfo.FileName = progAssociated
startProg.StartInfo.Arguments = " E:\PROJECTS\VSS22NDCENTURY\DOCUMENTS\Requirement Management\T-SRS-0001-034.doc"
Trace.Flush()
startProg.StartInfo.WindowStyle = ProcessWindowStyle.Maximized 'Maximized state
'Starting the Process
startProg.Start()
Trace.Flush()
Cursor.Current = System.Windows.Forms.Cursors.Default