Making The Change In My.settings?

Apr 14, 2009

I am making an application for my school library, which lets the user see how many books have been borrowed, how many returned, and how many that have not been returned. I am using My.Settings to do this. I have no problem saving the settings, or making them change according to how many books have been returned or borrowed, but when I try to load them into a few labels, I get an error.

[code]...

This is the error I obtain:Conversion from string "Books borrowed so far: " to type 'Double' is not valid.

View 2 Replies


ADVERTISEMENT

Making Settings Value Persistent?

Sep 19, 2011

how to make the settings in my app persistent When i save in the previous run using this

my.Settings.setting_name= some_value
my.Settings.save()

when getting the values using this

some_value=my.Settings.setting_name

i still see the old values in the IDE settings options.How can i make the changes reflect even in the vs ide

View 1 Replies

Making Bookmarks In Browser - NOT USING MY.SETTINGS

Mar 26, 2009

Ok, it's basically all in the description, but I need to make it so there is not a limited amount of bookmarks. I cannot use My.Settings because when i try to select 'My Project' in the Solution explorer, it doesn't work

View 1 Replies

VS 2010 Making 'settings' File?

May 11, 2010

if we say i have a program and i want it to launch another .exe So the code of them being able to choose where it's located is "openfiledialog".But can i make it save the setting somehow, so it makes a small document/text-file thingy so it can read the locations from the file ?Or is there someway that the program remembers it ? I want it to ask for a file location first, and then next time pushing the button "start" it remembers the location ?

View 4 Replies

Answered Making A My.Settings Bit Of Text Bold?

Aug 12, 2010

I'm using My.Settings to store some text information which will be displayed to the user under certain conditions. What I'd like to know is whether part of the text (not all of it) can be formatted in bold?

The reason I'm storing in My.Settings is because it can be customized but not to the extent where I need to store it in a database. And while I'm at it, is it possible to format parts of MessageBox text and labels in bold, or is this an all or not at all situation i.e. changing the font property?

View 2 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 Making A Form That Handles A Different Forms Settings?

Aug 19, 2010

How would i go about making a form that handles a different forms settings?ei, the Button Forecolours ect.

View 5 Replies

Change The Proxy Settings("Automatically Detect Settings") In IE

Jan 17, 2011

I was wondering if it is possible to change the Proxy settings("Automatically Detect Settings") in IE without making the change to the registry. I wasn't sure if the Hive is similar in all operating systems, So I figured there has to be an API to make the change, also without having the restart the IE or the computer for that matter.

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

Change XP Settings Via VB?

Aug 7, 2009

I want to:

1) check a Folder Option setting in XP and store it

2) change the setting

3) restore it when I am fished

The Setting is in the Folder Options in the Control Panel. Double click on Folder Options, Goto File Types Tab, Click on the Advance Button. There are three checkboxes at the bottom of the dialog box:

Confirm Open after Download
Always show Extension
Browse in same Window

I want to change the "Browse in same Window" setting.

View 7 Replies

Change App Settings Between Two Projects?

Oct 17, 2009

Is it possible to change application settings between two projects?

Here's what I'm trying to do- let me know if there's a better way, though:

I have two projects involved, a UI layer and a data access layer. I can modify the connection string at runtime in the UI, but I want to be able to set the connection string on the data access layer the same way. Right now I'm trying to use application settings but I don't know how to access settings from one project in another.

View 1 Replies

Change Application Settings?

May 23, 2010

To start with, I know that applications scope settings are read only, and user scope settings are read/write. My problem is this: I am creating an application which will be used in a setting where an "administrative" user (admin in this case does not denote any computer ability whatsoever- just the one in control of the computer) will be installing my application onto a computer where several users will likely use the application. I have a number of program settings which I would like the administrative user to be able to set, and have those settings be used for all users who run the program.

View 1 Replies

Change The My.Settings Location?

Jan 10, 2011

I wanted to know is it posible to change My.Settings location.. for example, not in user folder (dont remember in witch folder, but i know it was in some users folder..), but save in application folder?Cos i write programs portable, so they work if the folder with my program is moved even to different PC..It would be a great if i could use my.settings and store in the application path..Cos i have tried to save in registry, xml file, ini file, and they all are pain in the a*s..

View 4 Replies

Change VS IDE Environment Settings?

Feb 22, 2011

I am trying to change the way my aspx pages load when I double-click on them in my development environment. I wish for the markup to show instead of the design. So, I go into "Tools" -> "Options" -> "HTML Designer" and make my changes. However, I have to do this every time I get into VS. How do I make those changes stick?

View 1 Replies

How To Change IE Settings From Code

Nov 21, 2009

