Results 1 to 4 of 4

Thread: Changing to a form in VB 6

  1. #1
    Join Date
    Nov 2009
    Posts
    60

    Changing to a form in VB 6

    Hey,

    I have problem regarding the changes to a form and i need your assistance. My problem is that on the UI it shows that week of the day is 5 which i have to change to the 7 days a week to display all days of the week. I know that it is depend on the code but the problem is again same that i cant do that because i have no idea where to make change.

    So please help me with the same.

  2. #2
    Join Date
    Oct 2005
    Posts
    2,393

    Re: Changing to a form in VB 6

    Hi there,

    If i am not wrong then you want to try attaching the complete program. If you are loading the complete file alone then it might be give you a error because of the control you have used with the program.I think its not big issue so first try to rebuild your program and then let me know that it is working or not. Might be this will work .

    Thanks

  3. #3
    Join Date
    Apr 2008
    Posts
    4,642

    Re: Changing to a form in VB 6

    It is easy to change a form but you have to perform the fallowing to make the changes take effect. Its better to create a new form with the detail and add it to your project using following . I hope this will help you and it is easy.

    Add a button on the First form, now create the second form. After the completion of the second form do one thing double click on the button in first form. Now type the form2.show() method to that button

    Thanks.

  4. #4
    Join Date
    Jan 2008
    Posts
    3,388

    Re: Changing to a form in VB 6

    I am giving you the two method to perform the change of the form so try it out and see that it works or not. Here is the code for the same

    Code:
    Private Sub cmdFormchange_Click
    frmfirst.visible=false
    frmsecod.visible=true
    End Sub
    Another method is
    Code:
    Private Sub cmdFormchange_Click
    frmfirst.visible=false
    Unload Me
    frmsecond.visible=true
    End Sub

Similar Threads

  1. Replies: 3
    Last Post: 25-07-2011, 08:35 PM
  2. Replies: 5
    Last Post: 25-05-2011, 10:21 PM
  3. Replies: 2
    Last Post: 02-05-2011, 07:06 AM
  4. Procedure in VB to create form inside another form
    By Jalabala in forum Software Development
    Replies: 3
    Last Post: 16-11-2009, 02:14 PM
  5. Problem reloading MDI child form in main form.
    By AFFAN in forum Software Development
    Replies: 3
    Last Post: 30-01-2009, 09:05 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,940,603.56425 seconds with 17 queries