Q: VB 4.0 32-bit, convert WMF to BMP 
Author Message
 Q: VB 4.0 32-bit, convert WMF to BMP

I am working on an automated publishing app using VB 4 32-bit.

Another application (ArcView) creates a WMF image, which must be converted to a BMP
image for use with Crystal Reports.

We bought a VBX some time ago to perform this conversion, and had some problems with it.
 Now, we are moving our app to VB 4 32-bit, and we are having more problems with the OCX
control.

If there is a simpler way to convert a WMF to a BMP, such as a Win95 API, or even an
algorithm in VB code, please advise.  We don't need a custom control with lots of extra
features.  We only need to perform this conversion.

Please e-mail replies, as my news feed is poor.  Thanks in advance.
--


Adcock genealogy, Movie Guide, etc. at:   http://www.*-*-*.com/ ~eadcock/



Sat, 03 Jul 1999 03:00:00 GMT  
 Q: VB 4.0 32-bit, convert WMF to BMP

You can do everything you need with a VB PictureBox and some API Calls.
Basicly you will need to load the WMF into the PictureBox then using API
calls save the BITMAP that gets created in the picture box out to a file.
You could actually do everthing with API calls with out to much more work
if you don't want the WMF displayed on a form using a picturebox.
Check the book "VB Programmer's Guide to the Window's API" by PCMag. It
gives all the info you need and is written for the VB programmer.

Quote:

> If there is a simpler way to convert a WMF to a BMP, such as a Win95 API,
or even an
> algorithm in VB code, please advise.  We don't need a custom control with
lots of extra
> features.  We only need to perform this conversion.

> Please e-mail replies, as my news feed is poor.  Thanks in advance.
> --


> Adcock genealogy, Movie Guide, etc. at:

http://www.dave-world.net/~eadcock/


Mon, 05 Jul 1999 03:00:00 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. Converting 16 bit to 32 bit VB 4.0 Pro

2. TIME TO WIN 32-Bit DLL for VB 4.0 32-Bit or Higher (VB5)

3. TIME TO WIN 32-Bit (v4.04) (+750 functions) for VB 4.0 32-Bit

4. Calling a user-written 32-bit dll from 32-bit vb 4.0

5. 16 bit API calls in VB 3 supported in 32 bit VB 4.0

6. REQ: 32 bit .OCX or .DLL that converts .jpg and/or .gif files to .bmp

7. VB 4.0 16 bit or 32 bit Escape Key

8. VB 4.0 (16-Bit)/Crystal Reports 3.0.1.32 (16-Bit) Print Preview Maximize Window

9. VB 4.0 conversion from 32 bit to 16 bit

10. VB 4.0: 16 bit vs 32 bit

11. VB 4.0 (16 bit vs 32 bit)

12. CARDS.DLL 16 Bit doesn't work on VB 4.0 32 Bit

 

 
Powered by phpBB® Forum Software