Home All Groups Group Topic Archive Search About
Author
7 Apr 2005 6:29 AM
Tuan
Hello all,
I am a new to VB.  I already write the small program but it only work when I
log in as administrator if I log in as user the program will not load.  I
see some program when I install it asks " Any One who uses this computer or
for myself only."  I would appreciate so much if any of you give me a hints
how to write it.  Thank you so much.

Tuan

Author
7 Apr 2005 6:46 AM
Peter Lillevold
Hi Tuan,
some more info on what this application tries to do would help us help you :)


Regards,
Peter Lillevold
http://blogs.eternia.cc/peter

Show quoteHide quote
> Hello all,
> I am a new to VB.  I already write the small program but it only work
> when I
> log in as administrator if I log in as user the program will not load.
> I
> see some program when I install it asks " Any One who uses this
> computer or
> for myself only."  I would appreciate so much if any of you give me a
> hints
> how to write it.  Thank you so much.
> Tuan
>
Author
7 Apr 2005 7:54 AM
Oenone
Tuan wrote:
> I see some program when I install it asks " Any One who
> uses this computer or for myself only."

I believe all that the installer is doing when it asks you this question is
working out where to put the Start Menu shortcut icons.

If you say for "anyone that uses this computer", it puts them in:

    C:\Documents and Settings\(username)\Start Menu

If you say "for myself only", it puts them in:

    C:\Documents and Settings\All Users\Start Menu

If the problem you're having is that your program doesn't appear in the
start menu for non-admin users, that could be the problem. But if the
program is in the menu but doesn't work when you run it, then you need to
post more details about the problem such as the error message you get, what
your code is trying to do, etc.

Hope that helps,

--

(O) e n o n e
Author
7 Apr 2005 3:16 PM
Joseph MCAD
April 6, 2005

   Is your program failing with a SecurityException? If so I would probably
be able to tell you what is happening if you post the exception details. :-)

                                                        Joseph MCAD


"Tuan" <tuan2***@verizon.net> wrote in message
news:rr45e.3749$B12.2661@trnddc09...
Show quoteHide quote
> Hello all,
> I am a new to VB.  I already write the small program but it only work when
> I log in as administrator if I log in as user the program will not load.
> I see some program when I install it asks " Any One who uses this computer
> or for myself only."  I would appreciate so much if any of you give me a
> hints how to write it.  Thank you so much.
>
> Tuan
>