Added: 2 years ago
From: environmentalnerd53
Views: 59,253
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (465)

Sign In or Sign Up now to post a comment!
  • no find, replace???

  • Print????????

  • close???

    

  • Thanks :D

  • I make it better...

  • Font and Color dialog's are backwards ;)

  • @crazycoocooboy200 I belive hes aussie

  • British kid or just can't speak.

    No offense british people.

  • How can i add more filters?

  • Color FontDialog and Font ColorDialog?

  • if it is so advanced,why dont u have find,find next,replace and go to option? i would really liked to see that. i need help for those...

  • thanks!

    

  • WORKS! But how to make that i can save the file to .bat or .txt or anything else!

    Cuz it saves in a microsoft word file!?

  • @Shinrubik

    change the file extension in the save file code :

    dlg.Filter = "Rich Text Files (*.rtf)|*.rtf"

    to

    dlg.Filter = "Batch files (*.bat)|*.bat"

    or

    dlg.Filter = "Some extension (*.ext)|*.ext"

  • Every time i save the file then go to reopen the file, the file that gets opened is blank. nothing i typed is in the file i just saved. any clues as to why it isn't working? i did everything EXACTLY as he has it up there but it isn't working. I am using Visual Basic 2010 Express.

  • dosent let me debug it

  • FFS! did this , whenever i click the richtextbox on the .exe or in debug mode it goes to the screen behind the notepad (textbox is also transparent) wtf?

  • And the different between this and a normal notepad is?

  • How make it save and open with a textbox?

  • Nice

  • I made it then saved as .exe and now I have to redo it >.>

  • it doesn't work

    because it doesn't create the saved file

  • @super1992ism Really?I can save, Try Click Save,and name 123,Save at desktop,and open?

  • What about: save as?

  • Hey man. Nice tutorial. One wuestion. I have made a custom notepad type program, but my question is, how do I make it so when the user opens a .txt file, it automaticly loads it into the notepad?

  • dude i love you you help me out so much sub back i subed :D

  • Thanks Dear!! I Love You>>

  • When I was doing my advanced notepad I accidentaly deleted it how can I get it back into my Toolbox?

  • For people who don't know the code for exit is End

  • 220th liker!

    

  • how about just do it for us and post a download lol just a suggestion

  • You need to change Font and Colour codes in description.

  • @MrFamusbal no you dont it says you dont have a color code/font diolog....

    scroll to the bollom of toolbox and drag color & font diologo into the text box (;

  • mixed up font code with coluor code lol

  • Will this allow multiple different fonts in the same file?

  • code for exit is Me.close its a true code try it on a button in vb

  • sweet!

  • I NEED HELP SO MUCH! :( I have a text box instead of a rich text box. What is the code for the SAVE AS and OPEN for a TEXT BOX. Any help would be apprieciated. :)

  • Exit; Application.Exit()

  • You said Visual Basic 2000 LOL

  • Comment removed

  • what about the exit button?

  • @BigBottleLightInc plz reply

  • What about print?

  • You're VB 2008 tutorials are amazing, may i just ask how you found all this stuff out? Do you do classes, did you just learn from the internet (like I'm trying to do)?

  • Thanks dude your awesome! :D

  • u rock mate

  • nice work 

  • THANKS!

  • Color and Font codes in the Description do the other actions!

  • That code has an error; YOU FAILED MAN, YOU FAILED!!!

  • @Thedude321ful well i got no errror thx dude + u FAIL THEDUDE!

  • Isn't colour brittish and color american?:)

  • awesome!thats really an advanced notepad.Good work!

  • We need a seeeaarrrrcch

  • u mixxed up the colour and font

  • errors in code...

  • I made my CooLPad 2.0 search on youtube!

  • This is very cool. I enter the codes for my tutorial use.. :)

  • For adding a printer you have to add a printdialog and double click your "print button" and write: printdialog1.ShowDialog()

    I also changed allowselection to true in the printdialog properties

    Hope it works!

  • Comment removed

  • Comment removed

  • @fillecool2 Pedofile :P

  • @bassyboy189 haha hell no

  • How do you make it open .txt files and save .txt files?

  • @themanp6p i dont know if this is true, because i am from greece, i just study english for 7 years

  • Love these tutorials! :D

  • lol you messed the color and font up in the descryption just thought i would point that out to you

  • Lol, love your voice!

    thumbs up if you agree!

  • @ThePassel I humbly disagree.

  • @jonjonjonmw3 Lol why?

    It sounds funny, also there are many agress if you noticed :P'\

  • THANKS

  • font code is wrong in description this should work: Try Dim dlg As FontDialog = New FontDialog dlg.Font = RichTextBox1.Font  If dlg.ShowDialog = System.Windows.Forms.DialogRes­ult.OK Then RichTextBox1.Font = dlg.Font End If

  • thanks alot.

  • For a print option : Make a button called 'Print' or an item on a menustrip called Print.

    Then double click, and enter this code; Dim AB As New PrintDialog Try  AB.ShowDialog() RichTextBox1.Text = AB.PrintToFile Catch ex As Exception End Try

    ==============================­=====

    To Debug, hit the green triangle or hit F5 and to compile to and application (.exe) Hit the 'Project' tab on the top, then publish. Thumbs up if I helped

  • This is way easy to do i did this years n years ago, im so c++

  • how do you make so you can save as html etc.. please answer

  • @AAArCHijSSS Change the .rtf - .html in the source code

  • How do i get it to run without going in VB?

  • @SuperSonicXX9 go to the project folder find it go to bin then debug then find the exe file

  • How do i debug it

    ????????

  • mine is more advanced than this, and im crap at programmng

  • Made my advanced notepad! THANKS!

  • print option would be nice. Thanx anyway

  • @TechComputerModz Why this is spam?

  • Thanks Mate Hope You make More Vids

    Ive Subscribed Thanks For All The Help!!

  • Awesome video! Couple of suggestions:

    1. You can add a Word Wrap feature, just have it disabled in the richtextbox properties and then us the code; RichTextBox1.WordWrap = True

    2. Make it so you can open/save .txt files.

    3. Print option/ Page setup

    If you could tell me how to do any of the last two suggestions it would be much appreciated! :)

  • reasons why it sucks:

    1. you can only save in rtf (otherwise you'll have rtf tags in your document).

    2. no save (your "save" works as save as)

    3. no printing

    you have to admit that it is definitely not in anyway more advanced than the original notepad.

  • OMG dlg not declerd OMFG!

  • This works in VB 2005

  • ur one of the best

  • Hehe! he forgot the "end" code! (for these who don´t know): me.close

    P.S.: I´m from germany. my english isn´t very good...

  • @TheMrBrix no he didnt

  • @TheMrBrix Or you can just tipe End.... :D

  • @azerzaable or that :D

  • thanks!

  • Open enter this code the one in description don't works !!! This works,...

    Open Dim Open As New OpenFileDialog Open.Filter = "Text Files (*.txt)|*.txt|ALL FILES (*.*)|*.*" Open.Title = "Save File" Open.CheckPathExists = True  Open.ShowDialog(Me) On Error Resume Next Dim RT As New System.IO.StreamReader(Open.Fi­leName) On Error Resume Next RichTextBox1.Text = RT.ReadToEnd

  • HI

    The open DON'T WORK BUT ALL other works... Can you tell me why ?

  • Where you get visual "Studio"? I got a Visual basic not studio HELP ME!

  • @L0l71 He has Basic. Basic is basic.

  • @L0l71 He has Basic. Basic is basic.

    Basic is also funner and better =D

  • How did you get your menu strip to look like that?

  • @davestutorials If u place the MenuStrip and u place the RichTextBox under it then u get that MenuStrip

    Sorry for bad English =S

  • Will this work in 2010??

  • @2010Mrsurfer yes in all versions

  • @MrNoobWarrior thank you

  • @2010Mrsurfer no worries :)

  • @dahacker5 Code: RichTextBox1.ShowPrintDialog

  • What about the exit option!

    Code for exit:

    me.close()

  • @GNews10 The exit is simpled with "End"

    Code: Private Sub ExitToolStripMenuItem_Click(By­Val sender As System.Object, ByVal e As System.EventArgs) Handles ExitToolStripMenuItem.Click End End Sub

  • Very very nice :) please watch mine :) its little more advanced

  • thankyou for teching me... IT WORKED!!!!! just one thing colour and font codes ( in the description) are mixed up

  • Superb...thanx

  • Thanks you Rock!

  • hey, quick question, i made a keylogger with your other video, can i add a menu strip with a file option and save option under file on the menu strip so i can save logged txt?

  • and he is not a jerk!! just cos yur jealous cos you carn do it thats why u looked at this video coss you a dumb cunt andyucr do it enerd you are wiked dont listen to any nasty comments !!!

  • and he is not a jerk!!

  • you are fuckinng amazing dude awsome!! :0 :)

  • Very good video

  • at least you're not like those other vids, squishing the screen.together so I can't see the spaces and other lil things.

    And at least you TALK! :DD

  • @THEOMGMODZ Jerk!

  • There's alot of error, thanks for nothing

  • Mhm..Very nice videos btw but i get an error while DeBugging, it says cannot load file or assembly help?

  • Man! Cool! Do yoou know I watched your in my Web browser you teached me to create! Thx!

  • Thanks!!! IT WORKS :D

  • Color = American English

    Colour = British English

  • @TastyTeo Lol, I I spell color colour because for some reason I often times write using the British version of English. Pisses my teachers off, but it is correct.

  • @TastyTeo british? and what about ireland or other countries hm? The brits dont own the word.

  • @TastyTeo Correction, "Colour = English"

  • haha you have the font code labeled color and color code labeled font :)

  • your like the best explainer your ot too fast nt too slow ur perfect thanks man

  • Can you tell me how to make it save as a .txt?

  • How to end it. Please tell

  • Thanks man!

    You rock!

    I'm subscribing.

    :)

  • Hi there

    How do i use the My.Settings command. I dont understand how to use it. can you help?

  • how do you change it so it says somthing diffrent instead of "form 1"

  • @codkiller667

    Go into the properties box and find where it says Text. In the box to the right, change it to whatever you want.

  • why so you say 'G'Day' in a wierd kind of way

  • cool o.O but you was maked "coulor" and "font" on the wrong place.

    you was maked it "coulor"to"font"

  • plz post more

  • thanks

  • This video was fantastic as it was JUST what i was looking for, as a lot of other videos don't show you a save option, and as im new to VB this was a great help thanks alot ^^

  • Nice tut man, gotta question thought.

    I'm working on a project in VB 2010, and i'm trying to make a save and save as feature, so if the user wants to save their progress they can just click save without another window.

  • Comment removed

  • hey bro you mess up in the codes font code is font colour and colour code is font

  • THANKS THANKS THANKS THANKS

  • Dude Great Tutorial. It Soothed Frustration

  • u got font and color switched

  • @Xxlivengood220xX haha yeah i guess. i just though cause mine has help, print, ect and buttons and menu strips :P

  • By advanced you mean basic right?

  • @VBGirlTutorials check out his videos. everything he calls "ADVANCED" is pretty basic. Check out the web browser one he made. pretty basic

  • @XxSocialTechxX yeah i know #LOL

  • @XxSocialTechxX

    she commented easy

    the code dont work

    

  • @Soniredhelp huh?

  • @XxSocialTechxX

    (Soniredhelp is my second account)

    Yes I did not know what i talked about

  • How do i export it or save it ?

  • what about the exit code in description?

  • You Talk Nice!!xD

  • where is the advanced notepad?

    when U say advanced it means more features then the windows one has and more advanced features like:

    -encryption

    -html editing (with highlighting text)

    -why not to be automatically be used by ur system when opening text files with double click

    -apply text effects

    -converters : binary,hex,ascii

    That would be advanced.....yours is just basic (the oposite of advanced) and on top of that it's even weaker then the default windows notepad with less functions

  • do you know how to make notepad program that open and saves *.txt files?

  • @eric95f1

    If You Want it to save it as a .Txt file then do this

    1) in the code were it says: dlg.Filter = "Rich Text Files (*.rtf)|*.rtf" then replace the *.rtf with *.txt and the "rich Text Files" with "text File"

  • It's really funny x3.

    Alone i can do this all à long time :']

    But i think ....

    Nothing now :p.

  • I can't save :(

  • Font And Colour Are Messed Up... BUT AWESOME VIDEO!!!

  • Why is this considered advanced?

  • This guy knows his code ill tell you that :)

  • Nice Work