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 > Pro VB 6
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Pro VB 6 For advanced Visual Basic coders working in version 6 (not .NET). Beginning-level questions will be redirected to other forums, including Beginning VB 6.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Pro 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
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old January 10th, 2007, 10:14 AM
Registered User
 
Join Date: Dec 2006
Location: , , .
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default Create bmp vb6

HOw can I create a bmp file using vb6?

Reply With Quote
  #2 (permalink)  
Old January 10th, 2007, 03:59 PM
Friend of Wrox
 
Join Date: Jun 2003
Location: Alameda, ca, USA.
Posts: 627
Thanks: 0
Thanked 0 Times in 0 Posts
Default

easy way: set the AutoRedraw propriety of a PictureBox to True, draw you graphics and then use the SavePicture method

hard way: include in the project the definition of the bitmap file standard headers using the APIViewer, save them and the image data (array of Byte) in a file open in Binary mode.

Let me know if you need more details

"There are two ways to write error-free programs. Only the third one works."
Unknown
Reply With Quote
  #3 (permalink)  
Old January 24th, 2007, 11:42 AM
Registered User
 
Join Date: Dec 2006
Location: , , .
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks I'll try it

Reply With Quote
Reply


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
How to create database (.mdb) file in vb6 code mrleokarthik Pro VB 6 13 August 7th, 2009 12:39 PM
textureing by a bmp file. jopeter C# 0 December 23rd, 2007 07:08 PM
How To Create A Simple DLL with VB6 DSanborn3 VB How-To 2 February 23rd, 2005 04:23 PM
BMP Iamges shs BOOK: Beginning ASP.NET 1.0 1 August 31st, 2004 06:34 PM
Exception while running BMP ramko J2EE 0 August 5th, 2003 06:27 AM



All times are GMT -4. The time now is 02:36 AM.


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