tags:

views:

12

answers:

1

I am getting "Object Does Not Source Automation Events "

on the following VB 6.0 line

Public WithEvents conn As Connection

Please Help

+2  A: 

Maybe you have another class called Connection? From another library or from your own code? I assume you want an ADO connection, try forcing it

Public WithEvents conn As ADODB.Connection
MarkJ