Results 1 to 3 of 3

Thread: [2005] Runtime Error

  1. #1

    Thread Starter
    Fanatic Member snufse's Avatar
    Join Date
    Jul 2004
    Location
    Jupiter, FL
    Posts
    912

    [2005] Runtime Error

    I have a windows form that consumes a .dll. (code below). When I run the program it intermittently gives me a runtime error (referring to C++ even if I am only using vb). I am not sure if it has something to do with an email I am trying to send from the code?

    We are using Windows XP and IE7.


    Public Class Form1
    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
    Dim NewClass As New Asphalt_Plant_Replication_Check.Class1
    NewClass.EntryPoint()
    End Sub
    End Class

    Error:
    Microsoft Visual C++ - Runtime Library
    Runtime Error
    R6025
    Last edited by snufse; Nov 12th, 2007 at 03:50 PM.

  2. #2
    Junior Member
    Join Date
    Oct 2007
    Posts
    27

    Re: [2005] Runtime Error

    put a breakpoint at the first line of the script(Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click). Press play, then execute each line at a time by using F11. See which line it crashes on.

  3. #3
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: [2005] Runtime Error

    Presumably the library you're referencing uses the C++ class library and this error is occurring in the C++ code.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width