Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DHTML Project, invalid use of New keyword
Message
De
15/12/2000 14:27:40
 
 
À
15/12/2000 12:32:58
Information générale
Forum:
Visual Basic
Catégorie:
Applications Internet
Divers
Thread ID:
00454050
Message ID:
00454121
Vues:
27
>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
Fil
Voir

Click here to load this message in the networking platform