Welcome Guest! To enable all features, please Login or Register.

Notification

Icon
Error

  • 2 Pages
  • <
  • 1
  • 2
Options
View
Last Go to last post Unread Go to first unread post
#21 Posted : Tuesday, July 8, 2008 5:57:21 AM(UTC)

Yasir Alani  
Guest

Groups: Guests
Posts: 3,022

Was thanked: 2 time(s) in 2 post(s)

I'm afraid that we don't have any Javascript documentations for our toolkit. However, the ActiveX and COM Objects codes are easily used with Javascript, and you may be able to use them to write your code.

About multi-page TIFF files, you should be able to load them and save annotations to them. Different annotations can be saved on different pages.
 
#22 Posted : Thursday, July 10, 2008 12:57:32 AM(UTC)

bipino7  
bipino7

Groups: Registered
Posts: 15


Hi, do you have any javascript code examples for working with leadtools activex 14.5 so that i can explore more on that.Currently am facing problems in loading and saving annotations in multi page tiff file and also removing some of the buttons from annToolbar.

All your help with be appreciated.

Thanks
 
#23 Posted : Friday, July 11, 2008 5:59:44 AM(UTC)

GregR  
GregR

Groups: Registered, Tech Support, Administrators
Posts: 764


I don't have any javascript examples for this functionality.  All of the functions for the Main ActiveX control will work in Javascript just like it does for VB, C++ or any other language.  You just need to port the code to javascript which shouldn't be too hard to do from the VB examples.
 
#24 Posted : Monday, July 28, 2008 9:29:54 PM(UTC)

bipino7  
bipino7

Groups: Registered
Posts: 15


Hi..I have a deployment issue of my web application that uses leadtools activex 14.5 version.I have used leadtool main activex control.I made a cab file that includes ltocx14e.ocx with all its dependent dlls.my application works perfectly well while running locally but when i tried to run in other client machines it could not installed the dependent controls. The popup message says as "Microsoft could not installed this software because it could not veryfy the publisher".Pls help me how to fix this problem.

Thanks
 
#25 Posted : Tuesday, July 29, 2008 12:05:08 AM(UTC)

bipino7  
bipino7

Groups: Registered
Posts: 15


Thanks for sample code.I displayed toolbar and it works perfectly well.Now the only issue is how to display the same toolbar in other client machines where leadtools activex version is not installed.I also checked the lead main help file including "files to be included with your application" but still couldn't sort out the necessary ocx and dlls.Can you please tell me how to fix these deployment issues.

Thanks
 
#26 Posted : Tuesday, July 29, 2008 5:39:30 AM(UTC)

GregR  
GregR

Groups: Registered, Tech Support, Administrators
Posts: 764


 bipino7 wrote:
The popup message says as "Microsoft could not installed this software because it could not veryfy the publisher"


This is a security issue.  You need to either sign your CAB file or lower the security settings in IE.  It looks like the links in the 51FAQ article have been moved and MSDN didn't make a redirect page (I'll make sure to fix this).  Please take a look at this article:

http://msdn.microsoft.com/en-us/library/3h8ff753(VS.80).aspx

If you need further help with creating a CAB file or with IE's security settings, please contact Microsoft.
 
#27 Posted : Wednesday, August 6, 2008 11:34:32 PM(UTC)

bipino7  
bipino7

Groups: Registered
Posts: 15


Hi,
I would like to know how to load tiff file using url host i.e using http:// as file location in lead activex main control.

Thanks
 
#28 Posted : Thursday, August 7, 2008 7:04:17 AM(UTC)

GregR  
GregR

Groups: Registered, Tech Support, Administrators
Posts: 764


Use the BitmapDataPath property to do this.  For more information and an example, please see the Raster main ActiveX help file.
 
#29 Posted : Thursday, August 7, 2008 8:24:04 PM(UTC)

bipino7  
bipino7

Groups: Registered
Posts: 15


Hi, I used BitmapDataPath property in javascript but could not achieve the result.I am not sure if i can use this property in javascript as I am working with leadtool activex and javascript.Also I need to load multipage tiff file with this propery as well.
 
#30 Posted : Friday, August 8, 2008 4:37:25 AM(UTC)

GregR  
GregR

Groups: Registered, Tech Support, Administrators
Posts: 764


The BitmapDataPath property works fine in javascript for me.  Most likely you are simply pointing it to an invalid URL or you haven't deployed the necessary DLLs for loading that file.

BitmapDataPath also works with multipage files.  However, you must wait for the image to completely load (READYSTATE_COMPLETE) before trying to change any properties such as BitmapListIndex.

