•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the Visual Basic 4 / 5 / 6 section within the Software Development category of DaniWeb, a massive community of 456,485 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,780 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Visual Basic 4 / 5 / 6 advertiser: Programming Forums
Views: 62207 | Replies: 1
![]() |
| |
•
•
Join Date: Aug 2004
Posts: 1
Reputation:
Rep Power: 0
Solved Threads: 0
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
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
![]() |
•
•
•
•
•
•
•
•
DaniWeb Visual Basic 4 / 5 / 6 Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
- VB6 - Outlook Email set up - Error 424: Object required (Visual Basic 4 / 5 / 6)
- VB6 - Email attachment not working (Visual Basic 4 / 5 / 6)
- Stumped: Error on Combo Box Sort (MS Access and FileMaker Pro)
- Error 424-object required (Visual Basic 4 / 5 / 6)
- VB6 RTE '424' Object required. (Visual Basic 4 / 5 / 6)
- I get a Runtime Error 424 when trying to access a file in VB (Visual Basic 4 / 5 / 6)
- Run-Time Error 424 (Visual Basic 4 / 5 / 6)
Other Threads in the Visual Basic 4 / 5 / 6 Forum
- Previous Thread: insert image into mysql
- Next Thread: "HELP" RUNNING MSDOS COMMAND ON VB


Hybrid Mode