CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Jul 1999
    Posts
    7

    Invalid Page Fault Error while invoking Execute method of Ado connection object

    Some times while invoking the Execute method of Ado connection object, the following error is coming.

    VB6 caused an invalid page fault in module syutl95.dll

    Every time dll name will be different some of them are msflxgrd.ocx,tabctl32.ocx,ivutl3.dll,kernel32.dll,wininet.dll,ssscc.dll,<unknown>

    If any one knows the solution pleas reply.

    thanks,


    Santosh N
    Sr. Software Engineer,
    Wipro Infotech, India.

  2. #2
    Join Date
    Aug 1999
    Location
    Toluca, Mexico
    Posts
    8

    Re: Invalid Page Fault Error while invoking Execute method of Ado connection object

    Maybe, that error is because the execute method is only for add records to a table like this:

    dim db as database
    dim sInsert as string
    'Insert query. Appends a record with "Jorge" and
    ' 23 in fields Name and Age
    sInsert="INSERT INTO Students (Name,Age) Values ('Jorge',23);"
    'Open database
    set db=opendatabase("C:\My Documents\School.mdb")
    'Execute the query
    db.execute sInsert
    'Close the database
    db.close
    'Free memory
    set db=nothing





    I hope this help you
    Jorge Ramirez


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

Featured