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

Software Development Network >> Visual Studio

Visual Studio

New Question

A form with a 1000 text boxes, help required.
Returning Files as a Stream
Demo III: Offline Application – WebService
Simple arithmetics in XAML
Excel & C/C++
ListView not returning to expected size post animation
multiple animations within one EventTrigger
Excel 2003 copy method failed
Hosting WPF Content in a Microsoft Win32 Window
Screencasting a WPF Application

Top Answerers

Ricardo Francisco
Boot2TheHead
BriceGuy
jwadew
chrismpace
su45937
Gaurav Sehgal
Cordell Swannack
BrianHks
ykgreene
sitemap
Only Title

Answer Questions

  • LuckyL 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

  • prince-simo Protected method of sealed classes appear in the Index

    Try generating documentation for the following code: using System; u sing System.Collections.Generic; using System.Text; namespace SandCastleTest { public class BaseTest { protected virtual void Help() { } } public sealed class Test : BaseTest { protected override void Help() { } } } Generate documentation for it using the Sandcastle Aug CTP (HtmlHelp1x). If you'll look at the Contents-tab of the compiled help-file you'll notice that the Help-method is only shown as a method of the BaseTest-class. It correctly doesn't appear as a child of the Test-class as this class is sealed. If you then click on Test Class in the Contents-tab, you'll get a list of all the members of this class. ...Show All

  • MarcNelson Crystal Report Globalization Issue (to urdu language)

    Dear All,             I have developed a project in Visual Studio 2005, all forms successfully globalized to langauge of my interest (urdu). but i dont know how globalize crystal reports to urdu, any one can help me. Thanks   Thanks, if some one tried to solve my problem, actually there is every thing straight farward, no extra effort is required, just nchar nvarchar or ntext data type of sql server needed to store unicode (urdu or arbic) font, while retrieval whether it be crystal report or windows form is same as one retrieve sample text (english). Thanks ...Show All

  • Territorial Musings Newbie: WCF without Admin rights

    Hi, Sorry if this is such an obvious thing (I've had a search on the internet but honestly can't find the answer). I want to build a simple WCF webservice for desktop applications to use. However, when I run my client app on Vista with non-admin users I get a message saying that my App is not responding. However, the same application runs great on XP. I then logged in as admin and modified some settings (adding a url acl) and the client application works okay. So my question is, can I write a WCF webservice which does not require you to be admin (and doesn't require an admin to previously set permissions) for my app to work If so, can anyone give me a code sample Thanks! As far as I know (bu ...Show All

  • crazyabtdotnet Error in Net.Tcp + CallBack Contract + Streaming

    Hi all, I am getting following error: "Contract requires Duplex, but Binding 'NetTcpBinding' doesn't support it or isn't configured properly to support it." when i am tring to open "ServiceHost". Waiting for positive reply. Thanx in advance. Pratik You cannot use TCP Streaming + Duplex contracts efficiently in V1. TCP Streaming offers up IRequestChannel, and while you can convert IRequestChannel->IDuplexSessionChannel by using OneWayBindingElement+ReliableMessaging, it will be gloriously inefficient, and will also buffer up all your data, thereby removing the advantage you are trying to gain through streaming. Perhaps your scenario can be met by using two services (one on the c ...Show All

  • Alessandro Camargo How is localization supposed to work in a big XAML application?

    I have followed the instructions in "Localize an Application", and have as an example a csv-file with 14903 elements, where I guess about 100 is supposed to be translated. The rest is Gradients, Pens, etc, etc. Here is an example of one of the many source files, and its LocBaml output: <ResourceDictionary x:Uid="ResourceDictionary_1" xmlns=" http://schemas.microsoft.com/winfx/2006/xaml/presentation " xmlns:x=" http://schemas.microsoft.com/winfx/2006/xaml "> <LinearGradientBrush x:Uid="LinearGradientBrush_1" x:Key="WindowBorder" StartPoint="0,0" EndPoint="0,1"> <LinearGradientBrush.GradientStops> <GradientStop x:Uid="Gradie ...Show All

  • ScottStonehouse Problem with Sandcastle generated HTML files

    Hi, I am currently testing Sandcastle (August CTP) together with E. Woodruff's GUI. I set the option so that intermediate files are not deleted. My goal is to upload the uncompiled HTML files to my webserver for my users to consult online. However, when I attempt to open the HTML files in IE6, I get a javascript error: "Access denied", and then another: "lfc is null or not an object". I debugged the javascript and the "Access denied" error occurs when trying to access a style, which is declared using the ms-help: protocol. Could that be the cause of the problem Strangely, the error occurs only in IE, not in Firefox. Also, it runs fine in file: protocol, and fails only in http: (both on localhost, or o ...Show All

  • Rakesh Jha Default value of DataMember on client side?

    I create a DataContract like this in a service: [DataContract] public class Person{ public Person(){ _name="leo xue"; } private string _name; [DataMember] public string Name{ get {return _name;} set {_name = value;} } } But when I create an instance of Person class on client side, I find person.Name is a null value. So is there a convient way to pass the default value to client side Hope for your advice. Thank you. svcutil generates partial on type declaration. You can add your own constructor or callback methods with the partial type declaration in another file to prevent overriding by svcutil. zhish [MS ...Show All

  • mattdawg DataTemplate vs. ControlTemplate

    Hello, I'm not so sure that I understand the difference between a DataTemplate and ControlTemplate. I realize that the DataTemplate renders a 'type' of data. But then why is ColumnHeaderTemplate defined using a DataTemplate resource Thanks Houman Thanks Mike, that makes sense. Is there a good example out there on dataTemplateSelector sounds like a very powerful feature. Thanks Houman Thanks Lee Thanks Mike, I'm still trying to figure out when to use what...but it is getting easier... Houman They're mostly the same, getting most of their behavior from the base FrameworkT ...Show All

  • SanthaMind imageMso - possible values?

    Hi, what are the possible strings in imageMso attribute Is there any list available I have the Excel demo from Jensen's log but this is only for Excel and customUI.xsd does not contain applicable values. Thanks The XML part is called customUI.xml and it contains all MSO images - not just Excel, but Word, Outlook, Access etc. I think I will close this thread now. Jan Ku era wrote: Hi, what are the possible strings in imageMso attribute Is there any list available I have the Excel demo from Jensen's log but this is only for Excel and customUI.xsd does not contain applicable values. Thanks Where can I get the possible list of the names of the imageIso attributes ...Show All

  • pkr2000 Alias in LINQ?

    How about allowing the use of alias in LINQ I have a blog and I'd like to get the number of comments for each post. Printing post.Comments.Count will query the database for each post, and will pull the post's comments. This is unneeded and a situation I want to prevent. I can't use an anonymous type because this is a set of posts I return from a method: IEnumerable<Post> GetPosts() { ... } I thought maybe I could extend the partial Post class with a property named CommentCount, and assign a value in the LINQ query: from p in db.Posts select p,p.CommentCount = p.Comments.Count() Then the count will be inside the query. Thanks! see the "let" keyword for that ...Show All

  • Tuk Can I host a WPF Control into ASP.NET

    The one way to host an XBAP application into an ASP page is to host it into IFrame. In that case I'll not be able to interact with XBAP application from ASP page because XBAP application will run as separate appllication. Here, from interaction I mean that if I click on a button which is placed on ASP not on XBAP appllication itself. Is there any way to achieve it. Can I host a WPF control not XBAP application directly into ASP.NET. Regards, I will parrot what Neil just suggested. If you really wanna see what you can do with WPF/E and Javascript, look at http://www.vista.si Take a look at WPF/E - http://msdn.microsoft.com/wpfe/. This is a cut down version of WPF which allows hosting in HTML elements. To put it sim ...Show All

  • here Setting OperationContext.Current.OutgoingMessageHeaders.To

    I have an output channel pointed to a remote address. However, for the To in the addressing header, I want it to be something else so I used a OperationContextScope and set the OperationContext.Current.OutgoingMessageHeaders.To to what I want. However, when the message hits the transport layer (viewing in svctraceviewer), it's changed to the remote address. How do I get it to stay with what I put in the To property Thanks, Jon S If you want to control the addressing on your own, you need to set ManualAddressing = true. This should be exposed on the binding you're using (if you're using some of the out of the box bindings like NetTcpBinding) or you could fetch down to the TransportBindingElement in ...Show All

  • KrazyMGA Generated proxy via svcutil.exe for self-hosted service problem

    I was trying to generate client proxy for my self-hosted service using svcutil.exe. But I got some errors and the proxy can not be generated. Can anybody point out what was wrong Thanks! Following is the error message from svcutil.exe: C:\Program Files\Microsoft SDKs\Windows\v6.0\Bin>svcutil http://localhost:7000/OrderProcessing 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:7000/OrderProcessing' usi ng WS-Metadata Exchange or DISCO. Microsoft (R) Service Model Metadata Tool [Microsoft (R) Windows (R) Communication Foundation, Version 3.0.4312.0] Cop ...Show All

  • AlpanaDhole GridViewColumn Limitation

    I have a problem with GridViewColumn when using CellTemplateSelector. The solution, I believe, is to allow a "DataContext" property on GridViewColumn. But first, the problem... I have a data aquisition application in which I want to define two (only) templates related to quality control: one for "good" data and one for "bad" data. Unfortunately the template must also supply the data binding path, meaning that I have to have copies of the templates for every piece of data that I might want to display. This defeats the purpose of a template as far as I am concerned because it conserves no effort. To illustrate the problem I have concocted the XAML file below. My application doesn't use XML data, but this was the ...Show All

161718192021222324252627282930313233

©2008 Software Development Network

powered by phorum