Alix's Q&A profile
Windows Forms how to populate a datagridview?
how can i populate a datagridview without a database i'd like to use it as a list. Here where some pretty good references I used to populate datagrid... http://msdn2.microsoft.com/en-us/library/ms171600(VS.80).aspx There are some examples on different ways to create bound/unbound and display data to the grid Walkthrough: Creating an Unbound Windows Forms DataGridView Control Describes how to manually populate the control ...Show All
SQL Server green-bar for list
green-bar (altrnating background color) can be done in table, I can find a solution for matrix, but how about a list Thanks This doesn't seem to work in the scenario I have List containing: textboxes, table the above line of code, when placed in the list.backgroundcolor gives the following (have also included rownumber ) 2 white 4 white 6 white etc.. this is because it appear to be taking into account the detail (table) level So, instead o ...Show All
Visual C# Indexing ArrayList members by strings
Is there any way to index members of ArrayList or Array by any strings I mean something like it happens in DataTable, when we can index columns by their names. I am developing a little application for the wiring/electrical system, and I have to keep track of the switches and meters etc. Now for example there are 20-50 meters, and most of the times it so happens that they are modified individually. Sometimes they are modified simultaneous ...Show All
Visual Studio MSBuild.Task output for solution files
Hi, I have two questions. 1) We are using MSBuild to organize a series of solutions. MSBuild does not seem to be able to capture the TargetOutputs parameter of the MSBuild task if you build a solution. As a matter of fact, it crashes. I would like to get a list of DLLs that were built as part of the solution. That does not appear to be possible with a solution and the MSBuild.Task output. It works fine for a single project. 2) Is the scop ...Show All
Windows Forms Scrollbars and Custom Border Painting
I've customized a panel to draw a custom border utilizing WndProc but I have a problem when the scrollbars are displayed, take a look at the lower right portion of my border. I have attached a snapshot of the problematic control and a .NET pan ...Show All
Smart Device Development Treo 700 Emulator
Is there an emulator available for the Treo 700w If so where I can't seem to find anything on one. Thanks! Chris When you say emulator for the Treo 700w... do you mean one that runs on it or one that you’d run elsewhere like your development PC and that emulates the Treo 700w environment If it is the prior, this is not the place to ask such a question as this forum is dedicated to Windows programmi ...Show All
Visual Studio Team System Copy the content of the source control from one TFS installation to the other
Is there a way to copy the content of the source control (TFS Beta 3 Refresh) of a single project or of all projects from one TFS Server to the other Not just a snapshot - certainly that can be done, but the whole history Thanks, Ognjen In v1 we don't have support for moving or copying part of the source control repository from one server to another. I would expect this functionality to be considered for future version ...Show All
Visual Studio Express Editions Newbie - How to port application from VB Express to Web Developer
Good morning, I have surprised myself by creating a wonderful little app in VB Express Edition 2005 that reads SQL data, allows the user to use various filters, calculates fields, updates the datavaiew/dataset, and exports data to Excel. Between each of the three pages the app creates a xml file of the data. I have now downloaded Visual Web Developer 2005 Express Edition as I would like the application to be available on the web. Am I r ...Show All
Visual C# XML Code Documentation
We all know that if you type \\\ on the line above a function or variable definition etc. what you get is: ///<summary> /// ///</summary> public void myRidiculouslyLongFunctionNameForNoParticularReason() { DoSomeStuff(); } or maybe /// <summary> /// /// </summary> /// <param name="iVal"></param> /// <returns></returns> public double myLittleMathFunction(int iVal) { ...Show All
Smart Device Development Create a Database in vs2003.net for smartphone ?
I'm fresh ,I want to create a database project ,including copy, create etc,but I didn't know how to create it ,anyone who know it can give me an example about creating a database using vc++,your kind help will be appreciated! Hi, You can use the CEDB class to create,copy and delete database. I hope the following links will help you. http://www.developer.com/net/cplus/article.php/3327171 ...Show All
Visual C++ Creating Executable Programs
I am new to visual studio, I a have just completed a project, and I want to make an some sort of .exe file so I can run the program without opening visual studio, and so I can run it on other computers. How do I do this You need to create a Windows Application: 1. Choose File -> New -> Project 2. Under templates choose Windows Application 3. Enter the project details (name, location) and cl ...Show All
Game Technologies: DirectX, XNA, XACT, etc. XBox - Managed Code
I’m just wondering if anyone knows if Xbox 360 supports any type of managed code (mc++, c#). We're about to develop an engine and we can’t find any information about this. We wanted to use c# for the scripting of the game so if anyone knows it would really help out. Thanks. I would have - but I didn't have that post up yesterday when I posted to the forum... but thanks for the link And links to pictures of th ...Show All
Visual Studio Do i need a license
Hello i am developing a web application using the ReportViewer object from the tool box to present simple graphs and data. It looks like the report viewer of the old crystal, do i need a license to use it, or microsoft gives it just like she gives TextBox, Label etc... Itzik Katzav Well since no one answered me i answer my self so if anyone is intresting the answer is: no it is free to use in local mode. ...Show All
SQL Server Crystal Reports
I am working on a report in Crystal Report, I have a stored Procedure like this ALTER PROCEDURE [dbo].[usp_cust_by_activity] @carrier as VARCHAR(10) AS --drop table #custA --drop table #custPA --drop table #cdrall --drop table #cdrPrevMonth --SET @carrier = 'PR' --'PR', 'RG' SELECT DISTINCT fld_cust_id INTO #custA FROM tbl_cust_ld WHERE fld_ld_status = 'active' and fld_cust_id in (SELECT fld_cust_id FROM tbl_cust_ld_phone WHERE fld_carr ...Show All
Visual J# switch off enum keyword
Hi, i want to switch off the enum-keyword in J#. My projects was compiling in VS2003 before. I switched to VS2005 now, which breaks to compile my projects. The keyword enum is used as variable name. Which was working in VS2003. How can i switch to the old behaviour of the j# compiler best regards, atem I was looking for a workaround without breaking the code when it is compiled with the java compiler. ...Show All
