|
-
Oct 22nd, 2004, 02:08 AM
#1
Thread Starter
New Member
Dim as long
I am currenty working on a project, what I was is to dim these three txt boxes as long so the "" quotes will stop appearing and interfearing with the cmd file.
Any help out there??
I keeping getting a : "Type Mismatch" error - It highlights the Dim trace and the dim pause. Help!
Private Sub cmdScan_Click()
If Not IsNumeric(txtipadress) Then
MsgBox "Please enter a numeric value only!", vbInformation + vbOKOnly, "Incorrect Information"
txtipadress.SetFocus
End If
Dim telnum As Long
telnum = txtipadress
Dim trace As Long
trace = txttrace
Dim pause As Long
pause = txtPause
filename = "C:\ip.cmd"
Open filename For Output As #1
Write #1, telnum, trace, pause
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|