Print Page | Close Window

NullReferanceException was unhandled

Printed From: Debenu Quick PDF Library - PDF SDK Community Forum
Category: For Users of the Library
Forum Name: General Discussion
Forum Description: Discussion board for Debenu Quick PDF Library and Debenu PDF Viewer SDK
URL: http://www.quickpdf.org/forum/forum_posts.asp?TID=2859
Printed Date: 22 Nov 24 at 11:29PM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: NullReferanceException was unhandled
Posted By: don6558
Subject: NullReferanceException was unhandled
Date Posted: 04 Apr 14 at 7:36AM
I've been working away programming and debugging as I go. Everything working as expected. I'm using a Dataset. I find I don't need 2 of the original column names so I delete 1 and change the name of the other. I try to run the code again and I get the error "NullReferanceException was unhandled" at QP.LoadFromFile(MyPDF, ""). MyPDF does contain the path string.

So, I change the column name back to original and add another column using original name and it works. I add a new column and it works. I change new column name and it continues to work.

I don't understand why/how QP can know or even care columns are changed.

Ideas?



Replies:
Posted By: don6558
Date Posted: 04 Apr 14 at 7:39AM
Oops! It is probably important to let you know I'm programming in 2010 vb.net;-)



Print Page | Close Window

Forum Software by Web Wiz Forums® version 11.01 - http://www.webwizforums.com
Copyright ©2001-2014 Web Wiz Ltd. - http://www.webwiz.co.uk