Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Visual Basic > VB 6 Visual Basic 6 > Beginning VB 6
Password Reminder
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Beginning VB 6 For coders who are new to Visual Basic, working in VB version 6 (not .NET).
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Beginning VB 6 section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Display Modes
  #1 (permalink)  
Old March 2nd, 2005, 09:11 AM
Registered User
Join Date: Mar 2005
Location: New Delhi, Delhi, India.
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default VB and BMP file manipulation.

Hi All,
I am looking at development of programs to programatically manipulate BMP files. The operations would involve pixel level access of the BMP files and deductions being drawn from the data like color of the pixels and actual size occupied by say a color in the entire BMP. I am relatively new to this aspect of Visual Basic and would really appretiate any feedback on the capability to implement such a thing in Visual Basic 6.0. If any of you have had experience in such an application on an alternative platform or are of the opinion that this application could be better implemented in a better way with more features in some other platform please let me know so that I may set of in the right direction from the incept.
Thanking you all in advance,
Reply With Quote
  #2 (permalink)  
Old March 2nd, 2005, 01:59 PM
Friend of Wrox
Join Date: Jun 2003
Location: Alameda, ca, USA.
Posts: 627
Thanks: 0
Thanked 0 Times in 0 Posts

VB does not have native access to bmp file, thus you have to use the standard API to read it. Actually, what you need is just the API definition of the bmp header file, then you can read the header, colormap (if present) and image data using the standard VB file access (Open, Get and Close). I had to do the same and is pretty easy. Look in the MSDN documentation for
From there you can get the description of the bmp file
Good luck!
Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
convert Image(jpeg/bmp,etc) file into binary forma venkat2reddy C# 2 September 14th, 2010 07:58 AM
textureing by a bmp file. jopeter C# 0 December 23rd, 2007 06:08 PM
php form for up-loading a gif., jpg, or bmp file Wilbon Beginning PHP 2 January 8th, 2006 09:32 AM
String Manipulation with VB 6 Jay5817 Beginning VB 6 3 January 16th, 2004 01:08 PM

All times are GMT -4. The time now is 10:44 AM.

Powered by vBulletin®
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.