Solved

Save to HTML

Posted on 2001-06-11
8
199 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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
DO Loop not working 4 72
How to create a duplicate finder Application 9 113
Can we place a tooltip on the actual vb6 form 5 35
Macro Excel - Multiple If conditions 2 62
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…
Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
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…

947 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

23 Experts available now in Live!

Get 1:1 Help Now