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