Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
A

Achithyn

@Achithyn
About
Posts
12
Topics
3
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Adding Save & Load ability to ap.
    A Achithyn

    oops, just to let everyone know, that was me :S lol - Must have cleared my cookies since the last time I was here. Thanks in advance for any help you may have! :) ~Achithyn

    Visual Basic csharp game-dev tutorial announcement

  • PictureBox & Multiple Forms
    A Achithyn

    Oi, sorry guys - I figured it out and it was a very simple problem. Thanks for the help on my other problems - I will make sure I don't ask stupid questions in the future. :) ~Achithyn

    Visual Basic csharp graphics game-dev help

  • PictureBox & Multiple Forms
    A Achithyn

    Hmm, well, I am guessing this either cannot be done, no one knows how to do it, or, this thread was simply looked over. I have looked around some more though can't seem to be able to answer my question :S - If any of you know how to do this, please let me know. Thanks! ~Achithyn

    Visual Basic csharp graphics game-dev help

  • PictureBox & Multiple Forms
    A Achithyn

    Hello everyone, Once again, the newbie of programming has come to beseech your help. For my lovely Tic Tac Toe game that I am developing within VB.NET 2003 - I wanted to give my players Avatars (graphics that displays the players picture or character). I started with making a form to act as the Avatar Gallery. What I want to be able to do is take the graphic that the player selects (using a radio button) and display it on my Game Form (frmGame). I had no idea how to do this, so, I started playing around. I made a Module and public'ed a PictureBox. I created a button that stated when clicked to take the picture of the forms PictureBox and transfer it to the Module- Public PictureBox. At first it worked, and all was good - though after that, it stopped. I don't know what exactly I did to change things, though now simply figure I was doing it wrong in the first place. So, now I come before you to ask what a good method is for creating a picture gallery that you can select the picture to display on another form. Any help is appreciated - articles, threads, and so forth. Thanks! ~Achithyn

    Visual Basic csharp graphics game-dev help

  • Form Index
    A Achithyn

    Awesome, I will do just that. :) Thank you for letting me know about the sub Main - I will see how I can use it to help my applications. :) Thanks! ~Achithyn

    Visual Basic question database adobe help tutorial

  • Multiple Form problems
    A Achithyn

    Awesome, thank you for the information. I will check out the MSDN chapter to this and see what else I learn. :) ~Achithyn

    Visual Basic csharp game-dev help tutorial

  • Form Index
    A Achithyn

    That is truly awesome. I found the properties section of everything else 'other' than the projects properties - now I have that as well. This opens up a lot more for me to explore and answers several questions that I would have eventually asked if I had not discovered this (learned of it from both of you). As for Hiding and Closing the main form - I understand now how that works and will work with it to make my program better. Thanks for the help both of you - it is mightily helpful. :) ~Achithyn

    Visual Basic question database adobe help tutorial

  • Form Index
    A Achithyn

    I am sorry to bother everyone again, though I had another quick question. What determines what form will show first within your project? Let us say we had three forms, what value, code or settings states that Form1 shows first? I want to add a form before my main form - such as a flash screen - or just another form for anything - though do not know how to make it and then have it load first rather than when it is called by form1. Any help would be greatly appreciated. Links, Articles, Books, anything would help. :) Thanks! ~Achithyn

    Visual Basic question database adobe help tutorial

  • Multiple Form problems
    A Achithyn

    The reason I have several forms, is to collect information from the player and pass it on to the next form. The actual game play is all done within one form. This is how it is built for Player Vs. Player: --Form1 (frmMenu) is the first Game Menu that loads when you start the game. --Form2 (frmSettings) is the form that loads when you click on "Vs. Player" button. This form allows the member to choose their name, mark type (you can change the normal "X" to a 3 character mark, such as initials) and color. --Form3 (frmGame) is the actual game that loads when you continue from Form2. This Form holds all the information for the game and allows you to play. This form will be changed depending upon settings you set in Form2 - or if you play Vs. Computer - or take the adventure mode. You see, the actual game is not laid out to work in several forms, the multiple forms are simply there to retrieve data for the actual game. I have been thinking more and more on MDI - and now I think I know how it works and how it will work on this game. The main screen will be the parent, and then frmMenu, frmSettings, frmGame and any other form that I make later on will be the child form to this parent so that all will be organized and within the parent. I know why the backcolor changes to gray now, and know how to go around that problem. I will not close the forms that load, rather use the Hide() command instead. As for the main form, you can close it if you want by using dim frmMenu as new frmMenu and Show() within the form load code bit. I don't know how bad or good that is with the program, just know that it works... lol. Well, thanks for the help guys, I will see what happens. :) ~Achithyn

    Visual Basic csharp game-dev help tutorial

  • Multiple Form problems
    A Achithyn

    I have been doing whatever I can to learn what I can do to fix this small problem. I happen to be quite the perfectionist. :( I think that can be both a good thing and bad thing. Well, I looked more into what MDI is and what it is used for and this is what I got: Quote from MSDN ----Multiple-document interface (MDI) applications allow you to display multiple documents at the same time, with each document displayed in its own window. MDI applications often have a Window menu item with submenus for switching between windows or documents. Also, when you change the form you wish to be the MDI Parent, it changes the color to a gray. I found another snippet from MSDN that said: Quote from MSDN ----Additionally, be aware that the edge of the MDI parent form will pick up the system color (set in the Windows System control panel), rather than the back color you set using the Control.BackColor property. I do not understand where I can edit the Windows System Control Panel. Another thing with MDI is said it is best to use with a maximized screen rather than a small version of the screen. I was told that I may want to check in with Modal and see if that would help, though I do not know what that is. Once again, anything would help - thanks for the time! ~Achithyn

    Visual Basic csharp game-dev help tutorial

  • Multiple Form problems
    A Achithyn

    I will look into MDI forms and see what happens :o) Thank you for the prompt reply! If there is anything else that may be able to help me make this little program of mine, feel free to share. Thanks again - I will see what happens and, depending, post back here. ~Achithyn

    Visual Basic csharp game-dev help tutorial

  • Multiple Form problems
    A Achithyn

    Hello everyone, I am really new with Visual Basic .NET 2003 and have come across a problem that I cannot seem to figure out. I have spent a lot of time reading in books and articles to figure this out, and because it is such a simple problem - it is quite frustrating. I am making a Tic Tac Toe game to get more familiar with VB. I have already finished a very simple Tic Tac Toe program and now am moving into an advanced version with multiple forms. Each form acts like the next screen within the game - so, I wanted to make it so that the forms would hide and show themselves in the same area as the last screen. Also, at the bottom of the screen - the task bar resets every time a form is loaded. Any information on how to manage multiple forms to act as if they are only one form would be great. Articles, Links, Examples, anything you can spare. My current way for showing and hiding a form is: dim testform as new testform testfor.show() I am using key words Show, Close, and Hide. Well, anything would be helpful. Thanks! ~Achithyn

    Visual Basic csharp game-dev help tutorial
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups