.NET Framework Developer Center > .NET Development Forums > .NET Base Class Library > Error The instruction at "0x08a0609c referrenced memory at "0x00000014"
Ask a questionAsk a question
 

General DiscussionError The instruction at "0x08a0609c referrenced memory at "0x00000014"

  • Monday, November 02, 2009 8:54 AMgrmotild Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Hello.
    I am working with winforms VB.NET VS2005
    Inside my form I have net webbrowser component. After success loading PDF file into webbrowser1 my application gives error on closing.


    The instruction at "0x08a0609c referrenced memory at "0x00000014". The memory could not be "read".
    What the best way to get it working.
    Close application without loading pdf file does not give error.

    Thank you
    Michael

    Michael

All Replies

  • Friday, November 06, 2009 7:02 AMeryangMSFT, ModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Hi,
    The exception tells nothing, we need to find the inner exception ourselves by debugging your source code, it will be helpful for further investigation if you can post the exception details here.

    Thanks,
    Eric
    Please remember to mark helpful replies as answers and unmark them if they provide no help.
  • Tuesday, November 10, 2009 9:12 AMeryangMSFT, ModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    We are changing the issue type to “General Discussion” because you have not followed up with the necessary information. If you have more time to look at the issue and provide more information, please feel free to change the issue type back to “Question” by clicking "Change Type" at the top of the thread. If the issue is resolved, we will appreciate it if you can share the solution so that the answer can be found and used by other community members having similar questions.

    Thanks,
    Eric
    Please remember to mark helpful replies as answers and unmark them if they provide no help.
  • Monday, November 16, 2009 11:57 AMgrmotild Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Hello

    I am using WebBrowser Control inside windows form

    I am using Webbrowser1.navigate(filepath)  code many times.
    User inputs part of pdf filename and I add extension. After that I an searching in our network and load it in case it was found.
    It's happened on close of application(Application.Exit action) after user many time uses this search

    Here is the code:

    Private

     

    Sub btnSearchJob_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnSearchJob.Click

    WebBrowser1.Navigate(

    "about:blank")

     

    Dim JobNumber As String = Me.txtJobNumber.Text.Trim

     

    Try

     

    Dim filePath As StringgetFileLocation(JobNumber & ".pdf")

     

    If Not String.IsNullOrEmpty(filePath) Then

    WebBrowser1.Navigate(filePath)

     

    Else

    ShowMessage(

    "Such number does not exist")

     

    End If

     

    Catch ex As Exception

     

    End Try


    Michael