I'm using a resource file to supply my buttons and formbackgrounds with an image.

I could do it the hard way and hardcode each button with the image which creates a way to big file :/ or use a resource file..

But now I get this nice error that it can't find the resource ID...

I created 2 custom id's.. (2 JPG files) now called 101 and 102 (I first called 'm BackGRND and Button but that didn't help)

I use this code to call 'm:
frmMain.Picture = LoadResPicture(101, vbResBitmap)

But thus it came with a error that it can't find "101"!

Can someone give me the clue to get this working?