MSDNMAN's Q&A profile
Visual Studio Team System Error TF42052.
I'm getting the following error when attempting a build via TFS Dec CTP: "TF42052: The file system on the build machine does not support access control lists. Please specify build directory on a file system that supports access control lists like NTFS." The drive in question absolutely has NTFS. Ideas Sorry, I posted this in another forum as well but I wasn't getting any responses. Hello RMD, Sorry about this problem. This is a known issue and it is unlikely that we can get it fixed in V1. This incorrect error ...Show All
SQL Server sql expree instalation error
Hello my big problem for today. I downloaded sql express advanced with reporting services and when I try to install it on step: "sql server database services" I recive the error below: TITLE: Microsoft SQL Server 2005 Setup ------------------------------ SQL Server Setup could not connect to the database service for server configuration. The error was: [Microsoft][SQL Native Client][SQL Server]Login failed for user 'sa'. Refer to server error logs and setup logs for more information. For details on how to view setup logs, see "How to View Setup Log Files" in SQL Server Books Online. For help, click: htt ...Show All
Windows Forms Buttons for each item in a listbox?
hi, I have managed to draw buttons for each item in a listbox, by overriding the OnDrawItem event. My plan is to create a button object that will replace the drawn button for the item the mouse is hovering over. I will also need to have a button click event. Now this is where I need guidance. Anyone have any ideas on how I should approach this Thanks in advance, quincy Hi quincy, I am just including a simple code snippet. You can tweak this according to your requirements. When you want to create the button programmatically write the following: Button b1 = new Button(); b1.Text= " ...Show All
.NET Development Trouble getting value from xml file
Hi I am new to c# and xml but progressing nicely (I think) anyway I am reading in an xml file and then extracting information from a particular tag and rewriting it to a new file. I have almost got it but I am having a problem getting the value from the element and then writing it as an attribute to the new one. Code is while (reader.Read()) { if (reader.Name == "text" && reader.NodeType == XmlNodeType .Element) { writexml.WriteStartElement( "text" ); writexml.WriteAttributeString( "id" , "value from element here" ); // this bit writexml.WriteAttributeString( &qu ...Show All
Visual Studio Express Editions .net System namespace issue...
I just set up Visual C++ express, and I'm attempting to fool around with threads a bit. Unfortunately, whenever I declare the namespace System, it states that it isn't a valid namespace. Anyone have any ideas What am I doing wrong d:\visual studio 2005\projects\test\test\test.cpp(4) : error C2871: 'System' : a namespace with this name does not exist When I place that line at the start, it says it must be run with the /clr option. When I do that, I get this error cl : Command line error D8016 : '/RTC1' and '/clr' command-line opt ...Show All
.NET Development Progress Indicator in Multithreaded Remoting Program
Hello Everyone, I have developed a Remoting Application. It has a Client and A Server hosted into IIS. My remoting Configuration is as the Rammer's BEST PRACTICE suggest for WAN. SingleCall, Server Activated and Hosted into IIS. My Client is a Web based application. My Remote Class Process the Users Request by using multithreading. What it does is, It create a fix no. of thread for first time and as a thread completes it Raise an event of completion and again a new thread is created untill all sub tasks are not completed. My problem is to show an Actual Progress Indicator on the Webform i.e. how many threads are com ...Show All
SQL Server User-Defined Datatypes based on abstract classes
I am trying to create a set of spatial datatypes for SQL Server 2005. Each datatype inherit from the abstract class "Geometry". ie. public class Point : Geometry public class Line : Geometry public class Polygon : Geometry ...and several more. The reason for using the abstract class Geometry, is that they all share a common set of functions that return a Geometry object. For instance Geometry Intersection(Geometry g1, Geometry g2) bool Geometry.Within(Geometry g2) Polygon Envelope(Geometry g) etc.. The problem is that when I deploy the assembly to the database, I'm told that the Parameter "Geometry" ...Show All
Windows Forms Labels next to DataGridView nicely aligned at 120 dpi, but off at 96 dpi
Hi All, I have a DataGridView with label controls to the left and outside of that control to label each row. This DGV is meant to have a fixed size, number of columns, and number of rows. I did the initial layout at 120 dpi, and everything looks great running at that setting. But when running at 96 dpi, the rows in the DGV seem to get taller. A vertical scrollbar appears, and the labels are of course now misaligned with the rows to which they are supposed to correspond. Does anyone know how to stop this from happening BTW, the containing dialog has Form.AutoScaleMode set to "Dpi" already, which generally takes care of ...Show All
SQL Server sql select
I am trying to use the SQL " SELECT * FROM machines", this retrieves all records(rows) fine when I use the "sqlcedatareader" I want just to access 1 record from the table but the code keeps breaking on the "executereader" line SELECT * FROM machine WHERE mc_no = 12345 Why is this SQL syntax not working Where can I find an SQL syntax reference Mark, Not sure why you are getting an error (need to see your code), but if you are only going after a single row, you might want to use TableDirect and Seek - it is the fastest way to get to a unique row quickly and ...Show All
Microsoft ISV Community Center Forums Microsoft Access Chart Question
I have a graph that i'm trying to display showing the history of a few fields. There are 2 tables: Person and PersonHistory... For each person there is 1..many records in person history... So the chart would show the trend of these fields in PersonHistory over time (week_ID is one of the records in personhistory...) I am putting the chart on form that will enable the person to select a person from a dropdown containing all of the rows in the person table... Also on this form is a check box for each statistic that would let the user determine what to show on the graph (it defaults to having all show up)... 1) I have it working now that as yo ...Show All
Visual C++ Problem to delete unmanaged object
Hello, I would like to know why I'm unable to delete an unmanaged object : Here is the code : public ref class SpeGui : public System::Windows::Forms::Form { private : String^ m_sCompassPort; int m_nCompassBaudRate; int m_nCompassDataBits; int m_nCompassStopBits; int m_nCompassParity; int m_nCompassRefreshPeriod; int m_nCompassAccuracy; PI_DigitalCompass * m_pThCompass; MyCompassObserver * m_pMyCompassObserver; ... } SpeGui::SpeGui() { ... InitializeComponent(); ... //Cast de String^ vers const char* IntPtr strptr = (Marshal::StringTo ...Show All
Windows Forms Binding DataTable to DataGridView column
The problem: I have a table and I want DataGridView to display this table in correct order: some fields should contain comboboxes . When I bind DVG to DataTable all generated fields except bool(Access Yes/No fields) are TextBox'es. If I create columns manually and bind DVG to the table in the DataSet DVG generates new columns and bind them to table. Turning autogeneratecolumns off doesn't solve the problem. I could create a separate combobox, hide it and show when user points to the specified column in order to imitate combobox in DVG but this solution looks ubnormal. Please provide information how to bind handmade colu ...Show All
Visual Studio Unable to unregister the AddIn
Hello, I'm creating a simple AddIn project. By the way, I'm unable to deregister it from the IDE. I tryed to run devenv /setup but the IDE still contains the AddIn. I searched for .addin file but it never appear on the file system (except to my project folder). I need to run the OnConnection on ext_cm_UISetup connection mode. How can I unregister an AddIn Thanks, Pierre Hey Gene, The best way to find the "How To:" is ALWAYS just use GOOGLE.com. Paste in "How to: Deactivate and Remove an Add-in", and the MSDN article is returned as the #1 result. Who knows why microsoft's search engines can't find their own co ...Show All
Visual Studio Team System MSBUILD with Unit Tests
I have a build type that is working just fine. I updated it by setting the RunTest key to true and now my builds are failing. The log contains the following that seems to be applicable. MSBUILD : warning : Please specify the results file to publish using the /PublishResultsFile switch, or specify tests to run to have those results published. I have added the following to the TFSBuild.rsp file /PublishResultsFile:"C:\Temp\BuildResults.trx" But now the build fails immediately and gives me not indication as to why. I have tried various combinations of the parameter in the TFSBuild.rsp file but to no avail. I am obviously m ...Show All
Visual Studio 2008 (Pre-release) HierarchicalDataTemplate, ItemsSource and CollectionViewSource
Hello! Is there a way to specify, in XAML, that a HierarchicalDataTemplate may have it's ItemsSource object to be wrapped by a certain CollectionViewSource (The instance of CollectionViewSource could for instance provide sorting of the ItemsSource collection) If yes, may you provide a hint, please ! Best regards, Henrik Dahl Hi Henrik, The data binding team has been discussing that scenario pretty extensively lately. Unfortunately, the decision for V1 is not to support that, but we will for sure consider it again for V2. I think this will be a pretty common scenario, and we should allow i ...Show All
