943,864 Members | Top Members by Rank

Ad:
Aug 6th, 2004
0

Runtime Error 424 object required (was: Please Help!)

Expand Post »
Runtime Error 424 object required happens when I attempt to open my program I made,It does it everytime, and it says the defragments are Private Sub Form_Load() and CS1.Scan_On in the code. Does anyone know how I can fix this? Heres the code if anyone can help..

Private Sub CS1_ChatScan(ScreenName As String, Chat As String)
'Make sure you can only use the ccoms
If ScreenName = AOL_GetUser Then

'~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
'~Heres a simple ccom with no string~
'~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
'LCase(Chat) means you can have the command
'capitalized or not and it will still work.
'ex:
' Unforgiven Sycko: -/help
' Unforgiven Sycko: Hello there.
If (LCase(Chat)) = "-/help" Then
Chat_Send "Commands: -/help,-/op,-/kick."
End If


'Lets end the "If ScreenName = AOL_GetUser"
End If
End Sub

Private Sub Form_Load()
CS1.Scan_On
CS1.About_Fcs
Form1.Height = 1635
End Sub

Private Sub Form_Unload(Cancel As Integer)
CS1.Scan_Off
End Sub
Private Sub About_Click()
MsgBox "Exodus Ccom v1.1, Made by Kirby, Just wanted to make a simple ccom, so here it is. hope someone likes it, first program I've ever made."
End Sub

Private Sub Command1_Click()
MsgBox "Well it's a basic ccom so just read the commands and enter them in the chatroom, also, if you're room owner you can op others in the room so they can ban as well. each ccom listed is explained a bit to what it's supposed to do."
End Sub

Private Sub HScroll1_Change()

End Sub

Private Sub Exit_Click()
Unload Me
End Sub

Private Sub Minimize_Click()
Form1.WindowState = 1
End Sub
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
XxMinionxX is offline Offline
1 posts
since Aug 2004
Sep 25th, 2004
0

Re: Runtime Error 424 object required (was: Please Help!)

Ok about all I know in this is that you need to create the object CS1. Since I have no clue how to set this thats where my help ends.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
Lokinta is offline Offline
1 posts
since Sep 2004

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Visual Basic 4 / 5 / 6 Forum Timeline: Shortcut to Stop the Program
Next Thread in Visual Basic 4 / 5 / 6 Forum Timeline: "HELP" RUNNING MSDOS COMMAND ON VB





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC