Results 1 to 5 of 5

Thread: Its hard to be a beginner of VB :)

  1. #1

    Thread Starter
    New Member
    Join Date
    Apr 2002
    Location
    Turkey
    Posts
    3

    Its hard to be a beginner of VB :)

    Hi all !

    I'm a doctor from Turkey and I am trying to build a patient-follow up program with VB.

    It's very hard for me to understand the logic of VB programming after years of Quick basic experience. I'm very advanced in QB programming but knowing QBASIC does not mean that you're gonna program in VB at once at all !!

    At first, Actually, I have problems with form transitions. I've designed all the forms used in program, i.e. Splash screen, main form with menus, Form to add new patient data, search form etc etc. But as I don't know the details, I can't make transitions between those..

    To expand the situation, if I choose "Add new patient data" from main form, should I use this code ;

    frmAdd.Show
    Form1.Enabled = False

    Or is there any other methods to load second forms ?


    When I use this code to make visible the add-patient form, after filling the form and hitting the save button, I use this time ;

    frmAdd.Hide
    Form1.Enabled = True

    It seems to be okay but when I re-enter the data form again, I see that all the things I've written on that form are still there and it was only "hidden" somewhere !

    In some examples I see "unload" command like "unload.me" to close forms. when I use that, ý got error message and I don't know about it..

    For now that's all about it. ýf I could pass this step, there'll be more for sure !!

    Sincerely !
    Pe@ceR
    Turkey's newsgroup users website webmaster
    http://www.turknews.com.tr.tc

  2. #2
    Banished Cander's Avatar
    Join Date
    Dec 2000
    Location
    Why do you care?
    Posts
    6,913
    use Unload formanme


    not Unload.formname.


    no .
    Stack Overflow
    See the features of Visual Studio 2010 and C# 4.0: The 10-4 show on Channel9

  3. #3

    Thread Starter
    New Member
    Join Date
    Apr 2002
    Location
    Turkey
    Posts
    3
    I may be wrong or I miswrite here.. But I probably tried both unload me and unload.me but as I said I may be wrong again..

    I'll check, thank you !
    Pe@ceR
    Turkey's newsgroup users website webmaster
    http://www.turknews.com.tr.tc

  4. #4
    PowerPoster
    Join Date
    Aug 2000
    Location
    IN SILENCE
    Posts
    6,441

    Well

    Unload frmAdd
    Form1.Enabled = True

    Should work...
    Remaining quiet down here !!!

    BRAD HAS GIVEN ME THE ULTIMATIVE. I have chosen to stay....

  5. #5

    Thread Starter
    New Member
    Join Date
    Apr 2002
    Location
    Turkey
    Posts
    3
    Ok. thank you.
    Pe@ceR
    Turkey's newsgroup users website webmaster
    http://www.turknews.com.tr.tc

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width