Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
I need help Programing a new program.
#14
It is a segment of code that catches all errors in a code, so for example:

Code:
Try
Dim file As String = "readme.txt"
        Dim d As New System.IO.DirectoryInfo("C:/")
        Dim f As System.IO.FileInfo()
        f = d.GetFiles(file, IO.SearchOption.AllDirectories)
        If f.Length > 1 Then
            'There are multiple occurences of this file
        Else
            For Each element In f
                WebBrowser1.Navigate(element.FullName)
            Next
        End If
Catch ex As Exception
   Continue For
End Try
My Blog | My Setup | My Videos | Have a wonderful day.


Messages In This Thread
Re: I need help Programing a new program. - by brandonio21_phpbb3_import2 - 03-04-2012, 11:20 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  help with making a simple program Yevzor 2 13,859 03-29-2013, 05:04 AM
Last Post: Yevzor
  How to Package MySql Connector and MySql Program? Moldraxian 3 13,901 07-20-2012, 12:23 PM
Last Post: brandonio21
  Still difficulties with username and password program selimaydi 4 17,529 10-18-2010, 07:45 AM
Last Post: selimaydi

Forum Jump:


Users browsing this thread: 1 Guest(s)