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

Software Development Network >> Visual Studio

Visual Studio

New Question

WCF and MarshalByRefObject
Design Question - What is the best way to implement a human readable string mapping for enum values?
Duplicate items are not supported by the "Resources" parameter error when building project
ResolveManifestFiles build task failed
Issue with launching Word 2003 XML (WordML) documents with Word 2007 Beta 2 & VSTO 3 CTP
Display transparent button image
Missing referenced files in VS Solutions
How to disable Undo/Redo tracking in a FlowDocument?
Platform SDK (R2) & MSDN Library for Visual Studio 2005
Getting errors when creating xaml control

Top Answerers

TrD
mobigital
Dotnet Fellow
orent
Silver Haired Newby
Tarkan G.
Paulustrious
David_Reynolds
Gary_MN
suman_chowdary
sitemap
Only Title

Answer Questions

  • jturpin DataContract issues - output doesnt match schema

    My idea was to create a Web service operation that returned an instance of a published XML type. I figured this would be a good demonstration of the benefits of a DataContract. So I got hold of an opml schema and simplified it (see OPML.xml for sample of desired output) Ideally, I thought there should be a way to convert the schema into a .NET class, and I believe this can be done via svcutil, but it's not obviously available from the VS GUI. So I wrote the class by hand (see DataContract.cs). I then added ServiceContract.cs and Service.cs. It seems there's no way to test the service without a client in WCF (this seems a step backwards to me, as a built-in test page is provided with all other Web service environments) so I built a ...Show All

  • simsen Unspecified ServiceModel Fault.

    Hi all, I am trying to use fault contracts (user defined). I get the following exceptions. Unspecified ServiceModel Fault. I have no clue what the error is.Below is the code i had written on the service side.   [DataContract]     public class ResourceFault     {          [DataMember] public string faultname;          [DataMember] public string faultinfo;     }     [ServiceContract]     public class ResourceService     {         [OperationContract(IsOneWay=false)]         public st ...Show All

  • Racsco XamlParseException Error

    I have xaml in Expression that has a button on it from a custom control library. When I test it, it works fine. I have now exported the xaml into a file and am now dynamically loading it at runtime with another EXE. Upon load I get the error... " The tag 'SearchButton' does not exist in XML namespace 'http://schemas.microsoft.com/winfx/2006/xaml/presentation'. Line '23' Position '6'. " Both projects reference the custom library and the dll resides where the EXEs get compiled. Any ideas This is the xaml file that I am loading. (Scene1.xaml) <Grid xmlns=" http://schemas.microsoft.com/winfx/2006/xaml/presentation " xmlns:x=" http://schemas.microsoft.com/winfx/2006/xaml " xmlns:mc=" http:// ...Show All

  • Gerhard Brueckl Reposting: Rerouting Com+ call

    hi, I have a 4-server cluster that has CLB. All the calls are routed to the CLB through NLB nodes that route to the next server in the cluster that has lowest CPU usage. All of the 4 CLB cluster run a set of COM+ applications. I would like to know if there is a way to re-route the call from one CLB server to another and PASSING THE WHOLE CALL CONTEXT so that the target server can reply directly back to the client. Is there any way to let the target (rerouted) server know about the Caller (origin) and set any context property so that this server can return to the Client directly thanks rb hi, I have a 4-server cluster that has CLB. All the calls are routed to the CLB through NLB nodes that route to the next server ...Show All

  • Romantic_touch Application.LoadComponent() problems June CTP -> RC1

    The Application.LoadComponent(component, uri) is no longer working if the component and the resource pointed by the uri live in different assemblies. Unfortunately this change makes it impossible to have components from one assembly to inherit from components from another assembly. Say you have a custom MyWindow control that lives in a Common.dll assembly. Its generated InitializeComponent() code contains a call to Application.LoadComponent(this, new Uri("/Common;component/mywindow.xaml"). So far so good. Now in the Application.dll assembly you have another class AppWindow that extends MyWindow. When it loads it calls MyWindow constructor which in turn calls MyWindow InitializeComponent. The result is a System.Exception : T ...Show All

  • RaviKanthReddy "PDF-like" scrolling

    I'm creating an application displaying a map and would like to use the same type of scrolling often used when browsing PDF documents (where the scrollable content is "dragged" by the mose). Is there any support for this or do I have to implement this functionallity from scratch Thanks Thumb is a control in WPF. Theres some similar code at http://blogs.msdn.com/llobo/archive/2006/03/09/543762.aspx A possible solution is to have an image inside a thumb and then listen to the drag delta event - scroll by the amount of horizontal/vertical change. lester - MSFT wrote: A possible solution is to have an image inside a th ...Show All

  • Student4508 Outlook 2007 RTM FormRegion editing bugs

    I am trying to edit FormRegion in the Outlook 2007 that I was developing in B2TR. When trying to modify it (add more controls) the changes are not saved. Even when trying to "Save As" the dialog is never poping up. By trial an error I've discovered that if I delete the TabControl (MultiPage) from my region it will allow to save it. What's going on Thx... Alex Ryan, I've figured out the exact steps to reproduce the bugs. OS: Vista RTM, Office 2007 RTM Font self increasing bug 1. Change the default DPI from 96 to 120. 2. Create a new FormRegion in the Outlook designer. Drag and drop a few controls on (labels textboxes) it and save it. 3. Open it again. The font size is increa ...Show All

  • watch is Programmatic access to Outlook appointment categories?

    Hello, I'm new to the VSTO world, so please bear with me. I'm using VSTO 2005 with Outlook 2007. I want to customize the categories associated with appointments in Outlook. In Outlook when creating an appointment, the user can choose to customize the categories (i.e. associate a name with a color). How can I acheive that programmatically Also, can I add other colors to be used for categories, or am I constrained to the 26 existing options Also, what are the best online resources for learning how to use VSTO 2005 with Outlook 2007 I've searched online for some reference material, but don't want to waste time with mediocre tutorials. Thanks a lot for any help. The last parameter wants a value from the Outlook.OlCategoryShor ...Show All

  • cdun2 RichTextBox Selection, set alignment

    How do I set horizontal alignment on a Selection in RichTextBox My first gues was: this .richTextBox1.Selection.ApplyPropertyValue( RichTextBox .HorizontalContentAlignmentProperty, HorizontalAlignment .Right); but that doesn't work. Best regards, Thomas Andersen I think we can do rtb1.Selection.ApplyPropertyValue( Paragraph .TextAlignmentProperty, TextAlignment .Right); but at selection level and not at the paragraph or block containing the selection, not sure about that Thanks, it works. It aligns the whole paragraph but thats fine. ...Show All

  • KostyaX Why does Exec not have

    Both a Program and a Command attribute It's a bit of a pain to always put a "" around the command part in case it has spaces in it's path. thanks - dave done Could one of you open a suggestion with both these ideas and exactly how you'd like to see it work Instructions at the top of the forum. (It's not because I'm too slack to do it myself. :-) It's because you can track it that way.) Dan program is the application and commandline is the command line. thanks - dave ..so which one of those is the arguments MSBuild team: if you implement this then for pete's sake choose a good name.. (But I much rather see that Exec task logged the working dir at least on the more verbose levels) ...Show All

  • Eddie Garcia Is this the expected behavior ? (Animations)

    I'm trying hard to use animations in my application. Along the way, I felt many pains, some of them being: Let's put 2 animations in a storyboard: <Storyboard> <DoubleAnimation ... Completed="DoneHandler" BeginTime="0:0:0" Duration="0:0:1" /> <DoubleAnimation ... BeginTime="0:0:1" Duration="0:0:01" /> </Storyboard> Do you think it's normal that the Completed handler is called after the whole storyboard is completed, not when the first animation completes Is it normal that if I put the same code as above into the Resources section of a template, the Completed handler isn't called anymore at all, and no error is raised It would be awesome to be able to do some a ...Show All

  • dj1s Deploying Crystal Reports in a Server - I need help ( VS 2005 was used )

    Hello: Managed to develop a report in VS 2005 and it works fine. The next question is how do we move the web site to some server that does not have Crystal Reports The following site gives you a good idea: ( works well fro VS 2003 ) but not for VS 2005 Anyone of you out there who had success with deployment Sorry ! Forgot to include the site. h ttp://aspalliance.com/672_Deploying_a_Crystal_Reports_Application_to_a_Remote_Server If you are using the version of crystal that comes with VS 2005, then you will have an msi you can install on your web server. It is located in C: \Program Files\Microsoft Visual Studio 8\SDK\v2.0\BootStrapper\Pa ...Show All

  • Juan David Zapata Need help developing a COM Add-in for Word(Office XP)

    Hi all, I created a "Shared Add-in" project in Visual Studio .NET 2005 and tried to develop a simple hello world COM add-in for Word. After created the project, it automatically generated another setup project and this is good. Then I added a reference to the Word Interop Assembly in the Add-in project and confirmed that the DLL file actually references to assembly in windows\assembly folder. Since I just want to make sure that Word can connect to this COM Add-in, I simply added a statement MsgBox("hello world.") to every event that appears in the default Connect class. Then I built both the add-in project and the setup project and right-clicked on the setup project and selected "Install" to install the add ...Show All

  • MikeS Double buffering?

    In .NET framework 2 there is support for double buffering. I was under the assumption that this would also be the case for .NET framework 3 (as it works with DirectX). However, I can't find anything about double buffering in the WPF documentation. My goal is to have a media player that does not display tearing (see also: this topic ). So I ended up using the media player control and displaying it on an image control. Now I thought, just turn on double buffering and I'm done. However, SetStyle is not supported in .Net Framework 3. Is there a way to have double buffering yes, I want the frame swap to be in sync with the monitor vsync. How do I do that This is supported by DirectX, is it a ...Show All

  • Danny_FADBA mesh limitations

    Hi, just read a really interesting post here . It got me thinking about the limitations around net.P2P. That discussion was centred around a high number of messages in a network with few peers in the mesh. What kind of limitations are there in the number of nodes in a mesh Also, is there much difference in scale when using PNRP v a custom resolver regards, steven http://stevenR2.com PeerChannel protocols are designed to be scalable. message throughput characteristics are not limited by the number of peers in a mesh. However, since each peer accepts a limited number of peers, number of peers in a mesh affects the latency of the mesh. So, higher the number of peers in a mesh, higher the message ...Show All

789101112131415161718192021222324

©2008 Software Development Network

powered by phorum