Save Values From The Multi Same Form?

Mar 26, 2010

Can I save values from the multi same form? How?

Sample:

on this form - one datagridview, one textbox, one combobox.

View 3 Replies


ADVERTISEMENT

Save Multi Same Form Values With Access?

Mar 18, 2010

1. how to save the multi same form values with vb.net & access?

2. One of the combobox - room names (computer center, first meeting room, second meeting room, etc) on this multi same form, but it is limited from the admin, actually,the admin will assign the room to the manager to set the room. (I will do this room names combobox from the other table binding.) My question for this, is possible to have multi same form, but with different combobox values for each manager?

View 1 Replies

Different Values Of Combobox On The Multi Same Form?

Mar 26, 2010

Is possible to have different values of combobox on the multi same form?

Actually I want to make a multi same form, but with one combobox to set the authority. When different persons to use this same form, I will have different selection limited on this combobox,

View 4 Replies

How To Save Form Control Values

Nov 20, 2009

I have a form with a couple of multi-line text boxes, a couple of radio buttons, and a couple of check boxes. When the form is closed I need to save the values of the textboxes, radiobuttons and checkboxes so their values will be retained next time the form is open. I've done this in VB6 on form open and form close, but I cannot get the same module to work in .NET

Here was what I used in 6.0 to save:
Sub SaveFormState(ByVal SourceForm As Form)
Dim A As Long ' general purpose
Dim B As Long
Dim C As Long
Dim FileName As String ' where to save to
[Code] .....

View 3 Replies

Save Listbox Values When Form Is Closing?

May 23, 2012

How Do I Save Listbox Values When Form Is Closing? and how do I load saved listbox values when my form opens again? Listboxes just don't seem to want to save. I suggest trying it out before posting unless you know the answer because simply using property binding in the applications settings doesn't want to work.

View 3 Replies

(VB2010) Save The Values To A File Which Loads The Values In The Specified Labels On Startup?

Jun 2, 2011

lets say I have a form (form1) with lables a-z which are all designed with default text "0". So they all show 0 on program startup. which is fine. I also have a dialog with 2 TextBoxes; I want my program to update the default text/value on (only)form1 labels x, y and z to whatever was put into the textboxes when i press the OK button on the Dialog, so these specified labels show the 'new' value on next startup. Is it even possible or should I save the values to a file which loads the values in the specified labels on startup?

View 5 Replies

Save Multi-colum ListView?

Sep 27, 2009

I have a favourite form and it has 2 colums i want to save both colums to a text file then when the form reloads i want it to read the text file and display the info in the text file

View 1 Replies

Forms :: Save The Text Box Values Of A Form To A Text File?

Jul 26, 2009

I have to save the text boxe values of a form to a text file almost like a data record. I will be saving an Employee First Name, Last Name, Dept Number, and Phone Number. This I know how to do using streamwriter.

next form which we have to use stream reader to load one record at a time. The form has a next button to load the next record. How do I seperate each record (I am sorry for calling it a record if this is inappropriate) when use streamreader and how do I load a record at a time.

I know how to open a file and use streamreader, I just don't know how to read one record at a time and move to the next one.

View 1 Replies

Converting Multi-byte Hex Values To Decimal?

Apr 25, 2011

How would I convert the two individual byte values (in hex) to a decimal value representing the concatenated hex values? For example, if I have the

Dim byte1 As Byte = &H99
Dim byte2 As Byte = &H99

' I want the decimal representation of the hex value "9999" ' (byte1.ToString + byte2.ToString) which should be "39321" Currently I use the following code:

Dim decVal as integer
decVal = Val("&H" + Hex$(byte1).ToString + Hex$(byte2).ToString)

However, when I use this, the value (decVal) comes out to "-26215"

View 2 Replies

Get Values From SelectedItem In A Multi-column ListView In WPF?

Jun 29, 2011

I have a ListView control as below

[Code]...

View 2 Replies

Save Multi Lines Of String VB 2008?

May 6, 2009

I need to save my username and password in a file... I want to save my username on top and password underneath.

View 4 Replies

Save Multi-rows In Datagrid Into Database?

Jun 20, 2011

How could i save multi rows in datagrid in to database

i use this code but appear error message[code]...

View 5 Replies

Save/load Multiple Multi-lined Textboxes?

Aug 29, 2011

