Hi there,
Anyone else got a clue how the settings.settin gs are supposed to work?
I add loads, then get errors and they wont appear any more until I
remove them from the settings.settin gs file manually.
Nick. 5 2266
I've even just deleted the settings file and created another through the IDE
and it refuses to open it with the following error...
Warning 1 Unable to load one or more of the requested types. Retrieve the
LoaderException s property for more information. 0 0
Nick.
"NickP" <a@a.com> wrote in message
news:Oy******** ******@tk2msftn gp13.phx.gbl... Hi there,
Anyone else got a clue how the settings.settin gs are supposed to work?
I add loads, then get errors and they wont appear any more until I remove them from the settings.settin gs file manually.
Nick.
oh the loader exceptions... i get those randomly all the time on a huge
solution we have with 40 projects in it... they drive me nuts... one second
a form will load the next its a loader exception with no clue why... have to
clean solution rebuild close VS reopen it and do it agian and it works...
makes no sense
"NickP" <a@a.com> wrote in message
news:OC******** ******@TK2MSFTN GP15.phx.gbl... I've even just deleted the settings file and created another through the IDE and it refuses to open it with the following error...
Warning 1 Unable to load one or more of the requested types. Retrieve the LoaderException s property for more information. 0 0
Nick.
"NickP" <a@a.com> wrote in message news:Oy******** ******@tk2msftn gp13.phx.gbl... Hi there,
Anyone else got a clue how the settings.settin gs are supposed to work?
I add loads, then get errors and they wont appear any more until I remove them from the settings.settin gs file manually.
Nick.
Hi Brian,
At least i'm not the only one, although if feel for you! They are
extremely frustrating, it seems like VS.NET 2005 is stronger in so many
other areas but buggy to hell and back in others. I hope service packs are
released for the IDE this time round rather than an entire new product...
Nick.
"Brian Henry" <no****@nospam. com> wrote in message
news:uG******** *****@TK2MSFTNG P10.phx.gbl... oh the loader exceptions... i get those randomly all the time on a huge solution we have with 40 projects in it... they drive me nuts... one second a form will load the next its a loader exception with no clue why... have to clean solution rebuild close VS reopen it and do it agian and it works... makes no sense
"NickP" <a@a.com> wrote in message news:OC******** ******@TK2MSFTN GP15.phx.gbl... I've even just deleted the settings file and created another through the IDE and it refuses to open it with the following error...
Warning 1 Unable to load one or more of the requested types. Retrieve the LoaderException s property for more information. 0 0
Nick.
"NickP" <a@a.com> wrote in message news:Oy******** ******@tk2msftn gp13.phx.gbl... Hi there,
Anyone else got a clue how the settings.settin gs are supposed to work?
I add loads, then get errors and they wont appear any more until I remove them from the settings.settin gs file manually.
Nick.
Hi At least i'm not the only one, although if feel for you! They are extremely frustrating, it seems like VS.NET 2005 is stronger in so many other areas but buggy to hell and back in others. I hope service packs are released for the IDE this time round rather than an entire new product...
I remember me a message thread started from a guy who used the name Nak
about this.
By coincidence he had the same name as you. http://groups.google.com/group/micro...188e5b09f69d8d
:-)
Cor This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: GS |
last post by:
Hi,
There is reference about accessing settings file in VB.NET but nothing about
C#. How do I read settings in application settings file with C#?
Thanks,
G
|
by: GS |
last post by:
How do I use My.Settings equivalent in C#? Below is part of MSDN documentation about accessing settings file. I wrote C# console application using VS 2005 and .NET 2.0 and would like to use new settings file in 2.0 and can not find any documentation about using c#, there is some for VB.NET.
This section contains topics describing the My.Settings object and the tasks it enables you to accomplish.
|
by: Paul Cheetham |
last post by:
Hi,
I am developing an application that needs to store some machine-specific
settings. The application is going to be published on the network in
order to keep the clients on the latest version.
Because of this, I am unable to store these settings in the App.Config
file, as this gets updated every time the application does, and there
doesn't appear to be a way of preventing this.
Most of my application settings are kept in the...
|
by: Chris Dunaway |
last post by:
I have an .exe console project and a class library project as part of a
solution. The .exe has an App.config file and I have used the Settings
page to add some Application level settings.
When I try to retrieve a setting using this code:
//Method 1
string s = ConfigurationManager.AppSettings;
|
by: MacKris |
last post by:
Hi, I'm a chemist trying to use the python script GaussSum.py with gnuplot for creating dataplots, and need some help. Whenever I try to produce a plot from the GaussSum GUI I get the error
sh: line 1: /Users/kristine/Desktop/GaussSum-1.0.5/gnuplot400/bin/wgnuplot.exe: No such file or directory
in my terminal. At the moment, I have gnuplot in the path /usr/local/bin instead. So I need to know how to change the settings directory to enable...
| |
by: Jon Slaughter |
last post by:
I wrote an app that needed to save settings such as colors, fonts, etc...
after hours of trying to use ConfigurationManager and AppSettings along with
a few other things I finally found that I could just use
global::Properties.xxx.Settings.Default.yyy
where xxx is the namespace and yyy is a setting created in the settings
dialog.
This is an extremly easy way to save and restore properties but I'm
wondering how general it is and if its...
|
by: Andy |
last post by:
I need to write a VB.NET WinForms app. For this purpose I need to keep some
settings of the application, like many other Windows applications do.
The most obvious solution is to store settings in the XML file or registry.
If it's an XML file, then I need the following:
1. Create XSD schema, and be able to validate XML file with the settings
against that schema (How would I store the schema, if it's a class library,
for example? Would...
|
by: =?Utf-8?B?UmljayBHbG9z?= |
last post by:
For some unknown reason (user error?), I cannot get a NameValueCollection to
persist in the app.config file.
Unlike other settings, I cannot get the String Collection Editor GUI to
allow my to add/edit any values for a setting with type NameValueCollection.
Nor can I get a NameValueCollection to persist to the User Settings via code
using a simple C# Console App...
Is this a user error or ?
|
by: WT |
last post by:
Hello,
Using VS2005.
I have an assembly library that can be called from a Web site asp.net
application or from a winform application.
From this library I need to retrieve a path using simply a key like
'libPath'.
As far as winform and asp.net share the same common base class for settings,
SettingsBase, how to manage this ?
For winform the value should be set in app.config and for web site in
|
by: Rainer Queck |
last post by:
Hello NG,
Is it possible to share the settings of an application with a class
libreary?
In my case I have a application and a set of different reports (home made)
put into a class library.
The plan is to delivere different report.dlls with the main app.
But it is essentially importent, that the reports and the app use the same
settings.
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
| |
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
| |
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |