469,088 Members | 1,265 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,088 developers. It's quick & easy.

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
Jul 17 '05 #1
1 2202
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\System32\
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" <Ri**@aol.com> wrote in message
news:B6*********************@fe3.columbus.rr.com.. .
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

Jul 17 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Bruce Davis | last post: by
4 posts views Thread by Bill Dika | last post: by
6 posts views Thread by Ammar | last post: by
7 posts views Thread by Ankit Aneja | last post: by
20 posts views Thread by Development - multi.art.studio | last post: by
3 posts views Thread by Juan Antonio Villa | last post: by
reply views Thread by Stef Mientki | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.