ajliaks's Q&A profile
Visual Studio Express Editions Debug problem: program wont stop a break points.
I have taken a program that i got from a tutorial that was written for visual c++ 6.0 I think. I clicked on the project and it imported it into 2005. I have tried to put break points in places in the program I know it hits but they don't stop the program. I also hover over these points and says program can reach them. Also when I recompile (clean then rebuild all) I see in the out put window No symbols loaded. which I think maybe the problem. I read in another post that someone had which they didn't get any symbols loaded and I checked the areas mentioned ther which were correct. Also, in borland c++ I was able to put in a statement (which I don't recall what the name of it was. that would print to the output window for the compiler. ...Show All
Windows Forms Suppressing Checkboxes for some nodes in a TreeView
The web version of the TreeNode class has a ShowCheckBox property. The Windows version does not. Is there a workaround to hiding checkboxes for some items in a TreeView I need to suppress showing the checkbox for the root nodes in the tree. Thanks, Paul Whitaker I am running Visual Studio 2005. The property exists for the control, but not for individual nodes. I have a root level of nodes that I do not want to have a checkbox on, and so far I have not been able to accomplish this. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. XNA Racer
I understand that if you are a XNA Creator club member you have access to the XNA Racer source code that Benjamin Nitschke wrote. As I am now a member could someone please direct me as to were I can access this Thanks Yeah, I've been waiting a while for XNA Racer as well. I just hope I can get my greasy mits on it before my Creators Club membership expires :\ ...Show All
SQL Server Creating tables with SQL Scripts
In sql server 2003 I would create tables with generated sql scripts. This way I could easily create duplicate dev environments. Now in SQL 2005 Dev edition I try to run my scripts to create tables. I create a db [MSS]. They run successfully but there is no table created. (example script)USE [MSS] GO /****** Object: Table [dbo].[KataNames] Script Date: 08/17/2006 13:28:14 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO SET ANSI_PADDING ON GO CREATE TABLE [dbo].[KataNames]( [Kata] [char](30) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL, [SequenceId] [int] IDENTITY(1,1) NOT NULL, [Description] [char](500) COLLATE SQL_Latin1_General_CP1_CI_AS NULL, [Style] [char](25) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ) ON [PRIMARY] G ...Show All
Visual Studio Team System Deny delete permissions on source control
Hello, I would like to know if there is a way to remove the ability to delete files on Source Control. I would like that the developers could add, check-out, check-in files on Source Control but that they were not able to delete them. I checked in the security and there is not an option for delete. Any suggestion Thanks in advance. Gloria There’s no good way to do this. The security system treats all pending changes the same way. Note that deletions are never permanent in v1. When we add a Destroy feature, it will have its own permission. ...Show All
Windows Forms Solution: 2 tables in a dataset, combobox binding, EndEdit, and NonNullNotAllowed
I’m giving out this code in return for the help I’ve received. (ok, ok, I like the glory!!) It solves the following problems: 1)How to programmatically get two tables into a dataset, 2)How to bind a combo box to a lookup table, 3)How to get rid of the NonNullNotAllowed Exception for primary keys. 4)How to force all the changes to get into the dataset. To get two tables into a dataset, you must create a DataAdapter for each table with its own select command. Use the one dataset when you instantiate the DA. The two table are tblCompany and tblStatus. tblCompany has a foreign key into tblStatus. tblStatus has two columns: idtblStatus and StatusName tbCpyName, etc are textboxes. cbCpyStatus is the combo box. Note that we bind the combo box to ...Show All
Visual Studio 2008 (Pre-release) How to load local media files using xbap?
Hi guys. how to load file from hard disk using xbap i want to load media file(wmv) from local disk. is it possible Thanks. ...Show All
Visual Studio Team System Writing Personas & Scenarios
We are a new organization just getting started and we will be utilizing Visual Studio Team System. We would like to use the MSF for Agile Software Development process. We are new to the Agile development methodology. Are there any sample persona and scenario descriptions we can look at to help us get jumpstarted Are there any good resources on writing personas and scenarios Any information you can provide would be greatly appreciated. Jason Jason, Have you had a look at the book 'The Persona Lifecycle' ( http://www.amazon.com/Persona-Lifecycle-Throughout-Interactive-Technologies/dp/0125662513/sr=8-1/qid=1163154150/ref=pd_bbs_sr_1/104-7554236-8991931 ie=UTF8&s=books ...Show All
Visual Studio Team System is there a way a field turns into a required field after you change the status?
Hi everyone, i want to find a way to make a field required once the status/state is changed of a bug. example when the defect gets cancelled i want who ever canceled the bug to write in a reason why it was canceled. is this possible and if so how can i do this Thanks for your time and help Kardi, yes, you can make fields required in transistion section of workitemtype definition. Check the transistion section of customization workitemtype help at http://msdn2.microsoft.com/en-us/library/ms243849.aspx . There is a detailed document on it in vssdk (downloadable from http://msdn.microsoft.com/vstudio/extend ). Here is an example <TRANSITION from="Active" to="Closed"> <FIELDS> <FI ...Show All
Visual Basic Data table only updates once...why is this happening!!!!!!!!!!!!!!
Hi there, I have a dataset that i am updating during runtime of my program. To do this, I first delete all of the data in a datatable using "DELETE * FROM Table1" command, and then update the dataset. To initiate this process, i double click on a datagrid. The first time i double-click on the data grid, the program works exactly as planned--i step through the code and verify that first all the records in the datatable delete, and then is updated with all the new records. The problem i'm having is that the next time i double-click on the datagrid, the table doesn't delete! And then i get an error that i am updating a table with a non-unique record. If my table deletes like its supposed to, i shouldn't ever get this error.. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Using Bitmapfont for your scoring system
Hey all, I just want to start out saying that I love what microsoft is doing with xna, in the few days that ive had my hands on it ive witnessed several impressive projects pop up! Anyways, on to the point of this post. I searched the forum for a post that explained a simple way to make a scoring system (using the tutorial here: http://blogs.msdn.com/garykac/articles/732007.aspx ) and it came up empty, so I figured I would help people with similar C# skills as my own are somewhat basic. After the tutorial they have you write the text to the screen using: m_font.DrawString(20, 20, Color.DarkBlue, "Sample string"); However, thats a pretty static way to write text to a screen, perfect for some things, but useless for a scoring ...Show All
Software Development for Windows Vista How to capture the state change event in state machine workflow?
I have created a state machine workflow. When the setstate activity changes the state from one state to another, i want to capture an event and perform some action. For example, when the state of the statemachine workflow changes from "State1" to "State2", i want to capture an event inside the workflow itself. Is there any way to do this Thanks A usertracking event is also fired during a state change. If you are using Tracking, you can use that too but make sure that you are tracking those usertracking events. Ranjesh ...Show All
Visual C++ REPORT_EXCEPTION macro. A bug or a feature?
Did anybody use REPORT_EXCEPTION macro in Native C++ Location: afx.h header of MFC. It is very useful as seems to me and a very new one (if I don't err in regard to facts - it presents only in VC++ 2005, MFC 8.0). I think I've detected a strange behavior concerning it. More specifically, it dosn't work properly at runtime with _UNICODE. If you take a good look at him, you'll see that there is some thing off. As for me __FILE__ must be replaced with _T(__FILE__) everywhere in the definition. Yet the same must be done with szMsg parameter ( or it could be actually passed as generic-text-mapped ) . I prefer the embraced option. After resolving this question we could than fix also EXCEPTION_IN_DTOR macro following right after REPORT_EX ...Show All
Windows Forms Adding image to ListView item
I want to selectively add images only to certain items(rows) which satisfy a condition. How do I do it Imagelist1 is added Here's the code I'm using: Public sub addThisRow(ByVal one as String, ByVal two as String, ByVal three as String) Dim item1 As ListViewItem = New ListViewItem Dim flag As Boolean = True If flag Then item1.SubItems.Add(one ) item1.SubItems.Add(two ) item1.SubItems.Add(three ) Else item1.SubItems.Add(one ) item1.SubItems.Add(two ) item1.SubItems.Add(three ) End If flag = False ListView1.Items.AddRange( New ListViewItem() {item1}) No actually. I have ListView in 'Detail' view and I want o display an image in ...Show All
Visual Studio Team System Power Toys failed to install
Hi! Installation of power toys on my machine failed . The last view lines of the verbose error log are (if needed the whole error log is available): .... MSI (s) (34:C0) [08:09:57:677]: Executing op: ComponentUnregister(ComponentId={2DD323FA-3D9C-437B-BEAB-C516C569B2DB},ProductKey={C802488F-CB5F-48BE-BBD2-0C0F9E290E63},BinaryType=0,) MSI (s) (34:C0) [08:09:57:677]: Executing op: ComponentUnregister(ComponentId={98E68F3A-42CE-4CBB-ADF5-6C936BB7A9AA},ProductKey={C802488F-CB5F-48BE-BBD2-0C0F9E290E63},BinaryType=0,) MSI (s) (34:C0) [08:09:57:677]: Executing op: ComponentUnregister(ComponentId={91438838-2D70-44D4-ABB9-9F4F3D236C52},ProductKey={C802488F-CB5F-48BE-BBD2-0C0F9E290E63},BinaryType=0,) MSI (s) (34:C0) [08:09:57:677]: Executing o ...Show All
