Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Location
Message
Information générale
Forum:
Visual Basic
Catégorie:
Bases de données DAO/RDO/ODBC/ADO
Titre:
Divers
Thread ID:
00896445
Message ID:
00896566
Vues:
11
1- If you gave the location of your database, why can't you remember it? You could also parse the ConnectionString property.

2- You can use TypeName:
Private Sub Command1_Click()
    MsgBox TypeName(Command1)
End Sub
>Hi All:
> I am new to vb and working on a project that was written by a programmer who is no longer with us. I have two questions and they are as follow:
>(1). In my program there is a code that point to Access database. How can I find out where is that database located?
>
>objCon.Provider = "Microsoft.Jet.OLEDB.4.0"
>objCon.Properties("Data Source") = "bg.mdb"
>How can I find out where is bg.mdb located?
>
>(2). Is there a way that would tell me if the object on a form is a label,textbox,checkbox etc. (Like vfp class)
>Thanks
>MA
Éric Moreau, MCPD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
Moer inc.
http://www.emoreau.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform