|
Show Bid Request
Help with VB App and XP User Accounts
Bid Request Id: 34624
|
|
|
Description:
I have a VB 6.0 program I wrote that writes text files to subdirectories under its own program folder. It also reads and writes to the registry in different areas. When I run this program under a limited user account on XP, it fails to run because its not allowed to write to that folder or write to the registry. It is installed from the main user account which is normally is and started in the LocalMachine registry key whenever windows begins. I cannot install it from the user account - I want to install it from the main account and let all users use the program.
I found out a limited user account can write to a file in a certain folder in its My Documents but I don't want this. Is there anyway through VB to allow this program to create/write text files in a limited user account but be installed from the main user account?
I'm wanting someone to write me a program that will create a new text file and update it that works in all user accounts of XP. I want to install it from my main account, then change user accounts and run it and see it work without a file/path access error. And I don't want to have to do anything with Windows myself like set permissions - I want to do it all from within VB 6.0. If you can include a demo showing you can do this with a bid, that would be great! I need this asap please!
Thanks
Deliverables: 1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.
2) Installation package that will install the software (in ready-to-run condition) on the platform(s) specified in this bid request.
3) Complete ownership and distribution copyrights to all work purchased.
Platform:
VB 6.0 and XP Limited User Accounts
Remember that contacting the other party outside of the site (by email, phone, etc.) on all business projects < $500 (before the buyer's money is escrowed) is a violation of both the software buyer and seller agreements.
We monitor all site activity for such violations and can instantly expel transgressers on the spot, so we thank you in advance for your cooperation.
If you notice a violation please help out the site and report it. Thanks for your help.
|
|
Bidding/Comments:
|
All monetary amounts on the site are in United States dollars.
Rent a Coder is a closed auction, so coders can only see their own bids and comments. Buyers can view every posting made on their bid requests. |
See all rejected bids (and all comments)
Name |
Bid Amount |
Date |
Coder Rating |
|
|
|
|
N/A
|
Nov 9, 2002 9:06:46 AM EDT
|
10
(Excellent)
|
|
|
My solution is to install a COM server which works as NT service as well. The NT service will be set to automatic so it will run every time the system is run.
I have developed a working server which is attached in the zip file. I have included a small example in JavaScript to demonstrate the capability. The javascript code can be run using the command WScript TestVbHelper.js This will create a file c:\test1.txt and write two lines in it. You can edit this file and change the folder name, file name etc. or try similar code from VB code.
You may use it from VB, VBScript, C++ or from any language which can make use of COM objects.
Please run the file install.bat before running the JavaScript code. It registers the service. This must be done from the Administrator account. After that the script can be tried from the limited account.
Please note that once installed all programs which know the object interface can use the services of this object.
We can add functions to manipulate the registry as well on the same lines.
Regards
Anil Kumar Maurya
|
|
Attached File
|
|
|
This bid was accepted by the buyer!
|
$80 (USD)
|
Nov 9, 2002 9:23:41 AM EDT
|
10
(Excellent)
|
|
|
I forgot to specify the bid amount in the previous entry. Done now ($80)
Regards
Anil Kumar Maurya
|
|
|
|
|
|
|