VS 2008 Making Preferences To Program And Saving

Sep 27, 2010

The projects I've made in VS 2008 and VB6 are pretty basic. I use VS 2008 now, and I was wondering how I could accomplish something like this:Let's say I want to make a toolbar and in the toolbar (under Options...) I want to open up a dialog box that will allow users to change preferences to the software I've made. Let's say, for instance, they can set the background color of the main form to customize their software a bit.

View 2 Replies


ADVERTISEMENT

Saving Preferences In A .txt Or .ini

Mar 12, 2012

I want to save my preferences for a program. I just want to know how to do it, since I cant get how to save this file at my documents, because every computer has a different name and username, but using the My.User.Name returns 'USERNAME-PC-USERNAME' which doesn't work. For example, I want the program to create this text file 'CPreferences' at 'C:Users'username'Documents'. And then when the program is re-opened it will automatically load this file into itself, the file will basically contain 2 lines:

[Code]...

View 3 Replies

Interface And Graphics :: Making An Options / Preferences Popup Form

Jul 18, 2010

what I mean, every full-featured program has one. Tools > Options brings it up in Firefox. First off, I've looked for tutorials on making these and can't find them anywhere, does anybody have any links? Second, I'm making mine with a TreeView and panels. The problem is designing this thing with all of these overlapping panels! It's crazy. So, how do you easily make an options menu like Firefox where clicking on different tabs brings up different data options?

View 2 Replies

How And Where To Save Program Preferences

Oct 30, 2011

I have a default WindowsApplication1. I understand that with .NET the recommended way to save program settings are to use XML files instead of the registry.In this application I have a menu with a "Settings" entry, that opens a window which has 1 setting"Save window position", and a checkbox

View 3 Replies

VS 2008 Making Options For Program?

Oct 21, 2010

im new to programing infact this is my second day... im unsure of where to ask this question and i know this is probably not the hardest thing to do lol, i am making a "launcher" to launch a few games, a webbrowser and a few other things, however to do this i have a "set path" in the code, i want to know if anyone can help me make a "setup page" so the user of the launcher can set the path [eg]- to launch firefox i have If IO.File.Exists("C:Program FilesMozilla Firefoxfirefox.exe") Then Process.Start("C:Program FilesMozilla Firefoxfirefox.exe")not everyone has firefox installed to that exact location , so i need to make a settings page to set the paths, each file is launched buy a single button, in the future i may even make another program much the same for people who dont know how to use a pc nd just want to check emails and browse to a webpage.

View 12 Replies

VS 2008 Making Program As Trial

May 3, 2011

I want to make my program as a trial for 30 days or any number of days (you get the point) ,Kindly suggest me how can i achieve this.

View 2 Replies

VS 2008 Making A Program Dealing With Change?

Oct 11, 2011

Write a program that makes change for amounts less than one dollar. Input to the program should be an integer less than 100. Output should be the original amount together with the proper set of coins that add up to that number. The program should produce change consisting of the minimum amount of coins possible. The output should be printed in such a way as to avoid unnecessary amounts.For example:

32 cents should be printed as:32 requires 1 quarter, 1 nickel, and 2 cents Rather than� 32 requires 1 quarter(s), 0 dime(s), 1 nickel(s), and 2 cent(s)

View 7 Replies

VS 2008 Making Program Wait Until Event Has Taken Place?

Apr 1, 2011

I have an app that gets info from the internet into a label, the progam then decides which event will hapen depending on the info obtained, either load next form and continue or Application.Exit

My problem is that the speed that the info is returned from the net, varies and because the info is late sometimes the program exits when it should not.

View 12 Replies

VS 2008 [REQ] Enter = A Line - Making A Notepad Program

Sep 20, 2009

I'm making a notepad program and I'm trying to make it so when you press enter on the very left side in the RichTextBox, it'll tell you what line your on. For example:

View 3 Replies

VS 2008 - Making A Program That Reads A File. Csv,and Information To A Textbox

Jun 9, 2010

I am making a program that reads a file. Csv,and information to a textbox.

After he demand on the Csv file, the same information he writes what is in the same row forward in the same textbox.

A-dos-Francos;39.346246,-9.031105
A-dos-Negros No;39.366089,-9.090929
A-dos-Negros PV;39.366886,-9.131098

[CODE]...

