hello please help me on this ahm i want my picture to be bmp file so that i can place in my gui ..hoping for your positive responds

Dani AI

Generated

A short, practical primer that fills the gaps in the replies from and .

Converting for a GUI is two separate concerns: produce a BMP that the app can render correctly, and make that BMP available to the program at design-time or runtime. For broad compatibility choose an uncompressed 24-bit Windows BMP (avoids palette/RLE quirks and color shifts). BMP formats generally do not carry reliable alpha transparency for UI overlays; if semi-transparency is required prefer PNG in modern projects (VB.NET supports PNG natively; legacy VB often does not). Also remember BMPs are large — resize to the exact pixel dimensions needed to avoid wasted memory.

Practical workflow options that sit alongside the simple editor suggestion already posted: use a full-featured editor (GIMP/Photoshop) to export a 24-bit BMP at the target size, or use batch tools (IrfanView, ImageMagick) to convert many files and set bit depth/size in one step. For small UI art, create images at the control size (no runtime scaling) and avoid 8-bit palette BMPs unless the palette is controlled.

Making the image available: newer Visual Basic projects should put images into project resources (resx/ImageList) so they ship inside the assembly. For older VB projects, include the bitmap with the app and load it at runtime or place it into the project resource area if the IDE supports embedding. Common problems to check when an image "won't work": wrong file path, mismatched pixel dimensions, using an 8-bit or RLE-compressed BMP that the runtime rejects, leftover alpha channels, or simply enormous file size. A quick remedy is to re-export as a plain 24-bit BMP at the required size and re-test.

Recommended Answers

All 2 Replies

Okay, so you don't know how to use Paint?...

Were missing something here, like what is graphics original format? Why cannot you use paint to do a save as? Is the file not supported by VB? Why cannot you use the Picture property of the form in the design environment to load the graphic? Don't know about the LoadPicture Function?

A whole lot of information is missing here don't you think?

hi,

just as vb5prgrmr said.
open the graphics in say paint use the 'save us' option from file menu then choose bitmap option in the Save as type option.

Good luck

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.