How To Make An Advanced Notepad In Visual Basic 2008

  Рет қаралды 99,532

environmentalnerd53

environmentalnerd53

Күн бұрын

Пікірлер: 171
@mrjangomushiturner
@mrjangomushiturner 14 жыл бұрын
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! :)
@0wnUr3Fac3
@0wnUr3Fac3 14 жыл бұрын
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)?
@F1Fearce
@F1Fearce 15 жыл бұрын
Thank You for posting the code... Unlike alot of those supposed'ed "TUTs". That Usualllly consists of a "BS" vid with no audio!
@SusieFanK
@SusieFanK 14 жыл бұрын
awesome!thats really an advanced notepad.Good work!
@HASHTAG-zhx
@HASHTAG-zhx 15 жыл бұрын
Best video so far on this thanks man!!
@thewizar8
@thewizar8 12 жыл бұрын
Thanks dude.. But since im new to Visual Basic i would like to know that after you made a Note Pad how can you share this Word Pad with others and will Microsoft take Money to publish this Note Pad. In Simple words i want to made my own Note Pad and want my friends to install it on thier PC. Is that possible and do they take cash for it?
@HelpMyFellowPeople
@HelpMyFellowPeople 13 жыл бұрын
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?
@buggyiscool
@buggyiscool 15 жыл бұрын
hey thanks a lot it helps! i thought i needed to use a textbox in order to save a .txt file but guess not...thanks again
@densenet
@densenet 15 жыл бұрын
Hello! Is there any way to make two filters to save and open? For Example When you click save there's the RTF extension. Can you make it to where you May save it as another extenstion, also?
@TheDarkKnight03
@TheDarkKnight03 15 жыл бұрын
hey...i've problem to load a project that i saved .. i mean when i save my project i don't know how to get it back when i exit VB ..so plz help ..tell me or u can show me at the begining of ur next tut
@jamiemcintyre6661
@jamiemcintyre6661 5 жыл бұрын
Thanks for the code struggling to find it everywhere great video.
@OhioRiverMovieMaker
@OhioRiverMovieMaker 15 жыл бұрын
At 2:10 what is the line that goes straight down and how do you get it, Because I have looked everywhere and could not find out where you put it in at.
@null0737
@null0737 8 жыл бұрын
Thanks Man!!!! You made my half project.... :)
@sweetfeet104
@sweetfeet104 15 жыл бұрын
Do you learn all these codes or do you copy them from somewhere?
@computerhelp51
@computerhelp51 12 жыл бұрын
hi, how can you make it so that you have multiple save and open file types such as txt and rtf? many thanks
@fancypenguins
@fancypenguins 15 жыл бұрын
how can i make it so it can open and save diffrent types of files?
@TogeNoBara
@TogeNoBara 13 жыл бұрын
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.
@jkurtzman1
@jkurtzman1 15 жыл бұрын
Dude YOU ARE THE BEST!!!!!!!!!!
@aethletiic6032
@aethletiic6032 6 жыл бұрын
what is i want it to be able to open .txt files or .doc files instead of just .rtf files?
@djemreandandrew2672
@djemreandandrew2672 11 жыл бұрын
the save and open don't work when I click them when the project is running
@Chamantha10
@Chamantha10 13 жыл бұрын
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. :)
@Altex0
@Altex0 11 жыл бұрын
easy way for save button: dim Save as new IO.StreamWriter("c:\users\" + environment.username() + "output" + ".txt") Save.Writeline(textbox1.text)
@ClintonHuynh
@ClintonHuynh 15 жыл бұрын
I keep looking for a normal notepad but all end up with richtextbox and rtf files, Im trying to find codes with txt and textbox, And none of the try and catch ex as exception stuff.
@slytherin9090
@slytherin9090 13 жыл бұрын
@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"
@1Mihailo
@1Mihailo 15 жыл бұрын
im searching more more advanced example notpad++ program... becouse when you write a few line it counts em like : |1|asd |2|asd |3|asd and text when you write example : Random it comes blue but only that char
@ahmetabzhir
@ahmetabzhir 6 жыл бұрын
Woow thank you Teachar
@pwnagedification
@pwnagedification 12 жыл бұрын
@Shinrubik did you change file type from txt to all then"name of file".bat?
@ClintonHuynh
@ClintonHuynh 15 жыл бұрын
if i use .txt it would then i would be saving it with the rtf coding that makes the font the way it is including colour. you still won't have a clear text file
@Awtsmoos
@Awtsmoos 14 жыл бұрын
Can you tell me how to make it save as a .txt?
@PlaySteamGames
@PlaySteamGames 11 жыл бұрын
Dont forget, were using RichTextBox1 in this video so: Save.Writeline(RichTextBox1.Text)
@Many_Mirrors
@Many_Mirrors 14 жыл бұрын
Man! Cool! Do yoou know I watched your in my Web browser you teached me to create! Thx!
@dodongkyo
@dodongkyo 15 жыл бұрын
how about the word wrap option like in the normal windows notepad :)
@PlaySteamGames
@PlaySteamGames 11 жыл бұрын
Just a note: In the description you put the Color code at Font: and the Font code at Colour:
@buggyiscool
@buggyiscool 15 жыл бұрын
hey im working on this notepad with txt files and im trying to convert your code so its .txt instead of .rtf but im not sure how
@jacky8399
@jacky8399 13 жыл бұрын
@super1992ism Really?I can save, Try Click Save,and name 123,Save at desktop,and open?
@coley1555
@coley1555 15 жыл бұрын
@soldadit0 thats because this is visual basic 2008...
@MatthiWare
@MatthiWare 14 жыл бұрын
@davestutorials If u place the MenuStrip and u place the RichTextBox under it then u get that MenuStrip Sorry for bad English =S
@isakhejnesen
@isakhejnesen 15 жыл бұрын
Hi, ehm i really like your videos. so i wanna ask you if you could make a tutorial on how to make a round button in vb 2008 or whatever, thx for this tut really helps. READ ME!!!
@jedisirce
@jedisirce 10 жыл бұрын
how to an save button have default saving location?
@eric95f1
@eric95f1 14 жыл бұрын
do you know how to make notepad program that open and saves *.txt files?
@wildhog38
@wildhog38 15 жыл бұрын
I tried it, it worked great. 5/5
@FormEcss
@FormEcss 14 жыл бұрын
Thanks dude your awesome! :D
@Colaglass
@Colaglass 15 жыл бұрын
Uhm, is there a code for resizing windows like this? Appreciate answers. ^_^
@VvConorvV
@VvConorvV 14 жыл бұрын
what about the exit code in description?
@007speedcuber
@007speedcuber 12 жыл бұрын
How do you convert it so you can just doubleclick on it?
@NathanEnefer
@NathanEnefer 12 жыл бұрын
For guys that didnt see in the code bit for the exit tool strip item just add End for that bit
@mariennelopez30
@mariennelopez30 13 жыл бұрын
@jibz988 Then go back to main form and double-click the 'close' item under the 'file' menu bar and encode Form2.show() . That's just it.
@BigBottleLightInc
@BigBottleLightInc 14 жыл бұрын
what about the exit button?
@tudorpanait9
@tudorpanait9 13 жыл бұрын
thanks!!! You are the best!
@Atri48
@Atri48 12 жыл бұрын
Hey! you have gave the code for color in font and font in color!
@Sh3lbyProductions
@Sh3lbyProductions 12 жыл бұрын
Thanks dude! subbed
@IamFuU
@IamFuU 14 жыл бұрын
print option would be nice. Thanx anyway
@lljal314
@lljal314 13 жыл бұрын
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!?
@AlzainAli
@AlzainAli 15 жыл бұрын
man u rockk.iam gonna sub to u
@assasinationgamer
@assasinationgamer 14 жыл бұрын
How do i debug it ????????
@SuperSonicXX9
@SuperSonicXX9 14 жыл бұрын
How do i get it to run without going in VB?
@krish4u2k
@krish4u2k 14 жыл бұрын
Superb...thanx
@2010Mrsurfer
@2010Mrsurfer 14 жыл бұрын
Will this work in 2010??
@foxenn
@foxenn 14 жыл бұрын
Font And Colour Are Messed Up... BUT AWESOME VIDEO!!!
@marcostaveras1030
@marcostaveras1030 12 жыл бұрын
For some people this happen to me to but Remenver The TextBox1 is not the same of yours Sample Select All: RichTextBox1.SelectAll() Change the TextBox Name to Yours type T1 on name then Select All: T1.SelectAll() do it like this if error came in to your bar Thanks
@tomixtomi12
@tomixtomi12 14 жыл бұрын
What about print?
@gabriel83571
@gabriel83571 12 жыл бұрын
i'm sorry but this code closes the form when press ok or cancel
@StephenOctavian
@StephenOctavian 12 жыл бұрын
P.S. You can add an option to align the text to right, left or center: Align to left: RichTextBox1.SelectionAlignment = HorizontalAlignment.Left Align to right : RichTextBox1.SelectionAlignment = HorizontalAlignment.Right Align to center: RichTextBox1.SelectionAlignment = HorizontalAlignment.Center
@1Mihailo
@1Mihailo 15 жыл бұрын
Reply to me guys , im searching for somethink that can open a format like : .myformat and when i double click it that that program opens it!
@1Mihailo
@1Mihailo 15 жыл бұрын
hey im not searching for this ! 0 / 5 , becouse i know this easy stuff , im searching for a notepad that has his own format ( like .myformat ) and when i double click that file that it opens with my program :( someone reply pleaseeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
@vallismall
@vallismall 15 жыл бұрын
@environmentalnerd53 lol wasnt accusing :D just saying the code and setup are very much alike :D altought there aint many codes that do the same so ... :P
@markkyrie2004
@markkyrie2004 8 жыл бұрын
Thanks for sharing.
@geraldmcboing60
@geraldmcboing60 15 жыл бұрын
thnx a lot.. ists work...
@Rostamson
@Rostamson 15 жыл бұрын
I cannot save my files in my program - Please help ;-)
@MrSate11ite
@MrSate11ite 15 жыл бұрын
Thanks So Much Man........:)
@therealnick1236
@therealnick1236 4 жыл бұрын
Background color code?
@SOBKrapmasterD
@SOBKrapmasterD 15 жыл бұрын
switch the codes for color and font...
@KisrDeveloper
@KisrDeveloper 12 жыл бұрын
If you want delete something was u selected use this RichTextBox1.SelectedText = Text.Remove(0)
@MatthewCenance
@MatthewCenance 14 жыл бұрын
Color and Font codes in the Description do the other actions!
@ClintonHuynh
@ClintonHuynh 15 жыл бұрын
i use close instead of end
@gian-lucanardini9706
@gian-lucanardini9706 9 жыл бұрын
Holy crap your voice XD thanks bro
@mycomrade2939
@mycomrade2939 7 жыл бұрын
the code for font and color mixed up. still, great vid!
@Doc842
@Doc842 12 жыл бұрын
what about .txt files???
@adinjohnson8998
@adinjohnson8998 12 жыл бұрын
Thanks man i help
@keropiboy
@keropiboy 11 жыл бұрын
can anyone make a printing routine via RTBox?
@NukaBacon
@NukaBacon 15 жыл бұрын
You could have done this with less code. for example: instead of Dim dlg As OpenFileDialog etc... You could have dragged a OpenFileDialog from the toolbox and then written the OpenFileDialog code like this: Try With OpenFileDialog1 .Title = "Open" .Filter = _ "Rich Text files (*.rtf)|*.rtf|" & _ "All files (*.*" This way lets you remove all the "dlg" and make things more WYSIWYG like.
@fortazerty
@fortazerty 12 жыл бұрын
what About Search ??? Please Reply Me !!!!
@tarkmertozberk150
@tarkmertozberk150 6 жыл бұрын
Print Button ???
@xMercuryx56
@xMercuryx56 12 жыл бұрын
Why wrap a try-catch statement around the open dialogs? There's no point
@Dodgemverse
@Dodgemverse 15 жыл бұрын
It does not work, vb08 says that almost everything is wrong!
@VidGaming
@VidGaming 10 жыл бұрын
Thanks!!
@keeblerelmcookies
@keeblerelmcookies 13 жыл бұрын
Print????????
@fuckhead3520
@fuckhead3520 14 жыл бұрын
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.DialogResult.OK Then RichTextBox1.Font = dlg.Font End If
@mariennelopez30
@mariennelopez30 13 жыл бұрын
@jibz988 First create a second form with two buttons named 'yes' and 'no' and a label that says, "Do you want to exit the program without saving it?'. Then, encode the ff: 'yes' button: End 'no' button: Dim SaveFileDialog1 As New SaveFileDialog Dim RichTextBox1 As New RichTextBox SaveFileDialog1.Filter = "rtf files(*.rtf)|*.rtf|txt files(*.txt)|*.txt|All files(*.*)|*.*" If SaveFileDialog1.ShowDialog() = Windows.Forms.DialogResult.OK Then RichTextBox1.SaveFile(SaveFileDialog1.FileName) End If
@MegaUtimate
@MegaUtimate 11 жыл бұрын
Thank you
@ComplicatedCakes
@ComplicatedCakes 15 жыл бұрын
awesome thanx
@n_3719
@n_3719 10 жыл бұрын
You Pasted Colour into Font Dialog :)
@dreadog10
@dreadog10 12 жыл бұрын
it doesnt open it?
@biigsmokee
@biigsmokee 14 жыл бұрын
@L0l71 He has Basic. Basic is basic. Basic is also funner and better =D
@fuckhead3520
@fuckhead3520 14 жыл бұрын
thanks alot.
@airaXjoan
@airaXjoan 15 жыл бұрын
thankx 4 it..
@0wnUr3Fac3
@0wnUr3Fac3 14 жыл бұрын
@TastyTeo Correction, "Colour = English"
@EvilSockMonkeys
@EvilSockMonkeys 14 жыл бұрын
@Soniredhelp huh?
@phewt
@phewt 15 жыл бұрын
Yes. 2010 coding is the exact same as 08, i made this in 10
@GU-RP
@GU-RP 14 жыл бұрын
thanks!
How To Make a Notepad In VB.NET || By Prince Tech
8:32
Prince Tech
Рет қаралды 27 М.
Леон киллер и Оля Полякова 😹
00:42
Канал Смеха
Рет қаралды 4,7 МЛН
BAYGUYSTAN | 1 СЕРИЯ | bayGUYS
36:55
bayGUYS
Рет қаралды 1,9 МЛН
How To Make An Advanced Webbrowser In Visual Basic 2008
9:07
environmentalnerd53
Рет қаралды 200 М.
How to create Advanced Notepad In Visual Basic
22:15
Muhammad Khan
Рет қаралды 3,3 М.
This AI Robot Is Doing the Impossible - Unitree x ElizaWakesUp
9:30
AI Revolution
Рет қаралды 105 М.
LaTeX - Full Tutorial for Beginners
4:28:44
freeCodeCamp.org
Рет қаралды 610 М.
Little Project I was working on… (Eastory Style)
1:06
dumb.mapping
Рет қаралды 163 М.
Mathematics for Computer Science (Full Course)
10:31:21
My Lesson
Рет қаралды 144 М.
ABSOLUTE Beginner Basics.. Blender For Noobs
8:36
RoBuilder
Рет қаралды 1,6 МЛН
How to Make a Flash Game Trainer
3:45
Mtuzzy
Рет қаралды 492 М.
Леон киллер и Оля Полякова 😹
00:42
Канал Смеха
Рет қаралды 4,7 МЛН