|
-
Feb 15th, 2010, 09:00 AM
#1
Thread Starter
PowerPoster
[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?
-
Feb 15th, 2010, 09:13 AM
#2
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")
...
If my post was helpful to you, then express your gratitude using Rate this Post. 
And if your problem is SOLVED, then please Mark the Thread as RESOLVED (see it in action - video)
My system: AMD FX 6100, Gigabyte Motherboard, 8 GB Crossair Vengance, Cooler Master 450W Thunder PSU, 1.4 TB HDD, 18.5" TFT(Wide), Antec V1 Cabinet
Social Group: VBForums - Developers from India
Skills: PHP, MySQL, jQuery, VB.Net, Photoshop, CodeIgniter, Bootstrap,...
-
Feb 15th, 2010, 09:14 AM
#3
Thread Starter
PowerPoster
Re: [VB6] - About picture property in picturebox
 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")
... 
yes that's true
but in project mode?
-
Feb 15th, 2010, 09:19 AM
#4
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.
If my post was helpful to you, then express your gratitude using Rate this Post. 
And if your problem is SOLVED, then please Mark the Thread as RESOLVED (see it in action - video)
My system: AMD FX 6100, Gigabyte Motherboard, 8 GB Crossair Vengance, Cooler Master 450W Thunder PSU, 1.4 TB HDD, 18.5" TFT(Wide), Antec V1 Cabinet
Social Group: VBForums - Developers from India
Skills: PHP, MySQL, jQuery, VB.Net, Photoshop, CodeIgniter, Bootstrap,...
-
Feb 15th, 2010, 09:26 AM
#5
Thread Starter
PowerPoster
Re: [VB6] - About picture property in picturebox
 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
Last edited by joaquim; Feb 15th, 2010 at 09:33 AM.
-
Feb 15th, 2010, 09:34 AM
#6
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...
If my post was helpful to you, then express your gratitude using Rate this Post. 
And if your problem is SOLVED, then please Mark the Thread as RESOLVED (see it in action - video)
My system: AMD FX 6100, Gigabyte Motherboard, 8 GB Crossair Vengance, Cooler Master 450W Thunder PSU, 1.4 TB HDD, 18.5" TFT(Wide), Antec V1 Cabinet
Social Group: VBForums - Developers from India
Skills: PHP, MySQL, jQuery, VB.Net, Photoshop, CodeIgniter, Bootstrap,...
-
Feb 15th, 2010, 09:35 AM
#7
Thread Starter
PowerPoster
Re: [VB6] - About picture property in picturebox
 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... 
ok.. thanks for the information
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|