I'm very new to to VB.net but have worked in vb6, I have recently tried to install vb.net standard edition. It installs fine with no errors but I am unable to make the content display in either msgboxes or listboxes.

here is a sample of the code I am trying to:

Listbox:
Private Sub btnCreateStatic_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnCreateStatic.Click
                    Dim peopleList() As String = {"Joe Hasterman", "Ted Mattison", _
                "Joe Rummel", "Brian Gurnure", "Doug Landal"}
            DisplayArrayData(peopleList)

Msgbox:
MsgBox("Please enter a value to search for", _
                MsgBoxStyle.Exclamation Or MsgBoxStyle.OKOnly, "Binary Search")

when I run the code I get a completely blank msgbox and the listbox resizes to hold the content but nothing is displayed.

I'm sure it must be a simple thing that I am doing wrong please can anybody help.

many thanks

I have discovered the problem.
My machine runs McAfee VirusScan 8.0i with buffer overflow, the problem is fixed with patch 10 for VirusScan 8.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.