smsm kw wrote: > <>after i add Embedded Resource , i still having zero byte of pdf and > the follwing message and exception : > > - the exception is : > > An unhandled exception of type 'System.IO.IOException' occurred in > ConsoleApplication2.exe > > Additional information: The document has no pages. > > - the message that appears on the console window is : > > Helvetica not found as resource. > You say you have embedded the file helvetice.afm into the .NET equivalent of a Java jar-file. Yet nothing has changed in the error message: it is as if the file is not there.
The only help we can give you is: - are you sure you have added the file? - did you add it on the correct place? - what if you write a test sample: can you read the file? I mean: if I had a similar problem with a jar, I would try to open the file in a short code sample of a few lines. This will probably also give me an IOException, but probably one that gives me more information about the reason why the file can't be reached. br, Bruno ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions
