Added: 3 years ago
From: killdude69
Views: 71,322
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (211)

Sign In or Sign Up now to post a comment!
  • 'Document' is not declared. It may be inaccessible due to its protection level. HELP PLEASE?

  • "Here comes the party."

    YAY PARTY!!!"

    "Here comes the part."

    :(

  • what are the lines?

  • man u fucking type slow as shit

    Well... Shit cant Type

    Any way thats how slow u type

  • You are awesome!!!!!

  • OR: A regular TextBox and a MenuStrip!!!

  • holy shit, could you type any slower???!!?!?!

  • lol here comes the party

  • get a mic :>

  • i always watch the video to learn. and copy and paste to save time. and then edit the code so i like it.

  • Typing is just a waste of time...

  • uuuuuuhm. I don't learn things by typing. i am not a freak...

  • open.Filter = *Text [*.txt*]|*.txt|All FIles [*.*]|*.*" it says:

    Expression Excepted.

  • im getting an error with document.text

  • there is a wrong line under MyStreamReader!!!!

    WRONG!!!

  • What Screen Recorder do you use? Its really clear

  • um i think the code is wrong. the last 2 "mystreamreader's" in the "Open" button was supposed to be "mystramreader" instead

  • i like this dude i didn't even need to watch a video to make it learn the basic offsets and shit of vb and then u won't need anything learn what dose what

  • Nice, this works. Thanks.

  • I know the code workds because you used it but, could you put it in the description? I can't see with the quality of the video.

  • since ur not providing the code a total of 50 people who would have subscribed to u are not going to!!

  • I had one problem

    When I put in the Open code

    Open.Filter = "Text"[*.txt*]|*,txt|All Files[*.*]|*.*"

    It highlights the * in the first brackets and says "Identifier expected"

  • @iceeo1 the Identifier is just the () at the end of a line

  • @iceeo1 Maybe u could remove the " after the word 'Text'.

  • Cool! ☺☺☺☺

  • thaks man ☺

  • Anyone know how you can get the title to change to the current filename or untitled.

    Thanks

  • very -very slow

    peaple fall asleep by somehting happens

  • Thanks, could have had the quality abit better but I learnt from it :)

  • I had to go to 'Office Word' for finding this symbol | cus i doest have that symbol on my keyboard.. But thnx for the code anyway! ^^

  • Thanks. all I needed was the code to open a file, but it worded. thanks a lot. Im currently building a web browser with a built in media player, text editor, password strength detector, and a bunch more stuff. If you wanna try it out when i finish it, I will send you a link to where you can download it, and i give you credit for it

  • ok i will

  • Cool tutorial, altought I already know how to do a more advanced text editor, but something is missing..... Uhhhh..... Music! Yeah, what's missing is music to your video. To add it easily without having to re-upload your video, just use AudioSwap feature on youtube! See ya ;)

  • well actually music can lower concentration.

    if people want music surely they could just play it on there own pc ?

  • I'll name it whatever i want, you prick!

    lol kidding, awsome tut.

  • can u maybe add some music??? cuz i kinda got bored =P

  • why dont you show the finished product?

  • plz input the code at description or send for me the code!

  • I have got like 20 of people like you asking for the code. Just read it and write it, I can't do everything for you. Stop being so lazy.

  • that code is wrong so please put it in description

  • Hello, arrogant. The code works fine for me and most other people. So don't blame me, you must have done something wrong. I have sent the code to so many people and I am tired of it. If you are going to copy a software design, the least you could do is use your eyes and brain. I'm tired of copy and pasters. The code is right there, copy it yourself.

  • im searching if you know what i mean not these super easy text editors . then somethink like ScIte ( when you write Me it comes blue an those things )...

  • I Just Saw Your Comment on another VB Tutorial video

  • whats your point?

  • @killdude69

    You call him an 'arrogant'?

    Ah, your a kid who doesnt even know what arrogant means roflmao

  • @killdude69 I know its a bit late to be saying this judging by the age of your reply. But code being wrong doesn't mean it doesn't work. E.G. I could write a program always passing data and never using pointers, it could work, but it would be wrong. Purely for the fact in near all cases a program will have a certain part of it being more efficient with pointers than passing data.

  • @killdude69 you are saying we are lazy!? why did you upload the video telling people how to do something and block them from it. AND WHY? COS' YOUR TIRED OF COPY AND PASTE!!! over 50 people that would subscribe are not gonna, cos' ur not providing the code.

  • @AlmostSweetDate

    Stop being stupid. If you copy the code and paste the code, you won't know how to continue or make any uniqe program. I finished this and then I added few other functions by myself without any help! If you c/p the code, and you make some program without REAL knowledge, you think that you are programmer. No, you are NOT!

  • @killdude69 Well jee your nice! FUK U!

  • Comment removed

  • nvm i got it working

  • In the open button is "Document is not declared"

  • "Document" refers to the RichTextBox. So the name of the RichTextBox should be "Document", not "RichTextBox1".

  • wait what about save and others

  • they are automatically named by VB, and don't require any manual name calls, don't worry about them.

  • Ooh, this is very good. I happen to have a question that has not been solved very well.

    Could you please tell me (private message is okay) how to display strings from a .GBA ROM file?

    Have a nice day.

  • buy a microphone then make some tutorials

  • can't read what you're typing lol

  • u must be 60+ year old rite?or something like that.....

  • But first, you should actually learn the Basic programming language, not Visual Basic which is a lot easier. Raw Basic is the next step after Visual Basic, if I could correct myself. You need to understand real program structure before moving on to more Visual programming languages while lying to yourself about how hardcore you are at programming in a Visual environment.

  • lol wow your a pure wannabe

  • You might as well go for c#

  • Cute. Unfortunately, several top-quality, commercial database applications are written with Visual Basic. Quit lying to yourself and trying to seem better than the rest. You're not.

  • The line:

    document.Text = myStreamReader.ReadToEnd()

    The 'document' part has a blue line under it.

  • Okay, alot of people seem to be having this problem. Apparently I didn't make it very clear, but the name of the RichTextBox should be "document" (of course not including the quotes).

    The name "document" should refer to the RichTextBox. So for those of you who have this problem, just name the RichTextBox "document".

  • oh sorry its working i just needed to put the other save code in now its working sorry to have wasted your time..

  • the code for the open button does not work for me plz reply?!?!?!?!?!

  • What does the error say?

    Just message me with the error text, and your code. Do not use the comment box.

  • or my.computer.filesystem.readall­text lol

  • fantastic!

  • Get a mic, man. Your typing skills aren't very advanced. ¬¬

  • Don't you think I have tried to get a mic?

    But also, when I already know what I am going to type, I type alot faster. This wasn't exactly scripted you know.

    But also, I have gotten alot faster now. But when I am improvising I do tend to get slow.

  • Sir, microphones are $15 bucks from Walmart. You tried? I lol'd.

  • Das ist Schlecht

  • hey people! SUBSCRIBE KILLDUDE! HE DID YOU A SERVICE:) DO HIM A SERVICE TOO! SUBSCRIBE RATE AND COMMENT>

    Great job 5/5

  • pm me the codes my keyboard boke and i have to use the on screen 1

  • Great Tutorial, Look Forward To More, Did You Mention The Code For ''Exit'' ?

  • there's a warning that says unused local variable!!!!

  • its opens not open

  • Good video

  • you are a legend man, this helped me a lot!

    for all the faggots asking for the code, get fukin lost. you should learn, not copy and paste

    peace.

  • Carn't you just put the code in the description

  • Erm...

    I have 1 error, it says "document is not declared"

    WTF???

  • I got the same error

  • Lol i tried again and still not work roflmao annoying

  • Rename RichTextBox1 to documant

  • Add to URL &fmt=18 to make it clear so you can see all the code!!! it makes a difference!

  • i read the descirption i dont understand how this works though.

  • what does the third line of the pen code say i can't see it clearly

  • Oh my Gof, you fucking idiots. You don't need the source! Just follow along to what he is typing! If you sit there and copy down the source of everything you make, you will never learn, and you will never profit from it. The. More. You. Type. It. All. Out... The more you will learn from it. I hate seeing people say, "ohaithx4thetutorial can i haz t3h soorse pl0x?" NO FOLLOW THE TUTORIAL FROM 0:00 TO THE END AND LEARN INSTEAD OF PEOPLE JUST HANDING IT TO YOU ON A FUCKING PLATTER.

  • Props to you man! Dont be lazy watch and learn

  • Thanks you! I really hate it when people do that too, it makes me mad just because they cant follow becuase they dont have a brain....

  • true dat bro this is like school guys deal wit it you lazy as couch ass potatos

  • @Klihn Yeah, good one mate. they get fed every single thing and they are too F**king lazy to do it them selves, I do learn - the difference- brains are mushed.

  • @Klihn well said!

  • Could you please add the source or something, just so that it's a bit quicker for ALL of us to make it. please

  • I keep Getting Errors! Please Help!

  • Are you a Visual Basic Programmer ??

    For all visual basic users and beginners and pro's please join.

    Read my channel for the URL

  • problem. um the line

    Open.Title = ShowDialog(Me)

    it says that (Me) is not valid, and thus it will not work. any help?

  • Woot thanks. oh a suggestion. put the codes in the video info so that we can just copy and paste it. but otherwise this rly helped.

  • when it says File.Filter = "Text and bla bla bla"

    Replace the "Text bla bla bla" with

    "Text files (*.txt)|*.txt|All files (*.*)|*.*"

    And the Open function should work.

  • Comment removed

  • oh wait I figured out the document error this is a few pages back "People make this mistake all of the time, "document" is the name of the richtextbox. Not the program or someting." so just put the name of your project in where "document" is

  • It sets the combobox's text to ""

  • thnx

  • can you guys help me with a minor problem.

    what is the difference between: If ComboBox1.Text = "Bob" Then

     MessageBox.Show("You Picked Bob") ComboBox1.Text = ""

    AND If ComboBox1.Text = "Bob" Then MessageBox.Show("You Picked Bob")

    what does the code [ComboBox1.Text = ""] do?

  • Total n00b , it clear Combobox1's text ,lol

  • i am indeed.

  • Resets ComboBox1 to nothing

  • thnx

  • i did i corectly but when it says document.text the document is underlined in blue and its says it is not declared also under this section open.Filter = Text[*.txt*]| the * says indentifiyer expected what to do?

  • I have the same problem

  • document.TEXT should be document.TXT :)

  • oops... srry wrong.. i hadn't seen it yet... dunno whats wrong... :/

  • ffs when i open as the exe the toolthing is not there

  • If you cant read it add this at the end of the link: &fmt=18

    thaths for hq

  • 5:05

  • Attention!!!

    Cant read the words? Then put this in ur url:

    &fmt=18

    [Dont delete any of the url text, only put this behind it and you will have high quality!]

  • Nope it's free of charge just google visual basics 2008 and download it.

  • ok :)

  • Good vid, but not very clear. It's all you can do with youtube of course, but narrating might help.

    Also, if you don't narrate, some kind of music makes it more appealing.

    But overall, nice vid!

  • THis is good, thank you, but i recommend writing the steps in the info area next time!

    :D

  • Do you have the visual basic 2008 book? could you do some of the assignments from the book, I have to do them for a class but Im completely struggling

  • Bad quality, I can't see what you are doing, sry.

  • Works good, it was erroring for a while now its good...thx man :D

  • Can you put the source code file up for download?

  • hey man im just wondering how to (

    save with encoded text(after save and i try to open it in notepad the text is encoded)!!!)

    man its bugging me sooo bad cuz i created my own extension and i want it to be encoded so you can only read it in my application!!

  • You cannot do this, no matter how you encode it you will still be able to open it in notepad, even if it does not show up right. You can use your own extension and it will open as any normal text file, encoded or not, but it will NOT be limited to your application.

  • of cource you can open it in notepad...im just wondering how to encode it to when you do open it in note pad you cant read it...like opening a .dll file...its encoded...

  • Honestly I haven't a clue. C++ has ways of using data and encoding things, visual basic seems to lack direct contact with files and the users computer. It's like trying to read a binary file with VB, I don't think there are functions or any type of protocol for it. Of course, I could be wrong. Sorry I could not help.

  • you can do this with a rich text box

  • Well, the file would have to be saved as a .rtf file and it would open correctly in MS Wordpad and MS (Office) Word.

  • u type slow kid. i got this program for free. if you want to know send me message and ill give u link and u download. but remember to get to get number also to keep forever. this on microsoft website

  • Dude, it's 2008 Express, it didn't cost me anything. Express is free, Professional is not.

  • Please send me the code (As a project!)

  • Why would you use a RichEditEdit-control in a notepad? It's totally unnecessary and stupid, as the data you paste into the notepad will keep its rich-text formatting, which is the point of a rich-text-format-editor, not a plain-text/notepad editor. And it is a must you make the edit control dock the entire client area. And stop with the VB bullshit and program some C# or C++.

  • I guess I should have named the tutorial 'Rich Text Editor'. And, I do program in C++. Why do you have do be rude about something that does not need it? Programming with C++ using the WinAPI is just text and not usually visual so a text tutorial would be better for C++ unless you are using VC++.

  • Add &fmt=18 at end of vid

  • what the fuck is the code ????

    we cant see it???

  • how come when it reads, i can't edit the text?

  • what's the open code? it keeps on erroring.

  • same by me :S

  • next time use a microphone

  • I cannot afford one. I am 13. If I had a job somehow or got allowance, I would have bought one already.

  • i am too

    and i have one

  • You can get one for about $15-$20, how can you not afford one?

  • next time y dont you get ur lazy ass of that couch and start typing like the rest of us

  • why do you type so slow in the video?

  • Because I am a slow typer. I am not exactly a hunt-and-peck typer, but I am not very fast. Also the frame-rate is a bit slowed down.

  • bc he wants to

  • hacking tool? haha there are weird questions because of weird people...

  • No, if you would kindly read the title it says: Creating a "TEXT EDITOR", you know like MS Notepad. You must be at the wrong place.

  • tyvm, I recently converted from VB 6 to VB 8 Exp Ed so it's a little diffrent.

  • fuckk

  • Tutorial for very noob

  • hey dude can you provide a visual basic 2008 express file of this project.. it would really be apreciated

  • nope youll have to type sorry

  • It gives me an error when i try to open the pogram on the word "document" it says:

    Name "document" is not declared.

    What can i do?

  • People make this mistake all of the time, "document" is the name of the richtextbox. Not the program or someting.

    You can make sure all of the names are placed in the correct controls and check for miss-spellings.

    You can also download the fully functions project complete with the source code. You can download it at plunder. It has NO ERRORS and you can check the cource code and make the correct changes to the code or use the -project as a template.

    If you want the proejct message me.

  • can u please message me the coding All of it because you got like over 250 lines and i really dont have the time thnx

  • Dude, i'm not being nasty but I got SIX errors even though I typed the code right.

  • It worked fine for me so there must be something wrong. I have the project uploaded to plunder exactly the one in the tutorial. Send me a message if you want the download link. (I cannot post it here). If not, Send me the code that gave the error and I will help you trouble shoot it.

    (Some people make a common mistake about naming things wrong: you might have named the richtextbox wrong; its name is 'document'.)