.NET

Reply
Contributor
simonkx
Posts: 20
Registered: ‎12-29-2005
Message 1 of 4 (88 Views)

Is there a MessageBox in Cad?

88 Views, 3 Replies
03-10-2006 08:58 AM
Hi,
is there a messagebox like it in Windows in AutoCAD,and how to invoke?
Thanks for your help!
*Ed Jobe
Message 2 of 4 (88 Views)

Re: Is there a MessageBox in Cad?

03-10-2006 09:54 AM in reply to: simonkx
If you're using vb.net, there's still the MsgBox function.
http://msdn2.microsoft.com/en-us/library/139z2azd(VS.80).aspx

--
----
Ed
----
*Tony Tanzillo
Message 3 of 4 (88 Views)

Re: Is there a MessageBox in Cad?

03-10-2006 11:02 AM in reply to: simonkx
System.Windows.Forms.MessageBox.Show(
Autodesk.AutoCAD.ApplicationServices.Application.MainWindow,
"Hello world"
);

--
http://www.caddzone.com

AcadXTabs: MDI Document Tabs for AutoCAD 2004/2005/2006
http://www.acadxtabs.com

wrote in message news:5107700@discussion.autodesk.com...
Hi,
is there a messagebox like it in Windows in AutoCAD,and how to invoke?
Thanks for your help!
Active Contributor
jimmie_fulton
Posts: 44
Registered: ‎04-06-2005
Message 4 of 4 (88 Views)

Re: Is there a MessageBox in Cad?

03-12-2006 10:18 PM in reply to: simonkx
In addition to the other replies, there is also:

Autodesk.AutoCAD.ApplicationServices.Application.ShowAlertDialog("Hello World!");
Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Do you have 60 seconds to spare? The Autodesk Community Team is revamping our site ranking system and we want your feedback! Please click here to launch the 5 question survey. As always your input is greatly appreciated.