|
Kevin Marois wrote: The SAVE doesn't save changes. Ever time I run I get the default values. Is there a file created under C:\users\you\local\?
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
Yes, bubt the values are not saved
If it's not broken, fix it until it is
|
|
|
|
|
Can you open the file and verify that it contains the default values?
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
I was wrong. The value ARE saved, just not retrieved on the next run.
If it's not broken, fix it until it is
|
|
|
|
|
Is this when you run your application from inside Visual Studio? If so, check the properties on the file containing your settings - I bet they are set to copy over every time, which means you are overwriting them when you run the application.
|
|
|
|
|
If you're referring to App.Config, it's set to Do Not Copy
If it's not broken, fix it until it is
|
|
|
|
|
That setting doesn't really apply to App.Config. If the file already exists in the bin\Debug or bin\Release folder, it won't be overwritten with a new copy. But, there are cases where it will be rewritten. For example, doing a Rebuild of your project/solution will overwrite the app.config with a clean copy.
|
|
|
|
|
Ok, so I still don't know why my settings are not being retrieved
If it's not broken, fix it until it is
|
|
|
|
|
I think you must call Properties.Settings.Default.Reload() at the beginning of your load method, not at the end of save method
|
|
|
|
|
Calling reload likely reloads the default settings from the app.config file. Don't call it and that might fix your issue.
Just a shot in the dark here as I don't use the built-in settings system. I use a system based on SharpDevelop's PropertyService.
What do you get when you cross a joke with a rhetorical question?
The metaphorical solid rear-end expulsions have impacted the metaphorical motorized bladed rotating air movement mechanism.
Do questions with multiple question marks annoy you???
|
|
|
|
|
hello
is there any c# code
can change internet ip?
|
|
|
|
|
Which IP do you want to change?
|
|
|
|
|
Um...probably not.
Internet IP addresses are assigned by the ISP, so you can't just "change them" to a different one as that may be in use by someone else, may be on a different ISP, and so forth. Plus, IP addresses apply to your point of connection to the internet - your router usually - not the individual device connected, and are common to all users sharing the same connection. Changing the IP address would effectively disconnect all of them from whatever they were working with.
You could perhaps make use of a Proxy Server which strips out your IP address and substitutes its own, but how successful that would be depends on exactly what you are trying to do, and which Proxy you used.
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|
|
Looks like someone is trying to hide identity
You can use free proxy sites available on the internet, but even they will record your IP and will maintain a log without telling you.
If you want to learn how things work. You can set up a proxy server of your own. Your webpage requests will go via proxy. Enterprise level organisations use proxies to save their identity and apply security to their networks.
|
|
|
|
|
I am working on a project in which audio speech is converting into text format and displaying on lable. i want to pause and resume the thread by pause and resume button. please help , if any body know about that. i used manual reset event, but i freez window form when i press pause button. plz help1
|
|
|
|
|
How have you set up your thread? There are numerous ways of creating a thread, so we will need to know what you have done before we can answer this.
|
|
|
|
|
Did you create a worker thread for the conversion or do you use the UI thread for that?
If the brain were so simple we could understand it, we would be so simple we couldn't. — Lyall Watson
|
|
|
|
|
It looks like you are making you main thread sleep when you pause processing, and you end up hanging your UI.
You need to have a separate thread for running your audio to text conversion code so that, you can pause that thread as an when required. (Hint: see System.ComponentModel.BackgroundWorker documentation)
Please explain how your code works, may be then we will be able to help you better.
|
|
|
|
|
Hi,
Which is the best way to put together an URL in .NET 2 ?
very old technology, I know. I wish I didn't have to use .NET 2.
Something like this:
http://www.website.com/MyFunctionName?MyIdOne=99&MyIdTwo=77&MyBoolOne=true&MyBoolTwo
Thanks
|
|
|
|
|
Member 11713942 wrote: very old technology, I know You sound like someone forced to program in VB6.
I believe them things are called "query strings"; their values can be enumerated using the QueryString[^] property.
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
|
You're welcome
|
|
|
|
|
Remember the URL is just a string, you can create strings using many techniques, string concatenation or string format is one of them.
Apart from what other user has said, Query Strings (which is correct answer, indeed this is a query string generated as a response to HTTP GET form submission), I would add the method to create them using string.Format() function (do not concatenate strings like this). string.Format() [^] can be of a great use in such scenarios where you can pass the values for the query string key/value pairs.
The sh*t I complain about
It's like there ain't a cloud in the sky and it's raining out - Eminem
~! Firewall !~
|
|
|
|
|
making a joystick to display Real joystick's parameter using (add user control)
We can put user control background image and draw on it
|
|
|
|
|
This is not a good question - we cannot work out from that little what you are trying to do.
Remember that we can't see your screen, access your HDD, or read your mind.
So please explain in better detail exactly what you are trying to do, what you have tried, and what help you need.
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|