Example: If "A-dos-Francos" is written in the textbox I want that it be replaced by "39.346246,-9.031105"

But in the same textbox.

View 8 Replies

VS 2008 - Saving Program Settings In Document?

Oct 3, 2009

How do I save my programs settings in a document? Like total sessions used, Total accounts created. Also, How do I make a text file save and load every time the program is opened or closed? The saved accounts should be like this in the text file.

Account: Account name E-Mail: E-Mail used Password: Password used

Account name, Password, E-Mail will will all be in a textbox or combobox so if you can make it save from there. I have an total accounts created combobox. How would I make that load into a combobox and then when session is closed they all save. So loaded into a combobox then saved into a text file.

View 3 Replies

VS 2008 : Saving Settings In Program NOT On Computer?

Mar 17, 2012

I would like to create a program that user can save his settings in the program and not on the computer .I want to make something like icon changer ιnstead it will work for strings not icons String Changer?

View 4 Replies

Making A Favorites Tree Browser, But Saving An XML Document?

Dec 22, 2009

I was making a favorites tree browser, but saving an XML Document seems to have a little bit of trouble

View 1 Replies

Saving Settings - Making A Bookmarks And History Interface For My Web Browser

May 24, 2011

I am working on making a bookmarks and history interface for my web browser so basicall for the bookmarks the code is

CODE:

Now im assuming that this is not all that is needed.. (this is put inside a sub) however i dont know how to set up the settings so that it will keep the bookmarks into my list after the program closes...

View 6 Replies

Changing Printer Preferences & Settings

Apr 2, 2010

I have to drive files using different settings from the printer driver. Can I change the preferences & settings of the driver from a VB application? Right now I am using a VBScript, using key presses, to drive the files. I am developing an application using VB.net. I want to get away from the key stroke method. It takes to long to drive all of the files at the different printer driver settings.

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

Set The Variables, 'min And 'max' From User Selected Preferences?

Feb 5, 2009

I am trying to set the variables, 'min and 'max' from user selected preferences. But, since the code where the variables go is outside of the private sub, I can't figure out where to put the code to retrieve the data from the file.

Dim spkr As New SpeechLib.SpVoice
Dim r As New Random()
Dim CountDownTo As Integer = r.Next(min, max)

[Code]....

View 10 Replies

Randomizing Program - Making A Program Which Generates A Random Number Between 1 And 10

Oct 20, 2011

I am making a program which generates a random number between 1 and 10 and when 7 appears it is suppose to tell you how many tries it took to get the number 7 and then end the application. This is the code I have used:

CODE:

This code only generates the number 7 and exits the application, each time i click the random button but i want it to show the other number it randomizes too for example 1 2 3 4 .. etc, if u dont understand, please try it, but im trying to say, when i clikc random it just says number 7 (does randomizing in background) and tells you how much tries it took but i want it to show the other number it randomized also and when 7 appears, then exit the program

View 2 Replies

Printer Preferences - Paper Options (Type Is)

May 7, 2011

My HP LaserJet 1018 Printer Preferences has "Paper options" with four options: Use different paper, Size is, source is, Type is. "Type is" has options such as: Plain, label, card stock, envelope etc. Apparently this information is relayed to the printer and affects its operations. In my case when I put in labels the heavier paper is not pulled correctly and the registration is often off. How can I choose one of these from VB 2008 .NET? I find "paper size" but not "type is" among the many options for Printer Settings.

View 1 Replies

How To Store Current User Information, Security, And Preferences

Aug 20, 2009

I need to have the ability to have a Global variable/class that stores some basic information about the currently logged in user including that user's preferences, security rights, UserID, etc. This information will be needed by any/every part of my application. In the past I have either used a Public variable/class in a vb.net module for this purpose. I'm trying to get away from my old ways of doing things and was curious what people currently do for this functionality.

I am thinking a singleton or 2 regarding preferences and security but am not sure if that is the best way to go.

EDIT: I asked this when I was too sleepy last night. This is an n-Tier WinForms application.

View 2 Replies

Program Saving User Selected Image And Reloading It Upon Program Load

Jul 4, 2012

I have my rpg, still, first time working on it n ages, and I want each user to be able to set their own personalized picture background for the game...

each character in the game has its own dedicated folder for each file that the character has relating to it...

