Smallbro Posted May 28, 2009 Author Share Posted May 28, 2009 Well I've been having problems compiling the source code in visual basic portable Admiral is aware of my problem and has apparently seen a few other case's of this.Apparently its caused by a lack of files in the portable version.This is the error i get, just to see how many more have the same problem:"Method or data member not found"Then it highlights this area of the source.txtChat. Link to comment Share on other sites More sharing options...
PD Posted May 28, 2009 Share Posted May 28, 2009 in ur vb6 fplder there should be a program call vb6cli, run that extract the files to sys32 or something like dat and it should work Link to comment Share on other sites More sharing options...
dao Posted May 31, 2009 Share Posted May 31, 2009 oh i had that problem with my regular vb6 so i got vb6 portable try re-downloading it Link to comment Share on other sites More sharing options...
Pasketi Posted June 11, 2009 Share Posted June 11, 2009 Um… where should i re-download VB6portable, because i have the same problem, but i have downloaded it already once... Still doesn't work Link to comment Share on other sites More sharing options...
Robin Posted June 11, 2009 Share Posted June 11, 2009 The rich textbox control is in RICHTX32.OCX. Download and register it in System32.I have no idea if it'll work in Portable, however, as it's only shipped with VB6 Enterprise and Professional.[http://www.ascentive.com/support/new/support_dll.phtml?dllname=RICHTX32.OCX](http://www.ascentive.com/support/new/support_dll.phtml?dllname=RICHTX32.OCX) Link to comment Share on other sites More sharing options...
jcsnider Posted June 11, 2009 Share Posted June 11, 2009 lol, it is working fine… it cannot find txtchat... so, can u give me the line of code in which this error occurs?@Robin, your right, it may not have one at all so the dll may do it. But I think it would be a line of code in which you would need to add frmmirage.txtchat instead of txtchat. Link to comment Share on other sites More sharing options...
Pasketi Posted June 11, 2009 Share Posted June 11, 2009 :huh: Still not working… This is from my other post: Compile error: Method or data member not foundIt covers bolded text from next code:Public Sub AddText(ByVal Msg As String, ByVal color As Integer) frmMirage.txtChat.SelStart = Len(frmMirage**.txtChat**.Text) frmMirage.txtChat.SelColor = QBColor(color) frmMirage.txtChat.SelText = vbNewLine & Msg frmMirage.txtChat.SelStart = Len(frmMirage.txtChat.Text) - 1 If frmMirage.chkAutoScroll.Value = Unchecked Then frmMirage.txtChat.SelStart = frmMirage.txtChat.SelStart End IfEnd SubSo only that .txtChat is markedAnd btw, that OCX file was in eclipse libraryfiles… they are not only eclipses lib files :D Link to comment Share on other sites More sharing options...
Robin Posted June 11, 2009 Share Posted June 11, 2009 Basically, it can't find txtChat, which is a rich textbox.If you've loaded the source in when the rich textbox control's API wasn't found, then it'll have replaced it with a blank picturebox.jcsnider, It's not a problem with the code, it's a problem with the way VB6 portable handles itself.Look in to frmMirage for me, and find the big textbox where the player's chat normally appears. Click on it, and tell me what it says it is in the properties menu.If you've loaded up the source before, received an error, then saved it, you'll have f*cked up your textbox. You'll have to delete the thing and add a new rich textbox and call it txtChat. Link to comment Share on other sites More sharing options...
jcsnider Posted June 11, 2009 Share Posted June 11, 2009 @ Robin… I Havn't really dealt with anything I didnt have the dll for, im used to when it not finding something I forget to put the frm name in front if on a different forum or in a class file. Link to comment Share on other sites More sharing options...
Robin Posted June 11, 2009 Share Posted June 11, 2009 I'm not just pulling advice out of my arse, I've dealt with this problem from plenty of people who tried loading things in Portable. Hell, I had the problem myself when I first started out.```frmMirage.txtChat.Text```As you can see, the form is fine. It's a problem with the control, and the most common problem with this is that the thing is removed if the library for it isn't found. Link to comment Share on other sites More sharing options...
Sowtis Posted June 11, 2009 Share Posted June 11, 2009 When it came to compiling the source code for the client, I was going to throw it all in a zip folder, upload it, and get somebody to compile it for me haha.But if I need to edit the source, it will be annoying. Thats why I'm working solo right now lol… Link to comment Share on other sites More sharing options...
Robin Posted June 11, 2009 Share Posted June 11, 2009 Just go torrent a copy of VB6 enterprise. It's not the greatest solution, but there aren't many people who can get a legit copy. I got mine free from a car boot sale. Link to comment Share on other sites More sharing options...
jcsnider Posted June 11, 2009 Share Posted June 11, 2009 I use portable… as long as u select the edit registry key thing in the main menu... I have no problem with it at all. Link to comment Share on other sites More sharing options...
Pasketi Posted June 12, 2009 Share Posted June 12, 2009 It still doesn't ignore that .txtChat…... I dled the full version... What's the problem?Wait! I think i understood... I got an error about frmMirage and it asked me to save it. I saved, as dumb as i am... So it's THAT! Dling source again... Link to comment Share on other sites More sharing options...
The Oracle Posted June 12, 2009 Share Posted June 12, 2009 also, download the .rar. I'm pretty sure the .zip is bugged (as long as it wasnt fixed) 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