Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. Error Count in VB?

Error Count in VB?

Scheduled Pinned Locked Moved Visual Basic
helpquestion
6 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • X Offline
    X Offline
    Xandip
    wrote on last edited by
    #1

    Hi there.. Can I get the count of errors which have occured during the running of my project? If Yes, how??

    The name is Sandeep

    S D 2 Replies Last reply
    0
    • X Xandip

      Hi there.. Can I get the count of errors which have occured during the running of my project? If Yes, how??

      The name is Sandeep

      S Offline
      S Offline
      Sathesh Sakthivel
      wrote on last edited by
      #2

      you can compile .net code on the fly. There is an article by Jim Rogers here.

      Regards, Satips.:rose:

      X 1 Reply Last reply
      0
      • S Sathesh Sakthivel

        you can compile .net code on the fly. There is an article by Jim Rogers here.

        Regards, Satips.:rose:

        X Offline
        X Offline
        Xandip
        wrote on last edited by
        #3

        Hi, Thnx for your interest. But frankly speaking.. i didnt get what you said. My question is corresponding to VB..

        The name is Sandeep

        S 1 Reply Last reply
        0
        • X Xandip

          Hi, Thnx for your interest. But frankly speaking.. i didnt get what you said. My question is corresponding to VB..

          The name is Sandeep

          S Offline
          S Offline
          Sathesh Sakthivel
          wrote on last edited by
          #4

          Did you go through the Link which i have provided there?

          Regards, Satips.:rose:

          1 Reply Last reply
          0
          • X Xandip

            Hi there.. Can I get the count of errors which have occured during the running of my project? If Yes, how??

            The name is Sandeep

            D Offline
            D Offline
            Dave Kreskowiak
            wrote on last edited by
            #5

            There is nothing in the .NET BCL that will do this for you automatically. Why would need such information anyway? About the only way I'd see this working is if you put some kind of information logger in every one of your exceptions handlers that called a remote component that logged all of this info. You might want to look into the Exception Handling Application Block[^].

            A guide to posting questions on CodeProject[^]
            Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
                 2006, 2007

            V 1 Reply Last reply
            0
            • D Dave Kreskowiak

              There is nothing in the .NET BCL that will do this for you automatically. Why would need such information anyway? About the only way I'd see this working is if you put some kind of information logger in every one of your exceptions handlers that called a remote component that logged all of this info. You might want to look into the Exception Handling Application Block[^].

              A guide to posting questions on CodeProject[^]
              Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
                   2006, 2007

              V Offline
              V Offline
              VB Prog
              wrote on last edited by
              #6

              In VB.Net, you can use perfmon.exe utility to get the number of expections. In VB 6, you would use the errors collection of ADODB connection object and get errors.count

              VB Prog

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups