.NET

Reply

messagebox.show don't work

106 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
212 Posts
6 Kudos
Registered: ‎10-03-2003
Post 2 of 4

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

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

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
Are you interested in helping shape the future of the Autodesk Community? To participate in this brief usability study, please click here. Your time and input is greatly appreciated!