LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

programmatically answer to a messagebox

I need to close a windows app from labview. This is not a hard job, but
the app always ask me if I want to save the new config before closing.
How can I programmatically answer to this messagebox or bypass it?
Thanks in advance

Bruno Berti


Sent via Deja.com http://www.deja.com/
Before you buy.
0 Kudos
Message 1 of 3
(2,891 Views)
Are you using ActiveX? If so, there is usually a property you can access that
allows you to close with out saving or what ever.

bberti@my-deja.com wrote:
>I need to close a windows app from labview. This is not a hard job, but>the
app always ask me if I want to save the new config before closing.>How can
I programmatically answer to this messagebox or bypass it?>Thanks in advance>>Bruno
Berti>>>Sent via Deja.com http://www.deja.com/>Before you buy.
0 Kudos
Message 2 of 3
(2,891 Views)
There is a exe on the net called Kill that does this ... it will issue a
close command to the application window and if it does not close it will
force it to quit.

If you can't find it let me know, I probably can dig it up somewhere

Dave Gianetto
http://www.gianetto.org

> From: bberti@my-deja.com
> Organization: Deja.com - Before you buy.
> Newsgroups: comp.lang.labview
> Date: Fri, 01 Dec 2000 13:52:07 GMT
> Subject: programmatically answer to a messagebox
>
> I need to close a windows app from labview. This is not a hard job, but
> the app always ask me if I want to save the new config before closing.
> How can I programmatically answer to this messagebox or bypass it?
> Thanks in advance
>
> Bruno Berti
>
>
> Sent via Deja.com http://www.deja.com/
> Befo
re you buy.
0 Kudos
Message 3 of 3
(2,891 Views)