help_m_with_extern_linkage's Q&A profile
Windows Forms how to change null columns from datagrid
hi, how can i change or remove the displayed (null) value from the datagrid ...Show All
Windows Forms Z order with MDI
Ive got a MDI parent with numerous MDI children, wondering if I can modify the Z order programmatically of the MDI children. I have 2 or 3 different MDI child windows. The user can Tile/Cascade/Maximize these but whenever I open or close a window, or return to Tiled mode from another state, I automatically re-order the windows to ensure that a specific one is at the top, and (if it exists) a specific on ...Show All
.NET Development IEquatable, IComparable, operators and Object overrides
Framework Design Guidelines provides example implementations of IEquatable, IComparable, suggested operators and Object overrides as roughly: public struct MyValue : IComparable<MyValue>, IEquatable<MyValue> { int theValue; public int CompareTo ( MyValue other ) { return theValue - other.theValue; } public bool Equals ( MyValue other ) { return CompareTo(other) == 0; } public override bool Equals ( object obj ...Show All
SQL Server multiple updates to table
Hello all, I have a parallel process updating a single table from various sources using update table statements using a key column. I'm afraid the process will fail when an update will occur to a record with the same key simultaneously. Does anyone have a suggestion how to accomplish this Is there a way timing the updates in queue Thanks. There is no concurrent update in SQL Server, DML statemen ...Show All
Windows Forms Creating Publish.htm without Visual Studio
I'm developing a clickonce application without the tools of Visual Studio, does anyone have an example of a completed clickonce web deployment app <HTML> <HEAD> <TITLE>ClickOnceOnDemand</TITLE> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8" /> <STYLE TYPE="text/css"> <!-- BODY{margin-top:20px; margin-left:20px; margin- ...Show All
Visual Studio Team System install prompting for login
So, after having nothing but problems with installing a Dual Server setup, I decided to take the easy way out and try a Single Server setup. As luck would have it, Single Server is turning out to be just as big a pain as the Dual Server install. Towards the end of the Team Foundation Server install, I'm being prompted for login credentials. The title of the box is "Log on" and the text above the User Name says "Connecting to Team Foundatio ...Show All
.NET Development Increasing the runtime heap?
Hi I've got an issue with OutOfMemory exceptions occuring in an application. I know the gen 0 heap size is based on the L2 cache of the CPU running the system, but even when I try to run my process on a system that has a megabyte of it, it gets the exception not even halfway in. Normally, I'd just take it for granted that I was wasting too much memory too quickly, but the problem is - I need all of the memory I'm trying to allocate, and I nee ...Show All
Game Technologies: DirectX, XNA, XACT, etc. I need some spiritual DirectX guidance.
I've been learning from a book titled Tricks of the Windows Game Programming Gurus by Andre' Lamothe. It's outdated using DirectX 7.0a SDK, and I believe his second volume creates software rasterization with DirectX 8.0 SDK. I really enjoy his books because it is very in depth and low leveled. My question is should I continue reading it if I'm geared on becoming a professional in graphics Since 60% of our life is maintaining and upgrading previo ...Show All
Visual C# How to import a dll made in C++ Win 32
Hello Everyone, I have a dll which is made in Win 32, as it is not an assembly neither COM can't be used as a refrence, so I have to Import it.... Can someone tell me how to do it...As when i do it asks for the entry point and secondly how to call the functions from that dll.....A brief example will be highly appreciATED... Thanks, Harsimrat Thats simple.. u have to use System.Runtime.Interopservices ...Show All
Windows Forms problems in adding rows to datagrid
Hi All, I am trying to add different class which has same fields to datagrid Ive clasess like this ClassA ------------CLASSID,NAME,DEPT ClassB------------CLASSSID,NAME,DEPT I am using dataset to add rows to datagrid. classA[] data =new classA[]{"1","Test","SALES"}; classB[] data1 =new classB[]{"1","Test","SALES"}; dataset.Tables["temp"].Load ...Show All
SQL Server fn:contains() and full-text index
I am glad to find out that full text index on xml column is actually xml aware - that I can use xquery to perform the search. However, when trying to find a word or phrase inside a node using contains(), it seems this function behaves differently in following situations: 1. contains(xmlCol, 'search text'), this works case-insensitive 2. contains('/root/someElement', 'search text'), this works case-sensitive In both cases, I have crea ...Show All
Windows Forms Basic Application Design Question
I am new to windows forms as all of my previous work has been web applications. With that said, please forgive what may be a simple question. I am building an application that looks as follows: Toolbar TreeView DataGridView TabControl Based upon the node selected in the TreeView, the right pane may display as above or it may contain a different set of controls. In addition, based the row selected in t ...Show All
Windows Forms main form losing responsiveness
Howdy all. I'm building an app and this is essentially how it works. I've got a winform. On the left is a tree control. On the right I've got a panel, which I call ControlHoster. What I do is change the content of the panel's control& ...Show All
Windows Forms DataGridView selected row color
I'm so confused on this. After looking at the docs and inherited behavior, etc, I just don't get it. I want to change the selection color to a color that I have prediefined for that row when the user selects it. For example, if the user selects row 1 I want the selection color to be red, if row 2 yellow, etc. Currently, when I add a row to the grid, I am assigning a DataGridViewCellStyle with SelectionBackColor = a color, to each cell ...Show All
Visual Studio Express Editions ToDouble compiler error
trying to learn visual c++ and can't seem to get this working. I have a friend that managed to get this working on his computer with visual studio 2003 pro I think was the version. Anyways, I have a windows application form with three textboxes and a button. When the button is pushed I want it to grab the values in the first two boxes and output it into the last one after going going into my formula. I used t + w to keep it simple. private: S ...Show All
