items dont appear in the listbox?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Michal

    #1

    items dont appear in the listbox?

    Hi .net devs,

    just curious if this line would work on your PC, in my case it used to
    work (over 2 years ago) but now the listbox appears without the items
    name. I have VB.NET 2002.

    Although I can select an item in the listbox, its name doesnt appear
    there. this must be probably a refresh problem, however the refresh
    method doesnt do anthing. The list box and the form are standard, just
    create a new project and write the "add" method ... it should be simple
    enough but ... doesnt work. Maybe I am lacking an update to .Net 2003?
    Maybe the framework got changed? What so you think?

    Private Sub Form1_Load(ByVa l sender As System.Object, ByVal e As
    System.EventArg s) Handles MyBase.Load
    Me.ListBox1.Ite ms.Add("my item text 1")
    Me.ListBox1.Ite ms.Add("my item text 2")
    End Sub



    thanks
    Michal

  • Cor Ligthert [MVP]

    #2
    Re: items dont appear in the listbox?

    Michal,

    This works on my computer, have you not any other things to test/show to be
    sure it is not the old mcafee 8.0 update problem or something.

    Cor


    Comment

    • Michal

      #3
      Re: items dont appear in the listbox?


      Cor Ligthert [MVP] wrote:[color=blue]
      > Michal,
      >
      > This works on my computer, have you not any other things to test/show to be
      > sure it is not the old mcafee 8.0 update problem or something.
      >
      > Cor[/color]

      Cor, I just have read more info about the McAfee problem, I have the
      ver 8.0i without any patches and there is already ver 10 out there. I
      tried disactivating the buffer overflow thing and it helped.

      Thanks
      Michal

      Comment

      • Herfried K. Wagner [MVP]

        #4
        Re: items dont appear in the listbox?

        "Michal" <michalsim@web. de> schrieb:[color=blue]
        > just curious if this line would work on your PC, in my case it used to
        > work (over 2 years ago) but now the listbox appears without the items
        > name. I have VB.NET 2002.[/color]

        Fixing the problem of missing text in controls and messageboxes
        <URL:http://dotnet.mvps.org/dotnet/faqs/?id=controlsmis singtextbug&lan g=en>

        --
        M S Herfried K. Wagner
        M V P <URL:http://dotnet.mvps.org/>
        V B <URL:http://classicvb.org/petition/>

        Comment

        Working...