Make A Button That Will Save Changes In One Form That Will Affect Another Form?

Jun 9, 2011

I need to make a save button. The user will work in main form. User also has Settings in the MenuStrip, when the user clicks Settings a new form will open. There user has ability to make changes that will affect the Main form. This is the code:

If CheckBox1.Checked = True Then
bib.Panel2.Hide()
End If

This is the change that the user will be able to do that will affect the Main form, but I'm not really sure how to make that the CheckBox1 will be saved when the user clicks it and the clicks OK button. I also want to know how to make a cancel button.

View 8 Replies


ADVERTISEMENT

Make A Login Form That Will Save Data To Form 2?

Apr 25, 2009

Im using 2 forms

How Would i make a login form that will save my data to form 2 like i sign into form1 and it saves like my username/email and password from form1 to form2

View 3 Replies

Form In VB 2008 - Use A Button To Save The Form

Jul 5, 2010

I have a form in visual basic 2008 in design view. how do i use a button to save the form i am working on, and then open a new form, I think the code is something like this!

Private
Sub Button2_Click(ByVal
sender As System.Object,
ByVal e
As System.EventArgs)

[CODE]...

But how do i open form2 and close form1 Using the same button. the code Below does not work (Why?)

Private
Sub Button2_Click(ByVal
sender As System.Object,
ByVal e

[CODE]...

View 10 Replies

Save The Last Dragged Button On The Form And Also Detect The Name Of The Last Clicked Button?

Sep 5, 2009

I have already done the creation of button and the dragging of button at runtime already.But now i need to know how do i save the last dragged button on the form and also detect the name of the last clicked button.so lets say i now drag a button to coordinates 25,254. so when i exit the form and the next time i launch it, the button will still be at 25,254. and this one will go on for the number of button i created like 100. so when i launch the form the 100 button will be at the exact position where i last saved them.the second part is lets say i created button1 and button2 on the form in runtime. so when i clicked the first button, it should display button1. and if i clicked on button 2, it should say button2. same goes for like 100buttons.

[code]...

View 1 Replies

Make A Button To Send You To 1 Form If You Have A File And Another Form If You Dont Have That File?

Mar 9, 2012

i have my code until now,like a set-up file.First when i click on my button it sends me to the form with the setup steps,when in setups it is copying a identical file into the startup menu.I want my button to check if i have that file into the startup folder,if i dont have it to send me to the setup if i have it to send me to the form with the program.I must mention that there are 2 forms,the setup form and the form with the program.Until now i tried this,but it dosent work so well...

Public Class Form1
Dim OS() As String
Dim UserName() As String[code]....

Checks,if i dont have the copy-cat of this file it sends me to the setup where it is copying the file.And if i have the copy-cat in the startup folder then send me to the other form:).

View 2 Replies

Create A Window/Form Within The Edit Button That Would Say  Something Like "select Excel Sheet" Along With A Save Button?

Jul 28, 2010

I am busy with a Windows Forms application.The purpose of the application is to convert Excel documents to HTML format so that they can be published to a website.I have most of the code finished and the application is looking really good.I have although encountered a problem. On the Form I have created an Export, File and Edit button.With the edit button I would like the user to be able to select whether they would like to save the 1st,2nd,3rd sheet and so forth.

I would like to create a window/Form within the edit button that would say something like "select excel sheet" along with a save button where the required sheet number could be saved or selected as a standard save procedure everytime.I know that I need to do this with the settings.settings control. I have tried numerous ideas up until now but it continues to baffle me.

View 3 Replies

How To Make The Form Open A Game Save

Sep 2, 2011

I am very much a beginner to VB.net and I'm still flicking through tutorials, learning basic stuff however I need to make a program fast and need help with it. I need to know how to make the form open a game save,whether that be for PC, Xbox or anything else.

View 3 Replies

Make A Checkbox Save If Its Checked When A Form Closes?

Oct 4, 2009

Understandable Answers

1 2 3 4 5
- - - - - Rate yourself And Have A Kitkat
5 5 5 5 5

View 16 Replies

Office Automation :: Create A Save Button On Infopath Form That When Clicked

Jul 29, 2011

I'm trying to create a save button on my infopath form that when clicked, it automatically saves the infopath form to a directory. I'm running into some issues, I thought it would be simple but is quickly becoming confusing. [code] I've tried searching all over but couldn't find an answer that pertained to xml documents such as an infopath form.

View 4 Replies

VS 2010 : Coding A Save Button And Combo From A Form To Work With A Access DB?

Feb 23, 2011

I am a bit stuck with coding my save button and combobox.My entire form is ready, database is linked.All fields from DB are linked to their textboxes on the form.But i just ran into a big wall which i cant seem to break down.My save button, which is used to save the content from all the textboxes on the form to the access database refuses to work.The other this is, i want to use a combobox on my form to view the already saved entries in the access database.I think a combobox works for that, but i am not exactly sure how to pull that one off.

View 5 Replies

Get A Button On Form A To Open Form B And Then Close (not Hide) Form A When Clicked?

Jun 12, 2009

get a button on form A to open form B and then close (not hide) form A when clicked?Background: I am coding a VSTO application for Excel in VB2008.

Private Sub FormAButton_Click(ByVal sender As System.Object, _
ByVal e As System.EventArgs) Handles FormAButton.Click
Dim FormB As New FormB

[code]....

View 1 Replies

Make A Refresh Form Button?

Jun 15, 2012

I want to have a button on my form that will close the form itself and then reopen itself essentially refreshing the form. i have read several posts about this topic and most people say use the hide and show functions but i don't want to hide the form i want to close it. I have also tried to use the form1.refresh thing and that doesn't work either.

View 5 Replies

Make Form That Contains A Button And A Listbox?

Apr 12, 2009

