I have an app that I have developed which works fine on my
computer. I tried to run it on another computer and the
first thing I get is The 383 runtime error because apparently
I am trying to set a read-only property. I click OK and that is all I get.
It would seem to be code in the form load event.
Look at the code below and see if you can find any problems.

Code:
Private Sub Form_Load()

    If App.PrevInstance Then
        AppActivate App.Title
        Unload Me
    End If
 
    Label2.Caption = Now
    'I DON'T THINK IT COULD BE HERE

    Winsock1.RemoteHost = "tick.usno.navy.mil"
    Winsock1.RemotePort = 13
    Winsock1.Connect
    
    Combo.Text = GetSetting("clock", "Settings", "Combo", 0)
    'MAYBE HERE   

End Sub
It doesn't make sense why I can't set these simple properties on startup.
My only idea is that on form unload I set the property
of Combo.Text and since the program hasn't run yet, the
GetSetting has nothing to return.

If so, will this fix the problem?
Code:
If GetSetting("clock", "Settings", "Combo", 0) = "" Then
        Exit Sub
    Else
        Combo.Text = GetSetting("clock", "Settings", "Combo", 0)
    End If