Previous | Next | (P-PDF) Acrobat 6.0
Topic: open fdf file from IE
Conf: (P-PDF) Acrobat 6.0, Msg: 135492
From: gayatri_iyengar
Date: 6/29/2005 04:55 PM
Hi ... i am creating fdf forms using vb.net
i use the follo code...the code creates the file but for some reason it doesnt seem to open
Dim objACXLib As New FDFACXLib.FdfApp
Dim objFDF As Object = objACXLib.FDFCreate()
Dim x As String = "Hello"
objFDF.fdfSetvalue("Field_1", x, False)
objFDF.FDFSetFile("http://afdwsit001/Xtrack/Conditions.pdf")
Response.Write("Hello")
Response.ContentType = "application/vnd.fdf"
Response.BinaryWrite(objFDF.fdfsavetoBuf())
Response.ContentType = "text/html"
objFDF.FdfSaveToFile("C:\Xtrack\Gayatri.fdf")
Response.Redirect("http://XTrack/COA123.fdf") : This line doesnt open the fdf file and i get an error "Page cant be found : your current security settings prohibit running activex controls on this page".. i tried to open the fdf file directly from the disk, but i get the same error message
can someone help ???