Forms :: Make A Model Form, And Copy That Form As Many Times?
Mar 28, 2009
I'm making a program like PostIt! Well, i want to make a model form, and copy that form as many times i want.I think it works with something like frmPostit1 = frmModel.clone()
View 2 Replies
ADVERTISEMENT
Dec 2, 2009
I have one form that needs to act as a template for 4 forms, each with its own set of variables.Do I need to set them up like:
Public frmSlot1, frmSlot2, frmSlot3, frmSlot4 As New frmSlotSetup
Or create an array?
Public frmSlot(3) As frmSlotSetup
View 13 Replies
Nov 6, 2010
I'm trying to make a form that takes user input 3 times, and each time compares it to the correct Answer... which is an array of {"C", "D", "A"}.Each time the user's input matches the correct answer ("strCorrectAnswer()"), then I'll add 1 point to intUserScoreCounter. I'm wondering why this code is returning an error (hilighted in blue)? Can I not compare a String to an Array?
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnEnterAnswers.Click
'Handles Enter Answers functionality
Dim strCorrectAnswer() As String = {"C", "D", "A"}
[code].....
View 5 Replies
Nov 22, 2009
What is the best way to copy a form? I have one form which has a lot of work and would now like to use this as a template for another form.
View 4 Replies
Jan 24, 2012
How can I copy form and make identical form
say want to copy the style of one form & coding and make identicel form 2
View 4 Replies
Feb 10, 2007
i have been lookin for a refrence on how to get form to make a copy of itself on a button click. without having to make multiple forms in my project. like say i want to open 6 forms and want them to be the same as form 1 i wouldnt want to have to make 6 diffrent forms in my code just to that.
View 6 Replies
Jan 17, 2010
I would like to know how to make a button click only so many times until it becomes disabled.
I would also like to know how to keep what is put in a RichTextBox there, without erasing the other text;
Example: Two buttons, the first puts "1" into the RTB, and the second puts "2" into the RTB. However when I press the second button, it over writes the first value.
How can I prevent this?
You Can Ignore this question below;
Old Question: I am working on a counter, and want to know how to make a button show itself if I hid it.
I have:
CODE:
And would like to know how to make one of the buttons visible again, with one big button.
I know it has something to do with an "If" statement.
Answer: Button#.Show()
View 6 Replies
Jun 10, 2011
WebBrowser1.Navigate("http://" + TextBox2.Text + "/robbery/index/humanhunt/1")
How can i make this code execute the times that TextBox1.Text indicated?It should be some kind of loop. but i want it to repeat this every 100 milliseconds?
View 3 Replies
Oct 5, 2009
I want to make a form which is pop up in window. so, user can not do anything with this form displays. If user close this form, so user can open explorer or . . .. .In all, I want to make a form which pop up like shutdown menu in Microsoft Window, so user cannot click any place beside this form.
View 2 Replies
Mar 28, 2011
I have a form being called form several forms using ShowDialog().
1. Is there a way for called form to know which form called it by receiving a code or key from the calling form?
2. The calling form has a gridview. How can the called form pick up a column's value from the currently highlighted row in gridview in the calling form?
View 4 Replies
Sep 11, 2009
How can I make a Form act like a message box, where you can't return back to the main/parent form until it has been closed?
View 4 Replies
Jul 24, 2009
How can I make a form scrollable?
View 2 Replies
Sep 9, 2009
how would you make the form fullscreen
View 3 Replies
Mar 23, 2010
I'm trying to create a child form that helps the user to enter data for a field in the parent form. I want this child form to be modal, but I don't know what I need to do to make this form modal. Perhaps there's a different type of item I need to use; if so,
View 2 Replies
Apr 9, 2010
Is there any way to make a button on a form momentary? I have an app where I need to have a jog button for a motor and for the life of me I can't figure out how to do this.
View 6 Replies
Aug 5, 2010
In my (VB.Net+VS2008) application, I want to make my windows form (splash) more responsive as there is some complex functionality is performing while loading splash form. Currently when any other application come in front of splash screen and then minimize then splash screen looses its proper visibility and showing some hang kind of state also.
I used Application.DoEvents(), but it doesnt work. I cant use background worker because it doesnt support UI related changes. i.e. Initializing some UI components on shown event of splash screen.
View 1 Replies
Jan 11, 2011
to make my form full screen. i need the screen to be on top of the task bar and on top over any other application that is running behind it.
View 3 Replies
Nov 9, 2010
I am trying to fetch some specific data from a file which is updated frequently. So, i am trying to make my form wait till i get a particular data. i am using Threading.Thread.Sleep(10000)to wait and again check the data.
but form is getting hanged (showing NOT RESPONDING)
How can i make my form to wait for some time?
View 1 Replies
Aug 13, 2009
ok well eh i have a interface where i can login, but i must set the status to tell whether i am student or staff login.
View 1 Replies
Aug 15, 2010
I want to make a software for game zone when running user should only see the form and also how to remove closebox.
View 1 Replies
Mar 20, 2011
how can i make wizard on certain form ;for example form have question multi choice when i select on of them show next button when i click on next button show next question and choice.
View 1 Replies
Nov 17, 2009
I'm trying to make an MDI parent form to call other forms. I have put this code which I found in a post here into the main form which I added to my project as an MDI parent form:
[Code]...
I get an error message which say FrmEmbed is not defined. How can I correct this?
View 4 Replies
Jul 29, 2009
here's how to make a moveable form in case you let off the title bar
(formborderstyle = none ) Dim down, init, curpt As Point
[Code]...
View 2 Replies
Feb 5, 2010
I have 2 textboxes one for datetime picker and another for entering the name. i waant to make the datetime textbox invisible when the form is executed & when i press save the data from both textboxes should be saved into the database.
View 3 Replies
Jan 7, 2011
I'm using VB 2010 and simply want to have a button on the form that says Minimize.I want the form to minimize to the task bar or the notification section .I've looked at other ideas, but the code is for prior versions of VB (2003 and 2005) and some for C #Could you please email me some sample code to handle this?
View 4 Replies
Jul 12, 2011
I had a master form which has a MDI container.When I was load the master form, I will also display another form inside the MDI container.But I was fail to maximize the child form to fix the MDI container. The image below is my problem Untitled2.jpg. I need to expand the form above to touch the MDI container border. (Full size in the MDi container)But I was fail even I was set the child form window state to Maximized
View 3 Replies
Sep 8, 2010
I have three form First Form is MDi form and Second Form Is Child Form and third Form Is small form.The small form conatin DataGridView searcher for name and I want whe I press the Event Mous Click he copy value from cell"column" of DataGridView to Child Form..[code]
View 7 Replies
Jan 22, 2011
how to pass value from one form into another form...? for example if i have 1 mdiform and 2 form (form1, and form2) for load form1 i'm using system.reflection.assembly here is the code for load form1 :
Imports System.Reflection
Private Asm As Assembly
Private FrmNama As Form
Public Function GetForm(ByVal FormName As String) As Form
[code]....
after form1 load i call form2 from form1 and from form2 i want pass value, here is the code from form2 to pass value into form1 :
form1.textbox1.text = textform2.text
why value from form2 can't fill into textbox1 in form1?
View 15 Replies
Feb 23, 2009
How I Can open the same form in my application one time only can not open the form tow time in same time
View 5 Replies
Mar 11, 2010
I have VB2008 Express.I have a main form. From the main form you are eventually lead to form 2.
Main Form - Form 1 - Form 2 - Form 3 I want to monitor how many times someone gets to Form 2. How many times Form 2 is opened but then closed without proceeding to Form 3. I do have an "exit" button on form 2, that will go back to Form 1.
View 2 Replies