LEADTOOLS Support
General
General Questions
MS Acess / Visual Basic: How to include ActiveX application files?
This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Monday, June 12, 2006 5:03:20 AM(UTC)
Groups: Registered
Posts: 1
I would like to creat a database with MS Access. The database should be on a server where severel computer should have access to it. The images are linked with leadtools (tool: Main Control 14.0, Microsoft Access 2003).
The problem is that the ActiveX applications must be installed on C: on every computer to recognise them and to see the images.
Is it possible to include the neccessery ActiveX plug ins (like ltocx14.ocx) or program an application in Visual Basic that can automatically download it from the server to C: ?
The code wich I use for integrating an images in Access:
Private Sub Form_Current()
Pfad$ = "M:\images\"
BildQuelle$ = Pfad$ & Me.Bild
existbild = Dir(BildQuelle$)
If (existbild <> "" Or existbild <> Null) And Not IsNull(Me.Bild) Then
Forms![FormularBildAnzeige]!lead1.Visible = True
Forms![FormularBildAnzeige]!lead1.Load BildQuelle$, 0, 0, 1
Else
Forms![FormularBildAnzeige]!lead1.Visible = False
'MsgBox ("Error")
End If
End Sub
Thank you for your help!
#2
Posted
:
Tuesday, June 13, 2006 10:58:25 AM(UTC)
Groups: Manager, Tech Support
Posts: 367
Was thanked: 1 time(s) in 1 post(s)
There are different ways to install an application and the LEADTOOLS components used by that application. For example, there are dedicated products for that if you want to create a professional installer, such as InstallShield or Wise Installer.
Whatever method you choose, you need to determine the needed LEAD files to be copied, and you also need to register any COM/ActiveX objects on the target machine. The list of needed files depends on the features used by the application. Even for your simple code that uses LEAD in only 3 lines, the list is not fixed, because the Load method can handle different types of image files, which require different file format DLLs.
For details, refer to the help topic "Files To Be Included with Your Application", which contains information about LEADTOOLS features and which distribution files are needed for them.
Amin Dodin
Senior Support Engineer
LEAD Technologies, Inc.
LEADTOOLS Support
General
General Questions
MS Acess / Visual Basic: How to include ActiveX application files?
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.