Hi,
I'm currently using the following to use a jpg inside a mail that I send by VB.NET (2008):
I want not to let the users to change this jpg file contents, so I want to use a resource file instead.
I know how I can put this jpg inside my resource file - but how can I point to it? The statement above requests for a string pathname, but I can't supply it when I use
Thanks!
I'm currently using the following to use a jpg inside a mail that I send by VB.NET (2008):
Code:
Dim logo As New LinkedResource(My.Application.Info.DirectoryPath & "\myfile.jpg")
I want not to let the users to change this jpg file contents, so I want to use a resource file instead.
I know how I can put this jpg inside my resource file - but how can I point to it? The statement above requests for a string pathname, but I can't supply it when I use
Code:
My.Resources.myfile
Thanks!