954,549 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Listbox and msgbox not displaying content

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

elephant
Newbie Poster
2 posts since May 2005
Reputation Points: 10
Solved Threads: 0
 

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.

elephant
Newbie Poster
2 posts since May 2005
Reputation Points: 10
Solved Threads: 0
 

This question has already been solved

Post: Markdown Syntax: Formatting Help
You