By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,333 Members | 1,047 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,333 IT Pros & Developers. It's quick & easy.

Viewing PDF files in windows apps

P: n/a
Hi all,

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,

Nov 21 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.