PC Review


Reply
Thread Tools Rate Thread

BMP to XYscatter chart: How can I put a hexadecimal dump in a textfile/spreadsheet?

 
 
rhmd
Guest
Posts: n/a
 
      3rd Jul 2003
I am working on a macro to convert small bitmap files into Excel
xy-scatter charts, by using the markers as if they were pixels, for a
lithograph type effect. In order to do this I need to put the
hexadecimal code into cells in the spreadsheet. There is one very
basic programming task I don't know how to do: get a hexadecimal dump
into a text file. (From there, it's not too hard to format the
"hexadecimal dump" text into short lines with a word wrap in WordPad,
and then copy it into cells on the Excel spreadsheet, and then "parse"
it to do what I need it to do.)

There's probably a very simple DOS command or freeware utility that
puts a hexadecimal dump of a binary file into a text file or the
clipboard: does anyone know what it might be?

Thanks very much.
 
Reply With Quote
 
 
 
 
John Walkenbach
Guest
Posts: n/a
 
      3rd Jul 2003
Try Hex Editor from HHD Software (free):

http://www.hhdsoftware.com/hexeditor.html

You can view a file in hex, and then copy/paste the hex digits to a text
file.

I'll be interested to hear if you have any success treating data markers as
pixels.

John Walkenbach
For Excel tips, macros, & downloads...
http://j-walk.com/ss

"rhmd" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> I am working on a macro to convert small bitmap files into Excel
> xy-scatter charts, by using the markers as if they were pixels, for a
> lithograph type effect. In order to do this I need to put the
> hexadecimal code into cells in the spreadsheet. There is one very
> basic programming task I don't know how to do: get a hexadecimal dump
> into a text file. (From there, it's not too hard to format the
> "hexadecimal dump" text into short lines with a word wrap in WordPad,
> and then copy it into cells on the Excel spreadsheet, and then "parse"
> it to do what I need it to do.)
>
> There's probably a very simple DOS command or freeware utility that
> puts a hexadecimal dump of a binary file into a text file or the
> clipboard: does anyone know what it might be?
>
> Thanks very much.



 
Reply With Quote
 
Andy Pope
Guest
Posts: n/a
 
      8th Jul 2003
Hi rhmd,

You might find the BMP routines in the examples useful.

(http://andypope.info/fun/bmpconvert.htm)

rhmd wrote:
> I am working on a macro to convert small bitmap files into Excel
> xy-scatter charts, by using the markers as if they were pixels, for a
> lithograph type effect. In order to do this I need to put the
> hexadecimal code into cells in the spreadsheet. There is one very
> basic programming task I don't know how to do: get a hexadecimal dump
> into a text file. (From there, it's not too hard to format the
> "hexadecimal dump" text into short lines with a word wrap in WordPad,
> and then copy it into cells on the Excel spreadsheet, and then "parse"
> it to do what I need it to do.)
>
> There's probably a very simple DOS command or freeware utility that
> puts a hexadecimal dump of a binary file into a text file or the
> clipboard: does anyone know what it might be?
>
> Thanks very much.


--

Cheers
Andy

http://www.andypope.info

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
C#: XYScatter chart with smooth lines and no markers Thilina Dampahala Microsoft Excel Charting 1 19th Dec 2008 01:38 AM
C#: XYScatter chart with smooth lines and no markers Thilina Dampahala Microsoft Excel Programming 2 19th Dec 2008 01:31 AM
xyscatter chart xyscatter chart Microsoft Powerpoint 0 7th Apr 2008 12:46 AM
XYscatter chart source =?Utf-8?B?TWl0Y2g=?= Microsoft Excel Programming 2 10th Feb 2007 04:57 PM
Adding noncontiguous ranges as series in xyscatter chart Kristina Engdahl Microsoft Excel Discussion 3 17th Aug 2004 09:22 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:53 PM.