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.
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
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.
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