Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Dear Integencia
I am trying to read an ACT! v6.0 database into excel but have not been able to open the database using the programme DLL provided. I must be missing something obvious - has anyone tried this or can see if something is missing ? All help greatly appreciated, as usual. Andrew I am using the sample code supplied as follows: Sub MacOpenSingleUser() 'This sample demonstrates how to properly log on a multiuser ACT! database Dim objDatabase As Object 'Create the object Set objDatabase = CreateObject("ACTOLE.DATABASE") 'Open the database objDatabase.Open dbName 'Perform login validation If objDatabase.IsMultiUser Then 'at this point you can display a dialog which asks for 'username and password. The dialog is something you create. UserName = "****" Password = "****" objDatabase.ValidateUser UserName, Password If objDatabase.Error Then Login = False Else Login = True End If Else Login = True 'Single-user database - validation not required End If If objDatabase.IsOpen = False Then MsgBox "Failed opening the database" Else MsgBox "Currently open database is: " & objDatabase.GetDatabasePath End If Set objDatabase = Nothing End Sub |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Create a customer database with information flowing to another wor | Excel Discussion (Misc queries) | |||
database to Find customer by zip code | Excel Discussion (Misc queries) | |||
How can I create a customer database to use with an invoice? | Excel Worksheet Functions | |||
Customer Quoting Database | Excel Discussion (Misc queries) | |||
How do I create a customer database in excel | Excel Discussion (Misc queries) |