VS 2010 Storing Backup History In Application Settings?

Jun 8, 2011

I'm creating a small tool for our team that performs backups of our servers. The plan is to put the tool in a central location so that anyone can use it.I'd like to store, somewhere, the date of the last backup for each server. I was wondering if I could use an application settings (with Application scope) for this? Is this bad practice? If so, what's the best practice? XML? text file? registry?

View 6 Replies


ADVERTISEMENT

VS 2010 Save The Treeview Items To Settings (my.settings.history)?

Mar 25, 2011

I'm working with an Treeview and i'm new at it and i have 2 questions.

1. How can i save the treeview items, to settings (my.settings.history)

2. How can i save the treeview items as an TXT or XML file or another exception.

View 13 Replies

Storing Strings And Application Settings?

Jun 25, 2010

I've came to the stage where i need to save strings and application settings for my application. The My.Settings have worked it out until now. Now i have to store so many settings it's hard to keep track of them. That is why i need something new. So i've been looking around in INI files which seems impressively simple - but not very flexible. I've also took a look at XML which seems to be something to dive in to. But what i need now is advice. How do you store settings?

View 11 Replies

Storing 3 Tables Of Data In Application Settings

May 16, 2010

I will need to store 3 tables of data. Instead of implementing an entire database backend, I just want to store the record for these tables in application.settings.I don't care about security. Is it advisable to do it with application settings? how else would you do it? Perhaps storing a matrix in application.settings would be OK?

View 4 Replies

Application Settings, Storing Type Internal To Your Assembly?

May 13, 2009

I am trying to store an enum in my application settings. This enum is defined within my main assembly in the same namespace. When I try to find the type under the application settings, it seems like I can't find any types within my namespace. I can see all the types of the assemblies I reference though.

View 2 Replies

Adding A Browsing History With User Settings?

Apr 2, 2009

I'm creating an open-source web browser in VB.NET and I'm trying to load the browsing history from My.Settings.History (StringCollection) and list the items in a listbox, but only the first item appears.

Here is the code I am using:

Public Class Form1
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load

[Code].....

View 14 Replies

VS 2010 Storing Application Data Within An Application

Jan 8, 2012

I was wondering if it's possible to store application data within an application without storing the data in an external file. For example, in my application, the user can choose where he/she would like to store the files that the application creates. I need to make the application remember the location that the user specified. I've tried using My.Settings to save this information, but since my application is standalone, if the location of the application changes, the My.Settings information changes as well (unless I coded it incorrectly before). I would prefer not to store this data in a .txt file or something similar.

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

Storing Settings For A .NET Windows Service: Service Property Settings, Serialization?

Aug 5, 2010

I am working on a .NET Windows Service where I am trying to store settings that will be used when the service is started and while it is running. I have searched through posts on SO and found that using the Settings in the properties of the project is great for use with console and winforms applications. However, Google and SO are silent when it pertains to storing these settings with a windows service.

View 4 Replies

Storing 2-Dimension Arrays In My.Settings?

Dec 7, 2011

I'm still doing upgrades on my program that i'm creating and i've run into a bump again. I'm currently using a multi-dimension array to store a name, email, password, email provider, and user name. These 5 values are stored, corresponding with the latter, meaning the array is build as: name 1....n user name 1....n user email 1....n user email provider 1....n password 1....n So my question is, how can i store this in My.Settings? To be clearer, i'll use code: My.Settings.Name = name My.Settings.UserName = userName etc..... My current set up for a first run is like so... My.Settings.Password = adminInfo(2, 0) My.Settings.UserName = admingInfo(1, 0) etc.

View 11 Replies

Storing Multiple Strings In My.Settings?

Feb 25, 2012

My problem is storing multiple string in the my settings to clarify more on this ill try explaine as best as i can,

'I set my value like so

Dim strSettings As New My.MySettings
'On the form load i use this
Dim itemz As New ListViewItem

[Code]....

View 1 Replies

Starting Multiple Instances And Storing The Settings?

Jul 11, 2011

I have a VB2010 application that must run as multiple instances on the same PC (it is a controlling/monitoring program of several devices, each instance of the program control one device)

Of course, the same application must save its own setting in different place, one for each device. For example, if I start the application for the device 3, I have to save the setting in a place marked as "3", in this way, when I start the application for device 4 it will load the settings for device 4 and not 3.

Of course all labels and similar stuffs must refer the starting device: i.e. the mdi caption must report "device 4", and so on...

In vb6 I created a shortcut with a command line and made my application accepting command line parameters.

In this way I could start the application passing the device number too. For example "myapp.exe 3" start my application for the device 3.

I stored all settings in several INI file, each one for a device: setting1.ini, setting2.ini, setting3.ini, ....

I was wondering if in vb2010 would be a better way to do that.

1. How could I start multiple instances?

2. How could I store the settings?

View 4 Replies

Storing A Database Connection String Into Settings In A .net DLL Data Layer?

Mar 4, 2011

I've always used this approach while implementing data layer DLL for web application:

1) put datasets into the dll project
2) use a helper class with a method like this:

public shared sub settCnnStr(strconnhere as string)
My.Settings.Item("connectionString") = strconnhere
end sub

3) when I need to use the dll I call a method like this (usually into global.asax):

xxxxxxx.helper.setCnnStr("yyyyyyyyyyyyyy")

This method always worked for me nicely but I'd like to know if this method could have serious drawback or if there's a better solution.

View 1 Replies

VS 2010 - How To Save High Score In Application Settings

Jan 17, 2011

I am working on a simple game and wanted to save the high score in application settings. Research upon failure has shown that user is read/write but the program doesn't store it between runs.