I have six textboxes that need to have the text saved/loaded. They all have random line amounts under 28 if this info helps at all.

View 7 Replies

Multi Column List Box Array Resets Before Adding Next Values

Mar 13, 2010

When I implement this code, the first time the button is activated, the values are placed in the array, and displyed in the list box. However if the user then selects more days and times to add to the list box, and activates the button again, the previously added entries in the array are erased, and only the new entries are displayed. How can I prevent previous entries from being erased? If the user wants to add values, they need to be added to the existing values.[code]

View 1 Replies

Multi-Dimensional Arrays - Code To Set Array Values And Store Them In A Variable

Aug 7, 2010

I have this code to set array values and store them in a variable,

Dim productName As String()
Dim productPrice As String()
Dim productCategory As String()

[CODE]...

How do you get the variable values to output like this?

<input type="text" value="Chang Beverages $19.00" id="Chang" /><br />
<input type="text" value="Ipoh Coffee Beverages $46.00" id="Ipoh Coffee" /><br />
<input type="text" value="Gula Malacca Condiments $19.45" id="Gula Malacca" /><br />

View 2 Replies

Create A Multi Client Scheduler Using Visual Basic That Save Data In Xml (as A Database)?

Jun 13, 2010

I am a student and trying to start a programming career, my colleague asked me to make a multi tier or multi client desktop application for the schedule tracking using xml as a database; however the desktop application would be deployed in one or more computers but my leader can monitor the info from her office in addition she wanted me to put administrative privilege to avoid unauthorized access in some database features of the system. an info regarding multi-client desktop app.

View 3 Replies

Open (2nd) Form From (1st) Form In Multi Project Solution In VB

May 14, 2011

I have read a lot of the prior questions/answers on this topic but it only took me so far. I have a solution to which I added 2 additional programs. These 2 added programs in essence create a PDF2TIFF converter using GS. I wish to call that form and use it as a utility from my main program. After reading other answers in the forum, I added these two programs as references in the main program and imported everything available, into the main program. I have what seems to be a correct build order set up. I want to open the form in the utility project(s) from a link on my main form. I tried a few things but the only way I could write the code without errors was to instantiate the second program then call that with a button click.

[Code]....

View 5 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

VS 2008 Multi Form With Same Form

Jul 23, 2010

i want to make multi form with same form one for the display ,one for update all are Similar but some difference for every one.

View 5 Replies

Multi-threading Forms - Open A Separate Form As A Separate UI Thread From The Start Up Form

Oct 27, 2011

I have a few forms that have a lot of really intensive updating along with a great deal of user interface (text boxes, button clicking etc) Is it possible to open a separate form as a separate UI thread from the start up form that called it to "show" or open or whatever the new method might be?

View 6 Replies

Changing Multi-langauge On Form?

Feb 14, 2009

I cannot get my application to display in English, it always displays in French I have an application that uses 2 languages. The default language is en-GB and the second language is French For setting the text of the buttons and labels. I have set the localized property to true and changing the language to fr-FR on the form. So setting the default languages controls by choosing the default the language property, and then switching to French language to set the French controls. So I have the following files:

Code:formMain.resxformMain.fr-FR.resxformMain.Designer.vbformMain.vb

And for message boxes and other strings I have added these 2 resource files

Code:formMain.Strings.resxformMain.Strings.fr-FR.resx

So if I want to switch to different languages I have changed the cultureInfo as follows:

Code:If My.Settings.Default.Language = "fr-FR" Then Thread.CurrentThread.CurrentUICulture = New CultureInfo("fr-FR")Else Thread.CurrentThread.CurrentUICulture = New CultureInfo("en-GB")End If

And for string I use the following:

Code:MessageBox.Show(formMain_Strings.SameStringName)

I also an address book form that is a child of the formMain. Which I have used the same method. However, the address book works as normal, but the formMain never changes to the language I want. Even though tested by explictly setting the language to en-GB in the form constuctor before the inializeComponent() it will always default to French.Not sure why the address book (child) work correctly, the parent form (formMain) will always display in French, no matter if I have set this to en-GB.I am 100% that my method is correct using what I have show you above.I was thinkng about deleting the formMain and creating a new one. But that would mean doing everything again and would take too long.

View 1 Replies

Make Multi-form With VB & Access?

Mar 9, 2010

