GoodisonBlue's Q&A profile
Windows Forms Forms Designer & My Panel Control
When I place a TableLayoutPanel on a blank form, and then add a Button to the top-left (0,0) cell, the following code is generated: // // tableLayoutPanel1 // this .tableLayoutPanel1.ColumnCount = 2; this .tableLayoutPanel1.ColumnStyles.Add( new System.Windows.Forms. ColumnStyle (System.Windows.Forms. SizeType .Percent, 50F)); this .tableLayoutPanel1. ColumnStyles .Add( new System.Windows.Forms. ColumnStyle (System.Windows.Forms ...Show All
Windows Forms HeaderClick to select all rows in DGV
Dears, How can I add a "CheckBox" into the headercell of a DGVColumn, such that users can click and "check" the combobox control in the first cell of each DGVRow Thanks, No solution FYI: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=232225&SiteID=1 ...Show All
Visual Studio Team System DataDriven Unit Tests and SQL Server 2005 Schemas
If I try to configure a UnitTest (using the TestManager) to use a DataSource from a SQL Server 2005 database, that has multiple schemas within it (in addition to dbo), I can select a table from the database from the Data Table Name drop-down list - this value is not schema qualified however. If I then try to execute the Unit Test (either with or without the Debugger), I get an exeception as follows: Unit Test Adapter threw exception: Syst ...Show All
Visual Studio Team System Team Foundation Server Beta3 Setup Failed
I tried installing Beta 3 of the Team Foundation Server, single server installation. I followed the instructions in TFSInstall-v50920.chm. Setup of team foundation server failed with: Error 28905. WiDbLoc: Could not list of fields to localize from the database Berry here's when the errors occur in dd_vsinstall80.txt: [09/24/05,14:37:47] VSServerUI: ISetupManager::GetGlobalCustomProperty() failed to find global prop in CProgressPage::R ...Show All
Visual Studio 2008 (Pre-release) Binding hierarchical data to TreeView with two ItemSources
I'm trying to implement a simple TreeView that displays hierarchical data. Here's a psueodocode version of my classes: class TopLevel (singleton) List<Category> Categories class Category string Name List<Category> Categories List<Channel> Channels class Channel string Name So, there's a top level class, which is the one I want to bind to, which contains a list of Category instances. Each of those instances can contain more ...Show All
Visual Studio VC++ projects - MSBuild
I have VS 2005 professional edition. How do I build unmanaged VC++ projects using MSBuild May be VCBuild task is the answer, but what is the difference between running VCBuild directly and running it as an MSBuild task And how do I build all VC++ projects underneath a specified folder(and subfolders - only one project per folder) in a single run(daily build) Or what is the best approach to follow in this scenario Thanks. If you have ...Show All
Visual Basic TextBox Property
Hi I am very new to VB.NET programming and I hope that somebody will be able to help on what should be an easy question!! I am using Beta 2 and basically i have data-bound a text box to a decimal field in an sql database. Essentially what i am trying to do is force the user to only enter in an 99.99 format. I know that i can validate to check the input is valid but of course it would be good if they could actually only enter in that for ...Show All
SQL Server Reporting services in 2005
Hi, How do i get the "Data" "Layout" and "Preview" tabs in the report designer like displayed in Brian Welckers video "Report Authoring Tips and Tricks" http://msdn.microsoft.com/msdntv/episode.aspx xml=episodes/en/20050609SQLServerBW/manifest.xml When I add a report to my project, all I get is the layout view. When I click the menu Reports -> Data Dources, all I get is a list of my DataSources from my main project, I have no ability to Ad ...Show All
Visual Basic Window Handles in .NET
In VB 6.0 I was used to getting a window handle by using API and doing what ever I needed to do with that window. In VB.NET and it's HUGE API list, what is the equivalent to doing this, or should we just continue to use WIN 32 API For instance I want from within VB app to get other applications windows handle and move it resize it etc. What is the normal way to do this in VB.NET Hey Phil. I w ...Show All
Software Development for Windows Vista Declarative Workflows
By using the CreateWorkflow(xmlReader) overload I have been able to load very simple xoml files that have been generated from Visual Studio, provided I take out the x:Class attribute. What are the limitations, or better yet, the capablities of running workflows from strict xaml. We have a requirement for users to generate these files and load/start workflows from as strict as possible declarative model. The ...Show All
SQL Server Calling a stored procedure that inserts records and generates an output parameter
I will be calling a stored procedure in SQL Server from SSIS. The stored procedure inserts records in a table by accepting input parameters. In the process, it also generates an output parameter that it passes as part of the parameters defined inside the stored procedure. The output parameter value acts as the primary key value for the record inserted using the stored procedure. How can I call this stored procedure in SSIS This is just one o ...Show All
Smart Device Development Can't Check Submenu Item
So basically, I am trying to check a menu item that belongs in a cascading submenu. I have a sample diagram to show you want I mean. I am sure I am getting the handle because I get get the string, but I just can't put a check mark there. I want to check mar Item2 and Item1. (Submenu Bar ) Item1 Item2 ^ | (Submenu Bar ) ...Show All
SQL Server Database Diagram error on SQL 2005
I upgraded from SQL 2000 to SQL 2005. The database owner is sa and I am logging in as sa in Management Studio. But when I click on Database diagrams I get the following error "Database diagram support objects cannot be installed because this database does not have a valid owner. To continue, first use the Files page of the Database Properties dialog box or the ALTER AUTHORIZATION statement to set the database owner to a valid login, ...Show All
Windows Forms calculation in applications
Hi all, I am wanting to have some labels in my application that adjust automatically depending on the data entered into specific text boxes by the user. for example, if the user enters the number 10 in one text box, and 30 in another, I want the label to show 40. How can I do this at the moment, the code I have tried is this: Private Sub tabGeneralDevices_GotFocus( ByVal sender As Object , ByVal e As System.EventArgs) Handles tabGe ...Show All
Windows Forms Serialization of custom colors (and other types)
I have defined some custom colors (and fonts, etc.), and would like to be able to have designer serialize these as the custom types rather than numeric values. Here is a psuedo snippet: // Implemented as a singleton... details are excluded public class MyColors { Color _myGray = new Color.FromArgb( 42, 42, 42 ); public Color MyGray { get { return _myGray; } } // ... exclude ...Show All
