Valhalla Legends Archive

Programming => Battle.net Bot Development => Topic started by: ChR0NiC on May 16, 2004, 07:32 PM

Title: Run-time error 383
Post by: ChR0NiC on May 16, 2004, 07:32 PM
Run-time error 383
Text property is read-only

I get this error when trying to connect my bot, hmmmm I don't remember changing anything.....I also get this error when trying to load my setup form. Otherwise the bot is fully operational.

I did look on google, but came up with not too much worth of resources. I only get this error when I run my bot from the exe, but not from the source. Any help is always appreciated.
Title: Re:Run-time error 383
Post by: effect on May 16, 2004, 07:37 PM
Trying to edit text in a control after it has been locked? , disabled?
Title: Re:Run-time error 383
Post by: Eric on May 16, 2004, 07:41 PM
Quote from: effect on May 16, 2004, 07:37 PM
Trying to edit text in a control after it has been locked? , disabled?
No.

Quote from: ChR0NiC on May 16, 2004, 07:32 PM
Run-time error 383
Text property is read-only

I get this error when trying to connect my bot, hmmmm I don't remember changing anything.....I also get this error when trying to load my setup form. Otherwise the bot is fully operational.

I did look on google, but came up with not too much worth of resources. I only get this error when I run my bot from the exe, but not from the source. Any help is always appreciated.
Obviously, you're trying to modify something that doesn't allow modifications.  Including what is highlighted will allow us to give you more information.
Title: Re:Run-time error 383
Post by: ChR0NiC on May 16, 2004, 07:53 PM
I do not get this error when running the program from the source, only when I am running it from the EXE once I have compiled it. Therefore I have no idea what it is trying to write to, but since I am clicking the connect button, I assume it is the Main Rich Text Box.
Title: Re:Run-time error 383
Post by: Stealth on May 16, 2004, 11:51 PM
Okay, that's your starting point. Trace your program as it works from the _Click() sub and see what readonly text it could possibly be changing.
Title: Re:Run-time error 383
Post by: ChR0NiC on May 17, 2004, 12:03 AM
Duely noted ;D

Edit: Ok the problem was, I was using a Combo Box and the style was was set DropDown List and on Form Load I was setting the Combo's text to one a specific item in the list. I guess VB doesn't like that :P