I don't know if is possible to make multi-form with vb.net & access.

I don't have code from now.

Actually I want to make a project, to assign a new form (one form with one table) to a new person for each time, it will be multi-form with tables, right?

How do you to make a new forms with tables?

This project is about the admin to assign the jobs to managers, so the managers will use same blank new form and to manage jobs, it is the room setting for multi-manager.

View 3 Replies

VS 2008 Multi-threding - Adding Multi-threading Facilities - Cross-thread Operation Not Valid

Feb 10, 2010

I'm adding multi-threading facilities for the first time. I have a function that is wrapped to be run in a separated thread. This function retrieves data (text) from a combobox and it works for sure without multi-threading.

When I call it as multi-threaded, I get the following error when I try to retrieve the data from the cmobobox: Cross-thread operation not valid: Control 'cmb1stBL' accessed from a thread other than the thread it was created on.

It looks like a restriction of thread-safety... I assume that the child thread cannot read from his parent, to make sure that he doesn't change his parent data. So how can I read the data from the combobox? Should I read the comoboxbox data before calling the child thread?

View 4 Replies

Accessing Multiple Sites Multi-threading Or Multi Browsers?

May 14, 2011

I have a need to build an app that will access about 10 websites and pass data to them, etc.I've read about something called multi-threading when searching Google. I've also seen people say that they use multiple browsers.Which route is better to use? I figure if you have to do some sort of multi-threading that you would access a single browser?

View 2 Replies

Convert A Multi-form Project Into One EXE File?

Feb 9, 2011

how to do this, but I do not get ANY of them. I just want to know how to convert a multi-form project into one EXE file. I have 2 forms, but I want to know if there's a way to have only 1 EXE file.

View 5 Replies

Create A Cancel Form / Multi Task?

Feb 27, 2009

i have a function to export data with some loops now the problem is that when he is exporting the data the program stop responding and only respond when the job is done, and i need a option to cancel the job when it is running but the problem simple block all forms that is opened how can i creat some multi task for fix that problem?

View 1 Replies

Create A Cancel Form / Multi-task?

Feb 27, 2009

i have a function to export data with some loops now the problem is that when he is exporting the data the program stop responding and only respond when the job is done, and i need a option to cancel the job when it is running but the problem simple block all forms that is opened how can i creat some multi task for fix that problem?

View 1 Replies

How To Create A Cancel Form / Multi Task

Feb 27, 2009

i have a function to export data with some loops now the problem is that when he is exporting the data the program stop responding and onlyrespond when the job is done, and i need a option to cancel the jobwhen it is running but the problem simple block all forms that is openedhow can i creat some multi task for fix that problem?

View 2 Replies

ListView - Resize Multi Columns In Form

Aug 19, 2011

I got a very simple question regarding resizing listview columns. I have a form with a listview anchored to it (top, bottom, left, right). The form is resizable and the user will be able to resize the listview columns manually. However, I need the listview to resize its columns automatically when the form is resized (especially when its maximized).

But, I don't want all the columns to resize, only the ones I choose. For example, the listview will have 6 columns in total (0-5). When the user resizes or maximizes the window, I need only columns 2 and 4 (or columns 3 and 5 or columns 1 and 5) to resize. Now, I have come up with two pieces of code as listed below.

Code Part A: The following code only resizes one column. When the form is maximized, only the column ID provided will resize and fill the rest of the control. It works perfectly but I need to be able to resize multiple columns (as explained above):

Public Sub lvResizeSingleCol(ByVal resizeColumn As Integer, ByVal listViewName As ListView)
Dim w As Integer = 0
For column As Integer = 0 To listViewName.Columns.Count - 1
If column <> resizeColumn Then
w += listViewName.Columns(column).Width
[Code] .....

View 2 Replies

Properly Close A Form While Multi-threading

Jan 4, 2012

I thought Me.Close() works, but hey I'm a noob at this. Right now I'm using:

Form2.Show()
Me.Dispose()
Me.Close()

but now that I've published it, I have to pull up my task manager and do end process to actually close the app. This wasn't a problem until my office started using a public drive and everybody was using the program at once. An error popped up saying that the connection string wasn't initialized, but it worked on the computer that opened the app first. Maybe the real issue isn't properly closing the form, but that is annoying that I have to use my task manager to close my app.

View 6 Replies







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