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

Software Development Network >> Visual Studio

Visual Studio

New Question

VS 2005 - can't float code nor design windows!!!?
ReportViewer Print Preview Problem?
Source Control User Interface Reference
How to pass parameters to a DataBinding in XAML? - I want (need) to seed the construction of the DataBinding source object.
Disk space requirements for installation of SP1 for VS2005
New Report Viewer Redistributable package with SP1?
Report Viewer shows error then loads the report
Crystal Report Software Requirements
Windows App launching a Word Project (document)
Problems going from the .Net 1.1 sdk to 2.0 with VS 2003

Top Answerers

Stéphane Beauchemin
Danny Tuppeny
Stephanie L
nojetlag
Flintman
My Vizai
Akshay Saini
jss3426
Jon Langdon - MSFT
GisTexan
Logictran
Only Title

Answer Questions

  • project2n5e0o1 How to get the screen resolution in wpf

    Hello everyone, I am developing an client/sever application using wpf and wcf, in which when i run the client application on different screen resolution, then the controls(i.e. the size) added in the xbap page changes. So i want to get the current screen resolution and make the size of controls unchangable.Can anyone help me out. Thanks lester and footballism. It worked. Hi, I have set Page height and width in XAML Page. . But when i change screen resolution this height and width get changed. What should i do to resolve this query look at systemparameters... you can find a lot of useful info there... ...Show All

  • Anarchy Some basic questions about Extensibility

    I am primarily interested in writing some add-ins for my teams project in C#.  I wrote some add-ins years ago for Visual Basic 6 but dont remember much about it. I was hoping someone could answer the following questions: I am confused with the difference between EnvDTE and EnvDTE80.  I know that EnvDTE80 is the new object.  Does it contain everything I need for writing add-ins Meaning backwards compatibility Or is it an addition to EnvDTE and both must be used in a project   Is there a time when I only need to use EnvDTE80 or vice vera if so Same question relates to VsLangProj and VsLangProj2. I suppose its the numerical iteration that confuses me.  Usually when a new object is released it contains all ...Show All

  • Pauly C MergedDictionaries problem

    Hi! Assume I have the following style in a file called myControlStyle.xaml: <ResourceDictionary> <Style TargetType="myControl"> <Setter Property="Template"> <Setter.Value> <ControlTemplate TargetType="myControl"> ... <Border BorderBrush="{StaticResource myBorderBrush}"> ... </Border> ... </ControlTemplate> </Setter.Value> </Setter> </Style> </ResourceDictionary> As you can see, it uses a brush called myBorderBrush. What I now want to do is to create a separate file for each color theme where each file defines an own myBorderBrush: File blueColors.xaml: <ResourceDictionary> ... <SolidColorBr ...Show All

  • hmayer Show System.Windows.Forms.UserControl in XAML-Window

    I try to show a (Custom) Forms.UserControl in a XAML-Window. The Control is in a external Project. Trying to show the UserControl in the XAML-Window generates the follow ArgumentException-Message: "Cannot add instance of type 'MyFormsUserControl' to a collection of type 'UIElementCollection'. Only items of type 'UIElement' are allowed." Is there a Way to use and show our CustomControls in a XAML-Window   Code in XAML-Window: < Window x:Class = " Window1 " xmlns = " http://schemas.microsoft.com/winfx/2006/xaml/presentation " xmlns:x = " http://schemas.microsoft.com/winfx/2006/xaml " xmlns:ccl = " clr-namespace:MyControls;assembly=MyControls " Title = " TestForm " Height = " 300 " Width = " 300 " > &l ...Show All

  • M. Nicholas Blend modes not supported in WPF?

    Are blend modes not supported in WPF With the recent release of WPF/E and the new CTP's for the Expression tools, my interest in WPF has rekindled.  However, after searching the Web and Newsgroups it seems that blend modes are not supported in the WPF.  I'm not quite sure what the rationale behind leaving this feature out of WPF was. (Purhaps time constraints )   I'm sure the developers on the WPF team know how to program support for blend modes.   It's pretty much well documented on the Web.   I've even written a few for a custom layering application I wrote for .Net 1.1. a year or so ago.   It's odd that they took the time to program support for filters such as drop shadow, blur, and reflection, but not ...Show All

  • chunkai Is WPF right for my app?

    I am in the process of determining if WPF is right for my app. M y app requires that my main entry form look like a paper form for example a IRS 1040a. I can draw this form very easily on a Canvas, but because the canvas is position based, it doesn't resize with the screen, however I need to be able to resize the whole canvas based on screen size. I have tried the grid and stack panel but the wrapping and resizing doesn't work for what I want. I have to maintain the look of the form and maintain the aspect ratio as well. Any suggestions or where to look for examples would be greatly appreciated. rockowpb Thanks so much. The viewbox did the trick. Works great. Wow this is really good stuff. ...Show All

  • Andrew Shearer Building expressions at runtime

    Hi all :) I've started experimenting with the whole expression tree stuff and it looks really interesting. I'm thinking of a way to let a user specify certain operations ( +, -, / , * for example) and build a function out of it which can be saved and used later on. I know I can do something like this: ParameterExpression p0 = Expression .Parameter( typeof ( float ), "x" ); ParameterExpression p1 = Expression .Parameter( typeof ( float ), "y" ); var e = Expression .Lambda< Func < float , float , float >>( Expression .Subtract(p0,p1), new ParameterExpression [] { p0, p1 }); Console .WriteLine(e.Compile()(3,4)); And this will print -1 as output. But how can I generalize this I wou ...Show All

  • TboneToo Community?

    If this is a 'community site', why can I not reply to most of the posts Shouldn't a community site be about starting conversations I am surprised Cindy didn't ask for you to be moved to the forum Where is the forum for... ( sorry Cindy could not resist :-) ). You are right Scott you should be able to post to any forum post old or new. I recently posted to an unanswered post from over a year ago just to answer the question...which does lend itself to community which you will find other volunteers doing the same thing. The MS forums can be used for help in specific problems, but also as a research tool. When you search for a problem, users anoint posts as Answers..that in tern is used to during searches t ...Show All

  • buzzbuba Client and service see different SessionId for a duplex contract?

    Hi, I have a simple WCF app using the NetTcp binding and a duplex contract.  I'm using InstanceContextMode.PerSession and the sessioning works fine.  What I don't understand is why I get different values for "SessionId" on the client and service side when using a duplex contract.  For a non-duplex contract the client and service are seeing identical "SessionId", which is what I would expect.  So why not also for a duplex contract   Thanks, Alan Client code:     String strSessionId =         CMyService_ClientSideProxy.InnerChannel.SessionId;     These return identical strings to strSessionId above:     CMyService_ClientSidePr ...Show All

  • Adrian Slack Why is DTC Starting when Using System.Transactions with ObjectContext?

    This might be a question that applies to ADO .NET in general, but the only time that I've used System.Transactions and TransactionScope is with ADO .NET Orcas and so I've only seen this behavior in the scope of my exploration with ADO .NET Orcas. My appologies if this question is posted to the wrong forum. The DTC started when I instantiated a transaction scope and used an ADO .NET Orcas object context within that scope. Is the connection objected used by ADO .NET Orcas automatically promoted to a transaction that has to be managed by the DTC, or does the DTC simply pre-emptively start when a transaction scope is created regardless of whether the underlying resource requires the DTC Thanks, Carl. I'm u ...Show All

  • Witold VSS 6.0

    Hi Friends i am getting on problem when i branch my prject(vb.net) in VSS 6.0 in diffrent working folder and if i make some changes on to that new branched project then the same same changes are reflected in my main project . but it shold not be happened if i branch the project means i disconect it with my orignal one . but still problem is occured . and if i done it in VSS editor then changes are not reflected .. can any one help me..please Are you sure you've done a Branch and not a Share What are you using to edit the branched project Does the change get propagated to the original project immediately, or only after you checkin ...Show All

  • dork CCF - Adding and executing Actions on hosted applications

    Hi, I have added an action "TestAction" to a hosted application "MyApplication" and want another hosted application "MyApplication2" to fire that action. Both these hosted applications are hosted controls. The action has been added in ContactCenterAIF.Action table. The initialization string is "<ActionInit><GetFocus>true</GetFocus></ActionInit>". From "MyApplication2", I call the following code, FireRequestAction(new RequestActionEventArgs("MyApplication","TestAction","<GetFocus>true</GetFocus>"); When the above code is executed, focus is shifted to "MyApplication", however the handler DoActi ...Show All

  • PiGuy Asynchronous LINQ???

    Given WCF's decent support for asynchronous server-side methods (going by the docs), is it likely that LINQ to SQL will support asynchronous query execution in the future Perhaps a BeginToSequence method, eg: IQueryable<Customer> customers = dataContext.Customers.Where (c => c.Name == "Jones"); IAsyncResult result = customers.BeginToSequence (Callback, null); It might be worth including such methods because for the end-programmer to add them could involve re-writing DLINQ. An alternative would be modifying the thread pool so as to be tolerant of blocked threads, thus allowing blocking methods to be used (at least in medium-load application servers) without problems. Obviously the thread count would rise, but this might b ...Show All

  • Robert D Misiak SandCastle and .Net 3.0 Dll's : "Error: Unresolved assembly reference: System.ServiceModel ..."

    Hi, I'm Using Dec CTP .Net 2.0 dll's are generated as they should. But files with .Net 3.0 dll's (specifically WCF / WF) aren'y generated at all and throw a pop-up with an exception (The usuall need to close / debug) Here is the output in the command line: MrefBuilder (v2.2.61208.1447) Copyright c Microsoft 2006 Error: Unresolved assembly reference: System.ServiceModel (System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089) required I've seen other posts claiming that no need to change MRefBuilder.config and sandcastle.config was needed in december CTP Any suggestions You need to use the /dep switch to tell MRefBuilder the dependency. If it only e ...Show All

  • Beast Forever Outlook 2003 Add-In being disabled

    I have seen several posts on this subject but I have yet to find one that answers the question about what is really going on. What I have found my my Add-In is that there are two scenarios that VSTO doesn't seem to be able to deal with. 1. Sending a file to a Mail Recipient using right click in explorer I really would have expected this to work and the Add-In would just have to catch that there is no UI and bypass that functionality. The result of this on my systems is that the next time Outlook is loaded the Add-In is on the disabled list. 2. ActiveSync loading part of Outlook and then not releasing it. I have yet to fully understand this but I assume it is similar to number 1 but slightly more annoying in the fact that eve ...Show All

484950515253545556575859606162636465

©2008 Software Development Network

powered by phorum