home *** CD-ROM | disk | FTP | other *** search
- VERSION 5.00
- Begin VB.Form Form3
- Caption = "Upload Your Project"
- ClientHeight = 3780
- ClientLeft = 4005
- ClientTop = 4320
- ClientWidth = 7395
- LinkTopic = "Form3"
- ScaleHeight = 3780
- ScaleWidth = 7395
- Begin VB.Frame Frame1
- Caption = "Upload"
- Height = 3735
- Left = 0
- TabIndex = 7
- Top = 0
- Width = 7335
- Begin VB.Frame Frame7
- Caption = "Download Url"
- Height = 615
- Left = 120
- TabIndex = 13
- Top = 1680
- Width = 3495
- Begin VB.TextBox Url
- Height = 285
- Left = 120
- TabIndex = 2
- Top = 240
- Width = 3255
- End
- End
- Begin VB.Frame Frame4
- Caption = "E-mail"
- Height = 615
- Left = 120
- TabIndex = 12
- Top = 960
- Width = 3495
- Begin VB.TextBox Email
- Height = 285
- Left = 120
- TabIndex = 1
- Top = 240
- Width = 3255
- End
- End
- Begin VB.CommandButton Command1
- Caption = "Upload"
- Height = 495
- Left = 120
- TabIndex = 6
- Top = 3120
- Width = 3495
- End
- Begin VB.Frame Frame6
- Caption = "Type Of Upload"
- Height = 615
- Left = 120
- TabIndex = 11
- Top = 2400
- Width = 3495
- Begin VB.ComboBox Types
- Height = 315
- ItemData = "Form3.frx":0000
- Left = 120
- List = "Form3.frx":0002
- TabIndex = 3
- Text = "Source"
- Top = 240
- Width = 3255
- End
- End
- Begin VB.Frame Frame5
- Caption = "Extra Info:"
- Height = 2655
- Left = 3720
- TabIndex = 10
- Top = 960
- Width = 3495
- Begin VB.TextBox Info
- Height = 2325
- Left = 120
- MultiLine = -1 'True
- ScrollBars = 2 'Vertical
- TabIndex = 5
- Top = 240
- Width = 3255
- End
- End
- Begin VB.Frame Frame3
- Caption = "Project Name:"
- Height = 615
- Left = 3720
- TabIndex = 9
- Top = 240
- Width = 3495
- Begin VB.TextBox fProject
- Height = 285
- Left = 120
- MaxLength = 25
- TabIndex = 4
- Top = 240
- Width = 3255
- End
- End
- Begin VB.Frame Frame2
- Caption = "Your Name:"
- Height = 615
- Left = 120
- TabIndex = 8
- Top = 240
- Width = 3495
- Begin VB.TextBox Yname
- Height = 285
- Left = 120
- MaxLength = 20
- TabIndex = 0
- Top = 240
- Width = 3255
- End
- End
- End
- Attribute VB_Name = "Form3"
- Attribute VB_GlobalNameSpace = False
- Attribute VB_Creatable = False
- Attribute VB_PredeclaredId = True
- Attribute VB_Exposed = False
- Private Sub Command1_Click()
- 'check for any blank info
- If Info = "" Then Info = "No Information Provided"
- If Yname = "" Or Email = "" Or Url = "" _
- Or fProject = "" Then
- MsgBox "All boxes must be filled in", vbInformation, "Error"
- Exit Sub
- End If
- '
- 'If type is made up dont upload
- If Types.Text = "Source" Or Types.Text = "Help Me" _
- Or Types.Text = "Freeware" Then
- Else
- MsgBox "You must select a type from the list given", vbInformation, "Error"
- Exit Sub
- End If
- '
- 'Build File
- 'You can use .text at the end of those but
- 'i didnt want it to take up to many lines
- txt = Yname & "
- " & fProject & "
- " & Email & "
- & Types.Text & "
- " & Info & "
- " & Url
- '
- 'Have it make and send file
- MakeFile (txt)
- '
- End Sub
- Private Sub Form_Load()
- Types.AddItem "Source"
- Types.AddItem "Help Me"
- Types.AddItem "Freeware"
- End Sub
-