Alden Snow's Q&A profile
Software Development for Windows Vista Casting property value in activity reference
Hello, I have two activitites. One exposes a DataSet through a property. A second activity takes a string property. I would like to set an activity reference to the first activity, getting the value of a particular row and column in the dataset. I can use the activity reference dialog to drill down on the Dataset property to get to a particular data value but this returns an object of type System.Object. The property that I'm trying to set on ...Show All
Windows Forms action in MDi child the desired action should show the status bar of MDI parent
is there any method that when i perform any action in MDi child the desired action should show the status bar of MDI parent.i:e when i click the menu bar of child edit,it should show in the status bar of the parent that "Edit button is clicked" regards RpM I'm afraid not. What is it that you want to achieve It looks like you need to hookup some events and update a status bar accordingly. ...Show All
Visual C++ parse the login name
I have login name like domain \username, I tried to use strtok to parse it. However, strtok can not recognize "\". For example, char ustring[] = "domain\username"; sLogin = strtok(ustring, "\\" ); sDomain = sLogin; while( sLogin != NULL ) { sUser = sLogin; sLogin = strtok( NULL, "\\" ); } Output both sDomain and sUser are domainusername However, if I change ustring to the following by adding one more ...Show All
Windows Forms change datagridview row color (winform 2.0)
is there an easy way to do it in 2.0 i want to change color base on condition of column. I assume you mean "based" on condition of column What specific condition are you looking for. Are you looking to change the one cell in a column, or the whole row based on a column setting, or did you mean based on the condition of the row There are a ton of events for changes to columns as well as rows in ...Show All
SQL Server SELECT QUERY IN A COLLECTION OF IDs
SELECT InventoryID,InventorySubTypeID,Make,Model,SerialNumber,OriginalCost,NetValue,InventoryStatusID, isnull(null ,0) [Adjustment Amount],isnull(null ,0) [New Net Value] ,null [Change Status To],null [Comments] from Inventory_Profile where InventoryID in ( inventoryIds ) this scenario the inventoryids is a collection of ids like below SELECT InventoryID,InventorySubTypeID,Make,Model,SerialNumber,OriginalCost,NetValue,InventoryStatus ...Show All
Visual C# Process
Does anyone have a code snippet that shows how to kill Process on Remote Pc (I have all permision) This can be done with getting the processes on the other machine with the GetProcessesByName method of the Process class. You need to specify the processname and machine name. Process[] foundProcesses = Process.GetProcessesByName( "MyProcessName", "MachineName" ); foreach ( Process foundProcess in foundProcesses ...Show All
SQL Server Cannot uninstall SQL Server Express
Hi! I uninstalled Visual Studio 2005, but then I get this error when trying to uninstall SQL Express: "The SQL Server System Configuration check cannot be executed due to WMI configuration on the machine XXX: Error: 2147746132 (0x80040154)" I don't even know what WMI is! I have these installed (none of which can I uninstall): Microsoft SQl Server 2005 Microsoft SQl Server Mobile [ENU] Developer Tools Microsoft SQl ...Show All
Visual C# Index out of range - seraching Active Directory
I'm setting up an Active Directory search using C#, but when I put a value in the search like "a" that would give me a lot of results - I get an Index out of range error. I have this code in my page and thought that this would limit the returns and eliminate the error, but it didn't: adSearcher.SizeLimit = 50; adSearcher.PageSize = 100; Here's my full code - can anyone find the problem [code] protected void runSearch(string queryValu ...Show All
Visual Studio Team System Entering Dynamic Value for a field
How do I enter a dynamic value ABC1, ABC2, ABC3... like this for particular field for the web test. I am running .webtest file only. I have not generated any code right now. I tried with implement this with Extraction Rule. I do not want to bring the data from database with data binding. Please suggest me. Thanks Tampali You can write a webtestplugin which adds a dynamic value to the context and then bind th ...Show All
Windows Forms Overlap
in my application, i draw an ellipse (or rectangle), how can i draw another ellipse (or rectangle) that it is not overlap the first ellipse(or rectangle) in my application, i draw an ellipse (or rectangle), how can i draw another ...Show All
Visual Studio how to use event mouse move, down, click and up on crystal report???
Hello, I can use some events of mouse on crystal report the same with windowform such as move, down, click... So I want to choose a image which insert crystal report and then move to other position. Thanks, Starfo Hello Starfo, I would say that what you are trying to do is not possible as once you select the image you can not have the user drag it to the position they want the image to be in. Also it would not be possible to mov ...Show All
Windows Forms error "Object type cannot be converted to target type." in task list
Hi everyone! When I view the designer of a form, I get this error for all controls in the form. "Object type cannot be converted to target type." The application compiles fine. So I am not sure what this error refers to. If I click on the error in the task list, I end up on line 0 of the code. No further information is supplied. Can anybody help Thanks -- Rosaria Please Note that this issue is n ...Show All
Visual Studio Express Editions Starting Over?
Ok. I have had VB express for about 3 weeks now. I have 0 experience with programing. Sorry, all you techy people. But I have learned some cool things. But as I tried to jump into the fire ( and its hot ) i found nothing but frustration. Hence, I have improved on my "google" searching abilites and might add found "never before patience." Says my wife. Any way. Too bad for all of the very nice people that have put up with my & ...Show All
Visual Studio Team System Creating work items outside of Team Explorer
Is there a way to create work items without using the IDE Team Explorer It would be great if you could enter work items via the project portal. Can this be done Many Thanks Darren Thomas Ajay, I've been using Excel to import many tasks at once. Quite a handy feature. However, I'm unable to import the detail I need, specifically a selection from the Classification - Area dropdown. I was wondering i ...Show All
.NET Development Persistance Frameworks
I want to know what do u think about Persistance Frameworks. Do you use them of one in your projects there was a sound about objectSpaces. Cant wait to see that. Now I use NHibernate to persist my classes to db. I dont know it is good way or not. if Microsoft stopped to release the objectSpaces they have to have an idea. becouse they showed that on .net framework 1.2 what do you think yeah thank you for ur message.. yeah I li ...Show All
