intenion's Q&A profile
Visual Studio Team System Having trouble with visible property on controls
Hello, I have been developing a multi-form application starting under Beta 1 of 2005 and now continuing under Beta 2. The application ran under Beta 1, but with the new Beta 2 drop a problem has occurred. I control the visibility of controls on the form to assist users with the data they need to enter. The code populates ComboBoxes based on the Visible property of the control. I am setting the controls' visibility based on an external XML file w ...Show All
.NET Development XML Fails validation
My XML fails validation. My root element: <UNHCR_RRF xmlns=" http://tempuri.org/ElectronicRRF.xsd " xmlns:dt="urn:schemas-microsoft-com:datatypes" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:xsi=" http://www.w3.org/2001/XMLSchema-instance " xsi:schemaLocation=" http://tempuri.org/ElectronicRRF.xsd UNHCR_RRF.xsd"> When I validate, I get the following errors: Error: The 'urn:schemas-microsoft-com:datatypes:dt' attribute is not ...Show All
Visual C++ Any way to get a list of QFEs available?
Is there any way to get a full list of QFEs (quick fix engineering patches) for Visual C++ 2005 It would be nice to browse through them to see if any are applicable to my situation. If you think this is a good idea, please vote http://lab.msdn.microsoft.com/ProductFeedback/viewfeedback.aspx feedbackid=244c0587-f75d-4684-9783-8e959b39275f Voted on the primary thread at http://lab.msdn.microsoft.com/Prod ...Show All
SQL Server Proxy Account in Clustering server is not working
Hi, We are having 2 node clustering server and insalled SQL server 2005. I have a requirement to run a job using proxy account. I have created a proxy account using my ID as a Credential and i'm part of admin. If i running a job uisng proxy a/c getting the ollowing error. Is there any work around on this issue. U nable to start execution of step 1 (reason: Error authenticating proxy xxx\username, system error: Logon failure: unknown ...Show All
.NET Development How to retrieve current SQL-Command of DataAdapter?
Hi, is it possible to get the current SQL-Text of the DataAdaper at the moment when it updates the database with the Insert/Update/Delete-Commands I mean: Set a breakpoint in the RowUpdated or RowUpdating-Event and get the current sql-text of the row - without the placeholders (' ')... if you are using SQL Server as backend, you can even try SQL Profiler to catch the actual executed command ...Show All
Smart Device Development Emulator communications error
Emulator used to work, but now I no longer can communicate to it from VS2005. Reinstalling VS2005 didn't help. Using DMA transport When I try to connect to the emulated device I get the following error message: To 'Windows Mobile 5.0 Pocket PC Emulator' Connection failed. a specified communication resource (port) is already in use by another application. Hello, 1. Can you please try clear ...Show All
Visual Basic How do I run a VB .NET 2005 EXE from the network and not get all these security exceptions
Hi, I'm trying to have my users run a simple VB .NET 2005 app from the network. It does not require any installation as its pure .NET. However whenever they run it they get security exceptions. If they copy it to the local hard drive it works fine. I believe its something to do with .NET framework security zones - but I'm not sure. Can anyone explain Regards Michael Green Start + Control Pan ...Show All
.NET Development Copy of a collection
Hi, How do i make a copy of a collection. I know that you can copy it to an array.. but how would that help me in making a copy of the collection. Thanks tribal You can do a Shallow clone as such ArrayList Incoming = new ArrayList(); Incoming.Add(new UserInfo("John Doe", "Terminal #1")); Incoming.Add(new UserInfo("Jane Doe", "Terminal #2")); ...Show All
Visual Studio 2008 (Pre-release) trigger for IsFocused - not working?
I just want to add a trigger for the main window, when it goes out of focus, so I did a little test app, and it seems to be broken. It raises an exception, in which it says that 'IsFocused' string is not a valid value for 'Property' property of type 'DependencyProperty'. Here's the code: <Window x:Class="WindowsApplication1.Window1" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http:// ...Show All
.NET Development Compatibility of various SQL Server Editions?
Is SQl Server 2005 Express Edition software compatibile with SQL Server 2000 software A few months back I upgraded my computer system. However I did not re-install the SQL Server 2000 Developers Edition software which I purchased, 2-3 years ago. I recently installed Visual Basic 2005 Express Edition along with Sql Server 2005 Express Edition. I believe the latter software was to replace the MSDE software available in SQL Server 2000. Wo ...Show All
Visual C# JIT optimization
This isn't specific to C#, but the issue probably is most relevant to C#. I'm helping someone do a scientific project using CodeDOM, and he's measuring the speedup. It's super impressive. It lead me to ask whether the JIT is detecting a lot of dead code and optimizing it out (turns out it wasn't.) But for future reference, is there a document on the kind of optimizations that JIT employs I've done some experiments, and it looks like ...Show All
Windows Forms vb express and sql server express
Hi, I am trying to use the combo "vb express and sql server express" to know in advance what these two products will be like; I haven’t done anything yet because I am unable to create a Data Source. When I open the New Data ...Show All
Visual Studio Tools for Office Automation executable consumes 100% CPU
Hello!!! I have developed and automation executable to druve Excel and I'm poretty happy with it apart from the fact that it consumes 100% of the CPU while it's running - even when the app should really be idling. The problem is caused by this piece of code while (close == false ) System.Windows.Forms. Application .DoEvents(); I got this pattern from my VSTO book ( )and it's abviously going to cause the CPU hogging that I'm expe ...Show All
Visual Studio VSS shadow folder permission problem
Hi, I want to apply source control on a shared folder sitting on one of our servers. I used shadow folders to reflect the changes whenever somebody checks in, and it works fine. However we have templates (.ascx) files in this shadow folder and when we try to load these templates from ASP.NEt we get permission errors. Is there any other way to reflect the changes to a shared folder Thanks Hi ...Show All
Visual C# How can I create Menu seperator with .Net framework 2.0?
with .Net framework 1.1,I can implement menu seperator through setting the MenuItem's Text Property with a minus as shown below: MenuItem mi = new MenuItem(); mi.Text = "-"; but how can I achieve this with .Net Framework 2.0 it seems that the new class MenuStrip provided by .Net Framework 2.0 can not be manipulated this way. any help tips will be appreciated You should be able to create a separator with code ...Show All
