Writing code in VB .net express edition

Hello.I use Visual Basic 2005 Express Edition and I wan't to now where I can found diferent functions for VB.For example: How to launch a program when the user click a button


Answer this question

Writing code in VB .net express edition

  • nihk

    hi

    you can use process start from system.diagnostics name space with the aplication name like "notepad.exe"

    System.Diagnostics.Process.Start("app.extention")

    hope this helps



  • Dave Collins

    ok.thanks.....and how I can handle errors.......(like file not found)

  • DarkDragon03

    You can use a Try... Catch block to test for errors such as "file not found". See the following for an example:

    http://msdn2.microsoft.com/en-us/library/ys1b32h3(VS.80).aspx

    Hope this helps,

    Steve Hoag

    Visual Basic Express



  • Writing code in VB .net express edition