.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

messagebox.show don't work

3 REPLIES 3
Reply
Message 1 of 4
Anonymous
229 Views, 3 Replies

messagebox.show don't work

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
3 REPLIES 3
Message 2 of 4
Mikko
in reply to: Anonymous

Did you set a reference to the System.Windows.Forms? Message was edited by: Mikko
Message 3 of 4
Anonymous
in reply to: Anonymous

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
Message 4 of 4
Anonymous
in reply to: Anonymous

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

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost