| | |
opening a database from vb6
Thread Solved
![]() |
•
•
Join Date: Oct 2008
Posts: 8
Reputation:
Solved Threads: 0
i am trying to create a button that will open a database from a vb6 system. I have got so far but i dont know what is meant to go instead of Database
Option Explicit
Dim ACC As Access.Application
Private Sub btnDatabase_Click()
Set ACC = New Access.Application
ACC.Database.Open ""
ACC.Visible = True
End Sub
would any1 be able to help?
thnx andy
Option Explicit
Dim ACC As Access.Application
Private Sub btnDatabase_Click()
Set ACC = New Access.Application
ACC.Database.Open ""
ACC.Visible = True
End Sub
would any1 be able to help?
thnx andy
hi. you can use shell command.try this
Visual Basic 4 / 5 / 6 Syntax (Toggle Plain Text)
Shell ("C:\\Program Files\\Microsoft Office\\OFFICE10\\MSACCESS.EXE ""D:\db1\database\db1.mdb")
![]() |
Similar Threads
- Crystal Report Exception Error when Viewing (Visual Basic 4 / 5 / 6)
- VB/MS Access Issue (Visual Basic 4 / 5 / 6)
- Connectivity of SQL 2000 + VB using ODBC (Visual Basic 4 / 5 / 6)
- How to create SECURITY LOGIN from front-end coding (MS SQL)
- VB6 Login (Visual Basic 4 / 5 / 6)
- Crystal Report Exception Error when Viewing (IT Professionals' Lounge)
- reading records from a .dbf file (Visual Basic 4 / 5 / 6)
Other Threads in the Visual Basic 4 / 5 / 6 Forum
- Previous Thread: passing data from form1 to form2
- Next Thread: How do you calculate prime numbers??
| Thread Tools | Search this Thread |
* 6 2007 access activex add age basic beginner birth bmp calculator cd cells.find click client code college connection connectionproblemusingvb6usingoledb creat ctrl+f data database datareport date delete dissertations dissertationthesis dissertationtopic edit excel excelmacro file filename form header iamthwee image inboxinvb internetfiledownload listbox listview liveperson login looping microsoft movingranges number objectinsert open oracle password prime program prompt range-objects readfile reading remotesqlserverdatabase report save search sendbyte sites sql sql2008 sqlserver subroutine tags time urldownloadtofile vb vb6 vb6.0 vba visual visualbasic visualbasic6 web windows





