Solved

Save to HTML

Posted on 2001-06-11
8
203 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 52

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 52

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
Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now

 
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

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
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…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
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…

690 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