🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.comp.lang.visualbasic.ver3
Article #111

Visual Basic 3 Code

#111
From: Daniel Blamire
Date: Tue, 29 Dec 1998 00:00
100 lines
3896 bytes
Can anyone translate the following for me ????


' REGISTER.FRM
Option Explicit

Sub cmd_Button_event0000 (p001A As Integer)
    If  p001A = 0 Then
        If  Not fnA68(True, "" & txt_Code) Then
            txt_Code.SetFocus
            Exit Sub
        End If
        Call sub988(Me, fn608("" & txt_Code, ""))
    Else
        Unload frm_Registration
    End If
End Sub

Sub cmd_Button_event0009 (p002E As Integer)
    If  p002E = 0 Then
        gv0064 = gv01E4(452) & " '" & txt_Code & "'"
    Else
        gv0064 = gv01E4(35) & " '" & v_Title & "' " & gv01E4(43)
    End If
    Call subB88(gv0064)
End Sub

Sub cmd_Button_event000B ()
    frm_Goldpoint!v_Dil2.P?C008 = False
End Sub

Sub cmd_Control_MouseDown (Index%, Button As Integer, Shift As Integer, X As
Single, Y As Single)
    Call sub4B8("" & v_Title.P?C024, Index)
End Sub

Sub cmd_Control_MouseUp (Index%, Button As Integer, Shift As Integer, X As
Single, Y As Single)
    If  fn480(Me, Index) Then Call cmd_Button_event0000(1)
End Sub

Sub Form_Activate ()
    v_Border.Refresh
    Screen.MousePointer = 0
End Sub

Sub Form_KeyPress (KeyAscii As Integer)
    If  KeyAscii = 27 Then cmd_Button_event0000 (1)
End Sub

Sub Form_Load ()
    v_Title.P?C024 = gv01E4(1040)
    lbl_Code.Caption = gv01E4(804)
    cmd_Button(0).[$C023?] = gv01E4(824)
    cmd_Button(1).[$C023?] = gv01E4(825)
    txt_RegCode = ""
    For gv0068 = 0 To 5
        txt_Type(gv0068) = ""
        txt_Char(gv0068) = ""
    Next
End Sub

Sub txt_Code_Change ()
    gv0068 = Len(Trim(txt_Code)) = 6
    If  gv0068 <> cmd_Button(0).FontSize Then cmd_Button(0).FontSize =
gv0068
    txt_RegCode = ""
    For gv0068 = 0 To 5
        txt_Type(gv0068) = ""
        txt_Char(gv0068) = ""
    Next
End Sub

Sub txt_Code_GotFocus ()
    txt_Code.SelStart = 0
    txt_Code.SelLength = 6
End Sub

Sub txt_Code_KeyPress (KeyAscii As Integer)
    If  KeyAscii > 96 And KeyAscii < 123 Then
        KeyAscii = KeyAscii - 32
    ElseIf KeyAscii = 13 Then
        Call cmd_Button_event0000(0)
        KeyAscii = 0
    End If
End Sub

Sub txt_RegCode_GotFocus ()
    txt_RegCode.SelStart = 0
    txt_RegCode.SelLength = 6
End Sub

Sub txt_RegCode_KeyPress (KeyAscii As Integer)
    KeyAscii = 0
End Sub

Sub v_Title_event0009 (p009C As Integer)
    extsubC8
    p009C = extfn1E0(Me.hWnd, 274, -4078, 12517567&)
End Sub
Technical Details
Message-ID: <xB9i2.578$14.1423@newsr2.u-net.net>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f8e75,9ffc3655cd9c16f8,start
X-Google-Attributes: gidf8e75,public
X-Google-Thread: 1053fc,9ffc3655cd9c16f8,start
X-Google-Attributes: gid1053fc,public
X-Google-Thread: 1023e1,9ffc3655cd9c16f8,start
X-Google-Attributes: gid1023e1,public
X-Google-Thread: fb992,9ffc3655cd9c16f8,start
X-Google-Attributes: gidfb992,public
X-Google-Thread: f660c,9ffc3655cd9c16f8,start
X-Google-Attributes: gidf660c,public
X-Google-Thread: 102b37,9ffc3655cd9c16f8,start
X-Google-Attributes: gid102b37,public
X-Google-Thread: f645d,9ffc3655cd9c16f8,start
X-Google-Attributes: gidf645d,public
X-Google-Thread: 10b213,9ffc3655cd9c16f8,start
X-Google-Attributes: gid10b213,public
From: "Daniel Blamire" <news17@usa.net>
Subject: Visual Basic 3 Code
Date: 1998/12/29
Message-ID: <xB9i2.578$14.1423@newsr2.u-net.net>
X-Deja-AN: 426844379
X-Priority: 3
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.1011.1301
X-Complaints-To: news@u-net.net
X-Trace: newsr2.u-net.net 914957789 195.102.198.177 (Tue, 29 Dec 1998 18:56:29 BST)
Organization: (Posted via) U-NET Internet Ltd.
X-MSMail-Priority: Normal
NNTP-Posting-Date: Tue, 29 Dec 1998 18:56:29 BST
Newsgroups: alt.comp.lang.visualbasic.ver3,comp.lang.basic.visual,comp.lang.visual.basic,es.comp.lenguajes.visual-basic,han.comp.os.ms-windows.programming.vb,microsoft.public.vb.3rdparty,microsoft.public.vb.controls,microsoft.public.vb.visual_modeler