iraasta Posted November 2, 2012 Author Share Posted November 2, 2012 I know i know. There was a lot of tutorials. But none of them works for me. I've tried everything.I'm using VB6.0 Enterprise with SP6 on Windows 7 64bit. I tried everything and still it says:"Class MSWinsockLib.Winsock of control Socket was not a loaded control class."Seriously i even tried manually download MSWINSCK.OCX. And it doesnt work.Tried starting in compatible mode, tried checking and unchecking every checkbox.Instaled sp6 in System32 and in SysWOW64 aswell.Tried reinstalling VB and downloading it from another sources.Nothing… Link to comment Share on other sites More sharing options...
Joyce Posted November 2, 2012 Share Posted November 2, 2012 If you have installed VB SP6, make sure you REDOWNLOAD the source code, as your current one is already corrupt because of this error. Link to comment Share on other sites More sharing options...
iraasta Posted November 2, 2012 Author Share Posted November 2, 2012 i did right now. Files has not changed. Same size. Same error/Edit Every other form works fine. Only frmMain returns this error Link to comment Share on other sites More sharing options...
Joyce Posted November 2, 2012 Share Posted November 2, 2012 Can you go to Project > References and see if any are tagged as MISSING:, then see where the file is supposed to be located and verify if it is there? (And register it!) Link to comment Share on other sites More sharing options...
iraasta Posted November 2, 2012 Author Share Posted November 2, 2012 When i open references there is NO mswinsck.oxc however i can add this in browse, when i add this and open project it still errors. When i shut down VB mswinsck dissapears from the list and i need to add this again. When i try to add this it showsName conflicts with existing module, project, or object library.Even if i click accept there is no reaction. Link to comment Share on other sites More sharing options...
Joyce Posted November 2, 2012 Share Posted November 2, 2012 Because it's not listed as the OCX, but as something else. (or should be). Also, adding the reference has no use. Your copy of the source is already corrupt and broken once you get that error, needs to be deleted and redownloaded.As i said though, are any of them marked as MISSING? Link to comment Share on other sites More sharing options...
iraasta Posted November 2, 2012 Author Share Posted November 2, 2012 I don't see any word 'missing' there. Ive got clear rar copy of this. And always working on new ones. Still nothing Link to comment Share on other sites More sharing options...
Joyce Posted November 2, 2012 Share Posted November 2, 2012 And in the Project > Components screen? It should look like the following picture:![](http://www.freemmorpgmaker.com/files/imagehost/pics/433089c2d4b4bd6e94a104d4d10179f6.PNG)make sure you tick the "Selected Items Only" option! Link to comment Share on other sites More sharing options...
iraasta Posted November 2, 2012 Author Share Posted November 2, 2012 I didnt have rest of it. It seems now like this:![](http://i47.tinypic.com/15gqjdh.png)And error changed to "Line 19: Property Icon in frmMain had an invalid file reference."But it is better than was ![:P](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/tongue.png)/Edit Ok it was lack of frx. Is it proper look of that window? Never saw that so i dont know is it look like it should or not Link to comment Share on other sites More sharing options...
Joyce Posted November 2, 2012 Share Posted November 2, 2012 So the sockets actually work even when it compiles? The icon isn't that big of a deal, just means your icon will revert to a blank one. Link to comment Share on other sites More sharing options...
Boynaar44 Posted November 2, 2012 Share Posted November 2, 2012 Isn't the Winsock a user control in the components list, not in the references?~~I am not sure this will work but you may try the next,1\. Download the mswinsck.ocx somewhere from.2\. I don't know if the mswinsck.ocx has a 32bit and 64bit version, if you know it's a 64bit version then place it in SysWOW64, if you don't know then place it in System32.3\. Open notepad or any text editor and write the following code, DO NOT FORGET to replace the [Location MSWINSCK.OCX] with the location folder the mswinsck.ocx is placed in.```cd [Location MSWINSCK.OCX]regsvr32 MSWINSCK.OCX```4\. Save the text file as a ".bat" file somewhere.5\. Explore to the ".bat" file you created, right-click it and run as admin.~~Never mind, since you see the icon, you don't have to do this. Link to comment Share on other sites More sharing options...
iraasta Posted November 2, 2012 Author Share Posted November 2, 2012 It works while compiled now. Ok then in tutroial it sais:> Open up **frmMain**> > Add the following items to it:> > 1\. A Label, call it **lblSwords**> > 2\. A Label, call it **lblSwordsExp**So where to add this labels if what i see looks like that what i sent 3 posts up. Link to comment Share on other sites More sharing options...
Joyce Posted November 2, 2012 Share Posted November 2, 2012 I'm afraid that tutorial doesn't work with Eclipse Advanced. It only works with engines that use GDI to render the interface. Link to comment Share on other sites More sharing options...
iraasta Posted November 2, 2012 Author Share Posted November 2, 2012 Ummmmm…. That is really bad... Ehh at least i made a backup.Anyway thanks a lot for help. You got a beer ![:D](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/biggrin.png) 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