Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Kazako

Members
  • Posts

    32
  • Joined

  • Last visited

    Never

Everything posted by Kazako

  1. @'Mohenjo: > Ever heard of Ctrl + F ? Search for it with VB6 … You seriously think I didn't try that? I've used over 20 different search terms, omfg, I tried to keep my last one short so you wouldn't misunderstand and you just come back with that smart-arsery.
  2. @'Mohenjo: > Oh, I'm sorry, I'm really slow at this XD my code just made clicking the button again hide the stuff and show the main. Sorry for not understanding. > > Change MAX_MENUBUTTONS As Long = 4 to 5 > Change the index of your button to 5 > Give it an image here: > ``` > ' menu - exit > > With MenuButton(4) > .fileName = "exit" > .state = 0 ' normal > End With > ```And change it to 5 and name it > > Then just find where it's originally rendered, it shouldn't be too hard, just find the load gui sub. Hopefully this actually helps You still didn't tell me WHERE the code to change is. I could've figured out the code itself on my own, lol. WHERE is the code?
  3. @'Mohenjo: > Oh, I completely misunderstood that, I'm sorry. I did do this on an engine I worked on, not sure I saved it though. So double click on the login button,or find this "If Not picLogin.Visible Then" and add and Else then change all those to false (except make picMain.Visible = True) and do that for each case. Hopefully this helps and makes sense. Yep, I've done that already. My request was for the location of the code that directs the imgButton to change to the picture on event.
  4. @'Mohenjo: > Truthfully, I'd make a new form or something with the news and call that when the button is pushed, but regarding the question, I think you have the forms mixed up, frmMenu is the login and frmMain is the game. Did you pull up the frmMenu and click the buttons and look at their numbers then add those to your code? I'd also, personally, make it so it logged the player out so that they didn't get killed while reading the news. But just a frmMenu.Show() should work. No, you misunderstood/misread my post. frmMain has nothing to do with this- I am working solely on frmMenu. The player doesn't even log in to the game at the point the news is shown in picMain and lblNews on frmMenu.
  5. @'James': > The art looks good but the UI and mapping need some work Really? I like the UI.
  6. Hey all, I wanted to add a new button to the frmMenu that makes the picMain visible again (so people can read the news if they already clicked login without exiting and relaunching the client.) I added it to the index imgButton(5) and added the code on click to the array so it knows what to hide and show. Problem is I can't find the code to tell it which images to load, like I want it to load btnMain_normal, btnMain_hover and btnMain_click. Speedy assistance would be appreciated, this feels like a really dumb and small problem to get stuck on. Cheers- K
  7. Hey, so I took an older engine, did some stuff on another computer, moved stuff to a usb, wiped this computer and then installed vb6 again. Here are my issues in order that they appear. **ON PROJECT LOAD** ![](http://puu.sh/llPa8/57ab8b69d9.jpg) I had this error before when I was programming in vb6, pressing okay on this didn't stop me from being able to load the project/change code/debug or compile, so I just worked with it as it was a minor inconvenience on opening the IDE. ![](http://puu.sh/llPfS/8e72df1a92.jpg) This error is brand new. I did a few of the cmd "solutions" as mentioned on Google and nothing. ![](http://puu.sh/llPln/9b24bbb911.jpg) This error goes back to and is probably caused by the OLE automation error, just a minor inconvenience really. ![](http://puu.sh/llPpo/ec422883a8.png) After clicking ok, this pops up, again this is new, contents of the frmmain.log are below, however the contents of this file seems to vary between 1-6 different lines of errors, this is the one that appeared at the time of writing this. ``` Line 1254: Class RichTextLib.RichTextBox of control txtChat was not a loaded control class. ``` **DEBUG AND COMPILE ERRORS** ![](http://puu.sh/llPGq/5d11667ede.jpg) This pops up when I click the debug button. ![](http://puu.sh/llPLS/b5db14a5ef.jpg) The game opens to frmmenu and I can click login/register/credits/exit - when I login or create a character and proceed to log in I'm greeted by an issue with my text box (which I believe is related to the above txtChat.) Upon clicking ok to the above error, I am taken to the code that's now causing trouble (whereas it didn't before.) ![](http://puu.sh/llPP2/3d1872afb7.png) Any help with this would greatly be appreciated. I have a busy work schedule and real world responsibilities, so I lack the free time to devote more than a few hours per week on this (it's the first time I've had time since July to work on this project.) I'm now one hour in to a whole 8 hours I've managed to steal away for programming only to be greeted with this.
×
×
  • Create New...