Visual Basic Tutorial: How to Create a PDF File

preview_player
Показать описание
This video briefly shows how to create a PDF file using a class that can be downloaded from the links below.
Комментарии
Автор

Hey Gus. I am glad you were able to fix the issue. Thank you for sharing your answer, and thank you for teaching me something!

KRobto
Автор

Hi KRob and thanks for your quick reply.
I finally found the problem comparing the files from both machines: they had different regional settings.
In Italy the decimal separator is the comma while in UK or USA is the dot.
strDrawImage += imgWidth.ToString(fmt) + strBitMap was returning "150, 00" as coordinate rather than "150.00"
I used the replace function on the string to fix it and everything is working perfectly.
Great tutorial, thanks for your support!
Gus

galileoinformatica
Автор

No problem friend. Good luck on your project, happy coding!

KRobto
Автор

Thank you very much, , for thr code, , , I liked

MohsineJirou
Автор

hi krob, thank u very much it is very helpfull for my assessment than u alott, and i like ur way of sharing

rishimithiran
Автор

I appreciate the video and the code! How do you add additional fonts? I really need the 3 of 9 Barcode font... Any help is much appreciated!!!

dcrump
Автор

Thanks for sharing. Would like to ask how can we insert an image into?
Thanks!

teckyongsiong
Автор

Hi. Thanks for the tutorial. I am trying to make a checklist page which the person will enter some answers from a dropdown menu and insert some texts. My goal is print the page as it is visualized on the debug. With all the questionnaire that i created plus the answers that the person selected. How can i do that ? Thanks

csj
Автор

Thanks. Okay I see that you used .NET 2.0 as your target framework. The easiest way to fix this would be rebuild your project using a more recent framework -.NET 4- if you can? I do not know the .NET 2 framework so I am not sure exactly what the issue is, but it has to do with your reference/component dependencies.

KRobto
Автор

Hey TheBlueye89. I can't debug it if I can't reproduce the same error as you, but I can tell you that dicFontsUsed is a dictionary and Keys is a default property of a dictionary object... Did you download the solution from the link provided in the description?

KRobto
Автор

Yea if you copied the exact class and added it into your project, it should work just fine. For me to figure out why it's not, I would need to look at the same thing you are looking at. Is there anyway you can share your solution?

KRobto
Автор

Hello Genius! the text is being displayed in single line in my pdf file no matter if i change line in the textbox txtText! Which part of code i need to change! Thanks in advance!

jeetunnivesh
Автор

Good day sir... I have a problem.. How can i proceed the text to the next line? I already used "vbNewLine" but it doesn't working at all.

sherwinsandoval
Автор

Hello Krob. i'm having problems with the jpg and bmp. I'm getting an error when i want to open the pdf- file. What can be the problem?

jkozzen
Автор

Can you please give source code of pdf writer in vb.net without any dll

aboobackernp
Автор

Hey Anoop, sorry I did not see your comment until now. Where you still looking to add a password?

KRobto
Автор

Error (429)
This account's public links are generating too much traffic and have been temporarily disabled! - Please resolve it

lyjoj
Автор

"View PDF class in text" link is broken.... Can you please update or give me the text ??

pod
Автор

nice, but we can't see the code source, , can you give me the Code source
& Thnks for the video ;)

MohsineJirou
Автор

Excellent for converting text to .pdf.  I wrote a blog on the web site "VBCity.com" on how to print an invoice using a datagridview for the body back in December 2012.  I would like to know if the class that you provided with this tutorial would convert my invoice to a .pdf

michaelnewman
welcome to shbcf.ru