rajveer31's Q&A profile
Windows Forms listbox
When you doubble click on a itemin a list box I need a event to fire. What event will handle this http://msdn.microsoft.com/library/default.asp url=/library/en-us/cpref/html/frlrfsystemwindowsformslistboxmemberstopic.asp OnDoubleClick ...Show All
.NET Development sock.SetSocketOption does not work.
Trying to execute sock.SetSocketOption statement I get this error: An unknown, invalid, or unsupported option or level was specified in a getsockopt or setsockopt call This is the actual code: try { // create a socket instance sock = new Socket ( AddressFamily .InterNetwork, SocketType .Stream, ProtocolType .Tcp); // create server IPEndPoint instance. We assume&nb ...Show All
Visual Studio Running Analyze from VSS 8 (VS2005 Beta 2) finds many many many errors in my VSS DB
Analyze from 6.0d in the verbose mode finds and fixes maybe two errors. The database is 3.7 GB, 83K+ files. I copy the entire database to a new box with VS 2005 and run analyze using the same command line. The result is every conceivable error, hundreds of times, and each time I run it it writes out new copies of over 65000 files. I have not gone into the client to see if this substantially mangles the database yet, as ...Show All
Visual J# VS.NET B2 - Object Test Bench
Hey, I was using Object test bench on Beta1 and that is really amazin feature. I use Beta2 now and I cant use Object Test Bench. In some project it is working.. but others dont include object test bench. I didnt understand what is wrong Yes, we are considering that. We have plan of supporting OTB for active project (currently selected project) rather than startup project. ...Show All
Windows Forms DataGridView ErrorIcon for Constraint errors
If I have a dataGridView and add a new row that has some sort of database constraint error. When I click the Save button. try { if (this.Validate()) // fires CellValidating and RowValidating &n ...Show All
Visual Basic Can I use Bitmap Fonts?
Is it possible to use bitmap fonts in vb express Thank you. ...Show All
Visual C# Noob: Nested For loops Example
Can someone please tell me how to Convert this BASIC snippet into C#: FOR X = 1 to 10 FOR Y = 1 to 10 NEXT Y NEXT X Thanks in advance. for ( int i = 1; i <= 10; i++) { for ( int j = 1; j <= 10; j++) { } } ...Show All
.NET Development Access Won't Update With Special Characters
I have created a asp.net webform in Visual Studio 2003 which updates an Access database with customer information. As long as I put letters and numbers in the form fields the information gets updated to the database fine. However, if I mix in some characters such as ;[ ] ( then nothing updates into Access. here's the code when the user clicks a submit button. I get redirected to the thank you page even if the information doesn't go i ...Show All
SQL Server NULL values in Cube for measures
I am facing one problem for cubes. Eventhough I have NULL for certain measures in cube it gets populated as 0 in Cube. Has anyone faced this kind of problem. How can I solve this eg In Database D1 D2 Measure1 Measure2 A B NULL 10 C D 10 NULL Expected in Cube D1 D2 Measure1 Measure2 A B 10 C D 10 Currently getting D1 D2 Measure1 Measure2 A B 0 10 C D 10 0 I ...Show All
SQL Server SQL query
I have the following table and I'm trying to identify sessionid's where the group of category name(s) in one searchcriteriaid group differ from another searchcriteriaid group, in the same session. In the example below the user searched in the same session (5575628) twice (searchcriteriaid 60658874 & 6068961) and used the same 2 category criteria (Land, Multifamily), therefore, I’m not interested in identifying these. But, in the last sessi ...Show All
Visual C# Can Generics solve problem of cross referencing?
I have a solution which I encountered problem of cross referencing when I try to open forms(each other) located in two .DLL projects. Can I solve these kind of problem using .NET 2.0's generics If yes, how Thank a lot. No, generics can be used to create re-usable type safe code. I think you can't fox you referencing problem with it. To read more about generics, see this article. ...Show All
.NET Development Problem with finding record position
Hi! I am learning data access with ADO .NET. I've a problem. Here is a code for finding a record using primary key. Dim n As Integer = InputBox("Enter Salary Number:", "Search", vbOK) Dim rowFoundRow As DataRow = DsMember1.Tables("Member").Rows.Find(n) If Not (rowFoundRow Is Nothing ) Then MessageBox.Show( CType (rowFoundRow(3), String ), "Search Result") Else Messag ...Show All
.NET Development Quiting remoting client causes error: System.AccessViolationException
I am experimenting with .net remoting and have written and tried a couple test applications but all of the same problem.When I quit the client I get the following exception.System.AccessViolationException was unhandled Message="Attempted to read or write protected memory. This is often an indication that other memory is corrupt." Source="System" StackTrace: at System.Net.UnsafeNclNativeMethods.OSSOCK.WSAGetOverlappedResult ...Show All
SQL Server how to give access my report to particular users
Hi All, This is first time in this forum.Hope I will get answer for this. I have a requirement like this. I have 3 tables. county table, City Table and voter table.I need to generate report like this.All the voter information from each city and each state. I did like this : In the dropdown I populated all the counties like adams,bergen,phily.. I am getting the reports for what ...Show All
Smart Device Development VS2005 Beta2 and Pocket PC 2003
I have VS2005 Beta2 installed. I am trying to develop a native C++ application for Pocket PC 2003. I use ActiveSync 3.8 I get the error "Connection failed. The current version of ActiveSync is not supported. Install the latest version from www.microsoft.com". Could someone help me with resolving this problem. Thanks -Anthony Hi Vladimir I think that you know Jeff Abraham ,he helped me so much w ...Show All
