Lost Password?


Go Back   CodeCall Programming Forum > Software Development > Visual Basic Programming

Visual Basic Programming Discussion forum for Visual Basic, an event driven programming language and associated development environment from Microsoft for its COM programming model.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-17-2008, 07:17 PM
Cetol Cetol is offline
Newbie
 
Join Date: Jan 2008
Posts: 8
Rep Power: 0
Cetol is on a distinguished road
Send a message via MSN to Cetol
Question How Do I Make A Notepad In VB 2008?

I'm trying to made one.
I think the text box is easy.
But save and open?

Please post one here.
Sorry if I'm being a noob.
__________________
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Sponsored Links
  #2 (permalink)  
Old 01-18-2008, 01:48 PM
Cetol Cetol is offline
Newbie
 
Join Date: Jan 2008
Posts: 8
Rep Power: 0
Cetol is on a distinguished road
Send a message via MSN to Cetol
Default

Can anyone please help me?

I'm very confused about this.
I just want a save and open button
__________________
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-23-2008, 07:25 PM
Cetol Cetol is offline
Newbie
 
Join Date: Jan 2008
Posts: 8
Rep Power: 0
Cetol is on a distinguished road
Send a message via MSN to Cetol
Default

I really need some help.

I've been trying thousands of codes now!

I tried Google, but nothing came up!

I'm just going to give up on the Note pad.
__________________
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 01-24-2008, 08:25 AM
TcM's Avatar   
TcM TcM is offline
Code Warrior
 
Join Date: Aug 2006
Location: In a technologic world :p
Posts: 8,332
Rep Power: 68
TcM is a glorious beacon of lightTcM is a glorious beacon of lightTcM is a glorious beacon of lightTcM is a glorious beacon of lightTcM is a glorious beacon of light
Default

Please do not bump your posts twice. If someone knows how to do this, he/she will surely post and help you.

Thanks
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 01-24-2008, 08:39 AM
Jordan's Avatar   
Jordan Jordan is offline
Administrator
 
Join Date: Nov 2005
Location: Hendersonville, NC
Posts: 9,203
Last Blog:
Ext JS or Ext GWT
Rep Power: 20
Jordan is just really niceJordan is just really niceJordan is just really niceJordan is just really nice
Send a message via ICQ to Jordan Send a message via AIM to Jordan Send a message via MSN to Jordan
Default

Search google for reading/writing to files using Visual Basic. You may be using 2008 but you will find 2005 tutorials will most likely work with your version. Take the textbox value (you should use a richtextbox IMO) and write it to a file. When loading simply read the file to a string and apply that string to the textbox.
__________________
CodeCall Blog | CodeCall Wiki | Shareware Site | Linux Forum | Write a Blog
The CodeCall Wiki is now fully integrated with vBulletin users! Check it out and add some new pages!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Sponsored Links
  #6 (permalink)  
Old 01-26-2008, 03:26 AM
newcooler newcooler is offline
Newbie
 
Join Date: Jan 2008
Posts: 1
Rep Power: 0
newcooler is on a distinguished road
Smile

Hey, im just a student and so far the easiest for me to save stuff from the program to a text file - is using a normal for loop and getting it to read the stuff you want.

For instance i used this code below to read all the things in the listbox and save it to a text file.
Code:
For b As Integer = 0 To lstdisplay.Items.Count - 1

            Dim line As String

            line = lstdisplay.Items(b)

            System.IO.File.AppendAllText("File.txt", line + Environment.NewLine)

        Next
and to open im guessing you use the same as this - which would be a simple for loop to read all the lines in a text file and display them.

Hope this helps - good luck

Last edited by TcM; 01-26-2008 at 04:58 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
VB 6.0: Tutorial, How to Make Glass2K!! TcM VB Tutorials 12 09-28-2008 12:53 PM
VB 6.0: Tutorial, How to make a GIF in your application TcM VB Tutorials 17 07-01-2008 04:26 PM
What Sort Of Things Did You Make When You Started VB? Skel Visual Basic Programming 1 11-06-2007 02:47 PM
VB 6.0: Tutorial, Explaining the VB 6.0 GUI TcM VB Tutorials 1 05-18-2007 11:25 AM
How to make Dumplings ahsan16 The Lounge 2 01-11-2007 11:55 PM


All times are GMT -5. The time now is 06:36 AM.

Contest Stats

WingedPanther ........ 2753.6
Xav ........ 2704
Brandon W ........ 1702.32
John ........ 1207.73
marwex89 ........ 1175.24
morefood2001 ........ 966.05
dcs ........ 655.75
Steve.L ........ 475.59
orjan ........ 418.58
Aereshaa ........ 383.54

Contest Rules

CodeCall Goal

Goal: 100,000 Posts
Complete: 97%

Ads