E Coloney's Q&A profile
Windows Forms Windows Service
Hi, I have created a Windows Service using VB.NET and it works fine on my Windows XP machine. I then installed it on my Windows 2000 Server which install fine. However, it does not run my code. I have set the Account=LocalSystem but it&nb ...Show All
Visual Studio 2008 (Pre-release) TextBlock without space
Hi, Is it possible to have a TextBlock without the space arround the text (the space from the LineHeight etc.) What I am interested in is to display a text on one line and the bounds to exactly contain the content text. Thank you, Valentin Valentin, Correct, in this case you're probably best off implementing your own custom layout. Filipe ...Show All
Software Development for Windows Vista How to Change the Workflow Name in Lab 10?
When you change the "Name" property in the designer,it prompts that "The service 'System.Workflow.ComponentModel.Design.IMemberCreationService' must be installed for this operation to succeed. Ensure that this service is available." _vihang : Or you may provide some useful examples or teaching material for me about designer application. Thanks again. ...Show All
Visual C# Is there a way to create a exe from an exe in C# ?
I'm fairly new to C# and wanted to ask if anyone knew if it was possible to create an executable from the exectuable made in C#. Basically I want to make a configuration application that will make an executable based on the configurations made by the config app. It's for a application I'm working on that will allow the client app to talk to a custom built content mangement system. The point is to have a dynamic way to create the client app bas ...Show All
SQL Server Lookup error with code 0x80070057
Hi there, I'm currently designing an ETL process and I'm using lookup transformations. In one of them, I encountered an 0x80070057 error which I cannot explain. When I'm looking at the number of rows already processed, the number is not always the same when the error occurs. This is the first strange thing. A second strange thing is the explanations given by SSIS (log): OnError,DWHAPP1,AWW\RS9906,ODSTran1_1_1_DFT1,{002D0747-8F3E-43EF-A0EA- ...Show All
Visual C# How Collections.HashTable does arrange its values?
HashTable paramTable = new HashTable(); foreach (DataRow configRow in configParam.Configuration.Rows) { BEConfiguration.ConfigurationRow configRow = (BEConfiguration. ConfigurationRow) configGenericRow; if (!paramTable.Contains(configRow.MyStrin ...Show All
Windows Forms ComboBox and Binding Context Problem
I have 2 group box Buy and Sell on a form. There is an account combo box in both group boxes bound to same data source using DataSource, DisplayMember and ValueMember. Problem is binding context is causing the value in both to change when& ...Show All
Visual Studio 2008 (Pre-release) What causes CommandBinding.CanExecute delegate to be invoked ?
I have a button that executes a command when it's clicked. I have a CommandBinding instance associated to that command, and also methods to: * Allow/disallow execution * Preview execution * Handle execution All 3 are being called. It's obvious when the last 2 will be called but not the first one. Depending on a specific application state, my CanExecute method will return true or false. When the application starts it returns false which makes the ...Show All
Software Development for Windows Vista Windows Workflow Foundation beta II
Similar to the issue reported here -> http://forums.microsoft.com/msdn/ShowPost.aspx PostID=88635 I'm running the exact same version of VS.NET 2005 Beta 2 (beta2.050215.4400) on two machines but on one machine I get the following error when VS.NET starts up: Package 'Microsoft.Workflow.VSDesigner.DesignerPackage, Microsoft.Workflow.VSDesigner, Version 3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' has failed to load proper ...Show All
Visual Studio problem with Solution Explorer in Release mode
I have a VSIP project that works perfectly when I run it in Debug mode (naturally) ... but when I come to run the Release version of the project, the project is created sucessfully ( I get 'project creation sucessful' in the status bar - but nothing is displayed in the Solution Explorer. I can't see any menu items to add a file to the project either ... all I see is a brief flash in the Solution Explorer as if something was being displayed ...Show All
Windows Forms Combining checkbox and comobox behavior in datagridview
Hi all, I want to have checkbox as well as combobox as one of the column type in my datagridview. There are a lot of 3rd party software available to emulate for this kind of behavior. I want a similar behavior. Idea is to give the user multiple choice in a combo box and then he can select one of more choices. Could someone provide me with some hints or sample code. Regards, Raj ...Show All
Windows Forms Optimal painting using double buffering
A lot of Windows Forms examples uses double buffering to improve the painting behavior. I have tried to do it in my own project, and it worked ok, but then I wanted to only paint what had changed between paint-request and that did not work. I have a doublebuffer bitmap: private Bitmap _BackBuffer; which is instantiated in the Form_Load eventhandler: _BackBuffer= new Bitmap( this .ClientSize.Width, this .ClientSize.Height); Th ...Show All
Visual Studio loading language package fail!
hello all. after installing vs2005 SDK. i get a message ,loading language package fail. the package guid is "{e444c1dd-7c8e-4126-81c8-392c63bfebe3}" anybody can help me! thanks. I have the same problem! I try do reinstall it all, but the problem is still there! What should i do ...Show All
Visual C# Thread Synch and Monitor: How to handle Value Types, and Private Locking to Avoid Deadlocks
I've been doing some reading on the Monitor class for thread synchronization. Four questions have come up. Here's a pretty good example from the MSoft docs of synchronizing access by using Monitor around a critical area of code: class MonitorSample { //Define the queue to safe thread access. private Queue m_inputQueue; public MonitorSample() { m_inputQueue = new Queue();   ...Show All
Visual Studio Team System .vsmdi file with large number of tests and testers
Our QA team (~50 people) have been adding, organizing and running test cases in VSTS for weeks now. Since the number of test cases is pretty big (~5000+ manual) they always have problems with the .vsmdi file. Every time they create a new test case the .vsmdi is checked out automatically by VSTF because test solution is under source control. In most cases several test cases are created and added to lists by different testers at the same time, ...Show All
