-
Good News: You have clicked on my message and might be able to solve a problem that is sending me mad.
Bad News: The reward is my eternal gratitude. :-)
When trying to run my program on most machines there is no problem, yet on other machines it brings up the error "Permission to use object denied". When loading the main screen, this screen contains a tabstrip, and listview amongst other things.
The program runs off a network drive and everyone accesses it from there.
Any ideas?
Thanks.
-
It sounds like some of your users do not have the necessary run-time files on their machines.
Try running the Set-Up Wizard to get a list of the files that are required by your application. Then you can check the users PC to ensure the necessary files are resident.
-
Dude,
Ok a few problems here. As has been noted not all your users have the required dlls etc. If you are looking at a three tiered approach then aim at doing the following.
1. Put databases etc on the server.
2. Pull all your business rules into .dlls and retain on server.
3. Load the front end program to each users PC, (easy on network install the setup.exe etc on the server and get the users to install from there).
Problem solved :) This is how my own company, and most we work with operate, mind you that is because we write their software and support the hardware. :0 :)
-
Problem Solved Thanks
Thanks a lot for your help guys although the problem turned out to be something totally different.
I jumped to the conclusion that it must be down to the ocx's and dll's but it turned out that I had set them up correctly and the problem was within one of the commands implemented on startup, namely a function that recursed through the hard drive looking for a certain file.
I located the problem with the aid of numerous msgbox commands to lead me through the code to the error.
It was occuring on computers where people didn't have administrator access, when it tried to look in the administrator profile directory in windows.
Thanks anyway