LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I keep users out of my programs?

I have a stand alone vi that covers the screen. I don't want the
casual user to be able to change the size or position of the panel.
This is to prevent them from minimizing the app and doing other things
on the machine like play solitaire.

I have add a sub vi from National Insts. site that prevents them from
doing a Ctrl+Alt+Del but they can STILL mess with my stuff.

I realize that a serious computer geek could still get in but I need
to keep out the casual users.

Any help would be GREATLY appreciated. Thanks.
0 Kudos
Message 1 of 8
(3,444 Views)
> I have a stand alone vi that covers the screen. I don't want the
> casual user to be able to change the size or position of the panel.
> This is to prevent them from minimizing the app and doing other things
> on the machine like play solitaire.
>
> I have add a sub vi from National Insts. site that prevents them from
> doing a Ctrl+Alt+Del but they can STILL mess with my stuff.

You don't say what OS you're using, but from the above I'd assume Win95/98.
If you move the app to WinNT4 you can specify what shell each username
starts in. Simply specify an operator username to use your Labview program
as the default shell. As you say, it won't keep spods out of the machine,
but since the only way to launch other programs is via task manager, it'll
certainly make it a
pain. Obviously, your own username has the normal shell
so you can fix any problems that arise.
0 Kudos
Message 2 of 8
(3,444 Views)
Steve Crowder schrieb:
>
> I have a stand alone vi that covers the screen. I don't want the
> casual user to be able to change the size or position of the panel.

Hello Steve,
can't tell you the exact solution from here.
Have a look at the VI Setup / Window Options.
Gamble with these options.
Don't disable "Allow User to Close Window" in the first step.
You will loose the ShortCutExit Crtl+.
Probably you will need Winutil.llb from NI.com
to "MaximizeWindow" and "Make Window always on Top".
In order to exit program think about a parallel-loop
to ask for a password to exit.
MfG
Manfred
0 Kudos
Message 3 of 8
(3,444 Views)
Thanks for the info.

I'm using Win 95 on this machine. Unfortunately switching to NT isn't
an option.

What seem to be happening is that the users can resize the panel which
is the only thing running at bootup. Once the panel is made small
enough to get at the other icons on the desk top these users can run
what ever they want.

I guess what I need is a way to prevent them from being able to resize
the app. I'm going to try creating the app with my display at
1024x768, the computer it actually runs on is set at 800x600 max.
Maybe this will put the borders out of there reach. I'll let you
know.

On Thu, 24 Feb 2000 21:29:26 +0100, Manfred Leffler
wrote:

>
>
>Steve Crowder schrieb:
>>
>> I have a stand alone vi that cove
rs the screen. I don't want the
>> casual user to be able to change the size or position of the panel.
>
>Hello Steve,
>can't tell you the exact solution from here.
>Have a look at the VI Setup / Window Options.
>Gamble with these options.
>Don't disable "Allow User to Close Window" in the first step.
>You will loose the ShortCutExit Crtl+.
>Probably you will need Winutil.llb from NI.com
>to "MaximizeWindow" and "Make Window always on Top".
>In order to exit program think about a parallel-loop
>to ask for a password to exit.
>MfG
>Manfred
0 Kudos
Message 4 of 8
(3,444 Views)
Right-click (command-click on Mac) the panel's icon (upper-right corner
of the window) and choose VI setup. Change the top selector to Window
Options, and enable "Size to Screen" "Auto Center" and disable "Show
Scroll Bars" "Show Abort Button" and set the minimum panel size to 800 x
600 pixels. The other previous suggestions are also good.

Steve Crowder wrote:
>
> Thanks for the info.
>
> I'm using Win 95 on this machine. Unfortunately switching to NT isn't
> an option.
>
> What seem to be happening is that the users can resize the panel which
> is the only thing running at bootup. Once the panel is made small
> enough to get at the other icons on the desk top these users can run
> what ever they want.
>
> I guess what I need is a way to
prevent them from being able to resize
> the app. I'm going to try creating the app with my display at
> 1024x768, the computer it actually runs on is set at 800x600 max.
> Maybe this will put the borders out of there reach. I'll let you
> know.
>
> On Thu, 24 Feb 2000 21:29:26 +0100, Manfred Leffler
> wrote:
>
> >
> >
> >Steve Crowder schrieb:
> >>
> >> I have a stand alone vi that covers the screen. I don't want the
> >> casual user to be able to change the size or position of the panel.
> >
> >Hello Steve,
> >can't tell you the exact solution from here.
> >Have a look at the VI Setup / Window Options.
> >Gamble with these options.
> >Don't disable "Allow User to Close Window" in the first step.
> >You will loose the ShortCutExit Crtl+.
> >Probably you will need Winutil.llb from NI.com
> >to "MaximizeWindow" and "Make Window always on Top".
> >In order to exit program think about a parallel-loop
> >to ask for a password to exit.
> >MfG
> >Manfred
0 Kudos
Message 5 of 8
(3,444 Views)
Click on the icon in the top-right corner of the front panel by right
button on the mouse, and select VI Setup..., then you can select what
you want do.

Steve Crowder wrote:

> I have a stand alone vi that covers the screen. I don't want the
> casual user to be able to change the size or position of the panel.
> This is to prevent them from minimizing the app and doing other things
> on the machine like play solitaire.
>
> I have add a sub vi from National Insts. site that prevents them from
> doing a Ctrl+Alt+Del but they can STILL mess with my stuff.
>
> I realize that a serious computer geek could still get in but I need
> to keep out the casual users.
>
> Any help would be GREATLY appreciated. Thanks.
0 Kudos
Message 6 of 8
(3,444 Views)
Steve Crowder wrote:

> I have a stand alone vi that covers the screen. I don't want the
> casual user to be able to change the size or position of the panel.
> This is to prevent them from minimizing the app and doing other things
> on the machine like play solitaire.
>
> I have add a sub vi from National Insts. site that prevents them from
> doing a Ctrl+Alt+Del but they can STILL mess with my stuff.
>
> I realize that a serious computer geek could still get in but I need
> to keep out the casual users.
>
> Any help would be GREATLY appreciated. Thanks.

Another approach: Use the Property Node to continuously set the panel
(window) size. This works cross-platform, and is very annoying for
anyone trying to resize the window...

- andrew joh
nson, Berkeley CA
0 Kudos
Message 7 of 8
(3,444 Views)
Make the window a dilog box. That forces your aplication to always be
frontmost on the screen.
(Only other dialog boxes will apear.)

In VI Setup... : Window Options : Check Dialog box, Uncheck
Allow user to resize window, Check size to screen.



Andrew Johnson skrev i
diskussionsgruppsmeddelandet:wirework-014132.20370724042000@news.swbell.net.
...
> Steve Crowder wrote:
>
> > I have a stand alone vi that covers the screen. I don't want the
> > casual user to be able to change the size or position of the panel.
> > This is to prevent them from minimizing the app and doing other things
> > on the machine like play solitaire.
> >
> > I have add a sub vi from National Insts. site that prevents
them from
> > doing a Ctrl+Alt+Del but they can STILL mess with my stuff.
> >
> > I realize that a serious computer geek could still get in but I need
> > to keep out the casual users.
> >
> > Any help would be GREATLY appreciated. Thanks.
>
> Another approach: Use the Property Node to continuously set the panel
> (window) size. This works cross-platform, and is very annoying for
> anyone trying to resize the window...
>
> - andrew johnson, Berkeley CA
0 Kudos
Message 8 of 8
(3,444 Views)