Results 1 to 5 of 5

Thread: [RESOLVED] [2005] Very weird with combobox

  1. #1

    Thread Starter
    Banned
    Join Date
    May 2008
    Posts
    461

    Resolved [RESOLVED] [2005] Very weird with combobox

    Hi guys

    I find it very weird with my project. Every time when I use the combobox to read from English to Chinese language then select the button to disable it, it reads the list1 item fine without a problem but when I attempt to read from Chinese to Korean, suddenly I get the error!



    Error:
    OutOfMemoryException was unhandled
    Insufficient memory to continue the execution of the program.




    Code:
    Private Sub cmdApply_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdApply.Click
         If ComboBox1.SelectedItem = "English" Then
           List1.Items.Clear()
           List1.Items.Add(My.Resources.RuntimeStrings_EN1.test)
       End If
    
         If ComboBox1.SelectedItem = "中国话" Then
           List1.Items.Clear()
           List1.Items.Add(My.Resources.RuntimeStrings_CN1.test)
    
       End If
    
         If ComboBox1.SelectedItem = "中国话" Then
           List1.Items.Clear()
           List1.Items.Add(My.Resources.RuntimeStrings_KO1.test)
       End If
    End Sub


    Here is the list of my combobox items

    this is the test
    这是测试
    이것은 테스트




    If I don't read from English to Chinese just Korean, it will be reading the list1 item as it will be reading fine without receive the error! I don't understand where the problem is coming from and I don't understand why the methods don't ever like each other. The reason why I get this error as it is because the system is out of memory exception. I cannot be able to get my situation to executive this issue. Do you have any idea how to resolve it??



    Thanks,
    Mark

  2. #2

    Thread Starter
    Banned
    Join Date
    May 2008
    Posts
    461

    Re: [2005] Very weird with combobox

    No one know how to solve it??????

  3. #3

    Thread Starter
    Banned
    Join Date
    May 2008
    Posts
    461

    Re: [2005] Very weird with combobox

    guys??????????? anyone?????????

  4. #4

    Thread Starter
    Banned
    Join Date
    May 2008
    Posts
    461

    Re: [2005] Very weird with combobox

    nobody?????????????

  5. #5

    Thread Starter
    Banned
    Join Date
    May 2008
    Posts
    461

    Re: [2005] Very weird with combobox

    COME ON GUYS I NEED HELP!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width