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
ADVERTISEMENT
Nov 10, 2009
We have an application that's installed at several locations but we are having an issue at one particular site. In short the application settings (My.) are not being saved after a reboot. The application is build in VB.Net v3.5 Framework and we are not experiencing any issues elsewhere.
This particular site is using roaming profiles and the network administrator ensures us that the correct permissions are applied to the user account(s) and all application data is being saved to the server. I've asked the network admin to check for the existence of the user settings file user.config in the Application Data directory and he says it doesn't exist.
In our application we store the connection string to the database in the application settings under the user scope. If no connection string is present or if one is present and a connection to the database cannot be made then a form is shown asking the user for the database credentials. Each morning when the users boot the machine and opens the application for the first time they are asked for these credentials but if they close the application and restart it they are not asked for them. This indicates to us that the settings are being saved but once the pc is rebooted and the application is opened for the first time they are asked for the database credentials. This seems like the settings are not persisting after a reboot.
View 1 Replies
Dec 16, 2010
I am using My.Settings to store the path of my crystal reports. Now I wish to place my crystal reports within local execute path. So how do I set within My.Settings to detect the local run path?I tried putting application.localuserappdatapath in application settings which return back as a string.
View 2 Replies
Mar 17, 2010
how to modify local security settings for a remote pc in lan with vb.net?
View 3 Replies
May 30, 2011
I'm developing application in VB.NET 2008. Here i have Mask Text Box with mask "0000/00/00" (i,e yyyy/mm/dd ).
but when i change the system date separator to "-" in control panel then all mask control is taking 'yyyy-mm-dd'.
I don't want to change mask text box date format based on local system setting. Always this should accept only yyyy/mm/dd .
View 1 Replies
Mar 4, 2012
Using Visual Studio 2010, Windows 7. Setting up project on one machine, then attempting deployment it on another machine with Windows 7 on it:
How do you get the installer to install an application normally, my app is installing on roaming profile, and I do not want it to install that way . . . I want it to run as a normal software application, it is not created for network use!
In short, I want the application to install under the Program Files directory, and the data files to install under the ProgramData directory. I have already designated the Application Folder's DefaultLocation as [CommonAppDataFolder] and the application data folder as [CommonAppDataFolder], . . . but it makes no difference, it still installs as a roaming profile.
View 1 Replies
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
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
Jan 25, 2010
I am trying to get some WMI info on the TPM the code below keeps saying invalid parameter. Anyone know how to get it so scope correctly.
[Code]...
View 1 Replies
Apr 26, 2010
I have a vb6 program that could change my password at local computer.
View 8 Replies
Jun 9, 2009
I have finished my program and now i am ready to deploy it. The only problem is it is a multi-user application. All i want to do is simply run the program with the database from a server, and have other local computers with the program access this same database. I know that you have to change the connection strings for the local computers, but how can i go along doing this?
View 2 Replies
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
Oct 5, 2006
I want to change or reset the local admin password of the opreataing system(win xp) using vb.netIs it possible?
View 10 Replies
Feb 19, 2011
Is it possible to check locale format on form_load and change it to en-us via registry if any other is preset?
View 5 Replies
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
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
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
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
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
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
Jul 20, 2010
We have upgraded our project from Visual Studio 2008 to Visual Studio 2010 without any issues until now. Our project contains a folder call Libraries which contains different versions of Oracle ODP.NET DLL's as well as different versions of Telerik DLL's. Our project contains references to one of the versions of each. The problem is once we remove the reference and re-add it by browsing to the new version, again inside the Libraries folder inside the project, it adds the reference, but to the same version we just removed. We can even copy the DLL to our desktop, remove the reference and add to the new one on our desktop and it still will point to the Libraries folder version???. The only we we can actual change the reference to the new DLL is by manually changing the path in the .vbproj file, which is obviously not going to work for us. The same behaviour worked perfectly in VS 2008. We switch our references quite often, when new versions come out, but also far more often to QA different versions of ODP.NET and Telerik Control DLL's, so manually editing the .vbproj file is becoming quickly cumbersome. If I browse to a specific version at a specific path, Visual Studio should ALWAYS do what I'm telling it to do..
I did some seaching and came across a few other people with the same issue. This better not be as designed and if it's a bug, which I believe it to be, when will it be fixed?[URL]..
View 14 Replies
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
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
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
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
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
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
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
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
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