Solved

Save to HTML

Posted on 2001-06-11
8
198 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
  • 2
  • 2
  • 2
  • +2
8 Comments
 
LVL 49

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 49

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
 
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
Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

 

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…

743 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now