DragonicZero
Programmer
Hi,
For a long time I searched the internet o see if there was a way to embed fonts into a VB.net application. Finally I found this FAQ: I followed the instructions and it worked, but unfortunately just after I saved the project, I tested it and it throws an error at this line:
Saying: [COLOR=black yellow]"Object reference not set to an instance of an object"[/color]
I dont know what seems to be the problem because before I save the project it runs just fine, but after I save it, it throws that error.
I started a new project and tried again, but the same thing happens.
Can anyone please help me with this?
For a long time I searched the internet o see if there was a way to embed fonts into a VB.net application. Finally I found this FAQ: I followed the instructions and it worked, but unfortunately just after I saved the project, I tested it and it throws an error at this line:
Code:
FntStrm.Read(ByteStrm, 0, Int(CType(FntStrm.Length, Integer)))
I dont know what seems to be the problem because before I save the project it runs just fine, but after I save it, it throws that error.
I started a new project and tried again, but the same thing happens.
Can anyone please help me with this?