lbalogh's Q&A profile
Windows Forms Binding Navigator Problem
Hi, I was wondering how you see the code for the previous, first and delete buttons on the binding navigator. The reason being is I run my application and the user presses the + button which displays a new record but if they then press the previous or first record button the program crashes with an unhandled exception. This is because there are fields in the new record that are required. I have put in a try catch for the Save button click ...Show All
Windows Forms DataGrid row COlor problem
Hi, I have 2 datagrids in my aplication, one master and the other detail. I want the detail datagrid to show all the rows in the datatable and when user selects a row in master datagrid then I want to change the color of only relevant rows in detail datagrid. All sample I have found so far lets you control the row or cell color when they are being painted. In my scenario it seems I would have to refresh/reload the detail datagrid to change th ...Show All
Visual Studio 2008 (Pre-release) Additional lambda expressions support
1- An easier syntax to combine functions: Given: int [] numbers = {0, 1, 2, 3, 4}; Func< int , bool > isOdd = i => i % 2 != 0; Func< int , bool > isZero = i => i == 0; Instead of having: Func< int , bool > isZeroOrOdd = i => isZero(i) || isOdd(i); We could have: Func< int , bool > isZeroOrOdd = isZero || isOdd; 2- Same thing but with expressions: Given: Expressio ...Show All
Visual Studio UIPAB
Dear, Keith mentions on his weblog http://blogs.msdn.com/keith_short/default.aspx that the UIPAB can be used with a recipe. I have been using UIPAB in practice. The UIPAB, however, is rather difficult to explain to novice user. Do you think that a recipe might ease the UIPAB pain for novice users Does there exist a (demo) UIPAB recipe somewhere Do you think that there exists some interest in 'open sourcing' a recipe for UIPAB If this is ...Show All
Smart Device Development MappingName problem
Hi, i've got two tables. Order and product. Order : id amount product(object) Product : id Description In my code use DataGrid1.datasource = Order[] I create a tablestyle and I start to map the properties with ( MappingName = "PropertyName") But what do I have to use If I want to show the product.description in the datagrid instead of the productobject Grtz Dennis ...Show All
Windows Forms Selected Row in DataGrid
Is there an event that gets fired when a row is selected in the DataGrid I can't find it. Or do I need a third party grid so I can use this Yes, it's a possible answer. the currencymanager is what manages your position& ...Show All
.NET Development how to check the internet connectivity
My computer in connected to a LAN which inturn is connected to the internet through the gateway router. so the IP address i use is the private IP address. I want to check the internet connectivity from c#. How can i know whether or not the internet connectivity is working although my LAN connection is working very well Please help me with this problem. While mechanisms exist for determining if there is a net ...Show All
SQL Server Can't connect to SQL Server 2005
Hello, I have a problem with connecting to SQL Server 2005. I have a small network at home with a WLAN router connected to Internet. My notebook computer and desktop computer are connected to router. My SQL Server 2005 is installed on notebook computer and Microsoft Server Management Studio is installed on desktop computer. I wanted to add login so I could connect to it from desktop pc and a problem came up. When I tryed to add acco ...Show All
Visual Studio Team System Distributed System template
Hello, I've just downloaded Visual Studio Team System Beta 2 and started "looking into" the Team System features but was unable to locate the Distributed System Solutions project types when creating a new project. Where can I find these Thanks, Scott Mead Marking this as the correct answer for now while Jyothi and Scott work on this offline so I can stop getting reminder e-mail every day ...Show All
Visual Basic How to call a DLL written by C# from VB codes?
I wrote a class library (compiled as DLL) using C#, with source codes as the follows: ============================================================== using System; using System.Collections; using System.ComponentModel; using System.Data; using System.Threading; using System.Diagnostics; using System.IO; using System.Text; namespace UTS_Convertor { /// <summary> /// Summary description for Class1. /// ...Show All
Visual Studio Team System Creating build on a few solutions under different team projects based on different labels using team build
Hi, I'm trying to create build on a few solutions under different team projects based on different labels using team build. I saw on this blog: https://blogs.msdn.com/manishagarwal/archive/2005/09/27/474273.aspx by Manish Agarwal the way how to do it. But I couldnt find the way to retrieve the sln based on the different labels. This is the view of my team projects: -------------------------------------------------- ...Show All
Windows Forms services
Hi, I want, that <Administrative Tools> <Services> particular service restart (stop and at one blow start) daily 12 am. automatically, when I sleep. How can I resolve this task Thanks, hamletaz ...Show All
Software Development for Windows Vista About custom container activity's shown behavior
I made a custom activity which inherits StateActivity,and there are many activities in it.And then I made a custom designer for this activity.Override the OnPaint method without calling base.OnPaint(). Everything seems ok,and the sub activities in my custom activity isn't visible as my expect.But my question is that when I hover mouse to show the custom activity's tooltip or drag the custom activity to other place,sometimes,the sub activit ...Show All
SQL Server Report grouping question
Hi all, I am brand new to using reporting services. I am having a problem creating this simple report. Here is what I am trying to do: 1. At the top of each page on the lefthand side, I went to print the customer name. 2. Under the customer name, I want to print all the product this customer purchased. 3. I also want to be able to change the column widths for the product fields. Presently, if I click and drag the the column l ...Show All
Visual Studio Team System HKEY_LOCAL_MACHINE\SOFTWARE\SourceCodeControlProvider\InstalledSCCProviders?
Since we are stuck using a multitude of SCM systems at least for a while, we use a utility called SwitchSCC that can easily switch among different SCC providers. It uses this registry key: HKEY_LOCAL_MACHINE\SOFTWARE\SourceCodeControlProvider\InstalledSCCProviders But TF doesn't populate this reg key Is this an oversight or just the TF is going to work [Continuing previous response...] The HKLM equi ...Show All
