[RESOLVED] [VB6] - About picture property in picturebox
when i put an image in picturebox(in same directory of the program) and i copy the entire project(and images too, they are in same directory) to another pc, did i have a path image problem or the image is in memory of project?
Re: [VB6] - About picture property in picturebox
If you use something like this(for loading the picture at runtime), then there will be no problem:
Code:
Picture1.Picture=Loadpicture(app.path & "\mypicture.jpg")
...:wave:
Re: [VB6] - About picture property in picturebox
Quote:
Originally Posted by
akhileshbc
If you use something like this(for loading the picture at runtime), then there will be no problem:
Code:
Picture1.Picture=Loadpicture(app.path & "\mypicture.jpg")
...:wave:
yes that's true;)
but in project mode?
Re: [VB6] - About picture property in picturebox
Did you see a file with the extension .frx in your project folder. That file will hold the picture and graphic datas.
Re: [VB6] - About picture property in picturebox
Quote:
Originally Posted by
akhileshbc
Did you see a file with the extension .frx in your project folder. That file will hold the picture and graphic datas.
i see that file, but i don't knew that was there that the images are stored;)
but tell me what i need to know when i put a image in a picturebox in project mode, when i copy my project to another computer.
thanks
Re: [VB6] - About picture property in picturebox
I think there will be no problem, when you put a picture on Picturebox and move that entire folder to a new location.(because the .frx file will contain the image.)
I think others(other members) will give you a better idea about this... :wave:
Re: [VB6] - About picture property in picturebox
Quote:
Originally Posted by
akhileshbc
I think there will be no problem, when you put a picture on Picturebox and move that entire folder to a new location.(because the .frx file will contain the image.)
I think others(other members) will give you a better idea about this... :wave:
ok.. thanks for the information;)