DawnOfEarth Posted March 22, 2013 Author Share Posted March 22, 2013 i have looked all over forum for answers and tryed wat people have suggested but nothing has worked so far. I keep getting a richtxt.ocx error in vb6 so i cant compile anything and it says object library not registered every time i start it up. Here is were i have the error every time i try to compile private mRTB As RichTextBox and right here frmMain.txtChat.SelStart = Len(frmMain.txtChat.text) and i get this error when tryign to compile server Class MSComctlLib.ListView of control lvwInfo was not a loaded control class.. Thx for looking and plz help. Link to comment Share on other sites More sharing options...
abhi2011 Posted March 22, 2013 Share Posted March 22, 2013 Did you install the run time files? Link to comment Share on other sites More sharing options...
DawnOfEarth Posted March 22, 2013 Author Share Posted March 22, 2013 yes Link to comment Share on other sites More sharing options...
DeathlyCreation Posted March 22, 2013 Share Posted March 22, 2013 Are you using a client that requires Dx8? Link to comment Share on other sites More sharing options...
DawnOfEarth Posted March 22, 2013 Author Share Posted March 22, 2013 I have tryed all clients mirage realms all the custom ones robins main one everything still the same for each. I start up my vb with the client file in the source and first thing that comes up is object Library not registered then i hit ok then it says do you wish to contiue loading i hit yes then it says error during load pls refor to frmmain.log for details so i do that and this is wat it says Line 1685: Class RichTextLib.RichTextBox of control txtChat was not a loaded control class. no matter which custom client i load or any thing i tryed the library files i tryed the sp6 nothing seems to fix it. I ran as admin in xp sp2 i tryed all that so far nothing. regsrv32 richtxt.ocx and still same thing. Link to comment Share on other sites More sharing options...
DeathlyCreation Posted March 22, 2013 Share Posted March 22, 2013 O'k maybe it needs a missing file, try downloading each of these.Put that beside your eclipse client exeDx8 DLL - [http://up.ht/15z4Ns5](http://up.ht/15z4Ns5)Run the installerRunetime Installer - [http://up.ht/Y3kEzB](http://up.ht/Y3kEzB)Now tell me if this fixed it or not Link to comment Share on other sites More sharing options...
DawnOfEarth Posted March 22, 2013 Author Share Posted March 22, 2013 I think it might be my riched20.dll and my riched32.dll they wont register. Link to comment Share on other sites More sharing options...
DeathlyCreation Posted March 22, 2013 Share Posted March 22, 2013 I don't know if that will work. That's only to get your client to actually load if it won't. I don't know how to fix the code if thats problem you still getting. As I'm new to coding in vb6 Link to comment Share on other sites More sharing options...
DeathlyCreation Posted March 22, 2013 Share Posted March 22, 2013 KK well did you try what I told you? Link to comment Share on other sites More sharing options...
DeathlyCreation Posted March 22, 2013 Share Posted March 22, 2013 O'k try this. Open CMD as administrator and type this code in:Regsrv32 %windir%\system32\riched20.dll /iNow do that same for the other one:Regsrv32 %windir%\system32\riched32.dll /i Link to comment Share on other sites More sharing options...
DeathlyCreation Posted March 22, 2013 Share Posted March 22, 2013 If that dosen't work then go to this dirrector. %windir%\system32\And if you cant find the dlls there. Then that means you don't have them Link to comment Share on other sites More sharing options...
DawnOfEarth Posted March 22, 2013 Author Share Posted March 22, 2013 yeah still the same thing Link to comment Share on other sites More sharing options...
DeathlyCreation Posted March 22, 2013 Share Posted March 22, 2013 [EDIT] - Then just try re downloading these and over-right them with existing. But remember to keep a back up just incase.If you don't have them then you can download the riched32.dll here - [http://www.dll-files….zip?0WIfWCZFmU](http://www.dll-files.com/riched32.zip?0WIfWCZFmU)riched20.dll here - [http://www.dll-files….zip?0WIfWCZFjW](http://www.dll-files.com/riched20.zip?0WIfWCZFjW)And put that in this dirrectory %windir%\system32\ Link to comment Share on other sites More sharing options...
Kemerd Posted March 22, 2013 Share Posted March 22, 2013 Stop using VB6 portable. Use the enterprise edition. The portable version compiling Eclipse **will** give errors. It doesn't have the required files.You need enterprise edition. Try looking it up on 4shared to find it. Or buy it. Link to comment Share on other sites More sharing options...
DawnOfEarth Posted March 22, 2013 Author Share Posted March 22, 2013 I have enterprise edition. Link to comment Share on other sites More sharing options...
Kemerd Posted March 22, 2013 Share Posted March 22, 2013 ~~Uninstall it. Uninstall runtimes. Then install it again, making sure you run the installer in Windows XP Pack 3 Compatibility mode, while running as administrator. Then install first the DX7 runtimes, then the DX8 runtimes. Heck, if that doesn't work. I don't know what to tell you.I'll try lurking around the internet.~~[https://groups.google.com/forum/?fromgroups=#!topic/microsoft.public.vb.general.discussion/0s9tmxzUxsI](https://groups.google.com/forum/?fromgroups=#!topic/microsoft.public.vb.general.discussion/0s9tmxzUxsI)Look at that. Link to comment Share on other sites More sharing options...
DeathlyCreation Posted March 22, 2013 Share Posted March 22, 2013 Lol, Yeah if your using portable then thats another possibility why. Link to comment Share on other sites More sharing options...
DeathlyCreation Posted March 22, 2013 Share Posted March 22, 2013 Ye Kem, I gave her the Dx8 Runtimes and the dll. And if non of this works, then I just say download clean EO and just start working on your own version. Link to comment Share on other sites More sharing options...
Kemerd Posted March 22, 2013 Share Posted March 22, 2013 Go to these links:[https://groups.google.com/forum/?fromgroups=#!topic/microsoft.public.vb.general.discussion/0s9tmxzUxsI](https://groups.google.com/forum/?fromgroups=#!topic/microsoft.public.vb.general.discussion/0s9tmxzUxsI)[http://www.vbforums.com/showthread.php?421777-RESOLVED-object-library-not-registered](http://www.vbforums.com/showthread.php?421777-RESOLVED-object-library-not-registered)[http://www.vbforums.com/showthread.php?355539-VB6-Error-quot-Object-Library-not-registered-quot](http://www.vbforums.com/showthread.php?355539-VB6-Error-quot-Object-Library-not-registered-quot)First one is the best, second one pretty much the same as the first one, and the third one I haven't read. Google helps, man. XD Link to comment Share on other sites More sharing options...
DawnOfEarth Posted March 22, 2013 Author Share Posted March 22, 2013 The clean eo gives me the same problem. That is why on came on here for help. Link to comment Share on other sites More sharing options...
damian666 Posted March 22, 2013 Share Posted March 22, 2013 welcome to my hell, i have the same thing, its due to the latest microsoft security update, they blocked older ocx files. i eventually gave up and now work in xp mode on windows 7 >.< Link to comment Share on other sites More sharing options...
DawnOfEarth Posted March 22, 2013 Author Share Posted March 22, 2013 Class MSWinsockLib.Winsock of control Socket was not a loaded control class. Now i am gettign this in the frmmain.txt Link to comment Share on other sites More sharing options...
damian666 Posted March 22, 2013 Share Posted March 22, 2013 [http://stackoverflow.com/questions/11982719/vb6-ide-cannot-load-mscomctl-ocx-after-update-kb-2687323](http://stackoverflow.com/questions/11982719/vb6-ide-cannot-load-mscomctl-ocx-after-update-kb-2687323) Link to comment Share on other sites More sharing options...
DeathlyCreation Posted March 22, 2013 Share Posted March 22, 2013 Lol WOW! Even clean version do it, um delete all EO versions reinstall new EO. Install the clean new runtimes, Then restart computer and try to load it. If this dose not work and you are running vb6 as administrator then I don't know what to tell ya Link to comment Share on other sites More sharing options...
DeathlyCreation Posted March 22, 2013 Share Posted March 22, 2013 O'k what damian said. Click that link and do what it says, Open it in notepad and change the 2.0 to a 2.1\. That should work Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now