.NET

Reply
*GPaolo
Message 1 of 4 (99 Views)

messagebox.show don't work

99 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
Posts: 209
Registered: ‎10-03-2003
Message 2 of 4 (99 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 (99 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 (99 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

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Announcements
Welcome to the new Autodesk Community!
If this is your first visit, click here to get started and make the most of the Community. Let us know what you think of the new experience in the Community Feedback Forum.

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community