Go Back   TechArena Community > Software > Software Development
Become a Member!
Forgot your username/password?
Register Tags Active Topics RSS Search Mark Forums Read

Sponsored Links



Changing to a form in VB 6

Software Development


Reply
 
Thread Tools Search this Thread
  #1  
Old 01-12-2009
Member
 
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.

Reply With Quote
  #2  
Old 01-12-2009
Member
 
Join Date: Oct 2005
Posts: 2,385
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
Reply With Quote
  #3  
Old 01-12-2009
Member
 
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.
Reply With Quote
  #4  
Old 01-12-2009
Member
 
Join Date: Jan 2008
Posts: 3,380
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
Reply With Quote
Reply

  TechArena Community > Software > Software Development
Tags: , , , , , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Changing to a form in VB 6"
Thread Thread Starter Forum Replies Last Post
Lenovo ThinkPad T420 about Hinges and changing form integrated vs discrete honor Portable Devices 3 25-07-2011 08:35 PM
Google Chrome is opening in basic HTML form instead of the Standard form Beatrix Technology & Internet 5 25-05-2011 10:21 PM
how to get items in a form to auto-resize with the form using visual basic deansmylie93 Software Development 2 02-05-2011 07:06 AM
Procedure in VB to create form inside another form Jalabala Software Development 3 16-11-2009 01:14 PM
Problem reloading MDI child form in main form. AFFAN Software Development 3 30-01-2009 08:05 PM


All times are GMT +5.5. The time now is 06:40 PM.