Hello,

I tried doing what is given in book.. But still not able to that.. It's 
throwing error for me.

And why do you say that it's impossible to do what I m trying to do?

Below the VB.net version of the code given in book. It does not work

Dim sB As AcroFields.Item = mFormFields.GetFieldItem(btnName) 'btnName is the 
name of the "Submit" button
Dim field As PdfDictionary = sB.merged(0)
Dim action As PdfDictionary = field.GetAsDict(PdfName.A)
Dim f As PdfDictionary = action.GetAsDict(PdfName.F)
f.Put(PdfName.F, New PdfString(url))


Regards,
Taher N Dhilawala
------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php

Reply via email to