BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "Trebuchet MS"
Size = 9
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
End
Begin VB.TextBox Text1
Alignment = 2 'Center
Appearance = 0 'Flat
BeginProperty Font
Name = "Arial"
Size = 9
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 285
Left = 750
TabIndex = 0
Top = 240
Width = 2790
End
Begin VB.TextBox Text2
Alignment = 2 'Center
Appearance = 0 'Flat
BeginProperty Font
Name = "Arial"
Size = 9
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 285
IMEMode = 3 'DISABLE
Left = 735
PasswordChar = "X"
TabIndex = 1
Top = 780
Width = 2880
End
Begin VB.Label Label1
Alignment = 2 'Center
BackStyle = 0 'Transparent
Caption = "Name"
BeginProperty Font
Name = "Arial"
Size = 9.75
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 300
Left = 1815
TabIndex = 22
Top = 1095
Width = 690
End
Begin VB.Label Label2
Alignment = 2 'Center
Caption = "Email Address"
BeginProperty Font
Name = "Arial"
Size = 9.75
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 225
Left = 1373
TabIndex = 3
Top = 30
Width = 1545
End
Begin VB.Label Label3
Alignment = 2 'Center
Caption = "Password"
BeginProperty Font
Name = "Arial"
Size = 9.75
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 225
Left = 1635
TabIndex = 2
Top = 570
Width = 1065
End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Private Declare Function SetWindowLong Lib "user32" Alias "SetWindowLongA" (ByVal hwnd As Long, ByVal nIndex As Long, ByVal dwNewLong As Long) As Long
Private Const BS_FLAT = &H8000&
Private Const GWL_STYLE = (-16)
Private Const WS_CHILD = &H40000000
Private Declare Function ShellExecute Lib "shell32.dll" Alias "ShellExecuteA" (ByVal hwnd As Long, ByVal lpOperation As String, ByVal lpFile As String, ByVal lpParameters As String, ByVal lpDirectory As String, ByVal nShowCmd As Long) As Long
Private MyIndex As Integer
Private Sub Command1_Click()
Text1.SetFocus
If Text1.Text = "" Or Text2.Text = "" Or Text2.Text = "" Then MsgBox "You havent filled in all the required feilds !": Exit Sub
SetWindowLong Button.hwnd, GWL_STYLE, WS_CHILD Or BS_FLAT
Button.Visible = True 'Make the button visible (its automaticly hidden when the SetWindowLong call is executed because we reset the button's Attributes)
End Function
Private Sub Option1_Click(Index As Integer)
Text1.SetFocus
On Error Resume Next
Dim GetMyIndex As Integer
Dim x As Integer
For x = 0 To 13
If Option1(x).Value = True Then
If x = 11 Then x = 13
MyIndex = x
Exit Sub
End If
Next x
End Sub
Public Function fConvert(ByVal sStr As String) As String