Bitmap.Initialize Filename Problem (solved)

gvanan

New Member
Licensed User
Longtime User
Hi all,

Been using the B4A for about a week now. Great tool. It allows me to do 2 things: Use my VB6 skills and work on my favourite Mobile OS - Android!

Anyway, found something which is rather annoying but realized that its a silly bug.

The below code will not work. (load the __M1.bmp into your file manager first). (It throws a runtime error saying that the file __M1.bmp is not found!)
Dim ImgHolder As Bitmap
ImgHolder.Initialize(File.DirAssets, "__M1.bmp")

But the below one works well!
Dim ImgHolder As Bitmap
ImgHolder.Initialize(File.DirAssets, "M1.bmp")

All I did was that change the file name from __M1.bmp to M1.bmp

It might be a silly bug, but someone somewhere might be spending time trying to resolve this!

Cheers!

G.Saravanan
Centium Software
Centium Software Sdn. Bhd. - Healthcare products, Call Center & CRM Products, E-Commerce & Software Development, Web Design - Right Software, Right Now!!Solution Make Easy.Connecting people, Technology and Processes effectively!
 
Top