Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7643633
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T09:29:48+00:00 2026-05-31T09:29:48+00:00

I am about to compile my PBL to a working PBD. My problem is

  • 0

I am about to compile my PBL to a working PBD. My problem is how can I call the image folder properly. e.g. Toolbars, icons, pictures of some command buttons properly and dynamically. For example I installed mine at C:\MyProgram\ but when my users they will put it in C:\Program Files\HisProgram .. do i have to state that the images should be in the same place as I do. C:\images\ because now I am having missing toolbar icons when i tried it on my test machine. i tried the resource pbr but it also must define the proper location of the image. Any techniques you could refer me to?

i tried the GetCurrentDirectory() but i was looking for a much more suitable way

GetCurrentDirectory Link i found
http://www.pbsql.info/2011/01/relative-path-to-images-problem-in.html

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T09:29:49+00:00Added an answer on May 31, 2026 at 9:29 am

    No need to wonder about the current directory, you can just use a relative path in the pbr file.

    For example, put all your pictures into the resource folder and in the pbr, you can refer to resource\image.jpg and so on, without need to refer to c:\project\resource\image.jpg.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'd like to read some text about the compile-link-load process of a executable. In
I encounter a problem about LNK2019 when I compile my project with Visual Studio
I am trying to generate some comprehensive information about my databases compile a list
Just got a question about generics, why doesn't this compile when using a generic
One thing I really like about AS3 over AS2 is how much more compile-time
One thing that bothers me about nHibernate is that it is not 100% compile
Is it possible to compile and sign grails plug-in? I am thinking about distributing
I'm trying to compile a third-party library, but g++ is complaining about the following
I get a compile error, which I'm slightly confused about. This is on VS2003.
I want to do a CallByName for some Subs but I just can't get

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.