.NET

Reply
Contributor
20 Posts
0 Kudos
Registered: ‎12-29-2005
Post 1 of 4

Is there a MessageBox in Cad?

89 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
Post 2 of 4

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
Post 3 of 4

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
44 Posts
0 Kudos
Registered: ‎04-06-2005
Post 4 of 4

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