<html>
<head>
<script Language="JavaScript">
    function OnLoadFunction()
    {
        LEAD1.BitmapDataPath = "http://www.leadtools.com/images/05web-home-logo.gif";
    }
</script>
</head>
<body onLoad="BLOCKED SCRIPTOnLoadFunction();">
      <OBJECT id=LEAD1 name=1 
      classid=CLSID:00140000-B1BA-11CE-ABC6-F5B2E79D9E3F
      width=500 height=400></OBJECT>
</body>
</html>
 
#31 Posted : Monday, August 11, 2008 2:23:47 AM(UTC)

bipino7  
bipino7

Groups: Registered
Posts: 15


Thanks for your quick support.Now i can load my tiff file using http url host. Now i also need to save annotations in the tiff file in that same http url location and then also need to load the annotation files.I'm currently using annsave and annload method for this, which works fine while working locally.I guess these methods does not support 'http' as annotation file location, in that case how can i save and load annotations using http url location.

Thanks
 
#32 Posted : Monday, August 11, 2008 4:07:30 AM(UTC)

GregR  
GregR

Groups: Registered, Tech Support, Administrators
Posts: 764


We do not have anything that can load or save the annotation files using a URL.  You will need to download/upload the files from/to the server.  We do not provide anything to download and upload files, so you will need to check out MSDN for help with downloading and uploading files to your server.
 
#33 Posted : Monday, August 11, 2008 11:35:17 PM(UTC)

bipino7  
bipino7

Groups: Registered
Posts: 15


I used annDataPath property for loading of annotation files from the url,but could not achieve the result,it says 'ltocx14e:featured not available';.Is there any possibility to save and load annotation files using url beside uploading and downloading.
 
#34 Posted : Tuesday, August 12, 2008 5:04:42 AM(UTC)

GregR  
GregR

Groups: Registered, Tech Support, Administrators
Posts: 764


AnnDataPath should allow you to load annotation files, but in order to save them you would still need to upload them to the server. 

I was not able to reproduce your error on my end.  Make sure that the annotation file is valid and that your URL is correct. 

What is your file version of ltocx14*.ocx?
 
#35 Posted : Tuesday, August 12, 2008 8:04:48 PM(UTC)

bipino7  
bipino7

Groups: Registered
Posts: 15


I am using leadtools 14.5 and ltocx14e.ocx main control. I tried using annDataPath property with http and ftp in a url.In both cases, i got the same featured not supported message alert.

Also i need to make sure annDataPath property will load annotations in each file of multi page tiff file.However this works fine with annload method while loading annotations locally.In annLoad method,we have to provide page number along with file location.

 
#36 Posted : Wednesday, August 13, 2008 4:40:11 AM(UTC)

GregR  
GregR

Groups: Registered, Tech Support, Administrators
Posts: 764


I see that you are evaluating the SDK, that's fine.  However, I needed the FILE version of ltocx14e.ocx (i.e. 14.5.0.x).  I want to make sure you are using the latest DLLs.  However, this might not make any difference since it looks like you won't be able to use AnnDataPath for your application.

There is no way to specify a page number with the AnnDataPath property.  If you  need to have multiple pages in your annotation file, then you will need to use AnnSave and AnnLoad.
 
#37 Posted : Wednesday, August 13, 2008 7:27:30 PM(UTC)

bipino7  
bipino7

Groups: Registered
Posts: 15


my file version of ltocx14e.ocx is 14.5.0.44.

AnnSave and AnnLoad supports only local drive file path i.e like c://tmp.tiff. These methods does not support http file path.So we cannot use these methods to load file using url

so if we have to load multi annotations files of multi page tiff file how should we do this using http url.

How does AnnDataPath load annotations file of multi page tiff file

 
#38 Posted : Thursday, August 14, 2008 4:28:21 AM(UTC)

GregR  
GregR

Groups: Registered, Tech Support, Administrators
Posts: 764


You cannot load multipage annotation files with AnnDataPath.  It ONLY loads single page annotation files.

To load a multipage annotation file, you will need to download it from the server to the local machine, then open it with AnnLoad.  To save the annotation files, you will need to use AnnSave to save it to the local disk, then upload it to your server.

Due to browser security limitations and limitations within javascript, you will not be able to download and upload files.  You will need to use some kind of scripting language such as ASP or ASP.NET.  Unfortunately, this aspect of your application is outside the scope of our support, so you will need to contact Microsoft or a general web development forum.
 
  • 2 Pages
  • <
  • 1
  • 2
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.

Powered by YAF.NET | YAF.NET © 2003-2021, Yet Another Forum.NET
This page was generated in 0.107 seconds.