.NET

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

Is there a MessageBox in Cad?

85 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 (85 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 (85 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 (85 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!");
Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.