For .NET programming with
ACT I
create two COM referrences. First referrence to the ACT.tlb and then
to the actevent.ocx. Next download the SDK. While the SDK is limited
you can usually get at the data that you need. An important decision
to make is whether your project is going to need to create the
Application Object or the Database Object. Here is the difference
when connecting.
The Application Object:
Shared ActElement As Object
Public Sub SetActElement()
Dim objApp As New Object
objApp = CreateObject("actole.appobject")
If objApp.IsDBOpen = False Then
MessageBox.Show("Failed to connect to ACT!. Open
ACT! and log on a database, then run the program again")
Application.Exit()
End If
ActElement = objApp
End Sub
The Database Object:
[code:1:42ead93459]
Shared ActElement As Object
Shared ActFields As DataSet
Public Sub SetActElement()
Dim objApp As New Object
Try
objApp =
CreateObject("actole.database")
objApp.OpenEx("")
If objApp.IsOpen = False Then
MessageBox.Show("Failed to connect to ACT!.
Open ACT! and log on a database, then run the program
again")
Application.Exit()
End If
ActElement = objApp
Catch ex As Exception
End Try
End Sub
[/code:1:42ead93459]
Good Luck,
bnye
Posted Via Usenet.com Premium Usenet Newsgroup Services
----------------------------------------------------------
** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
----------------------------------------------------------
http://www.usenet.com