Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7434295
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T09:48:45+00:00 2026-05-29T09:48:45+00:00

I have created a vb.net program and released it to the customer. They are

  • 0

I have created a vb.net program and released it to the customer. They are running the exe and at times the program crashes unexpectedly and display the message: “… has encountered a problem and needs to close”

I know I should have added code to handle the exception, but is there a way that I can find out which line in the program caused the error? What is generally as good way to track errors in a program after it has been released?

Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T09:48:46+00:00Added an answer on May 29, 2026 at 9:48 am

    for this kind of i-don’t-know-where-to-look issue, i trapped exception at application level with the Application.DispatcherUnhandledException event :

    http://msdn.microsoft.com/en-us/library/system.windows.application.dispatcherunhandledexception.aspx

    and then in the event handler i get the StackTrace and display it in a MessageBox / dump it in a file, along with the exception.Message.

    Next i offer the user the choice to re-launch the application.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

The whole story: I have created a fancy .NET program which has an installer
I have created a VB.NET program using windows forms. The program runs on a
I have created a program with a 30 day trial period in VB.Net. The
I have a C# DirectShow.net program that i created on a windows 7 32bit
I am using vb.net 2010 and I have created a program that uses sockets
I have created a VB.NET 2008 Class Library that has, for the most part,
I have created a .NET DLL which makes some methods COM visible. One method
I have created a VB.Net lending application for a cooperative that caters to widows.
I have created firstly ASP.NET MVC 2 . and write more functionality. After I
I have the following scenario. I have created an ASP.NET web application (framework 3.5)

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.