Kulwant Dhaliwal's Q&A profile
Windows Forms data grid changing sizes of columns
How do you change the size of the column sizes. I have 3 columns that fill from a dataset but not sure how to make the columns sizes larger. Thanks Try the code listed below, there is also am alternating color for rows. ...Show All
Windows Forms Remoting
Hi, This is a multiserver application. It has a primary server ,a secondary server & a client. The client first creates a remote primary object and a remote secondary object, then makes a remote call on the secondary object with the prima ...Show All
Windows Forms Changing text style of one word only within a label to bold or underline
How can I change the style of a word within a label E.g. if I have a label that says: Enter your user name and I want the word "Enter" to be displayed with an underline and in a blue color, how can I do this I tried using html : <u>Enter</u> . . . but this didn't work. There is a very simple solution-Use two labels next to each other :) For the first label,specify AutoSize = tr ...Show All
.NET Development Strange XmlNodeList behaviour - NullReferenceException
Hi, I used the SelectNodes() method which returns an XmlNodeList. I checked the Count property of the returned value. It is giving correct value - 3 or 1 depending on XPath Expression. Now, when Iam iterating through it Iam getting a NullReferenceException. XmlNodeList nodeList = doc.SelectNodes(............); foreach(XmlNode node in nodeList) { } Iam getting that exception at the foreach statement. Everything seems al ...Show All
Visual Studio 2008 (Pre-release) Using Message Contracts With The Chunking Channel
The chunking channel download includes two applications demonstrating use of the channel, a client application and a corresponding service application. The applications work as expected with regard to the first operation defined by the contract: [ ServiceContract ] interface ITestService { [OperationContract] [ChunkingBehavior(ChunkingAppliesTo.Both)] Stream EchoStream(Stream inboundStream); } Switching to a mess ...Show All
Visual C# Business object Notification pattern
Hi, All, any one have idea about how to design the business object notification pattern to handle the errors and notify to the end users which are occured in the update processing of business object. Thank you. ...Show All
Visual C# How to create a base class windows Form?
Hi All, I wanted to created a windows form with functions that are reusable. For example, creating a function to connect to the SQL server and validate user's name and password or insert record to SQL Server just by calling the AddRecord function. TIA For example, try this: public class BaseForm : Form { public void MyMethod() { MessageBox.Show("Hell ...Show All
SQL Server DECODE Statement
Is there something like the DECODE Statement in ORACLE also provided for SQL-Server Thanks in advance Raimund Look in Books On-Line for the CASE statement. You will probably want the simple CASE format. Here is an example from there: CASE type WHEN 'popular_comp' THEN 'Popular Computing' WHEN 'mod_cook' THEN 'Modern Cooking' WHEN 'business' THEN 'Business' WHEN 'psychology' THEN 'Psy ...Show All
Visual C++ Global Functions do not have 'this' pointers
Hello Everyone, I get this Error C2673, what is the way around...I looked up MSDN it doesnt give me any solution... Sugestions, Help..Highly appreciated.. Thanks, Thanks for the honest answer...I'm not expert in OOP but trying too find my way out..... ...Show All
Visual C# what is this IDE
hi I know this will sound quite noobish.. in fact it is.. but what is this IDE i keep still seeing it.. ThankS and sorry for the question IDE stands for Intergrated Development Environmet, for the history of IDE's and more information see: Integrated development environment . ...Show All
SQL Server sql mobile question
Hi friends, sorry for interposting but my question was left unanswered in another group. here's the question: The execution of follwing query against sql mobile DB goes fine in SQL Server Management Studio SELECT c.contactID FROM contacts c LEFT OUTER JOIN contactNotes cn ON cn.contactID = c.contactID but when I'm trying to execute it in Visual Studion, it transforms the query into: SELECT c.contactID FROM { oj contacts c LEFT OUTER ...Show All
Windows Search Technologies WDS - SDK - Sample C++ code??
I am new to ADO in C++ and I am having trouble getting the C++ version of WDS SDK to work. Can anyone provide me with some sample code. Thanks. Vijay You may want to start by reading up on ADO on MSDN: http://msdn.microsoft.com/library/default.asp url=/library/en-us/ado270/htm/mdmscsection1_ado.asp I'll see what else I can dig up for you. ...Show All
Windows Forms Insttal problems
Hi ! Sorry for my bad english.... I try to install Taskvision sources.... I've got error on install without error message, i'don't know why it does'nt install.... All requirements are ok on my computer... So why you don't simply zip files Thanks in advance Alex ...Show All
Windows Forms Application deployment directory in VBasic Express
I am interested in knowing on what directory my applications install when using clickonce. On setup projects in previous VB versions your apps were installed on a directory with the name of your organization but I think that has changed, because I am not able to locate the directory where the applications reside once installed. Any help I could get will be greatly appreciated. Hi, The application installs und ...Show All
Visual Studio Team System TFSDeleteProject Doesn't Remove Project From Source Control
I ran the TFSDeleteProject. This appears to finish succesfully. The only thing that isn't deleted is the Project in Source Control. I selected the 'show deleted items' in my VS2005 and can see the deleted files under the Source Control project. Is there a way to totally remove the project from Source Control We want to re-create the Team Project with the same name we used before, but it can't because of the existing Project in Source Control ...Show All