I need to write a windows application that will change certain settings in the internet exxplorer security tab.Could this be done?

View 4 Replies

Change Dpi Settings Via Registry Programmatically?

May 26, 2012

I've designed a project containing of some forms. The problem is that it doesn't display correctly on wide monitors. I've searched for it and found out that it works correctly for dpi= 96. I wanna change dpi via registry in vb.net (not manually)Here is the code I use:

Dim dpi As Graphics = Me.CreateGraphics
If (dpi.DpiX <> 96 And dpi.DpiY <> 96) Then
Dim DPISetting As RegistryKey =

[code].....

View 1 Replies

Change IE Prxy Settings From Vb 2008?

May 25, 2011

How can I make a vb application which will cause IE to use a proxy server (localhost 8888) when the main form loads and undo this change when the main form is closed??

View 2 Replies

Change Proxy Settings While Using Watin?

Apr 13, 2010

I am using Watin mostly to automate thing I do by hand. Sometimes, I need to change proxy. To do this, I have to set up IE to use a local proxy all the time (listens locally and forwards to a remote porxy), and then by hand change the settings of that program each time I need to use another proxy.

This is not an elegant solution! It may work, but it is not nice.

So, my question is, how do I change programmatically IE settings while using Watin? I code in VB.NET.

View 1 Replies

Change Registry Settings Via Program?

Jul 9, 2010

We have a VBScript that launches an Access app that connects via ODBC to SQL Server - wouldn't you know the server name is changing.

Is it possible to use VBScript to modify the ODBC information in the registry to point to the new server? Basically changing one specific value for one specific key. Am I better off deleteing the ODBC key and readding it from scratch?

View 6 Replies

Change Settings From Local To Roaming?

Jun 29, 2010

I need to change my application settings to use roaming profiles. Therefore I changed the roaming property of the according settings to True. Unfortunately I get now the behavior that the settings are still read from the local store (if they are existing there), but are written correctly to the roaming store.

What's the suggested way to change application settings from local to roaming?

View 2 Replies

Change The Settings Of The Printer Programmatically?

Jan 11, 2011

I am making an application that prints records and I want to set the paper height dynamically. My problem is how to change the settings of the printer programmatically in VB.Net.

Somebody told me that it could be done by going to Device and Printers, select the printer and setting it with the desired height. However, can I do this programmatically?

View 1 Replies

Change The System Color Settings Using VB Or VBS Or VBA

Apr 12, 2010

code to change the System Color Quality setting using Vb, Visual Basic Script or VBA?

eg., If the Color quality is set to Medium (16-Bit), I want to change it to the Highest (32-Bit)

View 4 Replies

How To Change Action Center Settings

Mar 23, 2012

How do I Change the Action Center Settings. I have already a function that will change the windows updates to never check for updates. Once I turn it off an Action Center Message pops up. This message can be turned off via Windows. The same process I am trying to implement using VB.NET.

View 3 Replies

How To Change Serial Port Settings

Feb 17, 2009

I made serial COM1 work by default settings in serial port properties. If I want to change to another port,e.g. COM2 as well as change other settings (baud rate, data its, etc.), how to re-open this new port?

View 2 Replies

Programmatically Change Application Settings?

Sep 29, 2010

I'm using Application Settings to set the the text values of my buttons. I want to create a form that will allow the user to change what the text is. Is that possible? I'm using Application Settings because the text needs to save for the next time the program[code]...

View 2 Replies

VB Change Windows Folder Settings?

May 3, 2009

Is it possible to make VB 2008 go into Windows folder options and tick the "Display the full address in address bar" (under the view tab) ?

View 2 Replies

VS 2008 : Change Settings Outside A Msi File?

Jun 1, 2010

I have created a Outlook 2007 AddIn project with a Setup project.The settings for a databae connection are in the registry.Now I want to create a config file outside the msi so the settings for the database connection can be changed before the addin is installed.It is no problem if the settings stay in the config file instead of the registry.I have googled around but found no solution yet.

View 2 Replies

VS 2008 Change Firefox Settings?

Dec 31, 2009

How would I go about changing/retreiving settings for firefox in about:config in a form application?

View 2 Replies

Making Fullscreen + Resolution Change?

Feb 29, 2012

How can I make my app form go to fullscreen, and change the computers resolution as what I want?

View 2 Replies

C# - Change LAN Settings (proxy Configuration) Programmatically?

Apr 6, 2011

I am writing a program to automatically switch my proxy address based on the network I am connected to.

I have so far got everything to work except the part that I have highlighted below.

Is there any way to change the automatic configuration script and the automatically detect settings in code?

The solution can be either P/Invoke registry editing. I just need something that works.

View 2 Replies







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