Login Register






[Help] Codedom and recource file filter_list
Author
Message
[Help] Codedom and recource file #1
Hi HC Biggrin

I have little problem with my application.

I created an application that use codedom to compile another application and Add picture in Recource and it works good.

But how I invoke that image in my application.

I tried this but it does not work.

Code:
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim resslika As New System.Resources.ResourceManager("an.png", System.Reflection.Assembly.GetExecutingAssembly) PictureBox1.Image = resslika.GetObject("an.png") End Sub

Reply





Messages In This Thread
[Help] Codedom and recource file - by Zerr0 - 06-04-2012, 11:04 AM