Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Image incorrect in my application
Message
From
09/11/2022 16:54:00
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Image incorrect in my application
Miscellaneous
Thread ID:
01685276
Message ID:
01685276
Views:
74
Hello all,

Windows 11 (In case there could be something related to my problem)

I have a folder that contains 36 images. When I use the file explorer and double-click to see the images everything is fine. Meaning that I can see the right image maximized.

In my application I have to show an image in a form. Random(36) will determine which image will be viewed in the form. In the folder each image has a number that will identify it.

The weird thing is that for two images I don't see the right image.

To add to the weird aspect, I have another folder also containing Images. Images that also have a number to identify it.

When I define which image goes where I use the path of the first folder. For the cases of the wrong images being displayed it's like the wrong images were taken from the second folder.

So for example, hoping to make this problem as clear as possible here are the images displayed in my form.

The 2 wrong images are the third and 36th.


Folder1\Image1.png
Folder1\Image2.png
Folder2\Image3.png (this makes no sense because the path that I specify is with folder1.)
Folder1\Image4.png
Folder1\Image5.png
Folder1\Image6.png
Folder1\Image7.png
Folder1\Image8.png
Folder1\Image9.png
Folder1\Image10.png
Folder1\Image11.png
Folder1\Image12.png
Folder1\Image13.png
Folder1\Image14.png
Folder1\Image15.png
Folder1\Image16.png
Folder1\Image17.png
Folder1\Image18.png
Folder1\Image19.png
Folder1\Image20.png
Folder1\Image21.png
Folder1\Image22.png
Folder1\Image23.png
Folder1\Image24.png
Folder1\Image25.png
Folder1\Image2.png
Folder1\Image26.png
Folder1\Image27.png
Folder1\Image28.png
Folder1\Image29.png
Folder1\Image30.png
Folder1\Image31.png
Folder1\Image32.png
Folder1\Image33.png
Folder1\Image34.png
Folder1\Image35.png
Folder2\Image36.png (this makes no sense because the path that I specify is with folder1.)

Did you ever see something like that?
*******************************************************
Save a tree, eat a beaver.
Denis Chassé
Next
Reply
Map
View

Click here to load this message in the networking platform