Information générale
Catégorie:
Applications Internet
>I am writing a DHTML project for a VB class. My instructor is unreachable right now, and I'm having a problem at compile. He actually gave us the code for the project and I have entered it exactly as he did. I can't test the project, however, because in my load event I can't get past the code to create a new connection.
>"Set cnNorthwind= New Connection"
>I keep getting "Compile Error: Invalid use of New keyword"
>Am I missing an object library maybe? If so, which one?
>Thanks in advance,
>Charity
I'd try qualifying Connection with ADODB.
Set cnNorthwind = New ADODB.Connection
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement