Wrox Programmer Forums
|
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 software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old January 10th, 2007, 10:14 AM
Registered User
 
Join Date: Dec 2006
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default Create bmp vb6

HOw can I create a bmp file using vb6?

 
Old January 10th, 2007, 03:59 PM
Friend of Wrox
 
Join Date: Jun 2003
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
 
Old January 24th, 2007, 11:42 AM
Registered User
 
Join Date: Dec 2006
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks I'll try it






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 11:39 AM
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 05:34 PM
Exception while running BMP ramko J2EE 0 August 5th, 2003 05:27 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.