Ashish.Net's Q&A profile
Visual C# Multiple ComboBox Display Issue
I have a windows form application with three dependant comboboxes. The comboboxes are using an ArrayList as a datasource. Each box has it's own. The first comboBox (Unit) is the main driver. SqlDataReader provides the dataelements for the ArrayList. The second ComboBox (Comp) is dependant on the results from (Unit). It works the first time. I can select from (Unit) and then using the Validated event, populate (Comp). I can select from (Comp). Everything works. The second time I change (Unit). After the Validated event fires the (Comp) box becomes invisible (when using Visible attribute) and will not sho ...Show All
Software Development for Windows Vista Workflow from XAML with Custom Activity
Hi people! I'm trying to run the ideas/examples exposed in the article: Simplify Development With The Declarative Model Of Windows Workflow Foundation http://msdn.microsoft.com/msdnmag/issues/06/01/WindowsWorkflowFoundation/toc.asp In the article, the authors load the workflow dinamically from a xaml file. In the xaml file is a reference to an custom activity in the same assembly. I can't found the source code of the article.... Has anyone a running example like that My test example fails: <my:WriteLine Text="Hello, world from WinFX." xmlns:my=" http://schemas.example.org/MyStuff " /> show an error in the des ...Show All
Windows Forms right mouse click on treeview
can anyone show me how to display a context menu after a right mouse click on a specific node. This is what i have been able to acheive so far If e.Button = MouseButtons.Right Then TreeView1.SelectedNode = TreeView1.GetNodeAt(e.X, e.Y) If TreeView1.SelectedNode.Text = "Categories" Then ...Show All
SQL Server SQL Server pricing
If this is not the best place for this question perhaps someone can direct me to the right place. Please do not send me to a knowledge base article as this does not really help. I come from a Sybase background. I have the potential to direct various companies that need client/server applications to SQL Server but it is not clear to me (even vaugely) what it is going to cost them. These businesses have maybe 20 to 50 PC's that might need to access data on a SQL Server database. This will almost always be done through an application like Visual Studio .NET. The number of people that will actually need to go into SQL Server Management Studio ...Show All
Visual Studio Team System Checkin problem in TFS MSSCCI Final
I have two files checked out and they are in two different projects. I want to check in these two files in one changeset. However, when I clicked the Check In button in the Pending Checkins window in VS.NET 2003. The TFS checkin dialog box only shows one file in one project. I clicked Check In, then it shows the other file. Is there a way to group these two files in one changeset Thanks, -hengyi Hello, unfortunately VS2003 (and other IDEs as well) are performing checkin per SCC connection. Each project (or even part of the project - for example in web projects) has separated connection and in fact ...Show All
Visual FoxPro older scatter gather, and VFP.
Hi; I have a form which the user fills. The info the user enters need to be added as a record in a table. In the Foxpro2.6 world I used to do this by letting the user edit empty memory vars, and then append blank / gather from memvar. I am wondering if there is a better way to do this in VFP9 I know I can use buffering then tableupdate(), but that requires that I would append blank FIRST before I let the user edit the fields. I would like a way for the user to edit the fields, and if he cancels out, to be able to revert the table to its condition without an empty record. I think maybe transaction processing might be ...Show All
Visual Studio Express Editions .HasChanges and .GetChanges not working?
I have a program where I have a timer and on the ticks I want to check to see if a dataset has updated. I know the dataset is updating but the event is not firing. Can someone please show me what I'm doing wrong Below is my code. Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load 'TODO: This line of code loads data into the 'ChatroomlogDataSet.chat' table. You can move, or remove it, as needed. Me.ChatTableAdapter.Fill(Me.ChatroomlogDataSet.chat) Me.Timer1.Start() End Sub Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1. ...Show All
SQL Server Why SQL2005 Is NOT Faster Than SQL2000?
Hello!! we use SQL2000(64bit) and we are considering our system to apply SQL2005 so i tested two SQL-Server on One Machine by installing each instance of them. The RESULT.. i can't find difference of performance between two instance. is there no impoving in Database engine * i'm sorry, for my poor sentence... A few questions: A) Did you remember to change the compatability level to 9.0 and update statistics in the 2005 database after moving it from 2000 B) How are you testing, and what are you testing Are you doing a load test ...Show All
Visual Studio Express Editions Add-in for IDE
Hello! Visual C++ Express Edition supports Add-in for IDE Thank you. No: http://msdn.microsoft.com/vstudio/products/compare/default.aspx Extensibility: Add external tools to the menu only. Use 3rd party controls. ...Show All
SQL Server ErrorCode and ErrorColumn in Excel Destination
I am exporting records with errors to Excel using the Excel Destination tool. The ErrorColumn is a numeric. How do I find out which column it is While it's fairly easy to add an ErrorDescription column on top of the ErrorCode, it's NOT so easy to add an ErrorColumnName on top of the ErrorColumn numeric ID value, because of all the ifs ands and buts that determine whether the column name is readily available or not. (For example, did the preceding component have synchronous or asynchronous outputs, and so forth.) You can run your error output through a Script Component and try looping through the columns in i ...Show All
Game Technologies: DirectX, XNA, XACT, etc. IE7 Beta and DirectX SDK Sample Browser: Incompatability Issue
If you have IE7 installed, the DirectX Sample Browser will not launch links properly. This affects sample projects, executables, and documentation. You must uninstall IE7 in order for the DirectX Samples Browser to properly work. ...Show All
Visual Studio Team System Other platforms for project management
I am wondering if anyone of you knows other then TFS, such complex, platform for project management I am writing a masters thesis about TFS and I would like to compare TFS to other platforms. The problem is that I don’t know other so complex platforms. Maybe there isn’t anyone PS. I hope that this forum isn’t bad place to ask such questions J Dominik There's quite a few out there including: Borland Starteam Enterprise Advantage IBM Rational products Telelogic Synergy These are the marked leaders, but there are probably more... You probaly will like this link: http://www.borland.com/re ...Show All
Visual Studio Team System Clean single server install problem
I'm having a problem when trying to create a new team project. I've installed using the latest install guide and have followed each step as described. Below is the error. Any ideas ---begin Exception entry--- Time: 05/12/2005 10:29:39.921 Module: Initializer Event Description: Initialization for plugin "Microsoft.Pcw.wss" failed with error: "Client found response content type of 'text/html', but expected 'text/xml'. The request failed with the error message: -- <html> <head> <title>Server Unavailable </title> </head> <body> ...Show All
Windows Forms Problem with UserControl and form designer
I am using VS2005 Beta 2 If I create a UserControl using the Windows Control Library template and then attempt to use it in a hosting window (i.e. a normal windows forms app) I get an error when the control is dropped onto the host form from the toolbox:- Failed to create component 'usercontrolname' Xml Exception, An error occurred while parsing EntityName, Line 2, position 51 If I declare and instantiate the control directly in the host form's code (VB) it works fine. For some reason the form designer will not display the user control when placed onto a host form. The control itself can be designed as normal. The control project ...Show All
Software Development for Windows Vista Speed difference between GraphEdit and custom application
Hi, wonder if anyone has encountered this problem. I have a custom transformation filter, which runs basic thresholding computer vision algorithms. In GraphEdit, it uses 47% of CPU capacity and runs very fast, but when loaded into my custom application, uses 99% of CPU capacity and runs very slow. I use an Acer Travelmate 8104 2GHz Centrino. The obvious culprit is the application, which I initially wrote in C# using DirectShowLib from sourceforge.net. But when I wrote a basic application in Visual C++ using native libraries to test that theory, I had the same problem. So, something else is causing a massive speed drain. A search of the we ...Show All
