Visual Basic Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsProgrammingVisual Basic Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
Free Web 2.0 Code Generator! Generate data entry and reporting .NET Web apps in minutes. Quickly create visually stunning, feature-rich apps that are easy to customize and ready to deploy. Download Now!
  #1  
Old November 7th, 2004, 10:25 AM
Nmixer Nmixer is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Nov 2004
Posts: 6 Nmixer User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Question Creating a save file???

I'm currinly learning VB in school first lvl of it. i want to know and learn this more then just in the class. (it makes tests easyer lol)

how do i creat say, a program that would let a user 'Register' a user name and password so next time they come back and use it, it would either display a message or alow them to enter the program?

any help or information on this topic , i thank you lots

Last edited by Nmixer : November 7th, 2004 at 02:55 PM. Reason: miss spell

Reply With Quote
  #2  
Old November 7th, 2004, 05:25 PM
Doug G Doug G is offline
Grumpier Old Moderator
ASP Free God 11th Plane (10000 - 10499 posts)
 
Join Date: Sep 2003
Posts: 10,143 Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 3 Weeks 4 Days 19 h 13 m
Reputation Power: 180
How about using the "Registry" (couldn't resist).

You'll have to have some mechanism that identifies a returning user, similar to a cookie in a web browser. I'm not sure what you could use from a VB program to remember a user.
__________________
======
Doug G
======
I didn't attend the funeral, but I sent a nice letter saying I approved of it. --Mark Twain

Reply With Quote
  #3  
Old November 8th, 2004, 08:52 AM
Darius Darius is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Sep 2004
Posts: 108 Darius User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 11 h 16 m 54 sec
Reputation Power: 4
Wink

The registry is a little too dificult for a beginner, it could be better to store user and password in a file (ie .ini with all configuration for the application), but it could be better to encrypt the user and password, a way to do it easily is just add a number (from 1 to 128) to each character so if somebody try to type it like that it wont work.

Reply With Quote
  #4  
Old November 8th, 2004, 02:27 PM
Nmixer Nmixer is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Nov 2004
Posts: 6 Nmixer User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Well i dind't mean it has to be user name and password. I'm just saying somthing. ummm lets say text, or somthing the user puts down, and it saves it in a file??

what things would i use to make it? .... thanks agian.

Reply With Quote
  #5  
Old November 10th, 2004, 04:04 PM
Nmixer Nmixer is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Nov 2004
Posts: 6 Nmixer User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
???

Reply With Quote
  #6  
Old November 10th, 2004, 04:16 PM
Darius Darius is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Sep 2004
Posts: 108 Darius User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 11 h 16 m 54 sec
Reputation Power: 4
Just save it in a file as I said before.

How to save a file?

Open FILENAME for output as #1
print #1, VARIABLE1
print #1, VARIABLE2
Close #1

How to read It?

Open FILENAME for input as #1
Input #1, VARIABLE1
Input #1, VARIABLE2
Close #1

Reply With Quote
Reply

Viewing: ASP Free ForumsProgrammingVisual Basic Programming > Creating a save file???


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway