Page 1 of 1
Class Not Registered msg shows up on PCs that doesn't have VB installed
#1
Class Not Registered
Posted 14 October 2008 - 03:37 PM
hi every one
I've made a game in VB6 called "Tetris" , who doesn't know it ?
in some part of it I used a control of the "Data" data type to validate the valid keys user chooses for commands ( GoLeft , GoRight , Right Rotate ........etc) from a DataBase
any way ..........
it works great , but when it comes to other PCs , it breaks when the form containing it is loaded , with a msg says "Class Not Registered" with not being able to navigate the DataBase........
here is the msg
I use "Setup Factory" for the setup file
I thought it's a Classes Registration issue so even though I've done it I insured that I checked this CheckBox On
Here it is
but the msg still shows up
--------------------------------
Notes :
1 - it worked on Vista with some colors changes (I put special codes that are not needed for Xp just to handle them)
2 - I have Visual Studio 2005 installed on that vista (I think this is why it worked ,sorry I didn't try it on an empty vista)
3 - I tried the "Package & Deployment Wizard" the same msg shows up and game still breaks
4 - I made this game about 2 years ago , that time I was so so so new to these kinda stuff ,
I tried to solve it , but I couldn't so I left it for a later time ,
now after I got better , it's time to think about it again , but I failed again ( I tried , and tried.... but .........)
-----------------------------
any idea please ,
I can send you the code if you need (you're not gonna mock on it right ?? I was really really newbie , I mock on some codes myself , there are really stupid ways to do easy things)
Regards
vbnetskywalker
I've made a game in VB6 called "Tetris" , who doesn't know it ?
in some part of it I used a control of the "Data" data type to validate the valid keys user chooses for commands ( GoLeft , GoRight , Right Rotate ........etc) from a DataBase
any way ..........
it works great , but when it comes to other PCs , it breaks when the form containing it is loaded , with a msg says "Class Not Registered" with not being able to navigate the DataBase........
here is the msg
I use "Setup Factory" for the setup file
I thought it's a Classes Registration issue so even though I've done it I insured that I checked this CheckBox On
Here it is
but the msg still shows up
--------------------------------
Notes :
1 - it worked on Vista with some colors changes (I put special codes that are not needed for Xp just to handle them)
2 - I have Visual Studio 2005 installed on that vista (I think this is why it worked ,sorry I didn't try it on an empty vista)
3 - I tried the "Package & Deployment Wizard" the same msg shows up and game still breaks
4 - I made this game about 2 years ago , that time I was so so so new to these kinda stuff ,
I tried to solve it , but I couldn't so I left it for a later time ,
now after I got better , it's time to think about it again , but I failed again ( I tried , and tried.... but .........)
-----------------------------
any idea please ,
I can send you the code if you need (you're not gonna mock on it right ?? I was really really newbie , I mock on some codes myself , there are really stupid ways to do easy things)
Regards
vbnetskywalker
#2
Re: Class Not Registered
Posted 14 October 2008 - 06:36 PM
did you add that database seperately to your setup and place the correct position i think this will solve the peoblem
oh!!!! some dll(reference ) are not add in this project i.e. if a dll needs another dll it might not add it default we should add it seperately check for that kind of dll reference
oh!!!! some dll(reference ) are not add in this project i.e. if a dll needs another dll it might not add it default we should add it seperately check for that kind of dll reference
#3
Re: Class Not Registered
Posted 15 October 2008 - 11:26 PM
thanks for answering
yes I sent the database file separately with the setup file in the right place
and in the setup operation I saw directx dll is copying I saw mci dll is copying but I didn't see the databases dll references (I know some of them when I install other VB6 apps that I didn't make )
How do I find the exact needed dlls to send?
I thought Setup Factory does it automatically when I Check On that CheckBox I mentioned
Regards
vbnetskywalker
yes I sent the database file separately with the setup file in the right place
and in the setup operation I saw directx dll is copying I saw mci dll is copying but I didn't see the databases dll references (I know some of them when I install other VB6 apps that I didn't make )
How do I find the exact needed dlls to send?
I thought Setup Factory does it automatically when I Check On that CheckBox I mentioned
Regards
vbnetskywalker
#4
Re: Class Not Registered
Posted 16 October 2008 - 02:02 AM
did you use any custom controls then add that dll
to find the dll that are used in your program there's a way open the frm file in the notepad on the top there are some dlls which vb is separate from Vb default dlls try to find those dll's are used in your setup
like this one for richtextbox
Object = "{3B7C8863-D78F-101B-B9B5-04021C009402}#1.2#0"; "richtx32.ocx"
careful on handling it note down the ocx' and dlls referred
this is the one way that i found the missed dll's if there is a lot of form then it's not easy to do it
'******Edited********
Wait for some time
some one give you a better idea to found the dlls in your project or else try the above one, i am also eager to find the dlls in another Way
to find the dll that are used in your program there's a way open the frm file in the notepad on the top there are some dlls which vb is separate from Vb default dlls try to find those dll's are used in your setup
like this one for richtextbox
Object = "{3B7C8863-D78F-101B-B9B5-04021C009402}#1.2#0"; "richtx32.ocx"
careful on handling it note down the ocx' and dlls referred
this is the one way that i found the missed dll's if there is a lot of form then it's not easy to do it
'******Edited********
Wait for some time
some one give you a better idea to found the dlls in your project or else try the above one, i am also eager to find the dlls in another Way
This post has been edited by thava: 16 October 2008 - 02:27 AM
Page 1 of 1

Ask A New Question
Reply





MultiQuote




|