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

Software Development Network >> Visual Studio

Visual Studio

New Question

Force ContextLeave Event
Remote debugging with VS 2005 when TCP/IP filtering is on
Report with Object data - root object and list
VisualBrush with a background and a non stretched textblock. How?
Sending CDM_GETFILEPATH message to subclassed save as dialog
Can Triggers affect elements they are not applied to?
Unable to install Visual Studio 2005 Tools for Office.
Remove borders from Excel charts using C#
MarhalByRefObject
Draw and fill path using c# and NOT XAML

Top Answerers

Vesigo
Mart1n0
Pete_M
Ksev
Helge Norvang
bubu
smhaig
MightilyOats
ranasrule
Jamesx
IBM Rational Rose
Only Title

Answer Questions

  • DarkFire2 Having a DrawingContext as Content draws string

    Hey I have an application where I overrides my UserControls OnRender-method to add some graphics to it. Like this; protected override void OnRender(DrawingContext drawingContext) { base.OnRender(drawingContext); if (_targetBitmap != null) { drawingContext.DrawImage(_targetBitmap, new Rect(0, 0, this.Width, this.Height)); this.DrawBorder(drawingContext); this.DrawDimmingLayerAndProteinName(drawingContext); this.Content = drawingContext; } } My images is drawn nicely, but with one problem. Right at the top of the UserControl it is rendered a string where it says: System.Windows.Media.VisualDrawingContext How can I get rid of this annoying text /Daniel ...Show All

  • Rashar Video playback frame rate and performance

    I am hoping to use WPF for an interactive application that plays video in realtime with 3D graphics drawn on top. Think of it like a simple video player with one video layer and one 3D graphics layer. Any pointers on relevant WPF topics would be great, or opinions on whether WPF is the right technology to choose. (Last time I did this by using DirectShow for video, writing a custom allocator-presenter for the VMR9, and then calling native DirectX routines to draw graphics onto the decoded video frames. It was OK, but a bit messy.) In the mean time, I have written a simple C# app which plays back video in a window. For my first test, I used a Type I DV AVI file (PAL), which is 720x576 at 25 fps. Unfortunately, the observed frame rate ...Show All

  • wencey Problems with multiple ObjectDataProviders - Attn: Binding gurus

    Ok, here's the resource declaration of the ObjectDataProviders (ODPs) in question (may look familair to some of you) <ObjectDataProvider x:Key="PreOpen" ObjectType="{x:Type src:SingleValueBinder}" /> <ObjectDataProvider ObjectInstance="{StaticResource PreOpen}" MethodName="set_SettingName" x:Key="PreOpenInstance"> <ObjectDataProvider.MethodParameters> <sys:String>PreOpen</sys:String> </ObjectDataProvider.MethodParameters> </ObjectDataProvider> Here is the XAML that binds to the control <CheckBox Margin="10,10,10,10" Content="Pre-Open"> <CheckBox.IsChecked> <Binding Path="Value" So ...Show All

  • Oleg63 Is there an equivalent of value in a WPF ComboBoxItem?

    I hope I'm just missing something obvious here, but I cannot find what I need anywhere. What I want to do is manually populate a ComboBox with ComboBoxItems. On those ComboBoxItems, I want to set a string for display and an integer that is the key for use behind the scenes. I set the string to ComboBoxItem.Content, and it displays no problem. But where do I set the integer I have tried every field I can think of, and none of them work, when I pick something from the drop down and then check the values in the debugger, the SelectedValue on the ComboBox is always null. Every combo box I have ever used has supported this, and obviously, the WPF one does if it is databound with the SelectedValuePath property. But how can I get this to work wi ...Show All

  • bstoker mismatched dll versions (june ctp)

    Hi, Since installing the most recent ctp, I get an exception on my old projects. Message="Mismatched versions of PresentationCore.dll, Milcore.dll, WindowsCodecs.dll, or D3d9.dll. Check that these DLLs come from the same source." I can create new applications without a problem, so it's definitly something in my old project. Obviously, I've checked all references in the project, they are set to not copy and point to: C:\Program Files\Reference Assemblies\Microsoft\Framework\v3.0 The version of all dll's (including presentationCore ): 3.0.6507.0 (vbl_wcp_avalon.060607-1054) Public key tokens of all the dll's is: PublicKeyToken =" 31bf3856ad364e35 " I've looked at the gac, and it seems to be okay. I'v ...Show All

  • Craig G VS2005 Include Folder configuration madness

    Hiya, We're in the process of testing one of our add-ins against VS2005 Pro RTM, and along the way we are encountering some very, very odd behaviour. The latest to surface relates to the Visual C++ include folder configuration. In VS2002 and VS2003 you can simply grab a VCPlatform object directly from EnvDTE::Properties:Item(L"Platforms") and use it irrespective of whether a solution is open. Unfortunately, the Platforms property has gone in VS2005, to be replaced by "IncludeDirectories", which contains the raw (i.e. including macros) include folder configuration. So far, so good...except that we still need a VCPlatform object (or something related to it; VCProject or VCProjectEngine should do just as well) to expand the mac ...Show All

  • Adriaan W Getting security warning when starting Visual Studio.

    I'm reposting in this forum because I figured a bit more out about the problem, and it seems to be msbuild related (original post: here ). I'm building an installer which installs some example solution files. Shortcuts to these solutions are created in the windows menu. However when firing up a solution, a security warning pops up. (Similar to the one mentioned in http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=395354&SiteID=1 .) Now my questions are (in order to get rid of that popup! It will be annoying to customers): The "More Details" button mentions the following: --------------------------- Microsoft Visual Studio --------------------------- An it ...Show All

  • bszenith Getting an error for setting UserNamePassword Token setting for WCF Service on IIS usin basicHTTPBinding.

    I am getting the following error when I browse the Service.SVC file: Could not find a base address that matches scheme https for the endpoint with binding BasicHttpBinding. Registered base address schemes are [http]. I have done following step, can you please tell me what am I missing 1. I created a seperate website on IIS with port 90. 2. I ran the following command to install the SSL certificate. C:\Program Files\Support Tools>httpcfg set ssl -I 0.0.0.0:90 -h a586fc83bd30d288 d2c08067c03ca51258c94e32 HttpSetServiceConfiguration completed with 0. C:\Program Files\Support Tools>httpcfg query ssl localhost:80 IP : 0.0.0.0:90 Hash : a586fc83bd30d288d2c08067c03ca51258c94e32 ...Show All

  • Dietz can I bind a controls IsEnabled to the SelectedIndex of one or more comboboxes?

    I am trying to implement a UI in WPF where the user can only use a button if they have already selected a value in two combo-boxes. As such I'd like to do something like IsEnabled="{Binding ElementName=comboBox_Name, Path=SelectedIndex}" however this doesn't work, the button stays disabled, I guess because SelectedIndex is an int with -1 being the value for no selection. Is what I'm trying to do even possible with 1 combobox, let alone then making IsEnabled dependant of two comboboxes. If it's not possible is there any other way to achieve this using triggers, without resorting to code-behind. It strikes me that this is a very common UI requirement and if I can only bind IsEnabled to anothe rbinary property such as IsChecked the ...Show All

  • ZoomyX add-in doesn't load when launching using new excel.application

    When launching excel via interop, I've noted that the addins don't appear to load. Dim xlsApp As Microsoft.Office.Interop.Excel.Application xlsApp = New Microsoft.Office.Interop.Excel.Application xlsApp.Visible = True Does anyone have any idea why and how to solve it Otherwise, I need to figure out how to load excel via System.Diagnositics.Process.Start() where I can pass it the location of the excel exec, which I am uncertain how to determine Good to know, thanks guys, appreciate the feedback Denis, COM add-ins created with VSTO do behave as the other COM add-ins. The Processes.Start is similar to start Excel manually and therefore the add-ins are loaded. Thanks Dennis ...Show All

  • Neil East Reflection file only reading one class

    I'm building documentation from a single project exe that has multiple classes. The xml comments file VS2005 generates has all the comments in it for all my classes and such, but once reflection.org is generated, all the information about everything but one class disappears, and so I Sandcastle then only generates documentation for that single class. This is a Windows Forms application. Any tips would by greatly appreciated. Thanks. Yes Shawn and I will get back to you by tomorrow. Anand.. Have you received my email Anand Have you taken a look at it yet I understand you're probably a pretty busy guy, but I've been sitting in the dark here for a while. Thanks in advance. ...Show All

  • Wayne.C Xml Data Binding Performance Issue (Re-post)

    I am running the .Net 3.0 RTM and have come across a performance problem with data binding. I am data binding XML which is updated once per second to a ListView/GridView . I have noticed that cpu utilization increases rapidly as the number of items in the ListView grows. For example, on my IBM Thinkpad 43p, if I have 3 items, cpu utilization is 8%. If I have 6 items cpu usage grows to 30%. At 12 items it is approaching 100%. As the number of lines of XML grows, the performance gets worse. In the code behind, I have a single XmlDocument that I set to the data context of the ListView: XmlDocument doc = new XmlDocument (); instrumentList.DataContext = doc; When new Xml is available, I do the following: doc.LoadXml(theX ...Show All

  • splashup How to understand MPF architecture?

    Hi there, Could anybody help me in understanding the MPF architecture I tried to go through SDK, but for novice like me there are too much information. First of all, it would be great to find the MPF architecture diagram . Also, it would be amazing to understand to MPF role in VSIP development . Hope for the Gurus' aswers   Many thanks! Hello Rusty, Thank you very much for your explanation. Dmitry [dimaka] Pavlov Hello Dmitry, I'll start with your last question. The MPF is a rich layer on top of the VS API to facilitate the development of application in managed code. In addition, it includes attributes that are used to enable self registration via regpkg.exe. The Visual Studio API is comp ...Show All

  • Spyrrho where to get the plugin

    hello, I can't find the VSS 2005 plugin for Visual Studio (I had it before but now I can't remember how I did it before I formatted).... I have a home server with VSS on it.... I commit my changes to it... formatted last night and can't remember how I got VSS plugin for Visual studio... thanks it worked but i wasn't using beta (it was VS 2005 and VSS 2005 team edition -- the 3.4 gig DVD) ... same dvd-rom worked on a different computer and installed it ... also before i had formatted it did work for me... thanks for those two links... the first one helped... cheers! The easiest solution is to do a repair install of VSS 2005. That should ensure that all of the MSSCCI D ...Show All

  • ngkay Canvas KeyDown event

    I can't able to get the keyword events of the canvas.... Any help would be appreciated. Thanks in advance Cheers, G thanks guys :) your comments really help me to solved the problem. Cheers You can do that by setting Focusable="True" on the canvas and set the focus on the Canvas from the start (myCanvas.Focus() somewhere in the window's constructor or loaded event). The problem is that if another element receives focus during the application's lifetime, you will not receive the keyboard events on the canvas. Another way is to set the event handler up in the hierarchy (in the parent Window) - because of the tunneling/bubbling you will get the event ...Show All

525354555657585960616263646566676869

©2008 Software Development Network

powered by phorum