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


ADVERTISEMENT

Code To Change Advanced Power Settings?

May 17, 2012

I am currently working on a project in VB.net that requires the advanced power settings of the client's system to be set to allow wake up timers for when the system sleeps. Please I have been looking around for the solution. I desperately need it.

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

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

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

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

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

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

Change Actual Printer Settings To Landscape?

Jul 13, 2010

I managed to print in landscape, however this setting is not being passed onto the printer driver, and when I click on 'preferences' in the printing dialog the printer seems to think that it is printing in portrait. Is there a way to change this in the code, without having to ask the user to do it?

View 5 Replies

Change Class Library's Settings From An Another Program?

Apr 8, 2009

I want to change my class library's settings from an another program. For this, I've made a Public property in my class library. It worked right. But this is not my question. I wonder this is a right method? Can I access a class library's settings (My Namespace) from other project directly?

[Code]...

View 4 Replies

Change Regional Settings Of 3rd Party Application?

Nov 3, 2011

I am developing an application that uses Sendkeys function to output data in another application such as Notepad. But if the user changes the regional settings some characters like "/" change according to the language. Can I retrieve and set the regional settings of another application such as Notepad ? Is there another way to do that ?

View 3 Replies

Change Some Printer Settings Using The Win32 Api OpenPrinter?

Aug 30, 2010

I try to change some printer settings using the win32 api OpenPrinter,GetPrinter and SetPrinter in VB.Net application.I copied most of the code from this or related newsgroups. However, OpenPrinter, GetPrinter and ClosePrinter works so far but I cannot change the printer settings. SetPrinter returns the error code ACCESS DENIED. I know I have to deal with the desired access mask in the _DEFAULT_PRINTER structure when calling OpenPrinter. Unfortunaltely the declaration of the DEFAULT_PRINTER structure or class I found on the internet doesn't work with the OpenPrinter function.

Public Structure DEVMODE
Public dmDeviceName As String
Dim dmSpecVersion As Short[code]]..........

View 3 Replies

Change The Startup Window On The Application Settings?

May 6, 2011

when i change the startup window on the application settings it still doesnt apply the change i made

for example i change the startup for to reservation but the startup form in execution is still the client form

View 3 Replies

Change User Settings In ClickOnce Deployment?

Apr 27, 2010

I have a program, written in VB 2008, that I deplpoy in Terminal server, that has some user settings (scope: user) that I'd like to modify locally. By default the user settings were not even installed locally. I think they are supposed to appear in the ClickOnce data directory. Using the following thread, I was able to get the user.settings installed locally:

[URL]

basically, i set my xml file as "Content" and I set the publish status as "Data File".

With this, my settings file appears in:

"C:Documents and SettingsusernameLocal SettingsApplication DataCompanyXYZProgramNameL.exe_Url_arzmal0maveh1nnwfib245pfk13xqfma1.0.0.0user.settings"

The problem is that modifying this file doesn't affect the application. I changed some settings, restarted the app, and changes were ignored.

View 1 Replies







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