what I want to know how to do, is to have my game copy the loaded/chosen background image to their respective characters data folder, and have the game reload/reset the games default background image, to the one piced by he player...I am having a hard time figuring out how to do this however...I've tried a lot of different things...and nothing is working yet...

here is my example code right now:

[Code].....

View 3 Replies

Program First Open And Saving Data When Program Is Closed?

Nov 19, 2011

I am currently working on a menu driven console program that so far has 4 menu options of checking internet connection, decrypting/encrypting a message, calculator, and a logout, and i am wondering about a few current things.

1. How do i make it to where, when a program starts for the first time, it asks for a user to enter in his data, like signing up for a site for the first time?

2. How do i make it to where the program will save the data entered, and does not delete when the user closed the program.

3. How can i make it to where when a user signs in, his/her data is read correctly? Like an array search for a multidimensional array.For my "New user" sign data i created a function...

Function createNewUser() As String()
Dim name As String
Dim userName As String[code]...

View 2 Replies

Making A MSN Like Program In VB?

Dec 3, 2009

What I'm trying to do is make a MSN like rpogram where you can send Text form a Textbox to a listbox between 2 computers. I have read About TCP/IP connections?

View 4 Replies

Making A Program Like WMA?

Oct 7, 2009

I used Microsoft Visual Basic 2008 and i am having trouble making it to where i can make a screen that a video can be played in. I mean i know i have to code it to call if from a folder but i do not know how to set up the form so i can make my own program. My teacher said that there used to be a thing where you just put in on the from and it did it for you is there a special thing you have to download to do that or do you have to actually go through and code it yourself. I do not want to be given code i just want to know the best way of starting my project whether it is making a thing so that i can play the videos

View 3 Replies

[2008] Rewrite Class (Saving TreeView Data) For Saving Listview Data

Mar 9, 2009

rewriting a class I use for saving Treeview data to a XML file for use of saving ListView data I can't really figure out the rewrite, I'm stucked, unfortunately Listviews seems to be a big problem for me in general.

Option Strict On

''' <summary>
''' The TreeViewDataAccess class allows the nodes within a TreeView to be
''' persisted to xml for later retrevial.
''' </summary>

[Code]....

View 9 Replies

Making A .NET Application The Only Program Which Can Run?

Oct 18, 2011

What would be the best way to make a Windows .NET application be the only program that can be used on a computer? I have come across timers or events to switch windows back to a window with matching text and some api32 calls to make a form top most.

Is it possible to make an application like the windows lock screen where nothing can be done except that what is on screen? I want to block users from doing other things and only let administrators get to the desktop.

View 3 Replies

Making A Counting Program?

Oct 5, 2009

I am making a program that is very simple, but I'm have problems with it. It runs like this:Theres a textbox and you enter in any amount you want.Next to that there are three radio buttons, deposit, check and service charge.If you enter in 100 in the transaction text box, and check the deposit radio button, and hit "Calculate" it will display 100 (in a total display box); hit calculate again, it will display 200, then 300, etc..Now lets say you keep 100 in the text box, but you check either "service charge" or "check" and hit calculate then it will MINUS the amount in your total display box. So for example if you had 300 in the total display box, and 100 in the transaction box and you checked "Service Charge" and hit calculate it would display 200 in the total display box, hit calculate again, and it shows 100.. etc..

Public Class Form1
Private Balance As Decimal
Private Sub CalculateButton_Click(ByVal sender As System.Object, ByVal e As

[code].....

View 9 Replies

Making A Menu-like Program

Oct 13, 2009

i am making a menu-like program.i added an existing item, which was setup.exe.it appears in the solution explorer.Now, i want to run it using shell or something else at the click of a button. how do i do this?

View 1 Replies

Making A Menu-like Program?

Jan 25, 2009

i am making a menu-like program.i added an existing item, which was setup.exe.it appears in the solution explorer/Now, i want to run it using shell or something else at the click of a button. how do i do this?

View 3 Replies

Making A Program That Has Two Forms?

Jan 27, 2010

I am making a program in vb.net (visual basic) that has two forms. I have one as a sort of "main" base which will be behind everything. Then I have another additional form which is suppose to go on top of the "main" form. Well I get this to work when I show both of the forms, but I want the smaller (additional) form to be centered onto the main form. If you want an easier sense of it, its a small box in a big box. (all centered and aligned). Does anyone know how to do this?

View 3 Replies







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