Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Location
Message
General information
Forum:
Visual Basic
Category:
Database DAO/RDO/ODBC/ADO
Title:
Miscellaneous
Thread ID:
00896445
Message ID:
00896566
Views:
12
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
Previous
Reply
Map
View

Click here to load this message in the networking platform