View 7 Replies

Using VS 2010 Express Edition Settings For Creating Console Application?

Jul 26, 2011

I'm using VS 2010 express edition, Are there any settings for creating console application?I've done a simple program but it get stops while running.

[Code]...

View 3 Replies

Use My Own Browsing History (without Adding Pages To History Of IE)?

Mar 25, 2010

I'm using visual basic 2008 and really need help in this question ...

-I'm creating a web browser : how to stop adding pages to Internet Explorer History...

-And auto save/open Listbox (so i could use my own browsing history)

View 5 Replies

Application.Settings VB 2005 - Save Arrays Using The Settings System Object

Jan 14, 2009

I just wondered if you can or can't save arrays using the settings system object. There seems to be no way of entering it at designtime. It seems implied you cannot create new user settings.subobjects at runtime. I'm looking to find the easiest way to save a populated array of PictureBox's. If the only way is a self/custom made/managed .ini file then I need to know so i can start on that but I was hoping to use some of all this phaff in the new frameworks usefully.

View 3 Replies

How To Maintain Application Modified Settings In The Settings Files After A Program Update

Sep 8, 2009

Is there a way to maintain application modified Settings in the settings files after a program update? i.e. I have 10 or so values in the settings file and the users can modify them... when I send a program update they revert back to what I initially programmed them to be.

View 3 Replies

Application.restart After My.settings.save Doesn't Load The New Settings

Feb 8, 2008

i have created a user setting named 'setmeup' as string, scope = user, value = "magical meow meow!".in my code i access it and assign it a new value like this...my.settings.setmeup = "howdy cowboy!"my.settings.save()application.restart()when the application restarts, i expect the my.settings.setmeup = "howdy cowboy!" but when i check its contents its still "magical meow meow!".but when i use application.exit() instead of application.restart() and manually restart the program, my.settings.setmeup = "howdy cowboy!" which is correct.what must i do? i want to use application.restart() because i don't want the users to double-click the icon again to start the program. i want the program to restart automatically.

View 2 Replies

Clear Browsing History From Windows Desktop Application?

Jan 2, 2012

Is there any way to clear Browser History using C# or VB.net desktop application.

Browser Name, Starting time and Usage Time and all i got it.But i can't able to delete that particular browser history.[code]...

View 2 Replies

Backup Of Application Database?

Nov 15, 2010

My application has an access2007 db as its database. I am trying to create a backup/restore utility in my application that allows the user to take the backup or restore the database file "StudentsData.accdb" which is in the application folder. I tried the filecopy method but it gives me an error saying that the "file is not accessible, as it is being used by a process." I believe it is my application process that is using the file.

How do I stop my application accessing the database? I have database connections which i have written in code and all of them close with their respective forms.

View 6 Replies

Database Backup From .net Application?

Jun 5, 2011

i have a problem with using vb.net application, i want to take backup of my database from my vb.net application so that user clicks the button and backup can be copied in a drive .

View 1 Replies

VS 2010 Creating Form History?

May 24, 2012

i am currently new to visual studio and am working on a small project for an it database. I am using a dataset connected to SQL2008, what i am struggling with is i would like a save button to check to see if any changes were made before the form is saved and then if any are detected then send it back to another sql table called "LogDetail" as a history, i hope that makes sence? I have two tables called "NewDetail" and "LogDetail".

View 1 Replies

VS 2010 - My.Settings - Can't Find File Which Reflects Changes To User Settings

Apr 15, 2011

1. I can't find the file which reflects changes to user settings. This might be because I just can't find it (I can see a bunch of user.config files but they are all empty - weird!), or...

2. I'm not actually saving them when I think I am.

Regarding 2. - do I need to invoke

Is this all I need? And if so, why are my user.configs empty?

View 1 Replies

Create Automated Backup Files In Application?

Jan 12, 2010

How to create automate (or) schedule backup files in vb.net application using window services

View 5 Replies

VS 2010 Auto-delete Chrome History On Startup?

Jun 30, 2011

where Google Chrome history is stored? I would like to make a console application that runs on startup that empties the file. I doubt it is plain text, most likely xml, so I would like a few code snippets as I have never worked with xml before.

View 10 Replies

VS 2010 - Settings.settings Saved Into The Registry?

Jun 11, 2010

Small questions about the settings.settings. Are these settings saved into the registry? I'm want to use and external file for my connection-commands. I don't want to use the registry to store the strings. What do you recommend?

View 11 Replies

VS 2010 Way To Backup Project?

Nov 21, 2011

I'm using vb2010 and i just finished doing all the GUI of my project. I usually just make a copy of my project folder and add it to archive. [project name] -[date]-[time].rar

is this an acceptable way of creating backups?

View 6 Replies

Change The Default Settings In The My.Settings By Writing "Application.startuppath"?

Jan 19, 2010

I recently made an application which have some settings one of them a saving path

I want to make check if the saving path settings is available or not (drive)

If not so it got a default value which is application path

I tried to Change the default settings in the My.Settings by writing "Application.startuppath"But the application accept it as a string is there any way do dodge this problem?

View 6 Replies

VS 2010 Backup For User Currently Logged In?

May 28, 2010

HTML

Private Sub Button1_Click(ByVal sender As System.Object, _
ByVal e As System.EventArgs) Handles start.Click
Dim folderExists As Boolean

[Code]....

above i have a specific username in the little backup script i have created. in this section of the code, if the user selects this particular chkbox then hits "start" it backs up the above loacation to a "server" H.

how do i code it to automatically pull the username and place it where "godboubs" (aka the username) is?

View 17 Replies







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