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:

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"}

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

Edited 3 Years Ago by happygeek: fixed formatting

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.

This question has already been answered. Start a new discussion instead.