Top "Vb.net" questions

Visual Basic.

What is a NullReferenceException, and how do I fix it?

I have some code and when it executes, it throws a NullReferenceException, saying: Object reference not set to an instance …

c# .net vb.net null nullreferenceexception
Converting string to byte array in C#

I'm converting something from VB into C#. Having a problem with the syntax of this statement: if ((searchResult.Properties["user"].…

c# string vb.net encoding byte
Why is Dictionary preferred over Hashtable in C#?

In most programming languages, dictionaries are preferred over hashtables. What are the reasons behind that?

c# .net vb.net data-structures
HTML encoding issues - "Â" character showing up instead of " "

I've got a legacy app just starting to misbehave, for whatever reason I'm not sure. It generates a bunch of …

html vb.net encoding utf-8 iso-8859-1
How to enable assembly bind failure logging (Fusion) in .NET

How do I enable assembly bind failure logging (Fusion) in .NET?

c# .net vb.net binding assemblies
How do you get a string from a MemoryStream?

If I am given a MemoryStream that I know has been populated with a String, how do I get a …

.net vb.net string memorystream
MessageBox with YesNoCancel - No & Cancel triggers same event

I have a message box with the YesNoCancel buttons... Pressing Yes will do some action and close the application - …

vb.net button messagebox
How to use \n new line in VB msgbox() ...?

What is the alternative to \n (for new line) in a VB.NET MsgBox()?

vb.net newline msgbox
Declare global variables in Visual Studio 2010 and VB.NET

How do I declare a global variable in Visual Basic? These variables need to be accessible from all the Visual …

vb.net global-variables
How do I get my C# program to sleep for 50 msec?

How do I get my C# program to sleep for 50 milliseconds? This might seem an easy question, but I'm having …

c# vb.net