HTML Editor.

Here is the place to post images, videos and downloads of your current and upcoming applications that you are working on.
5 posts Page 1 of 1
Contributors
Lewis
Coding God
Coding God
Posts: 1564
Joined: Sun Dec 20, 2009 2:12 pm

HTML Editor.
Lewis
Hello,
This is my HTML Editor. That you can currently do the following.
  • Click and Drop ( point and click )
  • Adding Text ( Change size and colour, Option: You can choose to hyper link your text )
  • Adding images ( Change the pictures URL )
  • Changing Properties ( Title, Background image )
Lots more is coming!
Html Editor.zip
*SAVe DOESNT WORK* - You must click grab code. and paste it to notepad or something. Then save as a html FOR NOW
You do not have the required permissions to view the files attached to this post.
Last edited by Lewis on Sat Oct 30, 2010 10:20 pm, edited 1 time in total.
Image
User avatar
Codex
Coding God
Coding God
Posts: 2028
Joined: Wed Mar 31, 2010 5:50 pm

Re: HTML Editor.
Codex
To make the save work, add:

SaveFileDialog

then, add this code to your save button:
Code: Select all
Dim fs As FileStream = Nothing
        If (Not File.Exists(SaveFileDialog1.FileName)) Then
            fs = File.Create(SaveFileDialog1.FileName)
            Using fs

            End Using
        End If
        If File.Exists(SaveFileDialog1.FileName) Then
            Using sw As StreamWriter = New StreamWriter(SaveFileDialog1.FileName)
                sw.Write(TextBox1.Text)
            End Using
        End If
and if you want to preview in webbrowser use this code:
Code: Select all
Process.Start(SaveFileDialog1.FileName)
We shall let the revolution begin.. the revolution for freedom, freedom against censorship. We shall fight in the fields and in the streets, we shall fight in the hills; we shall never surrender
Lewis
Coding God
Coding God
Posts: 1564
Joined: Sun Dec 20, 2009 2:12 pm

Re: HTML Editor.
Lewis
Codex, I am aware of them codes! Thanks for the post anyway. I was just being lazy and didn't feel like adding it. But your code saves my fingers, eh? And i will add a 'Show in Current Browser' Option :)

No Comments though?

Edit:

Im going to add a open button so you can save '.code' file ( which will store the code ) or html, which you wont be able to open ( because of all the closing body tags, and also the closing html tag ) so. That's what I'm thinking :)
Image
User avatar
Codex
Coding God
Coding God
Posts: 2028
Joined: Wed Mar 31, 2010 5:50 pm

Re: HTML Editor.
Codex
Im going to add a open button so you can save '.code' file ( which will store the code ) or html, which you wont be able to open ( because of all the closing body tags, and also the closing html tag ) so. That's what I'm thinking
What??

If you need help with open code i already have it, in-fact i have many functions because i have made a app before which i never released.
We shall let the revolution begin.. the revolution for freedom, freedom against censorship. We shall fight in the fields and in the streets, we shall fight in the hills; we shall never surrender
Lewis
Coding God
Coding God
Posts: 1564
Joined: Sun Dec 20, 2009 2:12 pm

Re: HTML Editor.
Lewis
No. I don't need help I was just telling you my future updates :) . Anyway. I didn't upload it for help I uploaded it for the communities opinion :)
Image
5 posts Page 1 of 1
Return to “Work in Progress”