|
-
Oct 1st, 2004, 05:20 AM
#1
Thread Starter
Fanatic Member
In XP user is restricted - program doesn't work
Hi everybody,
I got a VERY big problem.
I wrote a program in VB6 and it works fine. It includes some ocx and dll's. The MDB is on the server and everything is ok.
But now the Network admin. want to restrict the status of the users to "USER" and not as before to a higher level "MAIN USER".
Since then the program does not work.
When the program start it says for example "comdlg32.ocx or dependencies not found".
As I know is it not neccessary to register dll's. But I have to register ocx.
Is it posible to replace a ocx with an dll?
Is there any other idea?
I really need urgent help!!!
Thank you
Franky
Error message at program start:
Run-time error '339':
Component 'comdlg32.ocx' or one of its dependencies not correctly registed:
.... The problem is that this file is in windows registered.
used ocx:
comdlg32.ocx
msdatgrd.ocx
mshflxgd.ocx
richtx32.ocx
msscript.ocx
comctl32.ocx
mscomct2.ocx
Last edited by Franky; Oct 1st, 2004 at 07:02 AM.
-
Oct 1st, 2004, 06:22 PM
#2
ActiveX DLLs have to be registered to work also.
-
Oct 2nd, 2004, 06:53 AM
#3
Fanatic Member
Try putting the OCX's in the same directory as the app exe is in. Then they don't need to be registered in order to work.
Author for Visual Basic Web Magazine
-
Oct 2nd, 2004, 08:09 AM
#4
It depends from what location the OCX were used in design time. If you used them from the System folder then they need to be in the system folder on the PC that is to run the app. If they were used from the same folder as the app then they need to be in the same folder as the exe.
You can check by opening menu Projects -> Components, and in the new window click 'Selected Items Only' checkbox. Then the list will only show the components that you are using, then when you click on one of them it shows the path to it in the bottom of the window (Location: C:\........)
-
Oct 2nd, 2004, 10:12 AM
#5
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|