.NET

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

Is there a MessageBox in Cad?

87 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 (87 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 (87 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 (87 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
Are You Going To Be @ AU 2014? Feel free to drop by our AU topic post and share your plans, plug a class that you're teaching, or simply check out who else from the community might be in attendance. Ohh and don't forgot to stop by the Autodesk Help | Learn | Collaborate booths in the Exhibit Hall and meet our community team if you get a chance!