Problem running simple VB6 app...

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Rick

    Problem running simple VB6 app...

    Hello,

    I have an application created w/ VB6 and I an having trouble installing it
    on a Windows 2000 SP3 machine that is on a domain. I can install and run
    the application fine when logged into the machine with administrator
    priveledges however the machine needs to be logged in to an account with
    user rights only.

    If I install under admin and then try to run the app under another user I
    get an error message indicating the program failed to initialize.

    In addition, I tried to install the app while logged in as the general user
    (not admin) and was promted to enter the login and passwork of an account
    with the proper rights to install a program. I did so and the installation
    program started but then failed. The indication was that a file couldn't be
    created so I'm assuming that it is a permission issue.

    Can anyone tell me the proper way to install this program?

    Thanks for the help.
    Rick


  • Norman Yuan

    #2
    Re: Problem running simple VB6 app...

    If your app need to write/change something in location where particular
    pemmission is required, to be installed, or to run, then you can do nothing
    but to acquire that permission, i.e. log on with proper user credential. Or
    you have to revise your app to not touch those resorces that your user may
    not have permission.

    Imagine, does any network administrator like the idea that some low
    previlidged user can make change to some system resources through your
    program? No at all.

    It is normal that some app requires higher permission to install and lower
    permmssion to run. If you examine your computer's C:\WINNT\System 32\
    folder's security setting, you can see, administrator is given full control,
    power user is given most permissions except for full control, while average
    user is only given read/execute, list/browse, and read permission, but not
    write permissions. So, app that must put something into system folder can
    only installed by admin/power user, but can be run by all users.

    In your case, the network domain administrator dictate access permissions,
    user who runs your app has only those permissions the admin gives, not more.
    You can do nothing to change that.

    "Rick" <Rick@aol.com > wrote in message
    news:B61Nb.1657 30$Dp5.144887@f e3.columbus.rr. com...[color=blue]
    > Hello,
    >
    > I have an application created w/ VB6 and I an having trouble installing it
    > on a Windows 2000 SP3 machine that is on a domain. I can install and run
    > the application fine when logged into the machine with administrator
    > priveledges however the machine needs to be logged in to an account with
    > user rights only.
    >
    > If I install under admin and then try to run the app under another user I
    > get an error message indicating the program failed to initialize.
    >
    > In addition, I tried to install the app while logged in as the general[/color]
    user[color=blue]
    > (not admin) and was promted to enter the login and passwork of an account
    > with the proper rights to install a program. I did so and the[/color]
    installation[color=blue]
    > program started but then failed. The indication was that a file couldn't[/color]
    be[color=blue]
    > created so I'm assuming that it is a permission issue.
    >
    > Can anyone tell me the proper way to install this program?
    >
    > Thanks for the help.
    > Rick
    >
    >[/color]


    Comment

    Working...