WANTED: bHTML Source

If your a member of codenstuff then this is the main place to be. Get together..talk..chat and ponder. Have fun. Chill out. Play games.
11 posts Page 1 of 2
Contributors
User avatar
CleverBoy
VIP - Donator
VIP - Donator
Posts: 395
Joined: Mon Dec 06, 2010 8:29 pm

WANTED: bHTML Source
CleverBoy
Hello guys/girls, i got bHTML html editor from MikeTheDj , thanks
but now i need the source code. if anyone got it please share it ;)

Thaank you
Code'N'Stuff
OneTeam..OneDream
Join ABSplash Team & Earn $$
ABSplash Site - Workpad - (VB) Custom Buttons 2 ways
User avatar
Agust1337
Coding God
Coding God
Posts: 2456
Joined: Fri Feb 19, 2010 8:18 pm

Re: WANTED: bHTML Source
Agust1337
Why do you need the source?
Top-notch casual Dating
User avatar
CleverBoy
VIP - Donator
VIP - Donator
Posts: 395
Joined: Mon Dec 06, 2010 8:29 pm

Re: WANTED: bHTML Source
CleverBoy
wow fast replay, hmm i need the source because i want to make my own html editor for my website, and bHTML isnt completed so i wanna get some codes from it and code i wanted is:

When i edit my website in that text editor it will show me my website .. i mean..

You can type in ur html:

<hr>

and you will see it down ( webbrowser read your html xD )

hope understand
Code'N'Stuff
OneTeam..OneDream
Join ABSplash Team & Earn $$
ABSplash Site - Workpad - (VB) Custom Buttons 2 ways
User avatar
comathi
Coding God
Coding God
Posts: 1242
Joined: Fri Mar 26, 2010 1:59 pm

Re: WANTED: bHTML Source
comathi
A simple way of acheiving the instant preview would be the following:
Code: Select all
Private sub RichTextBox1_TextChanged (byval sender as object, byval e as system.eventargs) handles RichTextBox1.TextChanged
My.Computer.FileSystem.WriteAllText(Application.StartupPath & "\html.html",RichTextBox1.Text,False)
WebBrowser1.navigate(Application.StartupPath & "\html.html")
Hope this helps :D

-Comathi-
User avatar
CleverBoy
VIP - Donator
VIP - Donator
Posts: 395
Joined: Mon Dec 06, 2010 8:29 pm

Re: WANTED: bHTML Source
CleverBoy
lol i know this is the codes so it will reload it every letter i type xD but thank you anyway i will do it right now :)
Code'N'Stuff
OneTeam..OneDream
Join ABSplash Team & Earn $$
ABSplash Site - Workpad - (VB) Custom Buttons 2 ways
User avatar
comathi
Coding God
Coding God
Posts: 1242
Joined: Fri Mar 26, 2010 1:59 pm

Re: WANTED: bHTML Source
comathi
You're welcome, but again, this is a very simple way... There might be other ways of doing it :D
User avatar
MrAksel
C# Coder
C# Coder
Posts: 1758
Joined: Fri Mar 26, 2010 12:27 pm

Re: WANTED: bHTML Source
MrAksel
comathi wrote:
A simple way of acheiving the instant preview would be the following:
Code: Select all
Private sub RichTextBox1_TextChanged (byval sender as object, byval e as system.eventargs) handles RichTextBox1.TextChanged
My.Computer.FileSystem.WriteAllText(Application.StartupPath & "\html.html",RichTextBox1.Text,False)
WebBrowser1.navigate(Application.StartupPath & "\html.html")
Hope this helps :D

-Comathi-
CleverBoy wrote:
lol i know this is the codes so it will reload it every letter i type xD but thank you anyway i will do it right now :)
Yeah, there is a simpler and faster way. It does not save the file first. You can use the WebBrowser.DocumentText property to set the page data.
LMAOSHMSFOAIDMT
Laughing my a** of so hard my sombrero fell off and I dropped my taco lmao;


Over 30 projects with source code!
Please give reputation to helpful members!

Image
Image
User avatar
CleverBoy
VIP - Donator
VIP - Donator
Posts: 395
Joined: Mon Dec 06, 2010 8:29 pm

Re: WANTED: bHTML Source
CleverBoy
ty mraksel
now i need other help :D
how i do the color thingy?

i mean i know how to make a color dialog.. but when i choose color i want it to be like "<font color=#808080>" how?

Thankx
Code'N'Stuff
OneTeam..OneDream
Join ABSplash Team & Earn $$
ABSplash Site - Workpad - (VB) Custom Buttons 2 ways
User avatar
MrAksel
C# Coder
C# Coder
Posts: 1758
Joined: Fri Mar 26, 2010 12:27 pm

Re: WANTED: bHTML Source
MrAksel
CleverBoy wrote:
but when i choose color i want it to be like "<font color=#808080>" how?

Thankx
You could use the ColorTranslator class. It has a method named ToHTML, you can use it like this
Code: Select all
Dim Color As Color = Color.Black 'Or whatever
Dim HTML As String = ColorTranslator.ToHTML(Color)
MsgBox(HTML)
LMAOSHMSFOAIDMT
Laughing my a** of so hard my sombrero fell off and I dropped my taco lmao;


Over 30 projects with source code!
Please give reputation to helpful members!

Image
Image
User avatar
CleverBoy
VIP - Donator
VIP - Donator
Posts: 395
Joined: Mon Dec 06, 2010 8:29 pm

Re: WANTED: bHTML Source
CleverBoy
Thank you ;)
Code'N'Stuff
OneTeam..OneDream
Join ABSplash Team & Earn $$
ABSplash Site - Workpad - (VB) Custom Buttons 2 ways
11 posts Page 1 of 2
Return to “Codenstuff boardroom”