473,320 Members | 2,027 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

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 2302
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Bruce Davis | last post by:
I'm having a problem on windows (both 2000 and XP) with a multi-threaded tkinter gui application. The problem appears to be a deadlock condition when a child thread pops up a Pmw dialog window in...
4
by: Bill Dika | last post by:
Hi I am trying to calculate a running total of a calculated textbox (tbAtStandard) in GroupFooter1 for placement in a textbox (tbTotalAtStandard) on my report in Groupfooter0. The problem...
6
by: Ammar | last post by:
Dear All, I'm facing a small problem. I have a portal web site, that contains articles, for each article, the end user can send a comment about the article. The problem is: I the comment length...
7
by: Ankit Aneja | last post by:
I put the code for url rewrite in my Application_BeginRequest on global.ascx some .aspx pages are in root ,some in folder named admin and some in folder named user aspx pages which are in user...
8
by: Sarah | last post by:
I need to access some data on a server. I can access it directly using UNC (i.e. \\ComputerName\ShareName\Path\FileName) or using a mapped network drive resource (S:\Path\FileName). Here is my...
20
by: Development - multi.art.studio | last post by:
Hello everyone, i just upgraded my old postgres-database from version 7.1 to 7.4.2. i dumped out my 7.1 database (with pg_dump from 7.1) as an sql-file with copy-commands and to one file using...
1
by: gerry | last post by:
I wrote up a couple of simple SiteMap providers based on the MSDN documentation and examples, in particular the AccessSiteMapProvider example found at...
3
by: Juan Antonio Villa | last post by:
Hello, I'm having a problem replicating a simple database using the binary log replication, here is the problem: When the master sends an update to the slave, an example update reads as follows:...
9
by: HC | last post by:
Hello, all, I started out thinking my problems were elsewhere but as I have worked through this I have isolated my problem, currently, as a difference between MSDE and SQL Express 2005 (I'll just...
0
by: Stef Mientki | last post by:
Peter Anderson wrote: In PyScripter, you should run wxPython in the plain remote machine (not the wxPython remote), and you should set "reset before run flag" or reset the remote machine each...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.