Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Apr 30th, 2005, 12:22 PM   #1
Dark Flare Knight
Hobbyist Programmer
 
Join Date: Mar 2005
Location: Canada
Posts: 113
Rep Power: 4 Dark Flare Knight is on a distinguished road
Adding Info In Text Files

I want to be able to edit and view info of users using my java program. How would i do that?
Dark Flare Knight is offline   Reply With Quote
Old Apr 30th, 2005, 4:15 PM   #2
jamesdman
Newbie
 
Join Date: Apr 2005
Location: NC,USA
Posts: 17
Rep Power: 0 jamesdman is on a distinguished road
Sounds like you want to steal user info.
jamesdman is offline   Reply With Quote
Old Apr 30th, 2005, 4:44 PM   #3
Havoc_101
Newbie
 
Join Date: Apr 2005
Posts: 19
Rep Power: 0 Havoc_101 is on a distinguished road
lol...
Havoc_101 is offline   Reply With Quote
Old Apr 30th, 2005, 5:29 PM   #4
Dark Flare Knight
Hobbyist Programmer
 
Join Date: Mar 2005
Location: Canada
Posts: 113
Rep Power: 4 Dark Flare Knight is on a distinguished road
not steal....i meant i am making a program that's too big to post here, i want something from which i can view other ppl's info and edit them within the program.
Dark Flare Knight is offline   Reply With Quote
Old May 1st, 2005, 4:42 AM   #5
Ooble
I eat cake for breakfast.
 
Ooble's Avatar
 
Join Date: Jul 2004
Location: In my box.
Posts: 4,434
Rep Power: 9 Ooble is on a distinguished road
Other people's info in what? Windows? Linux? Your program?
__________________
Me :: You :: Them
Ooble is offline   Reply With Quote
Old May 1st, 2005, 12:54 PM   #6
Dark Flare Knight
Hobbyist Programmer
 
Join Date: Mar 2005
Location: Canada
Posts: 113
Rep Power: 4 Dark Flare Knight is on a distinguished road
I guess i wasn't clear earlier. I'll put it in steps.

1) i made a program
2) i want to add user profiles to it
3) i think the user profiles would be saved on a text file (not sure about this part)
4) then i added an address book to save a user's info
5) finally i want to be able to edit this info using my program rather than changing its code.
6) i try to post it here but its sorta too big.
7) i try to post it here as an attactchment but .java isn't allowed.
8) so i ask for help here.

can someone tell me how i can do that in MY PROGRAM. I AM NOT TALKING ABOUT ANY WINDOWS ACCOUNT OR A GAME ACCOUNT. I AM TALKING ABOUT MY PROGRAM.

hope this is better

Last edited by Dark Flare Knight; May 1st, 2005 at 12:57 PM.
Dark Flare Knight is offline   Reply With Quote
Old May 1st, 2005, 1:07 PM   #7
Dameon
Troll
 
Dameon's Avatar
 
Join Date: Apr 2005
Location: Texas
Posts: 732
Rep Power: 4 Dameon is on a distinguished road
Yes. Make a User class with a function that will read in all its info from a stream. Once you open the file, read in Users and stick them on an array list until end of file. Or did you want implementation
Dameon is offline   Reply With Quote
Old May 1st, 2005, 2:12 PM   #8
Ooble
I eat cake for breakfast.
 
Ooble's Avatar
 
Join Date: Jul 2004
Location: In my box.
Posts: 4,434
Rep Power: 9 Ooble is on a distinguished road
Stick it in [code] tags - it'll be fine, I promise. To help you, we really need to know how your user database is structured.
__________________
Me :: You :: Them
Ooble is offline   Reply With Quote
Old May 1st, 2005, 6:33 PM   #9
Dark Flare Knight
Hobbyist Programmer
 
Join Date: Mar 2005
Location: Canada
Posts: 113
Rep Power: 4 Dark Flare Knight is on a distinguished road
If u give me ur msn or aim, i'll send u the code.....or i could email it to u.

Btw, i don't know how to use [] these. I won't learn them until next year so if u could explain a bit, it would be helpful.

Last edited by Dark Flare Knight; May 1st, 2005 at 9:21 PM.
Dark Flare Knight is offline   Reply With Quote
Old May 2nd, 2005, 5:51 AM   #10
Ooble
I eat cake for breakfast.
 
Ooble's Avatar
 
Join Date: Jul 2004
Location: In my box.
Posts: 4,434
Rep Power: 9 Ooble is on a distinguished road
Put your code inside them:
[ code] Blah Blah Blah [/code]
(but remove the space from the first one). It will look like this:
 Blah Blah Blah
__________________
Me :: You :: Them
Ooble is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
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
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 8:55 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC