CharlieMay's Profile User Rating: *****

Reputation: 1662 Grandmaster
Expert w/DIC++
Active Posts:
5,343 (2.69 per day)
25-September 09
Profile Views:
Last Active:
User is online 4 minutes ago
Viewing Forum: VB.NET

Previous Fields

OS Preference:
Favorite Browser:
Favorite Processor:
Favorite Gaming Platform:
Your Car:
Dream Kudos:
Expert In:

Latest Visitors

Icon   CharlieMay has not set their status

Posts I've Made

  1. In Topic: Solution for my Idea

    Posted 4 Mar 2015

    I'm just going to throw this out there for you to think about.

    You could create a class that holds these values. Instantiate it and fill it with the current tab and serialize it to xml. Then just deserialize and fill your information in from the object.

    The xml files could be nothing more than your <tabindex>.xml (of course there would be a file for every tab) But then you could create a collection of object with a List<of T> or a Dictionary<Of > that you could access based on the current selected tab.

    I just think it would make it a lot easier to save and reload with a function that takes in your tabpage's index so it knows what to grab and what to fill.
  2. In Topic: Solution for my Idea

    Posted 4 Mar 2015

    One last thing. You might benefit from learning how to make your own user control. You could create a tabpage laid out with the controls you need. Expose properties to access it's controls and set up methods for saving and doing various things to it.
  3. In Topic: Solution for my Idea

    Posted 4 Mar 2015

    Do you see where you use TabControl1.SelectedTab.Controls.Add()?

    Controls is a collection that is part of the selectedtab (you can visualize this like an invisible listbox) All you are doing is looking in that collection by name to reach the object with that name. Since that collection can contain many different types of objects, you use ctype to cast it back to its original type (ctype short for cast type) so that you can access its properties.

    Also as far as saving there are numerous ways. I personally prefer using a database but you can create some text files or whip up some xml. Depends on how easy it needs to be to add/edit/delete information from the data.

    By the way: Since you mentioned attempting this: Here is a tutorial for creating an array of controls
  4. In Topic: How to use Select Case.

    Posted 3 Mar 2015

    The Select Case is much like an If ElseIF in the fact that you can compare multiple values against a variable. The difference is that once the condition is met that block of the statement is set

    Value = 74
    Select Case Value
       Case > 90
          'What do you want to happen if Value is > 90
       Case > 60
          'What do you want to do if Value is 61 to 90
       Case Else
          'What do you want to do if Value is below 60
    End Select

    So if the value is 91 which is above 90 and is above 60, it will process > 90 because once it meets a condition, it is done, there is no reason for it to continue checking.

    Of course, if none of the Case conditions are met, then case else it used.

    I suggest reading up on this statement as it is a very nice way of keeping large comparisons very readable and in a lot of conditions can be faster to process. There is a lot more powerful than this example shows and is not just limited to numeric variables
    MSDN: Select Case
  5. In Topic: Solution for my Idea

    Posted 3 Mar 2015

    pass it to the controls collection of the container as an argument while casting it back to a textbox

    CType(TabControl1.SelectedTab.Controls("variable" & tabcontrol1.Selectedtab.Index.tostring), TextBox).Text

My Information

Member Title:
This space intentionally left blank
47 years old
October 27, 1967
Years Programming:
Programming Languages:

Contact Information

Website URL:
Website URL  http://


  • (3 Pages)
  • +
  • 1
  • 2
  • 3
  1. Photo

    CharlieMay Icon

    26 Feb 2015 - 14:39
    Damn, and I really could have used that massage too.
  2. Photo

    jannbaby Icon

    20 Feb 2015 - 12:26
    Hello dear,
    please do not be offended to receive this massage, My name is Miss jannet, I saw your profile today at,( and become very interest to be your friend And i have an important issue to discuss with you if you accept Please contact me back on my private email address, ( jannetrubel@ ) for more details about me, thanks,
  3. Photo

    CharlieMay Icon

    30 Apr 2014 - 05:43
    asmalley, please post your question in the forums. Not only does it get you a lot more suggestions and help, it allows others to learn from the solutions provided. :)
  4. Photo

    asmalley Icon

    29 Apr 2014 - 06:43
    Hello Charlie if you have a moment to look at your private message that would be much appreciated :)
  5. Photo

    orangebanana Icon

    03 Dec 2013 - 19:57
    thank you very much :)
  6. Photo

    vks.gautam1 Icon

    11 May 2013 - 06:53
  7. Photo

    CharlieMay Icon

    06 May 2013 - 14:10
    OK, up at the top of this page is the "About Me" tab where my signature is: in there is a link to a very helpful set of videos that should help you with what you want. Start at the beginning video and follow along.
  8. Photo

    pavanvadrevu Icon

    03 May 2013 - 08:53
    i want to learn complete from basics sir
  9. Photo

    nK0de Icon

    01 Feb 2013 - 10:18
    Hey Charlie! :) How's it going over there?
  10. Photo

    beginner_emman Icon

    30 Nov 2012 - 09:05
    i agree, you should teach a programming..thanks for your help..
  11. Photo

    CharlieMay Icon

    22 Oct 2012 - 18:30
    Wow! thanks everyone. I apparently need to check this area more often ;)
  12. Photo

    Wizmeister Icon

    18 Oct 2012 - 17:00
    You are awesome man. You should teach a class on programming.
  13. Photo

    wanabavbcoder Icon

    09 Oct 2012 - 15:38
    hi charlieMay, Thank you so much. It has really helped. I wish I had the knowledge you had.
  14. Photo

    wanabavbcoder Icon

    09 Oct 2012 - 00:48
    hi charlieMay, Ive posted a question that seems to have stumped google. Maybe you might be able to help
  15. Photo

    wanabavbcoder Icon

    08 Oct 2012 - 15:22
    Sorry to bug your'll again but another error appeared:
    An unhandled exception of type 'System.Reflection.AmbiguousMatchException' occurred in microsoft.visualbasic.dll
    Additional information: No accessible overloaded 'MessageBox.Show' is most specific for these arguments:
    Public Function Show ( ByVal text As String, ByVal caption As String ) As Sy...
  • (3 Pages)
  • +
  • 1
  • 2
  • 3