Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
The Basics of VB [Part 2]
#1
Don't delete this! I changed this post to part 2 so there is no need in deleting it, it's no longer the same as part 1.

Part 2

Simple Notepad App


Make a new Windows forms application (dont name it My Web Browser ;P, lol):

[Image: NewWFAproject.jpg]

Now, add 1 menu strip, 1 context menu, 1 RichTextBox. Make it look something like this:

[Image: Notepad.jpg]

Now to set the context menu!

or add the following:

Undo
Redo
-
Cut
Copy
Paste
Delete
-
Select All

Now if you couldnt see the menu strip in the picture, or havent added any of the options you saw on there yet then you need to go ahead and do that...the options and items are:


Now its time for...

Coding Our Notepad

Coding The Context Menu (Named ' ContextMenuStrip1'):

once you've got that done go to the RichTextBox properties and go to ContextMenuStrip and change it to ContextMenuStrip1 (or whatever you named it)

Should be:

Coding The Menu Strip (File, Edit, etc...(Named 'MenuStrip1'):

New:

-----
Under 'File':
-----


Open:

Save as:

Exit:

-----
Now under 'Edit':
-----


Font:

Font Color:

Background Color:

-----
Now under 'About/Info':
-----


About:


I will be working on a Part 2 for more advanced things. Thanks for reading! Big Grin

Say Thanks! (Click to View)
Reply
#2
Very well done, those gifs must take you along time, I know from personal experience.
I may not be making a notepad, but what you show in here will help me a bit with other projects.
[Image: 2.png]
Reply
#3
Nice tutorial! +1 rep by me Smile
My software company: Porosis Software
Games: Terrantula
Apps: Mathanasis, ColorGrabber
Reply
#4
Thanks everyone, glad you liked it Smile
Reply
#5
Very nice tutorial man,
It's informative - I'll be sure to remember to give you some reputation whenever I've hit 100 posts.
You can only give reputation if you have 100+ posts, if I don't remember then remind me.
Thanks man, take care!
[Image: 7AqFN0N.gif]
Reply
#6
(10-25-2011, 10:45 AM)Uzi. Wrote: Very nice tutorial man,
It's informative - I'll be sure to remember to give you some reputation whenever I've hit 100 posts.
You can only give reputation if you have 100+ posts, if I don't remember then remind me.
Thanks man, take care!

Haha, thanks Tongue
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  VB.Net Make a Real AntiVirus (AV) - Part 1 goranpilkic 27 29,959 08-25-2014, 12:43 AM
Last Post: dark_move
  [video]Make a theme in three part HF~Legend 1 904 12-07-2011, 08:40 AM
Last Post: thespragg
  The Basics of VB [Part 1] SomeWhiteGuy? 6 2,102 10-25-2011, 10:44 AM
Last Post: SomeWhiteGuy?
  Visual Basics Online Protection[2008] DeHaterZ 14 4,437 12-12-2010, 05:00 PM
Last Post: Money
  [TuToRiAl] How to Get/Edit the value of a key in the Registry (Part 2) Resistance 0 813 10-10-2010, 06:11 PM
Last Post: Resistance

Forum Jump:


Users browsing this thread: 2 Guest(s)