Skip to main content

Hi all,

Hope you are having a good summer.

I'm still a newbie when it comes to COM objects in Visual Cobol but I was hoping someone might be able to help me with calling PDFCreator.  I am unsure if I am adding it correctly as a Reference but the program code isn't giving any error.  Various .Net messages are popping up when I run the code, which hint at being unable to find PDFCreator or, more specifically, its various .dlls.  

I have the ComWrapper in the class-id section plus some entries in $set -- maybe they aren't right though. I'm honestly all at sea as to how to get it to work. 

I can't seem to log in to the forum via any browser at work (but can view posts) so am using my home PC to post this message.  I'll try write more specific details tomorrow evening but if anyone has used PDFCreator from Visual Cobol before I'd appreciate if you could help.  Thank you!

John

Hi all,

Hope you are having a good summer.

I'm still a newbie when it comes to COM objects in Visual Cobol but I was hoping someone might be able to help me with calling PDFCreator.  I am unsure if I am adding it correctly as a Reference but the program code isn't giving any error.  Various .Net messages are popping up when I run the code, which hint at being unable to find PDFCreator or, more specifically, its various .dlls.  

I have the ComWrapper in the class-id section plus some entries in $set -- maybe they aren't right though. I'm honestly all at sea as to how to get it to work. 

I can't seem to log in to the forum via any browser at work (but can view posts) so am using my home PC to post this message.  I'll try write more specific details tomorrow evening but if anyone has used PDFCreator from Visual Cobol before I'd appreciate if you could help.  Thank you!

John

Hi John,

Are you trying to access PDFCreator in a Managed  (.NET) COBOL application ? If you are, the problems you are having could be what is described in this topic in the PDFCreator documentation :

https://docs.pdfforge.org/pdfcreator/latest/en/pdfcreator/com-interface/user-manual/how-to/use-com-from-dotnet/

Gael


Hi John,

Are you trying to access PDFCreator in a Managed  (.NET) COBOL application ? If you are, the problems you are having could be what is described in this topic in the PDFCreator documentation :

https://docs.pdfforge.org/pdfcreator/latest/en/pdfcreator/com-interface/user-manual/how-to/use-com-from-dotnet/

Gael

Many thanks Gael ... appreciate you looking at that query I had.  I will try that option in the next few days.  Sorry about not posting up any example code so far as things got a bit hectic work wise and also with having my sister and her family home from the US up to yesterday morning!  If everything works with the program code I'm writing I'll post it up here. 

Have a good day,

John