.NET

Reply
*GPaolo
Message 1 of 4 (105 Views)

messagebox.show don't work

105 Views, 3 Replies
07-01-2005 02:21 AM
i have make netload of my dll
and then application is like a ACAD command.modal


I have a form at obbligatory choice and i need to show a messagebox but
don't work.
Why?

in main program i have :
---------------------------------
Sub Main

dim Newform as new Frm01
newform.showdialog

end sub

sub btn1_click( etc ........) handles btn1_click


messagebox.show ("A T T E N T I O N ","Information",etc ........)

end sub


Many thank's GPaolo
Distinguished Contributor
Mikko
Posts: 212
Registered: ‎10-03-2003
Message 2 of 4 (105 Views)

Re: messagebox.show don't work

07-01-2005 03:11 AM in reply to: *GPaolo
Did you set a reference to the System.Windows.Forms? Message was edited by: Mikko
*GPaolo
Message 3 of 4 (105 Views)

Re: messagebox.show don't work

07-01-2005 04:40 AM in reply to: *GPaolo
yes .
The programm accept the instruction but don't apper the message and don't
make the sound .

ha scritto nel messaggio news:4890782@discussion.autodesk.com...
Did you set a reference to the System.Windows.Forms?

Message was edited by: Mikko
*Albert Szilvasy
Message 4 of 4 (105 Views)

Re: messagebox.show don't work

07-01-2005 08:52 AM in reply to: *GPaolo
Does Frm01 comes up at all? Who calls "Main"? AutoCAD won't unless you mark
it as a command using the CommandMethod custom attribute.

Albert

"GPaolo" wrote in message
news:4890759@discussion.autodesk.com...
i have make netload of my dll
and then application is like a ACAD command.modal


I have a form at obbligatory choice and i need to show a messagebox but
don't work.
Why?

in main program i have :
---------------------------------
Sub Main

dim Newform as new Frm01
newform.showdialog

end sub

sub btn1_click( etc ........) handles btn1_click


messagebox.show ("A T T E N T I O N ","Information",etc ........)

end sub


Many thank's GPaolo
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.