What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Tech Talk » VB Help [Another problem]

VB Help [Another problem]
Author: Message:
Reaper
Veteran Member
*****

Avatar

Posts: 1393
Reputation: 23
36 / Male / Flag
Joined: Jun 2004
O.P. RE: VB Help [Another problem]
i was just sorting out my systme, and i thought about adding an option to create a user. so how would i go about doing this?
would i have to write the information to a file? if so how :P?

i have written a code i think i got the basics, but i want to know how to put the information in the file in the format userame|password
the code doesnt work, as in i type in the info and click ok but it just disappears and nothing appears in the txt file. also how do i mask the password characters?

code:
Dim Filename As String

Private Sub cmdCancel_Click()
Unload Me
End Sub

Private Sub cmdOK_Click()
    Dim Username As String
    Dim Password As String
    Username = txtUsername.Text
    Password = txtPassword.Text
    Open Filename For Append As #1
    Write #1, Username, Password
    Close #1
    txtUsername.Text = " "
    txtPassword.Text = " "
    txtUsername.SetFocus
End Sub

Private Sub Form_Load()
    Filename = App.Path & "\login.txt"
End Sub


This post was edited on 09-15-2005 at 09:19 PM by Reaper.
09-15-2005 05:17 PM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
VB Help [Another problem] - by Reaper on 09-13-2005 at 06:01 PM
RE: VB Help - by matty on 09-13-2005 at 06:48 PM
RE: RE: VB Help - by CookieRevised on 09-14-2005 at 06:33 AM
RE: VB Help - by Reaper on 09-13-2005 at 06:52 PM
RE: VB Help - by RaceProUK on 09-13-2005 at 09:14 PM
RE: VB Help - by Reaper on 09-13-2005 at 10:00 PM
RE: VB Help - by brian on 09-13-2005 at 10:25 PM
RE: VB Help - by Reaper on 09-13-2005 at 10:29 PM
RE: VB Help - by matty on 09-13-2005 at 11:08 PM
RE: VB Help - by Reaper on 09-14-2005 at 02:58 PM
RE: VB Help [Another problem] - by Reaper on 09-15-2005 at 05:17 PM
RE: VB Help [Another problem] - by RaceProUK on 09-15-2005 at 08:25 PM
RE: VB Help [Another problem] - by Reaper on 09-15-2005 at 09:17 PM
RE: RE: VB Help [Another problem] - by CookieRevised on 09-16-2005 at 06:55 AM
RE: VB Help [Another problem] - by Reaper on 09-16-2005 at 01:50 PM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On