I'm new to VB and I'm learning, but I have this program I need to finish by Wensday, and I'm having a problem with it.The form contains a Button and a Listbox. Also I had to make a text file with 5 names and those 5 people have 5 grades a piece. The program should calculate the data from the text file and provide the Listbox with the following"In zone format, the students name, each five grades, the final grade average and a Final letter grade."Example:

Student Name G1 G2 G3 G4 G5 AVG GRADE
Caca Crispy 100 80 92 90 100 92 A-
Epic Fail 65 62 80 90 100 79 C+

[code].....

View 5 Replies

C# - Commit Current Dirty Cell On Clicking Save Button From Any Datagridview On Form?

Dec 14, 2009

I have a form with multiple datagridviews. On save the entire dataset will be serialized to a strongly typed property bound to a sql varbinary(max) Works fine. Of course the current "dirty" cell will not be saved as mentioned here :

[URL]

My problem is the user could be coming from any one of 20 datagridviews when they click SAVE. Is there any way, short of checking for a dirty cell in each datagridview to commit any dirty cell before the save ( clicking another textbox control before the save does the trick but calling the focus() of that textbox prior to the save does not ) I was thinking perhaps catching the event of leaving the grid but it seems the base problem is clicking a button (for reasons I think I understand) does not fire lostfocus events for the current control and it doesn't seem the click handler args knows what the last current selected control is.

View 2 Replies

Can't Make A Button To Print My Form On That Tabpages

Mar 28, 2010

I can't make a button there can print my form on that tabpages

View 12 Replies

Forms - Make A Button On A Form Momentary

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

How To Get Form To Make A Copy Of Itself On A Button Click

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

Make A Form Read Only Until A Certain Button Is Clicked?

Nov 17, 2011

I also need to know how to make the same button create a folder to save a txt file in. I havnt yet figured out how to save changes made into my program, that way next time i open it, i can continue where i left off.

View 4 Replies

Make A Thread-safe Call To A Button On Another Form ?

Jan 30, 2012

I am trying to make a thread-safe call to a button on another form and I cannot figure out how to do it.I have read all of the MSDN documentation on thread-safe calls .

View 10 Replies

Make A Form In Visual Basic Have A Fullscreen Button?

Feb 17, 2010

I have a form in visual basic 2008 express edition and i want to be able to press a button to make the form go into fullscreen i have tried various codes but they all just remove the taskbars and i want the form to increase in size and not leave a section of the side blank i want it to sort of zoom the form size

View 10 Replies

Make A Form With A Recieve, Ship, Value, And Exit Button?

Apr 28, 2010

I am suppose to make a form with a recieve, ship, value, and exit button. You are suppose to be able to click a button an input box comes up and whatever your put in there is suppose to show up in the text box and whatever number you put in is suppose to keep adding to textbox. Does anybody know how to do this?

View 14 Replies

Make Form Grow Vertically When Button Clicked?

Sep 9, 2011

How would i make a form grow down vertically like say 200px when i click a button ?

View 5 Replies

Make My Form Bigger With A Click Of Command Button?

Jan 15, 2010

How to make my form bigger with a click of a command button?

View 2 Replies

Make Changes To Pq Will They Affect ProcQueue1?

Mar 1, 2011

Private procQueue1 As New Queue(Of c_proc)
..
..
..
Private Sub updateQueue(ByVal num As Integer)

[Code]....

If I make changes to pq will they affect procQueue1?

View 3 Replies

Save The Form Settings Like A Save State Of The Form

Sep 17, 2010

I need to save the form settings, like a save state of the form. Because the program allows the user to add controls. I would like to be able to save them and load them. BTW: The controls are Panels and Labels. BUT! The Panels are a modified version of the control, known as NewComp. This simply allows the user to drag the panel around the form.

View 11 Replies

Make Flash Go On Full Screen Mode When Click On The Form Button?

Oct 3, 2009

How do I make flash go on full screen mode when I click on the form button?[URL]

View 32 Replies

VS 2008 Make A Save Button To Save To A New Text Fil?

Nov 4, 2010

I want to make a save button to save to a new text file with the data in the text box if modified. Currently the program just opens Data.txt and displays a sentence in the text box.

Public Class frmAddress
Private Sub btnDisplay_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnDisplay.Click

[Code]....

View 2 Replies

Working With Arrays - Make It Global And On Form Load I Wanna Show It's First Position And On A Button' S Click

Apr 8, 2012

Dim LabelArray(12) As Integer
LabelArray(0) = Label3.BackColor = Color.White
LabelArray(1) = Label4.BackColor = Color.White

[CODE]..................

i have made an array. first of all i want to make it global and on form load i wanna show it's first position and on a button' s click i want to increase it's position by one how can i do that

View 2 Replies

Save Button Which Firstly Validates What The User Enters The Form - If The User Skips The Text Fields

Jun 11, 2011

I was developing my own project in the university so what i am stack is to have save button which firstly validates what the user enters the form. for instance if the user skips the text fields, i wanted to restrict the user to fill all the form and when he completes, the save must be accomplished.

Here's the code i was trying to put but i was having problem saying the windows.forms.etc is unable to convert the save as Boolean and something like that.

Dim success As Boolean
Private Sub Save_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Save.Click

[CODE]...

View 5 Replies

VS 2008 Form - 'Exit' Button - When User Clicks It, Another Form Is Displayed

Jun 2, 2012

On each of my form I have put an 'Exit' button. When user clicks it, another form is displayed (I don't want to use 'MessageBox') asking user whether he really wants to quit. If user clicks yes the form closes. If user clicks no, form is redisplayed.

However, out of 4 forms only one form refuses to redisplay. The code is exactly same on all forms. I have included 2 Express 2008 projects showing one form each in the zip file apps-ssk.zip

View 15 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved