If I change directory or folder name picture does not load.
![]()
Please Login or Register to view this content.
If I change directory or folder name picture does not load.
![]()
Please Login or Register to view this content.
Last edited by 6StringJazzer; 03-15-2024 at 08:16 AM. Reason: Code tags added (AliGW); title updated - please review the forum guidelines
I haven't tested your project, but it seems to me that this line should have a trailing backslash after "...Pictures", like this:![]()
Please Login or Register to view this content.
Difficult is not to know but to share what you know (Han Fei Tzu reworked)
Thanks for reply but my issue is other. When i change folder name or hard disk partition like D: to E: i have to write complete route. why should it take auto matically like App.path something else.
Do you mind explaining better your issue.
Do you mean you'd want to browse your folders all the way to the new path ? and then assign the path to a variable in your macro ?
Does your code correctly formulate the path to image files, including changes to the directory or folder name? Is the file path updated after changes?
Instead of using absolute file paths, try using relative paths. They will automatically adapt to changes in the directory structure.
If you change the directory or folder name manually, make sure you also update the corresponding code that loads the images to reflect the new file path.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks