PC SOFT

FORUMS PROFESSIONNELS
WINDEVWEBDEV et WINDEV Mobile

Accueil → WINDEV (précédentes versions) → Migration VB6 -> Windev5 (instruction set)
Migration VB6 -> Windev5 (instruction set)
Débuté par L. Pont, 03 mar. 2003 18:52 - Aucune réponse
Posté le 03 mars 2003 - 18:52
Comment puis-je traduire l'instruction vb6 suivante
Set conf = New yyy.clsConfiguration en windev 5.5

en vb6
Dim db As xxx.Connection
Dim conf As yyy.clsConfiguration

Set db = New xxx.Connection
Set conf = New yyy.clsConfiguration

db.OpenConnection "DSN", "login", "pwd"
Set conf.Database = db

en windev 5.5

Wdb est un objet ole "xxxx.Connection"
WConf est un objet OLE "yyy.clsConfiguration"

Wdb>>OpenConnection ("DSN", "login", "pwd")

??? WConf>>Database = &Wdb !! ne marche pas

Merci d'avance