|
You need to create your own culture and set the separator for that.
Dave
|
|
|
|
|
ok i did but how to set permanently ? here is my code that is working temporary
CultureInfo tmp_ci = (CultureInfo)CultureInfo.CurrentCulture.Clone();
tmp_ci.NumberFormat.NumberDecimalSeparator = ",";
System.Threading.Thread.CurrentThread.CurrentCulture = tmp_ci;
TVMU^P[[IGIOQHG^JSH`A#@`RFJ\c^JPL>;"[,*/|+&WLEZGc`AFXc!L
%^]*IRXD#@GKCQ`R\^SF_WcHbORY87??6?N8?BcRAV\Z^&SU~%CSWQ@#2
W_AD`EPABIKRDFVS)EVLQK)JKSQXUFYK[M`UKs*$GwU#(QDXBER@CBN%
Rs0~53%eYrd8mt^7Z6]iTF+(EWfJ9zaK-i?TV.C\y<p?jxsg-b$f4ia>
--------------------------------------------------------
128 bit encrypted signature, crack if you can
|
|
|
|
|
I think you have to use SetLocaleInfo in kernel32.dll
Edit: MSDN[^]
Dave
|
|
|
|
|
In my project i want to implement sound recording what we have in windows xp so i want consume that.
Give me suggestion how to implement recording sound in .net any dll is avliable?
help me out
Ashok Nalam
|
|
|
|
|
Ashok Nalam wrote: Give me suggestion how to implement recording sound in .net any dll is avliable?
Is it a question or are you demanding it? Ever heard about Google? It has many pages for you to explore[^]
By the way, don't post in multiple forums, it's rude.
Giorgi Dalakishvili
#region signature
my articles
#endregion
|
|
|
|
|
hai all
i want to use the folloiwing code of line in my application.
FolderParam flParam = new FolderParam();
When i build this i am getting error like this.
The type or name space of folderparam cannot be found. are u mising assembly reference
can any one help me to slove this problem?
Regrds
Lijo
|
|
|
|
|
You need to add a reference to a dll that contains FolderParam class.
Giorgi Dalakishvili
#region signature
my articles
#endregion
|
|
|
|
|
Can u tell me in which dll folderparam class contains?
Regrds
Lijo
|
|
|
|
|
You are writing a piece of code which uses folderparam class and you don't know it comes from? In that case you even won't know what the class is for!
Giorgi Dalakishvili
#region signature
my articles
#endregion
|
|
|
|
|
i got tat code from google only...... So i dont know about tat class.
But the code which i got from google is very usefull for me.So if u dont mind can u tell me the dll of tat class?
Regrds
Lijo
|
|
|
|
|
1.Check your spelling before you make a post.
2.If you got code from Google, then Google can tell name of the dll for that class. If you think that I know all dll's and classes that they contain by heart, you are mistaken.
Giorgi Dalakishvili
#region signature
my articles
#endregion
|
|
|
|
|
Search for it in object browser!
|
|
|
|
|
When I use a NumericUpDown with Hexadecimal=false and a number that is too large or to small is entered, it is set to the corresponding limit.
With Hexadecimal=true however, the value is reset to the previous, correct, value, when a value too large or too small is entered.
I have tried to intercept the ValueChanged and various other events to get the same effect as with Hexadecimal=false, but there seems to be no situation in which I can read the entered value instead of the already reset value and adjust it manually.
Does anybody know a solution to this problem?
Thanks
|
|
|
|
|
Try to handle Validating or KeyDown events
Regards
|
|
|
|
|
Thanks for the reply!
I tried Validating, but that is only thrown, when the NumericUpDown gets the focus or looses it and in similar situations. It doesn't seem to be thrown right before the value is changed wrongly.
I also tried KeyDown, but wasn't able to intercept the value the NumericUpDown should take after the Key was pressed if there was no maximum and exchange it for the real value.
I solved my problem by enhancing a TextBox to take only hexadecimal numbers, adding a minimum and maximum etc. to it.
|
|
|
|
|
Hi,
is there any way to get the user name from an IP Addreess or viceversa in Same Network domain ?
Thanks in advance !!!
|
|
|
|
|
Hi,
up till now users don't have IP addresses, computers do.
Have a look at Dns class and Dns.GetHostName() method.
|
|
|
|
|
Hi friends i created a System Configurator(C# Win application) which is used to update the File of Our product in Client machine. but now i have a issue that how i can Update System Configurator on Client machine becoz i think that it will also need to be updated.
can any body tell me what the best practice to Overcome this Issue.
wasim khan
|
|
|
|
|
hey guys...
i wana screw around with video an a tv tuner card...
the first obvious step is to get the video in a C# application, can anyone point me in a direction?
thanx
Harvey Saayman - South Africa
Junior Developer
.Net, C#, SQL
you.suck = (you.passion != Programming)
|
|
|
|
|
DirectX. TONS of articles here on CP.
Christian Graus
Please read this if you don't understand the answer I've given you. If you're still stuck, ask me for more information.
|
|
|
|
|
thanx CG
can you recommend an article for a total DX n00b?
Harvey Saayman - South Africa
Junior Developer
.Net, C#, SQL
you.suck = (you.passion != Programming)
|
|
|
|
|
i wanna add sound recorder in Visual Studio
bt not able to do so
any ideas??
|
|
|
|
|
You may want to look in Microsoft.DirectX.DirectSound namespace
Regards
|
|
|
|
|
using System;<br />
<br />
namespace WindowsApplication1<br />
{<br />
public interface a<br />
{<br />
void b();<br />
}<br />
public interface c<br />
{<br />
void b();<br />
}<br />
public class Class1:a,c<br />
{<br />
public Class1()<br />
{<br />
}<br />
#region a Members<br />
<br />
public void d()<br />
{<br />
}<br />
<br />
#endregion<br />
<br />
#region c Members<br />
<br />
public void b()<br />
{<br />
}<br />
<br />
#endregion<br />
}<br />
} compiler is saying ok.
but if i have to definf different data in bath cases.
Then what?
If you have an apple & I have an apple and we exchange our apples, then each of us will still have only one apple but if you have an idea & I have an idea and we exchange our ideas, then each of us will have two ideas!
|
|
|
|
|
An interface is like a contract. It only says that for your to be a member of that conract you must have a minimum set of members -Methods & properties-. So a.b() & c.b() are only declarations of a method called b() & they have nothing to do with the implementation. The class is concerned with defining how the method will work. Let's take a clearer example
Interface Author
{
public void WriteAnArticle()
}
Interface Editor
{
public void WriteAnArticle()
}
Class Me : Author, Editor
{
public void WriteAnArticle()
{
}
}
So whether you are an author or an editor you must write an article, but how you write the article is up to you.
Regards
|
|
|
|