Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

msgbox

Status
Not open for further replies.

murrayja

Programmer
May 6, 2000
90
0
0
US
How do I get a reference to msgbox in my c# class?
I have included a "using namespace Microsoft.VisuslBasic;" statement but 'intellisense' will not complete either "Interaction" or "Msgbox".

Thanks
Jim Murray
 
Never mind, I found that I didn't include the reference to "Microsoft.visualbasic.dll".
Ah the joys of learning a new framework.
 
Just out of curiousity, why not use MessageBox.Show ?
It's virtually identical - the enums match pretty well one-to-one. (in the System.Windows.Forms namespace which you're probably using anyway)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top