Tibor19's Q&A profile
Software Development for Windows Vista Problem with TransactionScope when running Unit Tests
Hello, we are having a bit of a problem here. Three of us are running Unit tests daily. One of us have installed an English OS and the tests are running excellent. Two of us have Swedish OS and frequently run into this exception: Failed Test method UnitTest.CompanyTest.UpdateCompanyTest threw exception: System.Transactions.TransactionManagerCommunicationException: Communication with the underlying transaction manager has failed. ---> Syste ...Show All
Visual C++ This application has failed to start because the application configuration is incorrect
Hi, I am just starting programming using Visual C++ 2005 Express Edition. I have had some limited practice in other languages and older versions of C++, so I have some idea whats going on but not much... Anyway I made a short program which perfroms a bubble sort on an array of numbers which the user enters (I know its nothing to write home about but its a start), it works fine on my PC and when I sent it to a freind who also had VC++ 2005 Expre ...Show All
Windows Forms ToolStripContainer Color
Greetings, I am attempting to use a ToolStripContainer to host a ToolStrip, and want to change the colors of both the ToolStrip and the ToolStripContainer. I have been able to change the color of the ToolStrip (as directed in this article), but I'm failing to change the ToolStripContainer. I've tried such things as setting: toolStripContainer.TopToolStripPanel.Render = new ToolStripProfessionalRenderer(new TanColorTable()); Is it possi ...Show All
Visual Studio Express Editions Amazon Movie Collection Starter Kit
I downloaded the Amazon-enabled Movie Collection Started kit but I've been unable to install it. When I run the VSI to install the template I get the message: "Installation aborted because the item was a duplicate of an item already installed." The "standard" MovieCollection template is installed by default and I didn't see a way to uninstall it. Any thoughts Thanks. Hi, My Proje ...Show All
.NET Development Drag & drop of stored proc does not generate XSD properly
When I drag and drop a stored proc from the server explorer onto an xsd it does not always generate the shema, the table adapters are generated, but the schema is not!! The sp contains a very simple select statement Any ideas Thnx Hi Klenne, It would be helpful if you describe the issue more clearly: 1. When you say xsd does not always generate the shema, are you dragging the same sp that sometime g ...Show All
.NET Development Serialization to DB
I want to serialize an object in VB.Net and store the data in SQL Server 2000, and be able to retrieve and deserialize it later. Can anyone explain how I can do that Specifically, how do I insert a stream into a database field What data type should the field be Image This seems like it should be possible, but I'm having trouble finding info on how to do it. Any help would be appreciated. Thanks! ...Show All
Visual Studio Tools for Office Unable to rebind ListObject to data source
After this post: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=128775&SiteID=1 I tried to rebind the Listobject but the data does not seem to appear on Excel even though the binding seems to be effective as the watched object does have the values from the table if you drill down on it. The display on the Excel side though does not appear. Below is the code used to try to rebind &nb ...Show All
Visual C++ Version problem MSVCR80.dll
Hello, I just downloaded VS C++ Express Edition, and tried to build a console application using command-line. When I start the app it does not find MSVCR80.DLL. I digged into the problem, and found out that my installation of VS is version 8.0.50727.42, but the header file crtassem.h says it is version 8.0.50608.0. The latter version number is entered into the manifest file when it is generated, and I actually don't have this version of the DLL ...Show All
SQL Server Could not open a connection to SQL server error on Vista
Hey, After install Visual Studio 2005 (with SQL sever express) on recent Vista build, trying to connect to a local sse database file from Data Source Window (accessible from Data/Show data source window) gives this error: --------------------------- Microsoft Visual Studio --------------------------- An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fa ...Show All
Visual Studio 2008 (Pre-release) Avalon Beta with Current Visual Studio Relase
Hello, Can I use Avalon with current Visual Studio Release (Express or Professional). Thanks, Mustafa ELBanna No, the current release of WPF (Avalon) only works with Beta2 of VS2005. There is a new release of WPF coming sometime in Dec. which works with the release versions of .NET 2.0 and VS2005. HTH, Drew ...Show All
Visual Studio Express Editions Program flow - order of execution.
As a real novice I am writing a small application to measure a persons reaction time by presenting a prompt on screen and then measuring how long before a key is pressed. My problem is understanding the program flow. When run the form is presented and then when the Start button is pressed there is a short, random delay and the prompt presented. The clock stops when any key is pressed (sub EndTimer) and the time presented - all as expected - b ...Show All
Visual Basic VB Express - Debugging is very slow.
I just installed the new release of Visual Basic Express. Before installing, I removed all the Beta products and verified using the removal tool. I then ran a registry cleaner to get rid of left over references. I have turned on "terminal services" which got rid of the "binding error" some have mentioned. Unfortunately, now when running my application under debug, it just hangs with a half drawn form. It seems to co ...Show All
Windows Forms Docking and ClientRectangle in custom control
I've created a custom control (derived from Control) to be used for image rendering. I'd like this control to be dockable. Whenever I Dock my custom control as Fill on a test form along with another control that is docked Bottom (for&nbs ...Show All
Visual Studio Team System Adding a problem to rule during AfterAnalysis event
The rule i've written uses several of the check overrides to collect statistics about the target assemblies. Its not until the AfterAnalysis event on a rule that i can analyze the statistics and determine if i need to add a problem or not. But it looks like you can only add a Problem during the check overloads, because nothing shows up in the results pane in when FxCop is finished running the rules. I have several rules i' ...Show All
SQL Server Select Distinct
Hi there, I run that query SELECT Products.recid, description, partno, price from Products JOIN stock ON Products.recid = Stock.recid Now I want to run the same query but I need the Products.recid to be Distinct, I've tried this but it won't return a distinct value SELECT DISTINCT Products.recid, description, partno, price from Products JOIN stock ON Products.recid = Stock.recid I don't get why it won't return a Distinct value ...Show All
