Image file not found?

Nyptop

Active Member
Licensed User
Longtime User
Whenever I try to add a Bitmap to a tab the program pauses and tells me that the file is not found. I think I am doing everything I know of correctly. Attached is an example of my problem. Thanks,

Neil
 

Attachments

  • problem.zip
    6.6 KB · Views: 185

Brad

Active Member
Licensed User
Longtime User
You're missing both png files.
B4X:
bmp1 = LoadBitmap (File.DirAssets, "Naxoslogo1.png")
bmp2 = LoadBitmap (File.DirAssets, "Naxoslogo2.png")
 
Upvote 0

Nyptop

Active Member
Licensed User
Longtime User
Thanks, I looked inside the .zip folder myself and the files are not there, yet in my app they are. For some reason the program is over looking them.
 
Upvote 0

Brad

Active Member
Licensed User
Longtime User
The bottom right of B4A IDE you will see for tabs: Modules, Files, Logs, and Libs. Select the 'Files' tab. You should see a button labeled 'Add Files'. Click on that and select your png files.
 
Upvote 0

Nyptop

Active Member
Licensed User
Longtime User
Thanks, I'm new to the software so stupid mistakes like that are common :l
Thanks again though,
Neil
 
Upvote 0
Top