Microsoft Visual C++ Run time library Run time error R6025 
Author Message
 Microsoft Visual C++ Run time library Run time error R6025

Need help,
I have just created a new form with the data wizard.
I have replaced the connection to a db via code by a connection to a
DataEnvironment
object as explained in chapter 12 - Sams - teach yourself database
programming in 24 hours

and here is the error message I got :

Run time Error
Program : VB6.exe
R6025 :
pure virtual function call

Here are the lines I replaced :
'Dim db As Connection
'Set db = New Connection
'db.CursorLocation = adUseClient
'db.Open "PROVIDER=Microsoft.Jet.OLEDB.3.51;Data Source=C:\Program
Files\Microsoft Visual Studio\VB98\hr5.mdb;"
  'Set adoPrimaryRS = New Recordset
  'adoPrimaryRS.Open "select
beginDate,done,endDate,milestone,numsubtasks,projectDesc,Projectid,projectNa
me,teamName from projects", db, adOpenStatic, adLockOptimistic

Here are the new lines :
    DataEnvironment1.comProjects
    DataEnvironment1.comToDo
    Set adoPrimaryRS = DataEnvironment1.rscomProjects



Wed, 12 Sep 2001 03:00:00 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. Microsoft Visual C++ Run time library Run time error R6025

2. Microsoft Visual Basic Run-time error

3. Strange Oracle error: ORA-06502 (and Microsoft run-time error -2147467259(80004005))

4. C++ Run Time Error

5. Code running in design time or run-time?

6. VBScript, type library, CTRL-BREAK and run-time error handling

7. run-time error using access object library

8. unrecognized database format (Microsoft Access 2000) run time error

9. unrecognized database format (Microsoft Access 2000) run time error

10. Run-Time Error 2486 - Can't Carry Out Operation at Present Time

11. Run-time error 3633 when run on a new machine

12. Run time error only when compiled runs

 

 
Powered by phpBB® Forum Software