Welcome to LEAD Support Forum Login | Register | Faq  

    LEAD Support Forum
  Resource to find answers and post technical questions about LEAD products.
Search    
   

Internet Deploy LEAD TOOL MAIN Control in a CAB File
Started by MOUSA at 07-21-2007 13:58. Topic has 3 replies.

Print Search « Previous Thread Next Thread »
  07-21-2007, 13:58
MOUSA is not online. Last active: 7/19/2007 1:52:00 PM MOUSA

Not Ranked
Joined on 07-19-2007
Posts 4
Internet Deploy LEAD TOOL MAIN Control in a CAB File
Reply Quote

Hi,

i create activeX control in VB and i reference LeadTool Main Control ltocx14n.ocx and i create my Setup as cab File Using Package & Deployment VB Tool i include on the setup all neccessary files, including the files on the ltocx14n.CAB files in the Redist\ Folder

But when i call the ActiveX from a web page the activeX control does not installed and the no shown !!!

is there other files i should include on my AciveX CAB  file ???

 

 

Many Thanks in advanced

Regards

Laith


   Report 
  07-23-2007, 16:59
GregR is not online. Last active: 8/29/2008 2:25:56 PM GregR



Top 10 Posts
Joined on 05-31-2006
In House
Posts 1,540
Re: Deploy LEAD TOOL MAIN Control as in an ActiveX CAB
Reply Quote
First of all, the OCX isn't the only file you will need for your application to run on a client's machine.  You will need some of the main DLLs (such as ltkrn14n.dll) as well as image filters (like lfcmp14n.dll).  Make sure to read the help file article "Files to be Included With Your Application" to determine which files you need to redistribute.

Additionally, read the FAQ articles 43LHQ, 45LHQ, 46LHQ, and 51FAQ from http://support.leadtools.com/ which explain in more detail the process required to deploy OCX controls over the web.

Greg Ross
LEADTOOLS Technical Support
   Report 
  07-30-2007, 10:30
MOUSA is not online. Last active: 7/19/2007 1:52:00 PM MOUSA

Not Ranked
Joined on 07-19-2007
Posts 4
Re: Deploy LEAD TOOL MAIN Control as in an ActiveX CAB
Reply Quote

Hi,

thanks for your reply, actually i include all the following DLL in my CAB file:

twain_32.dll
comdlg32.ocx
EntApi.dll
ijl15.dll
LFCMP14n.dll
LFFAX14n.dll
LFJBG14n.dll
LFTIF14n.dll
LTDIS14n.dll
LTEFX14n.dll
LTfil14n.dll
LTimg14n.dll
LTkrn14n.dll
LTocx14n.ocx
LTR14n.dll
LTRIO14n.dll
LTRTw14n.dll
LTRvr14n.dll
LTTwn14n.dll
MSCOMCTL.ocx

including all the DLL's in the LTOCX14N.CAB but stil the ActiveX control does not displayed on my page i coudn't find whats else missing, i check ActiveX security issues and i include my web server on the trusted zune, if i remove all lead tool reference from My Custome ActiveX control it's display correct on my page.

also i create LPK file and add it's parameter path on the HTML page

Kindly could you tell me what DLLs/OCX i have to register

 

Regards

 

 

 


   Report 
  08-01-2007, 9:25
GregR is not online. Last active: 8/29/2008 2:25:56 PM GregR



Top 10 Posts
Joined on 05-31-2006
In House
Posts 1,540
Re: Deploy LEAD TOOL MAIN Control as in an ActiveX CAB
Reply Quote
I also receieved and replied to your email regarding this same topic.  Please keep this conversation to one method so that we are not repeating ourselves and that this conversation will be easier to track.


The help file article "Files to be Included With Your Application" will tell you exactly which dlls need to be registered and which ones don't.  This will also help you determine which DLLs you need to deploy.  Additionally, you can test and see which DLLs are being loaded by your application at any time by using Process Explorer.  This is a free program that is available from http://www.microsoft.com/technet/sysinternals/utilities/ProcessExplorer.mspx.  Use this program and see what DLLs load on your development machine and then see what is missing from your deployment machine.

Also, I'm not sure why you are mixing the COM and the OCX interface together.  Both interfaces should be able to do about the same thing.  Keep in mind that the COM and OCX interfaces also use different filters (lfcmp, lftif, etc.) so if you are using both the main control and the RasterIO control to load and save images, you will need to double the number of DLLs needed since you will need both versions (N and S) of the filters.

Greg Ross
LEADTOOLS Technical Support
   Report 
Post
LEAD Support Fo... » Developer » Internet » Internet Deploy LEAD TOOL MAIN Control in a CAB File

Powered by Community Server, by Telligent Systems