referencing files that were included with vb.net solution

Posted by every_answer_gets_a_point on Stack Overflow See other posts from Stack Overflow or by every_answer_gets_a_point
Published on 2010-04-19T20:42:18Z Indexed on 2010/04/19 20:53 UTC
Read the original article Hit count: 151

Filed under:
|
|
|

my application builds a pdf with images

in the solution explorer i added a folder called pics and dropped all the images there

when i run the program from my computer, there are no problems, but when i had a different user install the application they get this error:

alt text

here's how i am including the image:

Dim jpeg2 As Image = Image.GetInstance(Application.StartupPath & "\pics\1.jpg")

i am using the itextsharp library

why is the user having this problem?

© Stack Overflow or respective owner

Related posts about vb.net

Related posts about c#