Page 1 of 1
HTML Editor.
Posted: Sat Oct 30, 2010 6:33 pm
by 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
Re: HTML Editor.
Posted: Sat Oct 30, 2010 7:52 pm
by Codex
To make the save work, add:
SaveFileDialog
then, add this code to your save button:
Code: Select allDim 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 allProcess.Start(SaveFileDialog1.FileName)
Re: HTML Editor.
Posted: Sat Oct 30, 2010 10:04 pm
by 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

Re: HTML Editor.
Posted: Sat Oct 30, 2010 10:12 pm
by 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.
Re: HTML Editor.
Posted: Sat Oct 30, 2010 11:02 pm
by 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
