TLowder
Programmer
- Mar 20, 2002
- 224
Hello,
VB6 setup via Package and Deployment Wizard
XP Pro
Run-time error : 339. component '*.OCX' or one of its dependencies not correctly registered: a file is miising or invalid
I'm getting the error on one computer when logged in as user. The program was installed under admin and works fine there. I've setup many other computers the same and haven't had this problem before. The only thing different would be that I used a newer setup than before, created with package and deployment wizard. The new version should not have changed from the last except for a newer exe and perhaps one new dll reference. I really don't think it was the setup that is bad just something perhaps in windows that caused this different behavior.
It's multiple ocx's in question. They were all nonstandard ocx's specific to my program. The first error was a custom button isbutton.ocx. I tried regsvr32 again, unregister and register again, then I unregistered it and put in app.path and it worked but the error moved to the next ocx - MTUSBHIDSwipe.ocx. Then it want to another ocx, I can't remember the name and don't have the computer with my as I left it with them just signed in as admin. I ended up stuck as it didn't work on the 3rd one, and besides who knows how many more there were. For now I can just leave it as admin cause it doesn't really matter on this station but I would still like to figure this out, especially if it happens again on another computer. I also tried adding a new user, reinstalling with the last setup I used that I know worked. But even if that is the issue I guess it was too late unless I deleted all the ocx's that gave me trouble then ran the old setup, maybe I should have tried
that.
So for now I have it working and anything I need to try won't be done till I go back to the location, which will be soon but I don't have immediate plans of going there. I wish I had noticed the error before I went to the client and had more time to figure it out. Unfortuanatly I did all my testing and setup in the admin account and didn't realize the user issue till I got on location.
Thanks for your help, any suggestions appreciated.
Tom
VB6 setup via Package and Deployment Wizard
XP Pro
Run-time error : 339. component '*.OCX' or one of its dependencies not correctly registered: a file is miising or invalid
I'm getting the error on one computer when logged in as user. The program was installed under admin and works fine there. I've setup many other computers the same and haven't had this problem before. The only thing different would be that I used a newer setup than before, created with package and deployment wizard. The new version should not have changed from the last except for a newer exe and perhaps one new dll reference. I really don't think it was the setup that is bad just something perhaps in windows that caused this different behavior.
It's multiple ocx's in question. They were all nonstandard ocx's specific to my program. The first error was a custom button isbutton.ocx. I tried regsvr32 again, unregister and register again, then I unregistered it and put in app.path and it worked but the error moved to the next ocx - MTUSBHIDSwipe.ocx. Then it want to another ocx, I can't remember the name and don't have the computer with my as I left it with them just signed in as admin. I ended up stuck as it didn't work on the 3rd one, and besides who knows how many more there were. For now I can just leave it as admin cause it doesn't really matter on this station but I would still like to figure this out, especially if it happens again on another computer. I also tried adding a new user, reinstalling with the last setup I used that I know worked. But even if that is the issue I guess it was too late unless I deleted all the ocx's that gave me trouble then ran the old setup, maybe I should have tried
that.
So for now I have it working and anything I need to try won't be done till I go back to the location, which will be soon but I don't have immediate plans of going there. I wish I had noticed the error before I went to the client and had more time to figure it out. Unfortuanatly I did all my testing and setup in the admin account and didn't realize the user issue till I got on location.
Thanks for your help, any suggestions appreciated.
Tom