hi!
i have found the complete response
Dim ObjAccess As Object
Set ObjAccess = CreateObject("Access.Application")
ObjAccess.Visible = True
ObjAccess.OpenCurrentDatabase (Label2.Caption)
ObjAccess.UserControl = True
Set ObjAccess = Nothing
first you use create object(automation)
you have to set it visible..
and... load the concerned database
but you have to give the control to the user if you want close your vb
application(release object) without closing the access object.....
Antoine Gilbert
http://www.gel.ulaval.ca/~gilber02
/////////////////////////
Hi
I have a small problem in VB
i want to launch(open MsAccess, with the mdb loaded) a microsoft database
file(.mdb) without knowing the path of MsAccess.exe on the hard disk.
Antoine Gilbert
http://www.gel.ulaval.ca/~gilber03
[EMAIL PROTECTED]
[EMAIL PROTECTED]
----------------------------------------------------------------------
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]
----------------------------------------------------------------------
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]
----------------------------------------------------------------------
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]