Page 1 of 1

ADRGetTemplateTag return a string(256)

Posted: Mon Apr 27, 2009 6:55 pm
by kketterman
I am trying to use this method but cannot get rid of the extra characters.

This is only affecting display the template tag in a statusbar.

Re: ADRGetTemplateTag return a string(256)

Posted: Tue Apr 28, 2009 10:20 am
by Loïc
Hi,

Could you give me more precisions ? I don't understand your problem.

Kind regards,

Loïc

Re: ADRGetTemplateTag return a string(256)

Posted: Tue Apr 28, 2009 2:44 pm
by kketterman
I have found a work-around for the moment, but here is what I found...

When I call adrgettemplatetag, I get a string back with a length of 256.

when I iterate through the collection and display the results in a messagebox, all the templates are shown.

If I try to append the values to a textbox or even a string variable, I get the first value only.

When I view the code-hint's while debugging, I noticed the value display with ("The Tag) and is missing the trailing quote.

Re: ADRGetTemplateTag return a string(256)

Posted: Tue Apr 28, 2009 3:06 pm
by Loïc
Hi,

Could you give me a code snippet to reproduce this behavior ?

Kind regards,

Loïc

Re: ADRGetTemplateTag return a string(256)

Posted: Tue Apr 28, 2009 3:18 pm
by Loïc
OK !

I reproduced the problem. I am on it...

Kind regards,

Loïc

Re: ADRGetTemplateTag return a string(256)

Posted: Tue Apr 28, 2009 3:36 pm
by Loïc
Fixed,

Please wait for the next minor release.

Kind regards,

Loïc