Results 1 to 4 of 4

Thread: Problem with error 383

  1. #1
    Join Date
    Nov 2009
    Posts
    1,292

    Problem with error 383

    Hey folks,

    I am having the problem regarding the Error 383. I am creating a program in VB 6 and using a combobox with the style of 2 listbox. Whenever i am running the program it gives me the error 383 and stops the program execution and also tell that combobox being read only. I have checked the database that whatever value is in the database is matches with the dropdown list but still the problem is persist. Now i don't understand that how to call data from the database.

    Help me. Thanks in advance.

  2. #2
    Join Date
    Jan 2008
    Posts
    3,755

    Re: Problem with error 383

    Hi,

    I will suggest you to check the complete code again because it is a run time error. If any of your code is wrongly mention then also you can get this error. Make sure that the text property should not be read only even if it is locked, it has to be another control. MSDN define the Error 383 as "the Windows Common Controls located in the MSComctl.OCX file". So check for the once again and make sure everything is written properly.

    Thanks.

  3. #3
    Join Date
    May 2008
    Posts
    3,316

    Re: Problem with error 383

    Use this code to sort out your problem regarding the error which you are getting at run time. This is nothing but the run time error arise during the execution of program.

    Code:
    Private Sub Form_Load()
    With cbo1 'Style = 2 Dropdown list
    .AddItem "One"
    .AddItem "Two"
    .AddItem "Three"
    End With
    End Sub
    Private Sub cmdClick1_Click()
    cbo1.Text = "Two"
    End Sub
    Private Sub cmdClick2_Click()
    cbo1.Text = "Four"
    End Sub

  4. #4
    Join Date
    Apr 2008
    Posts
    2,005

    Re: Problem with error 383

    Just make one thing sure that your text property is read only. If it is dropdown then it is compulsory for you to make the text property read only. If you will set the value of text to an item which is in the list,then also it will set the item's ListIndex to match with the same. So first change the property of your text and then try to run your program once again to see whether this time it is working or not

    Thanks.

Similar Threads

  1. How to fix error 132 addon problem
    By B_Hodge in forum Video Games
    Replies: 4
    Last Post: 14-03-2010, 09:46 AM
  2. PS3 Problem:How to fix DNS error
    By Fernandoa in forum Video Games
    Replies: 4
    Last Post: 12-06-2009, 07:55 PM
  3. Modem Error 633 problem
    By dalsandhu in forum Networking & Security
    Replies: 3
    Last Post: 26-05-2009, 06:32 PM
  4. SQL error problem
    By Quimby in forum Software Development
    Replies: 6
    Last Post: 09-01-2009, 02:45 PM
  5. Replies: 2
    Last Post: 14-05-2007, 11:06 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,750,423,270.24568 seconds with 16 queries