I have placed an acrobat pdf control on my
windows form (axPdfLib). I can call the src
method of the control placed on the form
axPdf1.src = "filename"
and the first time I use it I load the pdf file
I require. However, when I attempt to load
another (different) pdf file I get a null
reference exception:
An unhandled exception of type 'System.NullReferenceException' occurred in mscorlib.dll Additional information: Object reference not set to an instance of an object.
Does anyone know what I might be doing wrong.
Does anyone have any code to allow me to load
one pdf and then when I have finished with it,
load another?
Many thanks,
Jason.