Important alert: (current site time 7/16/2013 1:25:04 AM EDT)
 

VB icon

A 'Fake' HTML Compiler

Email
Submitted on: 7/23/2001 9:35:23 AM
By: The New iSoftware Company!  
Level: Beginner
User Rating: By 5 Users
Compatibility: VB 5.0, VB 6.0
Views: 20978
 
     I made this for a friend. It is like an html compiler, but it really makes a simple file. Then it loads the page, and on unloading it deletes the file. Enjoy this fun prank. PS>>You need a form and 1 web browser, named wb.
 
code:
Can't Copy and Paste this?
Click here for a copy-and-paste friendly version of this code!
 
Terms of Agreement:   
By using this code, you agree to the following terms...   
  1. You may use this code in your own programs (and may compile it into a program and distribute it in compiled format for languages that allow it) freely and with no charge.
  2. You MAY NOT redistribute this code (for example to a web site) without written permission from the original author. Failure to do so is a violation of copyright laws.   
  3. You may link to this code from another website, but ONLY if it is not wrapped in a frame. 
  4. You will abide by any additional copyright restrictions which the author may have placed in the code or code's description.
				
'**************************************
' Name: A 'Fake' HTML Compiler
' Description:I made this for a friend. It is like an html compiler, but it really makes a simple file. Then it loads the page, and on unloading it deletes the file. Enjoy this fun prank.
PS>>You need a form and 1 web browser, named wb.
' By: The New iSoftware Company!
'
'This code is copyrighted and has' limited warranties.Please see http://www.Planet-Source-Code.com/vb/scripts/ShowCode.asp?txtCodeId=25349&lngWId=1'for details.'**************************************

Dim html As String
Private Sub Form_Load()
html = ""'Paste html here, sorry paste your own.
Open App.Path + "\temp.html" For Append As #1
Print #1, html
Close #1
wb.Navigate App.Path & "\temp.html"
Me.Caption = "'Fake' HTML Compiler"
End Sub
Private Sub Form_Resize()
wb.Width = Me.Width - 100
wb.Height = Me.Height - 100
End Sub
Private Sub Form_Unload(Cancel As Integer)
Kill App.Path & "\temp.html"
End Sub


Other 13 submission(s) by this author

 


Report Bad Submission
Use this form to tell us if this entry should be deleted (i.e contains no code, is a virus, etc.).
This submission should be removed because:

Your Vote

