Software Development Network Logo
  • Visual C#
  • Microsoft ISV
  • Visual Studio
  • Audio and Video
  • IE Development
  • .NET Development
  • Visual FoxPro
  • Windows Vista
  • Smart Devicet
  • Visual Basic
  • SharePoint Products
  • Visual C++
  • SQL Server
  • VS Team System
  • Windows Forms

Software Development Network >> Visual Studio

Visual Studio

New Question

Memory Issues
Corrupted output chm file from help compiler
Building Office integrated applications
How about a Package? Can a Package access ICorDebug?
Get at Binding from inside IValueConverter?
FatalExecution error when applying Setter to Window
Mutliple DSL Installation
How to catch .net 2003/5 solution tree drag and drop event
Xaml auto-completion?
VSS6.0's Sample Code is Invalid Now ?

Top Answerers

Kevin Jacobson
Ariel Mazuz
Rikus
Greenstrike
aybe
Eileen Ewen
Prateek_cds
tmk7
Auris
Itzik Katzav
sitemap
Only Title

Answer Questions

  • jsdude99 Another puzzle on how to access ui elements inside datatemplate.

    Recently, I am trying to use the DM-V-VM model (see dan 's blog) to develop wpf applications. In this model, I can define DataTemplate like this: <DataTemplate DataType="{x:Type local:Contact}"> ........ </DataTemplate > <DataTemplate DataType="{x:Type local:ContactVM}"> <Grid> <ListBox ItemsSource="{Binding Contacts}" ></ListBox> <Grid Name="grid"> <Button Name="button">Test</Button> </Grid> </DataTemplate > ...... <Grid> <ContentControl Content="_content"/> </Grid> In such a model, we can see the DateTemplate is applied to a DataType(C ...Show All

  • ddstevens VS2005 Extensions for NetFx3

    Hi Is there , I am currently running VS2005 Team Suite for developers on Vista RC2 and have installed the VS Extensions for .Net3. All good so far. Are there plans to update the extensions pack once the RTM of Vista is released main stream, will it be intergrated within VS2005 Sp1 Hi Jason, Currently, the VS 2005 extensions for .Net 3.0 (the zaml/avalon stuff) isn't slated for inclusion until the next release of VS, sometime next year. It's my understanding that the service pack for VS 2005 is mainly a roll up of hotfixes. We won't see the new designers targeting .Net 3.0 (aside from the preview stuff), until the next release of VS (code named Orcas). Sincerely, I don't think so. ...Show All

  • best49erfan Prevent outlook from closing or user from changing a item

    Hi again! Im having some troubles on outlook add-ins. Does anyone knows how to: Detect that outlook is closing and ask the user if he really wants to close outlook while the add-in is performing some action (example: sending data or receiving from a server). In this situation is there a way to prevent outlook from closing Detect if a user is changing a item. Prevent a user from changing any item while the addin is doing something. I was hoping for a solution that works both in 2003 and 2007 office systems. Thanks for the tips. Regards, N. Pinto So your saying that i should: activeExplorer().close += ... (CloseEventHandler) CloseEventHandler { // Prompt user ...Show All

  • shimshon Setting inner exception for FaultException

    It seems that it is recommended that a WCF application throw a FaultException. My question is that if I catch an Exception how do I construct a FaultException so that the inner exception is populated Basically I have something like: catch(Exception ex) { throw new FaultException . . . . } If you really want to pass exception detail information from the server to the client, there are two general strategies you can use. First, you can use includeExceptionDetailInFaults: http://msdn2.microsoft.com/en-gb/library/system.servicemodel.description.servicedebugbehavior.includeexceptiondetailinfaults.aspx Then all exceptions will propogate to the client. But please see the cautionary note about passing ...Show All

  • Liston Mapping both base and inherited objectqueries in objectcontext

    Hi! I'm experimenting some scenarios with Orcas october ctp. I would like to build an objectcontext with both base and inherited objectqueries. Example: I have two entities, Person, and Customer, which "is a" Person. Each entity has a table. Person has an Id, Customer a primary foreign key PersonId. These are the mapping files. These work without Customers EntitySet in csdl and corrisponding EntitySetMapping in MSL.   MSL: <Mapping xmlns="urn:schemas-microsoft-com:windows:storage:mapping:CS" xmlns:edm="urn:schemas-microsoft-com:windows:storage:mapping:CS" edm:Space="C-S">   <Alias edm:Key="C" edm:Value="ShopLib" />   <Alias edm:Key="S" edm:Value="ShopLib.Target" />   <EntityCo ...Show All

  • Albion Simon a abnormity TextBox

    I saw some posts give the the code of drawing abnormity Button, <Grid> <Grid.Resources> <Style TargetType="{x:Type Button}"> <Setter Property="Width" Value="30"/> <Setter Property="Height" Value="40"/> <Setter Property="Cursor" Value="Hand"/> <Setter Property="Background" Value="Skyblue"/> <Setter Property="Template"> <Setter.Value> <ControlTemplate TargetType="{x:Type Button}"> <Grid> <Ellipse Fill="{TemplateBinding Background}"/> <ContentPresenter VerticalAlignment=& ...Show All

  • Ted. How to draw a border around a canvas in XAML app

    I have a user control that inherits from the canvas class. How can I draw a border around this canvas using c# Also, can I give it round corners In order to do that just put a rectangle inside you canvas. That'll give both ability to manage borders by using Stroke and StrokeThichness and rounded borders - see XRadius/YRadius. ...Show All

  • r3n Error message help

    I began debugging one of my forms today and received a strange error message. Using: Visual Studio 2005 - Visual Basic SQLServer Express 2005 I was at a breakpoint where some writing to a table in the database was happening. All of the sudden this message came up and my only option was "OK". ContextSwitchDeadlock was detected Message: The CLR has been unable to transition from COM context 0x1a2008 to COM context 0x1a2178 for 60 seconds. The thread that owns the destination context/apartment is most likely either doing a non pumping wait or processing a very long running operation without pumping Windows messages. This situation generally has a negative performance impact and may even lead to the application becoming non responsive or memo ...Show All

  • Tareq Ismail crystal reports execute slow when run the first time in VB 2005 application

    I have developed a VB.net 2005 application with Crystal Reports. When i run the .exe application the first time & run a report, the report takes a considerable amount of time to execute on screen. But, after closing the report and running the report again, it executes & displays quickly on screen. Subsequently, if i run other reports, they execute fast. The problem appears the first time i run any report after logging into my .exe application Pls. help. I do not see any errors ........... Alex I don't think there is much you can do, the newer versions of crystal have way more dll's that it utilizes which takes more time to load and initialize on the first load. ...Show All

  • daimaku Problems in a team using same Project File.

    Hi all, I am relatively new to Sourcesafe, but have been using it for a couple of months now, and have noticed an issue that is setting us back a little. The scenario is as follows... We have four developers each working on the same project. We all have the latest version of the solution of our project from SourceSafe, and each decide to get on with our assigned work, which includes adding new Items to the Solution (such as Forms). But each time we add an Item, it requires us to check out the project file, which you then have to check back in so that another user can then add their piece or work (Item). But this will thrown an error now as the Project file is referencing the Item that my colleague created, but which isn't checked in as it ...Show All

  • SAD1 Deserializing A SAML Token Received From An STS?

    Having received an RST message, an STS serializes a SAML token into the body of the RSTR message returned to the client. In that the RST and RSTR support was pulled from WCF, it would appear that the SAML token need be deserialized on the client side for caching and reuse. Documentation concerning the SamlSerializer, SecurityTokenResolver, WSSecurityTokenSerializer and SecurityContextSecurityTokenResolver classes is sparse, however, and attempts to do so consistenty result in: "The SecurityKeyIdentifier that was found in the SamlSubject cannot be resolved to a SecurityToken. The SecurityTokenResolver must contain a SecurityToken that the SecurityKeyIdentifier resolves to." Little seems to have been written concerning th ...Show All

  • Emadkb sharing

    Hi, If I am sharing a files between two folders say each 10 MB file,can u please tell me if I am sharing these files,is it taking double space in the VSS database(20 MB) or single space(10 MB). Thanks in advance It will take up 10MB in the database* and 20MB on the client. *actually, could be much more due to storing older versions and DB overhead ...Show All

  • JamesPMiller "Requested Clipboard operation did not succeed"

    I am copying and pasting rtf into word through automation and occasionally i will get the error "Requested Clipboard operation did not succeed". Usually when this happens the only fix to get it to work again is to close word and reopen it, or sometimes i have to completely reboot. Any idea what causes this issue, or anyway around it without using the clipboard besides writing to a file and inserting into the document. I really don't want to touch the disk due to performance reasons, as there may be hundreds or thousands of generated small rtf pieces to insert into various places. I'm running into this same message in my VSTO automation project. The system works flawlessly on my test serv ...Show All

  • pcd Svcutil - July CTP - Metadata contains a reference that cannot be resolved

    Hi, I just wanted to try some sample code and generate the proxy with svcutil. The service is self hosted and I'm running into: C:\Program Files\Microsoft SDKs\Windows\v6.0\Bin>SvcUtil.exe http://localhost:80 01/Weather/out:proxy.cs Microsoft (R) Service Model Metadata Tool [Microsoft (R) Windows (R) Communication Foundation, Version 3.0.4312.0] Copyright (c) Microsoft Corporation. All rights reserved. Attempting to download metadata from 'http://localhost:8001/Weather/out:proxy.cs ' using WS-Metadata Exchange or DISCO. Microsoft (R) Service Model Metadata Tool [Microsoft (R) Windows (R) Communication Foundation, Version 3.0.4312.0] Copyright (c) Microsoft Corporation. All rights reserved. Error: Cannot obtain Metadata from http://local ...Show All

  • foomunchoo MSBuild Target with Exec task

    I'm now working through a simple experiement with MSBuild, attempting to learn the tool. I've created a simple .proj file, which executes a series of Targets using the Exec task. Each Exec task simply changes the extension of the filename and prints a message. When run, the first task executes but fails after that, indicating that "Skipping target 'blah' because it has no outputs." Here's the Target setup... < ItemGroup > < RTFFiles Include = " *.rtf " /> </ ItemGroup > < Target Name = " Prep " Inputs = " @(RTFFiles) " Outputs = " @(RTFFiles->'%(Filename).txt') " > <!-- I think this pr ...Show All

151617181920212223242526272829303132

©2008 Software Development Network

powered by phorum