User To Be Able To Save Certain Things On The Form

May 24, 2009

I'm making a program in Visual Basic 2008, and I want the user to be able to save certain things on the form. Would it be a good idea to save the saves items to a .txt file in C:WINDOWS? The reason I'm wanting to do this is so the user won't easily find the file and it is easily done.

View 5 Replies


ADVERTISEMENT

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 2010 Save Things Made In Checked Item Box?

Jun 28, 2010

Ok. So, how do i save things. Ive made a Checked Item Box. But i can't get any of the things to Save that i have Checked?

View 9 Replies

Making Different Things Happen Depending On If Things Have Been Set?

Jun 17, 2012

If NewEntryName.Text = "" And OpenFileDialog1.FileName = Nothing Then MsgBox("Please choose a name for your game.", vbExclamation) MsgBox("Please find your game.", vbExclamation) Else Button1.Text = NewEntryName.Text

[code].....

View 1 Replies

Windows 7 Enter To User Mode And Initialize Hardware And All Other Things Without Any Kernel?

Nov 9, 2010

I want to know: How can Windows 7 enter to user mode and initialize hardware and all other things without any kernel but with a boot loader only?

Download Genius Web Explorer , It's free.
Download Genius Desktop Clock , It's free.
Download Genius Wallpaper Changer , It's free.

View 3 Replies

VS 2010 : Make A Form With Multiple Buttons Opening Different Things Than Having A Form That Has Lots Group Boxes For Each Tab?

Jul 25, 2011

Is there a better way to make a form with multiple buttons opening different things than having a form that has lots group boxes for each tab. So in the begining each box will be invisible and when you click the button the corresponding group box will become visible. Is there any other way?It will be like a background image and it'll have buttons that will mask it with invisible buttons. when the button is clicked it will open the corresponding group box.

View 5 Replies

Forms :: Make A Notification System - Aim - New Little Box Will Show Up To Alert The User Of A Couple Different Things

Feb 10, 2009

I want to do is make a notification system, kind of like aim were a new little box will show up to alert the user of a couple different things.

This is how far i have gotten :

Dim popups As ArrayList

Public Sub newEvent(ByVal title As String, ByVal description As String)
popups.Add(New Form())

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

I use an arraylist because i dont know how many messages will come around the same time, but i could switch to an array if i must. this is the form that i made as kind of a template :

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

Its just got a couple text boxes for now. how can i make these new forms every time i have a new message to display and the clean up after them when they are done.

View 1 Replies

How To Save Different User Inputs In Form To Harddisk

Jan 22, 2011

i have created a simple form which takes some input from the user. Now, I want that the input should be saved to my harddisk and can be seen later as well. Can you please tell me how to save the inputs as a record on my harddisk.

I mean the first time the form appears, it has four options. All the four options will be a record. The next time the form is re-loaded, then the same four fields will have data for someother client. It should be saved as another user.

View 3 Replies

VS 2008 Save The Default Color That The User Changes Via The Dialog Box On A Form?

Feb 16, 2011

I am trying to save the default color that the user changes via the dialog box on a form.

I have started the code as I thought below.

Private Sub btnColour_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnColour.Click
If ColorDialog1.ShowDialog = Windows.Forms.DialogResult.OK Then

[Code].....

View 2 Replies

Make An Easy Program Which Repeat Some Things And Paste Into The Form?

Aug 23, 2009

I want to make a pretty easy program which repeat some easy things for me

STEP 1: on the first picture I want it will wrote a URL in the form + example [url].....

STEP2: thenI want then the program press on the link Get video

STEP3: and after that will the program "Right click here to download the video"and copy link location

STEP4: finally I want the program will paste paste URL into a new form? is this hard to made?

STEP5: if its possible I want also have a button example name "generate" which add a number of the URL from [url]...10000 to [url]....10001 and the repeat the things and paste into the form>is this hard to wrote a program which made this steps?

View 2 Replies

VS 2010 - Creating A Program - To Secretly Save When The User Clicks On Save

Feb 7, 2011

I'm creating a program and i want it to secretly save when the user clicks on save.

In other words, i have made it so that it saves twice. Once for the user to read (like a fancy copy) and another that the program uses to open up the form.

Currently when pushed, 2 save dialog boxes come up after each other. I don't want this to happen. I want 1 to come up (the user friendly, fancy version) which is the easy part, but i also want the other 1 to save automatically and secretly without asking the user to set the destination.

View 39 Replies

Save A File In XML And Offer The User A Save Dialog?

Feb 6, 2012

Im trying to save a file in XML and offer the user a save dialog to appear so they can name the file. The file will save using a custom file extention. The problem is I keep getting off the wall suggestions and Im looking for a simple solution. Here is what I have, please only show examples using my syntax based code. Im still a bit new to Vb so posting off the wall examples

[Code]...

View 10 Replies

User Presses The Save Button To Save Data?

Feb 24, 2009

in my form i have 4 textboxes and i want all not to be empty while saving the data.I have put condition in save button,when user presses the save button to save data, to check all the textboxes not to be empty. My question is that, i want to focus to that particular textbox which is empty during saving the data.

For example: i have txt1,txt2,txt3,txt4 as textboxes in the form if txt1 is empty while saving, the focus should switch to txt1 rather user himself have to go there.

View 16 Replies

Save Application Settings But For USER But Cannot Find The User.config File

Aug 7, 2009

in vb.net i am trying to save application settings but for USER but i cannot find the user.config file

when does this file get created?

i searched my entire hardrive. i also searched the entire project.

View 2 Replies

Visual Basic Input User - Save What The User Types In The Vb Code

Jul 14, 2009

