mman06's Q&A profile
Windows Forms How can I turn off tri-state for a DataGridBoolColumn?
Hi How can i turn off tri-state for a a DataGridBoolColumn Please help thanks in advance Anzer hello i do not know if you get a solution... i had the same problem and i just find this solution to this issue define a DataGridTableStyle define datagridboolcolumn DataGridTableStyle set allownull to false and add the tablestyle to to datagrid here is my code Dim ts1 As New DataGridTableStyle ts1.MappingName = "Mynodes" ts1.Alt ...Show All
Visual Studio Team System The relationships of Area and Iterations
This post is more of a comment than a question. I'm hoping to engage a few, or a lot, of people in a discussion on the relationships of Area and Iterations. One of my larger complaints about TFS is in the relationship of Areas and Iterations. Perhaps I think of them in the wrong mindset, in which case I need to bump up my reading on software development theories. I feel that Iterations need to come in two flavors- Team project level ite ...Show All
Visual Studio Express Editions VC# Exit Sub Equivalent
In VB if I want to exit out of a procedure I call "Exit Sub". What is the equivalent of doing so in VC# in a class library project in a procedure Thanks, Ryan Ryan, Similar to VB.NET, C# uses return, for example: VB Sub Equivalent: public void WriteLine( string value) { if (value == null || value.Length == 0) &n ...Show All
Windows Forms Custom ToolStripItem
Hello, For custom toolstrip items, I want to create a custom one. Can custom toolstrips be user controls Will the toolstrip accept user controls as a custom item Brian Hey, I see what you are saying, and that makes sense, but it seems a ToolStripItem would do the same thing, mainly because it supports the docking on the side thing... but I see what you are saying. Thanks. ...Show All
Windows Live Developer Forums vb.net sample errors?
i was playing around with the sample vb code ( http://msdn.microsoft.com/library/en-us/msnspaces/MetaWeblogAPI_VB_Code_Sample.asp ) except it appears to have errors (like End Function with no Function). Am I missing something or are there errors in the sample vb code It looks like there were some transcription errors in the VB.NET code. I've filed a bug against this with our documentation team. Thanks for ...Show All
Software Development for Windows Vista Raising events to State Machine workflow activities.
Hello, Let's say we have State Machine workflow with two states: A and B. A has event driven activity A1, B has event driven activity B1 on it. Current workflow state is A. Is it possible somehow to raise event to B1 event sink activity Keeping in mind that it is positioned on "inactive" state. Thanks in advance Edmundas If B is inactive - you cannot raise an event that will activa ...Show All
Windows Forms {SOLVED} ANOTHER QUESTION - listView control
I am using dragdrop so want to know the index of item under mouse pointer for ListBox its ListBox.IndexFromPoint(e.x,e.y) and it works fine but in ListView there is no such method so i am using int selectedIndices = ListView.Items.IndexOf(lvLevelList.GetItemAt(e.X,e.Y)); now the problem is it always returns -1 why so and other way to do it.What exactly i want is to obtain index of item at location (e.x,e.y). ...Show All
Visual Studio Team System Team System and Microsoft Project Resource Name Conflict
Hi When i create a project and assign Valid users to it, the default way the team system writes the name is the windows way (Last Name, First Name MiddleInitial). But when i open to manage tasks for this project in Microsft Project, the resource name are now split because of the comma delimiter in the name. How do we fix this Was this fix included in SP1 Thanks in advance. ___________________________ Sarah Camer ...Show All
Windows Forms check if the combobox's text is on its itemlist
Im doing this durning the "lost focus" event: if ( MyComboBox.Find(MyComboBox.Text) < 0 ) { MessageBox.Show("This is not a valid value"); /* MyComboBox --- How can I restore the previous value */ } My questions: Is there a property to check this If there's not, how can I restore the previous value . Thanks in advanc ...Show All
SQL Server SQL Server Enterprise will only use 128MB Ram, whilst we have 16GB available
Hi, Our server is running Windows 2003 Enterprise Edition with 4 AMD dual core processors and 16GB ram with SQL 2000 Enterprise. We noticed that SQL was only using 1.8GB memory, and struggling. so we added the /3GB /PAE swith to the boot.ini file and rebooted. Almost immediately we noticed that SQL server is only using 128MB ram and running out of connections VERY quickly. We removed the /3GB /PAE switch and rebooted, but SQL is still only us ...Show All
Windows Forms Error icon tooltip not visible when editing a cell
Hi, I copy/paste the code from the DatagridView FAQ "How do I show the error icon when the user is editing the cell " but the errorTooltip isn't diplayed when the user move the cursor over the error icon (but the CPU is 100% !!!!) I'm using a datagridview bounded to a dataview Any idea Thanks for your help That is correct. To correctly show the error icon and have the tooltip correctly show when its ...Show All
SQL Server How to add 'ALL' as report parameter in drop down with other parameters
Hi ALL, I would like to add 'ALL' to other report parameters.The other report parameters are counties.I would like to add 'all' so that user can select all counties from drop down. I added union select 'ALL' to sub query. in main query @county='all' is it right or wrong.After I did this report is running very very slow.performance problem begins. what exactly is the procedure to do. thanks r sankar Very ...Show All
Microsoft ISV Community Center Forums Excel Macro - saveas command with current date?
I'm new to VB and am trying to code up a macro for excel. What I am hoping to do is to save a file in two locations. The getting them to save isn't a problem. However, what I would like to do is have one of the saves to have the current date at the end... ActiveWorkbook.SaveAs Filename:= _ "C:\Documents and Settings\ca5ms\Desktop\BAS05980.P.EFT.EOIIN.UNUMLIF.xls", _ FileFormat:=xlNormal, Password:="", WriteResPassw ...Show All
Visual C# Please help !
I've got to capture all the messages that a dos program is sending them to the console ! How can i do it The program isn't supporting this opption, to output the messages in a text file. Please help !!!!! This is easy - add System.Diagnostics and System.IO using clauses then use something similar to this: ProcessStartInfo pi = new ProcessStartInfo( "cmd.exe" , "/c dir" ); pi.WindowStyle = ProcessWind ...Show All
Visual C++ What are the differences...
...between Win32, MFC, and Shell programming Which one should I learn first Thanks! The book that got good reviews is one from Adam Nathan: http://www.amazon.com/gp/product/customer-reviews/067232170X/ref=cm_cr_dp_pt/103-0068571-7884610 %5Fencoding=UTF8&n=283155&s=books But you may also want to consider: http://www.amazon.com/gp/product/013046130X/103-0068571-7884610 v=glance&n=283155 ...Show All
