Results 1 to 7 of 7

Thread: [RESOLVED] [VB6] - About picture property in picturebox

  1. #1

    Thread Starter
    PowerPoster joaquim's Avatar
    Join Date
    Apr 2007
    Posts
    3,964

    Resolved [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?
    VB6 2D Sprite control

    To live is difficult, but we do it.

  2. #2
    Freelancer akhileshbc's Avatar
    Join Date
    Jun 2008
    Location
    Trivandrum, Kerala, India
    Posts
    7,652

    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,...

  3. #3

    Thread Starter
    PowerPoster joaquim's Avatar
    Join Date
    Apr 2007
    Posts
    3,964

    Re: [VB6] - About picture property in picturebox

    Quote Originally Posted by akhileshbc View Post
    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?
    VB6 2D Sprite control

    To live is difficult, but we do it.

  4. #4
    Freelancer akhileshbc's Avatar
    Join Date
    Jun 2008
    Location
    Trivandrum, Kerala, India
    Posts
    7,652

    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,...

  5. #5

    Thread Starter
    PowerPoster joaquim's Avatar
    Join Date
    Apr 2007
    Posts
    3,964

    Re: [VB6] - About picture property in picturebox

    Quote Originally Posted by akhileshbc View Post
    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.
    VB6 2D Sprite control

    To live is difficult, but we do it.

  6. #6
    Freelancer akhileshbc's Avatar
    Join Date
    Jun 2008
    Location
    Trivandrum, Kerala, India
    Posts
    7,652

    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,...

  7. #7

    Thread Starter
    PowerPoster joaquim's Avatar
    Join Date
    Apr 2007
    Posts
    3,964

    Re: [VB6] - About picture property in picturebox

    Quote Originally Posted by akhileshbc View Post
    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
    VB6 2D Sprite control

    To live is difficult, but we do it.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width