Recent Posts

Pages: 1 [2] 3 4 ... 10
XML / Re: XML SortByTag
« Last post by Chilkat on June 04, 2018, 04:54:37 PM »
Worked fine for me in v9.5.0.73
XML / XML SortByTag
« Last post by gertir on June 04, 2018, 08:34:33 AM »

I'm trying to sort all nodes by name, but I'm getting unexpected behaviour.
What I expect is then mod:clausule nodes would be ordered right after mod:afsluitprovisieproducent.
Howeverthese nodes are ordered at the beginning, before mod:aantalstappenafbouwregeling.
When I remove one (random) mod:clausule node, all other mod:clausule nodes are sorted like expected.

Chilkat version is
Here's the xml:
<?xml version="1.0" encoding="utf-8" ?>
<mod:subpolis pc="W">
    <mod:omsproductcode>Uitgebreide gevarenverzekering</mod:omsproductcode>
    <mod:transactiestatus>In behandeling</mod:transactiestatus>
    <mod:clausule pc="W">
    <mod:clausule pc="W">
    <mod:clausule pc="W">
    <mod:clausule pc="W">
    <mod:clausule pc="W">
    <mod:clausule pc="W">
    <mod:clausule pc="W">
    <mod:conditie pc="W">
    <mod:mijverdelingpolis pc="W">
    <mod:polisvrij pc="W">
        <mod:rubriek1>Royement i.v.m. opzegging</mod:rubriek1>
    <mod:tekstpolis pc="W">
Digital Signatures / Re: Signing XML with smartcard(private key not exportable)
« Last post by stary on June 02, 2018, 08:39:02 AM »
I was excited reading the new version ( Release Notes:
XmlDSigGen Now capable of using non-exportable private keys on Windows, such as for A3 certificates where the private key is on a hardware token.

I am using Gemalto K30 USB hardware token, where some certificates are stored.   
I've just tried new version ActiveX, but there is still the same problem as it was in previous version.

I can  read public key with Cert.ExportPublicKey() method,  but not the private key with Cert.ExportPrivateKey() method.

This is what I get from Cert.LastErrorText property:

Code: [Select]
    DllDate: May 22 2018
    UnlockPrefix: NONE
    Architecture: Little Endian; 32-bit
    Language: ActiveX
    VerboseLogging: 0
      Failed to export private key.
      The private key is not exportable from the Windows protected store.

Is there a possible solution for this?


.NET / Re: How to check existing directory faster on FTP server
« Last post by Rajnishsmu on June 01, 2018, 03:27:51 AM »
Hi dev
I have to  upload Directory recursively on FTP server using Chilkat.Ftp2 class and ftp.LargeFileUpload() method.

We are checking directory via loop,checking wether the directory exist or not which is  taking too much time.
So we need to check entire directory faster. Can you please suggest any chilkat method or propertis to check existing directory.
.NET / Re: How to check existing directory faster on FTP server
« Last post by dev guy on May 31, 2018, 06:17:07 PM »
Have you thought about downloading the directory tree to xml (.DirTreeXml) and parsing that?
Android / Re: Android Java App crashes on loading chilkat library
« Last post by Rudiment on May 30, 2018, 06:43:00 AM »
I figured out all is working well as long as I am on a device that is below armv8a.
But i did add the latest library and java (com) to the project (armv8a).

The app crashes if i create my apk file and start it after i did install on my device
(Samsung S7 Android 7.0 Armv8a) directly via apk.

If I install from compiler directly (with active debugging) it does not crash and is installed correctly.

For J5 and other phones it works. But they are using armv7a mainly!
.NET / How to check existing directory faster on FTP server
« Last post by Rajnishsmu on May 29, 2018, 09:03:22 AM »

To create log file for our FTP project, for each file and folder we are using chilkat dll for upload directory through ftp.LargeFileUpload() method. Here we are checking that the directory is exist or not in FTP server, into the For loop via ftp.ChangeRemoteDir() method. This process is taking too much time to check the existing directory.Is there any other way to find out the same which will take less time to check existing directory.
REST / HTTP / HTTPS / Re: Default value of AwsSignatureVersion is 4 not 2
« Last post by Danne on May 29, 2018, 04:19:37 AM »
FWIW: I just discovered that this is documented in the release notes.
I think keeping the connection long-term is the best way to go.  It might be a good idea to call imap.Noop once every few minutes when there is no activity.
Apologies if this seems an obvious answer...  :-[

... But I've been trying to work out if it's better to create a single long lived instance of the Imap object that exists over the entire Program or Thread/Task or if I should create an instance at the time I need the email information during the programming process.

Thinking it through and reading the RFC documents, I believe that a long running instance is the way to do it as long as the connection is kept alive or checked and re-connected to as required, but there isn't a clear explanation that I've found and each of the examples always Chilkat gives only show a single process with no reference as to how much "work" is acceptable for the instance.  ???

Any pointers or advice or just confirmation would be great...
Pages: 1 [2] 3 4 ... 10