Save / Load / Display VB08E
Aug 9, 2010
I am making a basic program for a school assignment. It needs to use entered data to calculate an average and connect names to results etc. etc. It then has to store the data to an array. After all the data has been entered, the array must be stored to a batch file.
[Code]...
View 11 Replies
ADVERTISEMENT
Mar 20, 2011
I want a rich text box to display public variables like (pizza toppings links etc that have been selected in other forms) these variables have declare in a module. But I want the rich text box to display these variables as soon as the screen loads ( a on form load event) if you know what I mean.
View 1 Replies
Jun 1, 2011
In trying to test some graphic features, I am trying to get them to display on load so button doesn't have to be pressed. I used the following code as suggested from forum. Message boxes run but ellipses aren't displayed until button is clicked which is what I am trying to avoid!
Private Sub Form3_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Button1.PerformClick()
Button1_Click(Nothing, Nothing)
[code]....
View 5 Replies
Feb 28, 2012
Cannot get list box to display each increment and cannot get data to save correctly in order to display.
Public Class Projectile_Motion
Dim initialHeight As Double ' Holds beginning height
Dim initialVelocity As Double ' holds velocity
[code]....
View 14 Replies
Nov 9, 2010
DataGridView i will like for DataGridView to Save when i close my application and i will also like to Load when i open my application.
View 5 Replies
Aug 4, 2011
how can i save load a listbox? [code]
View 2 Replies
Jan 26, 2009
I wanna save and load my color selected by ColorPicker like this[code]...
View 9 Replies
Mar 16, 2010
I have been playing around with Visual Basic for about a week now. I created a program that I use at work basically just to organize my day.
The program consists of buttons that link to programs and spreadsheets that I use often, as well as a checklist of tasks I've completed and text boxes that I use for reminders. Other buttons affect GroupBox texts and Label texts.
What I'd like to know is how I can implement a Save and Load button? I'd the current state of the program to be saved so it can be loaded in the event that I have to shut the program down. (Check boxes checked, Text in Text boxes, Labels, etc...)
I've been looking online for HOURS and I've messed around with the SaveSettings feature... nothing seems to work.
View 2 Replies
May 6, 2010
I have a treeview control that contains an Active Directory OU structure and I want to save this to an XML file, and load it again later.
When I save an OU that has a space in the name, I get an "XMLException was unhandled" error. The description is "The ' ' character, hexadecimal value 0x20, cannot be included in a name.".[code]...
View 4 Replies
May 23, 2012
I was wondering what is the easiest way to save and load data through different forms in vb. I just want to save 3 textbox.text that a user saves and be able to load it on a different form.
View 3 Replies
Nov 13, 2009
I'm building a web browser But im haveing an issue saving the Bookmarks and reopening the book marks
and also reopening the url when its clicked
i have a multi-colum listview
with 2 Coulums "Name" And "URL"
i want to save it on from close to a XML file and then reload them on form open but i dont know how to do it
also i want to set it so when you double click the site name it opens the URL
View 9 Replies
Feb 4, 2011
It's a game that continues for a long time and isn't done in a hour, so it is pretty annoying that if the player re-opens the game he has to do everything over again. So, does anybody know how I can make a save/load system? Like that on the first form of the game there is a "Save" and "Load" button. If the player presses the "Save" button, the program automatically saves the progress of the player in a file somewhere on the harddisk of the player, and if the player presses "Load", the program automatically loads the file he saved, so the player doesn't have to start all over again.
View 14 Replies
Feb 11, 2011
I have an application where the user select configuration, I need to write to function one to save the configuration when the application is closed and other load the configuration when the application is loaded, i need to use registry would you able to help me by giving me 2 small example how to save and to load from the registry.
View 2 Replies
Sep 16, 2011
I have a made a simple program with multiple forms and multi text boxes in each form where the user inputs text into textboxes. I would like to be able to save the data into a file and then be able to load the text from that same saved file.
Is there a code template that would allow me to do this?
View 4 Replies
Apr 12, 2012
Instread of using SQL Connection is there a way to save and load the rows from an .INI file and if it can, mind showing me how?
View 1 Replies
Jan 6, 2011
Let's say I got a Dictionary type object holding some important info. Well, my user wants to close the program and work on it later.
How do I save the Dictionary and other variables in one single file, which can only be read by my program itself?
View 3 Replies
Sep 14, 2008
I currently have a vb browser and cant for the life of me find out how to load a "favorites list" the furthest I've got is add text to link label and save text in a location. I also cant find an if statement stating that if a label has type in it you move to next label.
Code:
Private Sub Favourites_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Dim savef As New System.IO.StreamWriter("c:Program FilesAmaza Browserfavourite links.txt")
[Code] .....
View 2 Replies
Dec 29, 2010
give me a script that allows me to allow saving and loading in my software?
View 2 Replies
Oct 30, 2010
i am making a program that saves and loads simple RTF files from my computer to others, i am woundering how to do this. The thing i was worried about was the seccurity but i think i have it now, im using a program called Hamachi that gives you a IP through them that links to ur computer w/o accually giving out your IP. So is there anyway that i can do this? here is what i have now:
If EmailTxt.Text = "" Or PassTxt.Text = "" Then
StatusText.Text = "You cannot leave anything blank!"
ElseIf Directory.Exists("C:MJA" + EmailTxt.Text) = True Then
[code]....
View 2 Replies
Jun 22, 2010
I would like to load a file from www and save it to folder. I am using Visual studio 2008 an VB in form aplication. So how to load a file from example www.test.gg and saving it to c:/myfolder/
View 3 Replies
May 26, 2009
I've got a problem, I'm making a program that gives you the choice to add items to a listbox, these items are text. When the form loads, i need it to load text from a file into a listbox. For every line I need it to add that text to the listbox. My problem is when it loads, there's an extra line, but that's only after I close the form and open it again. The reason it happens when the form unloads is because the listbox items are saved on form unload. Now, I believe the problem is my code to save the items:
Dim Env As String = Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments)
For Each item In Form1.TP1.Items
Dim Save As New SaveFileDialog()
[code].....
View 3 Replies
Mar 24, 2009
Dear ALLCould you please tell me:How to save a TabPage that has ListBox Items ?How to load a TabPage that has ListBox Items ?Or only saving & loading ListBox Item
View 13 Replies
Nov 7, 2009
saving and loading to a file. I am using Visual Studio Express 2008.
I have an array as follows:
Dim m(100,100) As node
Public Structure node
Public i As Integer
[Code]...
and I'd like to save to a file the m array.
I am not particularly bothered about data security and looked at xml serialization but cannot get this to work to save the m array.
View 4 Replies
Aug 12, 2010
I am trying to save the last used font, font color, and background color. Then when starting myapp up again, read the data and use the last used settings.[code....
View 3 Replies
May 2, 2010
I am creating a program that uses XML files and saves them automatically when the user updates information. When I have XElement.Save("Name.xml") it saves the XML file in the same directory as the EXE. What I am trying to do is allow the user so select the location of the XML. Also is loading XML files through the loaddialog box basically the same way as XElement.Load("Name.xml")?
View 1 Replies
Mar 11, 2010
I'm building a small program like notepad and wanted to know how to make it save and load a file[code]....
View 1 Replies
Mar 19, 2011
I found this thread [URL]on saving and loading printer settings It worked fine in XP Virtual Machine, but when I try it on my Windows 7 64 bit it errors on the P.Start Line()I changed from Rundll to PrintUI and it seems to work OK saving the file, but when I try to restore using the code below, it still fails on the P.Start line.What am I doing wrong?
Dim p As New Process
p.StartInfo.FileName = "PRINTUI.EXE"
p.StartInfo.Arguments = " /Sr /n """ & sPrinter & """ /a ""c:my11_17.dat"" 2 7 c u d"
p.Start()
View 6 Replies
Oct 25, 2009
When you complete various feats in my program, on a form called "User Details" there is a label with the text that says "Complete" only when you have completed a particular game. There is a save button, and a load button, all on different forms. How could I make a save and load feature? One that saves the fact you've completed certain games - and then when you press load after exiting and reentering the program, the Complete text will reappear.
View 9 Replies
Aug 24, 2011
I have multiple controls on my form. Text boxes, radio buttons, check boxes, etc. Is there a way to move through every control on the form and save it's value, status ? Like whether the radio button is checked, or not. The value of the text box, and save them all to a text file. Then, reload the values saved in the text file in the same sequence. Without doing all this one line at a time.
View 2 Replies
Jan 13, 2010
How can i save and load items in my datagridview ?
View 1 Replies