What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Tech Talk » some more VB help :P

some more VB help :P
Author: Message:
Stigmata
Veteran Member
*****



Posts: 3520
Reputation: 45
21 / Other / Flag
Joined: Jul 2003
RE: some more VB help :P
1) it cant set itself as nothing so just be lazy

code:
Private Sub cmdOK_Click()
    Dim Username As String
    Dim Password As String
    Dim Email As String

If txtPasskey.Text = "12345" Then
    Username = txtUsername.Text
    Password = txtPassword.Text
    Email = txtEmail.Text
    Open Filename For Append As #1
    Print #1, Username & "|" & Password
    Print #1, Email
    Close #1
    txtUsername.Text = ""
    txtPassword.Text = ""
    txtUsername.SetFocus
    MsgBox "User account created"
    Unload Me
Else
    MsgBox "Passkey is invalid"
End If
End Sub


2)
when you go to open the data base. we dont have the same folders as you do, so it would be alot better to add something like:
code:
  db.Open "PROVIDER=Microsoft.Jet.OLEDB.3.51;Data Source=" & App.Path & "\Stock Control 97 Version.mdb;"


and im sorry, but i havnt been able to answer any of the database questions. i dont understand why either :S

This post was edited on 09-20-2005 at 04:17 PM by Stigmata.
09-20-2005 04:16 PM
Profile PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
some more VB help :P - by Reaper on 09-20-2005 at 03:43 PM
RE: some more VB help :P - by Stigmata on 09-20-2005 at 04:16 PM
RE: some more VB help :P - by Reaper on 09-20-2005 at 04:25 PM
RE: some more VB help :P - by Reaper on 09-22-2005 at 05:17 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