Solved

Save to HTML

Posted on 2001-06-11
8
202 Views
Last Modified: 2010-05-02
Experts; how can i save bmp and text to html and repeat the process without overwriting
0
Comment
Question by:animazoo
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
  • 2
  • +2
8 Comments
 
LVL 51

Accepted Solution

by:
Ryan Chong earned 100 total points
ID: 6176855
Hi animazoo, HTML just a markup languange that use tags to link images and show texts.

_____________________________

<html>
<head>
<title>Untitled Document</title>
</head>
<body bgcolor="#FFFFFF">
<p>Hello World!</p>
<p><img src="images/xxx.bmp">
</p>
</body>
</html>

..
0
 

Author Comment

by:animazoo
ID: 6177124
ryancys
you see i am  currently saving bmp jpg and text to word.doc
but the size is averaging 900kb for an A4 size doc filled with 2 images and some text.(regardless of images being jpg or bmp)
The reason i wanted to know about saving to html was to see if the size was reduced.

0
 
LVL 51

Expert Comment

by:Ryan Chong
ID: 6177184
Hi, HTML is used to display the content, it can do nothing about the images that displayed. HTML CANNOT reduce the size of images.
0
SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

 
LVL 19

Expert Comment

by:BrianGEFF719
ID: 6177191
What you can do is insert the byte's from the bmp to the html and then just write the text. Once you are done writeing and say you want to write again to the html the next day this is called appending you can open the file for append like this and add more junk...

open "file.html" for append as #1
write #1, "BLAH"
close #1

that would write "BLAH" at the end of the file without eraseing any previous data...GOOD LUCK
0
 

Author Comment

by:animazoo
ID: 6177346
BrianGEF719
ryancys
both your comments have solved my problem
but how can i award you both the points?
0
 
LVL 19

Expert Comment

by:BrianGEFF719
ID: 6177577
I'm not looking for points, give them to whoever helped you the most though.
0
 
LVL 49

Expert Comment

by:DanRollins
ID: 7135867
Moderator, my recommended disposition is:

    Accept ryancys's comment(s) as an answer.

DanRollins -- EE database cleanup volunteer
0
 
LVL 1

Expert Comment

by:Computer101
ID: 7168348
Comment from expert accepted as answer

Computer101
E-E Moderator
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question