|
Message Closed
modified 5-Apr-17 9:25am.
|
|
|
|
|
hi guys
how to disable text box enter keypress sound?
thanks a lot
|
|
|
|
|
Turn off your speakers.
This is a default Windows configuration and would need to be changed by the end user.
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
As far as I am aware these sounds are set in the System Settings and apply to all applications. Obviously they can be changed through the Control Panel of the Computer concerned and this[^] article explains how to do it programatically.
Good luck!
Henry Minute
Do not read medical books! You could die of a misprint. - Mark Twain
Girl: (staring) "Why do you need an icy cucumber?"
“I want to report a fraud. The government is lying to us all.”
Why do programmers often confuse Halloween and Christmas?
Because 31 Oct = 25 Dec.
|
|
|
|
|
behzadcp wrote: text box enter keypress sound
What sound is that? Nothing happens when I do that
|
|
|
|
|
I have Visual Studio 2010 Professional and SQL Server Express installed. I am following the MSDN walkthrough for connecting to Data in a SQL Server Express Database (Windows Form).
I have downloaded and installed the Northwind sample.
I opened a new windows form project and then attempted to add a Service-based Database.
An error message comes up:
Failed to generate a user instance of Sql Server due to a failure in starting the process for the user instance. The connection will be closed.
This message comes up everytime I make an effort to connect to SQL in any way. Can anyone help me?
Thanks
Darrall
Also I have a 64 bit OS and that was a bit of a problem in installing the SQL
modified on Tuesday, May 18, 2010 2:29 PM
|
|
|
|
|
|
Thank you!!!! This is the answer I have been looking for for weeks
|
|
|
|
|
See if any of the solutions in this[^] thread on MSDN helps.
Henry Minute
Do not read medical books! You could die of a misprint. - Mark Twain
Girl: (staring) "Why do you need an icy cucumber?"
“I want to report a fraud. The government is lying to us all.”
Why do programmers often confuse Halloween and Christmas?
Because 31 Oct = 25 Dec.
|
|
|
|
|
Thanks. See the reply above. That site specifically solved the problem. Your answer is greatly appreciated.
|
|
|
|
|
hello everybody....apart from presenting differences (like No Pointer, No Overloading) from java, i need to present that Why C# is Better than Java. I would be thankful if you provide me 5 to 10 points, just a hint you know.
|
|
|
|
|
1) C Comes before J in the alphabet
2) C# has fewer letters to type than Java
3) Java can be confused with coffee or a South Pacific island
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
he he he....
|
|
|
|
|
|
|
Seriously, "better" is a relative term that has fueled many ideological debates. Present what is different, not better.
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
|
It just is.
|
|
|
|
|
Because it's not Java on Monday.
Because it's not Java on Tuesday.
Because it's not Java on Wednesday.
Because it's not Java on Thursday.
Because it's not Java on Friday.
Because it's not Java on Saturday.
Because it's not Java on Sunday.
.45 ACP - because shooting twice is just silly ----- "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "The staggering layers of obscenity in your statement make it a work of art on so many levels." - J. Jystad, 2001
|
|
|
|
|
Do we get the credit if we do your homework for you?
Everything makes sense in someone's mind
|
|
|
|
|
what a joke?? i had a doubt in my mind that from atleast ONE, i"ll get this answer and you proved that doubt to be true. Just go through the question again, this is not very basic question. This has some braod concepts in it. But apart from your answer, you will certainly get the credit.thanx for ur co-op.
|
|
|
|
|
I don't think he is joking.
I have learnt that you can not make someone love you, all you can do is stalk them and hope they panic and give in.
Apathy Error: Don't bother striking any key.
|
|
|
|
|
C# is easier to type if you are left handed or one of these new "script kiddie" programmers that never wrote in C and thinks assembler was something Neanderthals wrote in.
Who the heck said C# is any better than Java? The fact Microsoft is behind it and Windows dominates and C# is most powerful in .NET, and .NET most efficient on Windows these days, is the only reason you're even investigating it and I spend so much time writing in it. After 30+ years in this game starting with most everything assembler and going through too many C variants, it all looks darn near identical to me except for the quality of the tools and the time frames involved in turning out quality software. Those really have nothing to do with the language.
There hasn't been a really significant invention in computer languages since C++, and frankly if Niklaus Wirth had been a principal engineer at Microsoft (which didn't exist then), we'd all still be writing in Modula 2. Stroustrup's work extending the hack Kernigan and Ritchie put together to port Unix and Modula 2 are the only truly significant language designs since assemblers beat out paper tape and switches. C is just a syntax shortcut, and it's invention happened to birth the "compiler." Everything since of any merit is just another re-design of what was proven with those three.
Why don't you do a presentation on how C# is better than APL? Now THAT would be an interesting presentation that would challenge you to put together. I wonder if one could still find an APL keyboard on eBay? If you really think pointers are something one simply cannot use, try out APL -- no such concept.
|
|
|
|
|
Hi all,
I have the following code I'm trying to get working. When I change the selection in the comboBox in column1, I want the list generated if the selection was "Test1". However, it seems no list is generated. Any help would be appreciated. Thanks.
public class Units
{
public string Unit { get; set; }
}
private void column1DataGridViewTextBoxColumn_SelectedIndexChanged(object sender, DataGridViewCellEventArgs e)
{
string strPrimary = column1DataGridViewTextBoxColumn.ToString();
Debug.WriteLine(strPrimary);
if (strPrimary == "Test1")
{
var dataSource = new List<Units>();
dataSource.Add(new Units() { Unit = "blah1" });
dataSource.Add(new Units() { Unit = "blah2" });
dataSource.Add(new Units() { Unit = "blah3" });
this.column2DataGridViewTextBoxColumn.DataSource = dataSource;
this.column2DataGridViewTextBoxColumn.DisplayMember = "Unit";
}
}
|
|
|
|
|
Wow...I'm really confused by your code. Is column1 a ComboBox column or a TextBox column? Because you named it column1DataGridViewTextBoxColumn .
But let's say that it actually is a ComboBox column. What is it that you think column1DataGridViewTextBoxColumn.ToString() does? It creates a string that gives you basic information about the object. So, for instance, I added a ComboBox column to a DataGridView. The ToString() method returns "DataGridViewComboBoxColumn { Name=Column1, Index=0 }".
That's what you're checking to see if it equals "Test1". It never will.
What you want to be checking is:
string strPrimary = (ComboBox)sender.SelectedText;
I'd say if you don't have this kind of basic understanding as to what these methods do, you really shouldn't be trying to mess with DataGridView's and Lists.
Seriously, start out with a basic course on C#.
|
|
|
|