Sample code problems.
Posted: Wed May 09, 2012 6:57 pm
I've installed the novaPDF SDK and downloaded the VB6 and C# samples. I can not get either one to run or compile. For the VB6 sample (HelloWorld) it is getting an "-707133416:Automation error" right after the first line of the program
pNova.Initialize2 PRINTER_NAME, "", "", "" .
In the Project->References it shows "novaPI 7.6 Type Library".
So then I tried the C# sample. I deleted the Reference to the nova lib since it was version 6. I then add the reference to novapiLib that was shown in the 'Add References' list. When I compile all the nova.... statements fail (error CS0103: The name 'nova' does not exist in the current context).
I have the following at the top of the file:
// the novapiLib package must be added as a COM reference
using nova;
using novapiLib;
Is there some other package I should add?
I assume maybe I'm missing the "nova" package?
I am very new to C#.
After installing I rebooted my PC. I have on XP Service Pack 3, 32bit.
Thanks for any hints or help...
Alan
pNova.Initialize2 PRINTER_NAME, "", "", "" .
In the Project->References it shows "novaPI 7.6 Type Library".
So then I tried the C# sample. I deleted the Reference to the nova lib since it was version 6. I then add the reference to novapiLib that was shown in the 'Add References' list. When I compile all the nova.... statements fail (error CS0103: The name 'nova' does not exist in the current context).
I have the following at the top of the file:
// the novapiLib package must be added as a COM reference
using nova;
using novapiLib;
Is there some other package I should add?
I assume maybe I'm missing the "nova" package?
I am very new to C#.
After installing I rebooted my PC. I have on XP Service Pack 3, 32bit.
Thanks for any hints or help...
Alan