I did what it says here http://www.pcreview.co.uk/forums/thread-1899493.php but in intellisense I only get Microsoft.VisualBasic.VBCodeProvider ???
step 1: add the link Microsoft.VisualBasic
Step 2:
private void button1_Click(object sender, EventArgs e) { string result = Microsoft.VisualBasic.Interaction.InputBox("kkk","text", "", 10, 20); MessageBox.Show(result); }
Step 1: check if you really added the link; -)
Microsoft.VisualBasic.VBCodeProvideris in System.dllwhich each new project refers to. It seems to me that you are not referring to at all Microsoft.VisualBasic.dll.
Microsoft.VisualBasic.VBCodeProvider
System.dll
Microsoft.VisualBasic.dll
You need to add a link to Microsoft.VisualBasic, not to the library Microsoft.VisualBasic.Compatability.
Microsoft.VisualBasic
Microsoft.VisualBasic.Compatability