What do you think of this code (in the Beginner category)?
(The code with your highest vote will win this month's coding contest!)
Excellent  Good  Average  Below Average  Poor (See voting log ...)
 

Other User Comments
7/23/2001 11:04:13 AManonymous

this code is not a compiler, it's a routine to save html inside your app.
(If this comment was disrespectful, please report it.)

 
7/25/2001 7:44:21 PMNIS

That is why i put FAKE!
(If this comment was disrespectful, please report it.)

 
12/1/2001 3:41:01 PMkieran

This is humouros. I like it very much
(If this comment was disrespectful, please report it.)

 
1/18/2002 1:39:48 PMShaneBauer

HTML doesn't compile
(If this comment was disrespectful, please report it.)

 
2/8/2002 12:13:08 PM<- - - InVi$- - ->

agreed ShaneBauer lol author is a lamer

(If this comment was disrespectful, please report it.)

 
2/8/2002 3:21:07 PMThe New iSoftware Company!

Shane - Again read above. Its a fake!
(If this comment was disrespectful, please report it.)

 
2/14/2002 11:25:26 PMJeff S.

Umm how is this a prank...? Uh haha lets make a small file and delete it! Ohhhh man will he be scared? lol get a girlfriend or sumthing
(If this comment was disrespectful, please report it.)

 
5/10/2002 10:38:57 PMKevin Kohler

what jeff said was funny but this is kid of kewl so shut the h3ll up jeff
(If this comment was disrespectful, please report it.)

 
5/10/2002 10:39:15 PMKevin Kohler

i ment kind

(If this comment was disrespectful, please report it.)

 
12/22/2002 6:47:26 PMthe_tron

Yeah the moment you find an HTML -COMPILER- let me know, I'd love to see that...considering it's a script language and isn't compiled, it's interpreted. :P
(If this comment was disrespectful, please report it.)

 
1/31/2003 8:19:11 AMtazrockon

uhh....HTML compiler? your friend doesnt know html or even what it is do they?
(If this comment was disrespectful, please report it.)

 
6/26/2003 6:12:31 AMDaniel W. Elkins

Lol, don't ever put the words HTML and compiler into the same sentence. :P

Also, if you're going to upload a "prank", at least make it worth downloading. This isn't even funny...:/
(If this comment was disrespectful, please report it.)

 
8/8/2003 6:51:00 PM

All it's going to do is make people think your program doesn't work...
(If this comment was disrespectful, please report it.)

 
9/6/2003 12:31:06 AMFrogz

actually html CAN be compiled to java, but that is about it, all it does it convert the html to hex and the java reassembles it
(If this comment was disrespectful, please report it.)

 
11/26/2003 4:54:44 PM

how must i deslate this thin name.vbs textdocument ?
please help me with oll this things!
i can give jou some codes if you like ?

(If this comment was disrespectful, please report it.)

 
1/25/2004 9:13:01 PMSpyo

Hey Guys, I got this fake VB program that pretend to wash clean windows for you, Maybe your friend will fall for it to,, ROFL
(If this comment was disrespectful, please report it.)

 
5/9/2004 7:30:02 PM

Although I did not find it useful or like the idea, it works and is easy to use.
(If this comment was disrespectful, please report it.)

 
9/27/2004 5:37:47 PM

HTMl doesnt compile, so if your freind programs in HTML, then he should be smart enough not to use this program because he will know that HTML cant be compiled, right? I'ts OPEN SOURCE, that means that Micro-Soft didn't make it, lol
(If this comment was disrespectful, please report it.)

 
9/27/2004 9:44:52 PMThe New iSoftware Company!

Don't people see the word fake? I'm so surprised at the ignorance of people.
(If this comment was disrespectful, please report it.)

 
12/5/2004 3:53:18 AM

You are right, Html is not a compiled language but you are totally wrong if you think html is a script language. Html is not a form of programming but rather a formating language, in other words it only defines the way a web document looks. Before you write and make a criticism make sure you know what the hell you are talking about. This application may not have a use and it may not even be funny but at least the guy is doing something creative. For all of you that are putting his app down, I'd like to know where your posting is, what apps have you written lately, I can't imagine it would be something interesting.

(If this comment was disrespectful, please report it.)

 
12/7/2004 7:27:42 AMMinnow

OK, here's how I'm feeling. At first I thought this program was stuped. And then I thought everyone who posted was stuped. So stuped in fact, that the program soon became smart by comparison. So in conclusion, the guy before this post was right when he said, "This application may not have a use and it may not even be funny but at least the guy is doing something creative."
(If this comment was disrespectful, please report it.)

 
12/7/2004 11:09:40 AMIvo Smits

1/18/2002 1:39:48 PM:ShaneBauer
HTML doesn't compile

Ever seen .CHM files? Microsoft calls them Compiled HTML HELP-files ;-)
(If this comment was disrespectful, please report it.)

 
12/7/2004 4:44:26 PMDavid Lee Roth

K, here's how I'm feeling. At first I
thought this program was stuped. And
then I thought everyone who posted was
stuped. So stuped in fact, that the
program soon became smart by
comparison. So in conclusion, the guy
before this post was right when he
said,
(If this comment was disrespectful, please report it.)

 
12/8/2004 11:05:28 AMjames kahl

Here is my 2 cents. First, it is in the Jokes category, so everyone needs to lighten up a little. Last, let me be the last to say HTML does NOT compile. To Ivo Smits, when MS called it a Compiler, it is actually a misnomer, what it actually does is condenses it, it's still HTML, but you need another program to actually make anything of it. Without a web browser, (or in the case of .chm files, winhlp32.exe) HTML is nothing more than text. To say that it compiles is like saying that you could compile a .txt file.
(If this comment was disrespectful, please report it.)

 
8/19/2007 8:42:02 PMTyler Tesch

Can you people really read??? It says FAKE HTML compiler.
(If this comment was disrespectful, please report it.)

 

Add Your Feedback
Your feedback will be posted below and an email sent to the author. Please remember that the author was kind enough to share this with you, so any criticisms must be stated politely, or they will be deleted. (For feedback not related to this particular code, please click here instead.)
 

To post feedback, first please login.