.NET

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

Is there a MessageBox in Cad?

86 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 (86 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 (86 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 (86 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!");
Need installation help?

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