I'm trying to save what the user types in the vb code Dim user as Inputbox("") for example in a .txt file i can save the textbox and listbox but i cnt figure out how to save the inputbox i really need this to be saved the most.

View 7 Replies

Save Data (some Text That User Type [as Password Etc]) And Save That Password On Same Location Where Is Application?

Dec 25, 2011

how to save data (for example some text that user type [as password etc]) and save that password on same location where is application. After saving I want to have also Load option so we can load saved data.

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

Allow User To Run / Save A .pdf

Oct 13, 2010

I am developing an ASP.NET project and would like to allow the user to run/save a .pdf when they click a button. The .pdf would be specific based upon other information filled out on my site, so it would be generated from code behind. Any thoughts? (example of pdf: dim url as string = url...

View 3 Replies

How To Save User Controls

May 31, 2010

Ok so i have a program that when you click a button it creates a picturebox were ever you want it well how do i save all the pictureboxes created and load them back in on load?

View 1 Replies

Save User And Passcodes

Sep 27, 2009

I made my first app, a basic calculator, i figured something easy that i could make by self without copy/pasting. Now i have decided to make it like a little toolkit with a basic calc, word processor type thing. Now for right now i want it only used by me, so i used a Login form the Visual Studio 2008 so conveniently provided. My questions is how would I make a form where a user and pass could be created, saved in a database, and then when used, the user and pass could be called from the database?

View 5 Replies

.net User ID One Time Logon And Save?

Jul 7, 2011

i could use some help with this program i'm making, Script:

Public Class logon

Private Sub logon_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Try
Dim client As New Net.WebClient
RichTextBox1.Text = client.DownloadString("ftp://null:null@null.com/users.txt")

[Code]...

View 2 Replies

Have A User Save A File From A Server

Nov 9, 2010

I create an xml file from a csv file that a user uploads. What I want to do is display a link that says click here to download and have it pop up a box where they can save the specific file I just created. I can't seem to find any examples on this.

View 2 Replies

How To Save Changes In Workbooks Without Prompting User

Jan 19, 2010

How Do I save changes (made by excel itself) in workbooks without prompting the user?

View 14 Replies

Save Picture Selected By The User?

Sep 11, 2009

May I know if its possible to save a picture file like .jpeg file in vb after the user chooses his picture? As i want the user to be able to save the picture that he chooses at run time. So that the next time he runs the app, the picture will still be there.the below is the code that i used to open the picture.

Dim strFileName As String
OpenFileDialog1.InitialDirectory = "C:"
OpenFileDialog1.Title = "Open an Picture File"

[code]....

Is it i save using the my.setting part? but i'm not so sure abt the setting type. AS there doesnt seem to have system.drawing.image.

View 4 Replies

Save User Preferences In A File?

Jan 31, 2010

I'm trying to save user preferences in a file, when the account is made, an XML file is created with default values:

<?xml version="1.0" standalone="yes"?>
<NewDataSet>
<accountPrefs>

[Code].....

So basically i'm trying to set the colour of fonts and split containers, using the names of the colours which are stored within an XML file that each use has. ( the values are read in correctly as i set labels to test them out. )

View 1 Replies

Save User Settings At RunTime?

Aug 12, 2010

This has 2 ComboBoxes, 2 Buttons, a FontDialog & a RichTextBox.The code I used :

Public Class Form1
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
ComboBox1.Items.AddRange(New String() {"London: 51N30, 00W07", "Paris: 45N38,5E44", "Colombo-Sri Lanka: 06N55,79E50", "Chennai-India: 13N05,80E17", "Sydney-Aus: 33S53, 151E13", "Toronto-Canada: 43N40,79W25", "New York-USA: 40N42,74W00"})

[code]....

View 8 Replies

User To Choose Save Name And Area?

Apr 7, 2011

Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)
'Creates a string that holds the path to your file.
'this path uses the Special Dir .MyDocuments
'so on my computer LogPath = "C:UsersTechNoHickDocuments"
'on your computer LogPath might = "C:UsersKirbyDocuments"
Dim LogPath As String = String.Format("{0} est", My.Computer.FileSystem.SpecialDirectories.MyDocuments)
Dim FileName As String = "test.txt"

[Code]...

I am using visual basic 2010 express and would like to know how i can use a text box of sorts or windows explorer function to allow a user to save a file to a location of their choosing.At the moment a folder and .txt file is created in the mydocuments folder of the user's computer using this code

View 2 Replies

VS 2010 Where To Save User Data

Jul 9, 2009

I need my application, save the data for each user ... In short, whenever you start the program, it will do a check of these data.I had thought to save the data in an external XML file, but if this file will be deleted? Or use the registry and save the data using a registry key, as many programs (I think) save the activation (SN) of a program...

View 4 Replies

Webbrowser Save User Information?

Aug 29, 2009

Does anyone know how I would go about saving usernames and passwords from websites using a webbrowser control?.Like with IE7 you can save your website passwords and stuff and have it automatically entered when you re-visit the site.

View 4 Replies

What Is A Good Way To Save A Dataset For Another User

Jun 16, 2010

I have a program that takes data out of an excel worksheet and puts it into VB.NET datasets. The user can then manipulate the data using the windows forms application. At this point, I want the user to have the capability to save his/her data to some kind of file, email that file to a friend, and have the friend be able to view the same data with the windows forms application. I'm not looking for syntax, just a suggestion of a good way to go about this. Would the best way be to write to an access database and then use sql queries to get it out again? I've had a hard time figuring out how to write a dataset to access via VB.NET.

1. Start with Excel Data

2. Convert to VB.NET Datasets

3. Manipulate Data in form applicaiton

4. Save manipulated data in some type of file that can be sent to a friend

5. Friend opens manipulated data file in form application and can view and manipulate the data further

View 2 Replies







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