This project is read-only.

Problem in declaration


I really enjoy the simplicity of your work.
This is exactly what I was looking for. Just simple print a pdf file to a selected printer.
The only problem is that VS 2005 is returning an error by the minute I'm trying to initialize
Dim objPrint As New DocumentPrinter.
The error is returning is "Object reference not set to an instance of a project"
Any ideas..?!


tenkyu wrote Sep 20, 2010 at 8:36 PM

Have you ever try to debug the source code, i am using VS2008 but getting no error.

wrote Sep 20, 2010 at 9:31 PM

PapaioannouG wrote Sep 21, 2010 at 10:28 AM

No... I don't have C# installed on my computer
I'm using VB. Have you tried to use it in VB..?

tenkyu wrote Sep 21, 2010 at 8:13 PM

I just added the ConsoleDemoVB Project and it works fine too.
I think you have an error on construtuctor(Reading registery keys), and added the try catch mechanism to registry reading, can you download latest version, and test it again?

wrote Feb 13, 2013 at 3:11 AM

wrote Nov 30, 2017 at 7:14 AM