1.

Solve : VB6 - LoadPicture() in same directory?

Answer»

ok i have made a slot machine game in VB6 but i CANT get the PICTURE to LOAD right. I WANT it to load the picture in the same directory like this.
Code: [Select]Pic1.Picture = LoadPicture("b.bmp") but it says "Cant find b.bmp". any ideas?

help would be appreciated
,NickYou should coding like this:
Code: [Select]Pic1.Picture = LoadPicture("\b.bmp")or event
Code: [Select]Pic1.Picture = LoadPicture(app.path & "\b.bmp")
thanks qing, its WORKING now no thanks



Discussion

No Comment Found