🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: adobe.acrobat.sdk
1 messages
1 total messages Started by Shagun Grover Sun, 10 May 2009 16:45
Datatype of oAcroPDDoc.GetJSObject() changes automatically
#24
Author: Shagun Grover
Date: Sun, 10 May 2009 16:45
24 lines
1951 bytes
Hi,

I am using Acrobat SDk for Adobe Professional 7.0 for integratting
Vb.net and Adobe forms.

I have some form feilds that used in my application.

The following code is used

            Dim jsObj As Object
            Dim oAcroPDDoc As Acrobat.AcroPDDoc
            oAcroPDDoc = avDoc.GetPDDoc()
            jsObj = oAcroPDDoc.GetJSObject()

            Dim H As Object
            H = jsObj.getField("Age")
H.value = "23"

Here 23 is a string that is set in the form feilds, How ever when
again I get the values of the "Age" field. by doing the
H = jsObj.getField("Age")

Here suprisingly the datatype of H changes to double. How can I
restrict this ? PLease help
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads