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

Software Development Network >> Visual Studio

Visual Studio

New Question

WPF not displaying images
How to get an xbap to show on a website
asp.net C#, VS.net 2002, Crystal Report XI 30 days Eval. Dynamic image location Problem
Are samples old or is my intellisense broken?
NetMsmqBinding does not Queue
Questions / requests for evolutions mainly on Designer
MenuItem and KeyBinding question
I can't debug
.NET 3.0 and Expression Interactive Designer for Pre-RC1
How to hide a ColumnDefinition which has a GridSplitter?

Top Answerers

abcdefgqwerty2
shaun_vb6
Azurewrath
David_Reynolds
Kamii47
AlucardHellSing
darkool
Lawrence 007
matt71087
Corres
Telegraph: All-singing, All-dancing, All-smoking
Only Title

Answer Questions

  • Derek Comingore setting properties after animation was applied to them

    In a 3D application, I am animating the offsetX/Y/Z properties of an object through a storyboard, using code along this line: DoubleAnimation animX = new DoubleAnimation(); [...] Storyboard.SetTargetName(animX, "MyTranslation"); Storyboard.SetTargetProperty(animX, new PropertyPath(TranslateTransform3D.OffsetXProperty)); myStoryboard.Children.Add(animX); [...] myStoryboard.Begin(this, true /* is controllable */); I also want to move the object py picking and dragging with the mouse. At first, I tried to move the object like this: TranslateTransform3D trTrans = ... // get translation of object trTrans.OffsetX = newPosition.X; trTrans.OffsetZ = newPosition.Z; This seemed to work nicely, but only when ...Show All

  • pkarun Page Flip Effect?

    I have seen demos where content has changed through a page flip technique - where the user drags the corner of the page and flips over to the next page... Does anyone know how to do this Thanks, I'll see how I go, and if I do need more help - I'll be sure to contact you. Thanks, I new I'd seen it somewhere! I'll have to work out how to use it now! I develop similar applications but also include : - hyperlinks - dynamic loading - hotspots - thumbnial generator - send to friend function - keyword search - blogging - zooming Are you looking for an off the shelf model to fit to an existing publication or are you ...Show All

  • Priyank Gajera any way to print excel directly with one button click

    hi all, May i know is there any solution to print excel file (the file is on Web server) with one button click (without open the excel file in browser) thank you. This forum is for questions concerning the VSTO technology; VSTO is a way to use .NET code instead of "native" Office VBA in document-centric solutions. So Val has sent you to the wrong place :-) You can ask your question in an excel-specific group, or the Office.developer.automation group, HOWEVER: there is certainly no way to print an Excel file without first opening it in the Excel application environment, whether that's a browser window, or an Excel application window. For links to the various Office newsgroups, please ...Show All

  • Claudiu Chiorean SP1 Error / Cancel Compile

    When compiling my solution, if I select the cancel build option (Build -=> Cancel) Visual Studio believes that it is still compiling when it is not. I can't then exit VS or kick off another build, I have to kill VS it in my processes. Is this a known issue, because if it isn't, it should be! Regards, Andy Andy Burrow wrote: Is this a known issue, because if it isn't, it should be! I take it then you're either researching this problem or making your developers aware I've not yet heard of anyone else reporting this problem. Andy Anyone Can someone please tell me if this has been fixed. This 'was' such a useful tool. At least, will it be fixed in the the next service pack when ...Show All

  • Khurram01 Authentication issue when WCF service is hosted in a windows service

    Hi, I created a WCF service and hosted it in a console application. I tried accessing the same from a remote machine on the same network. It worked fine without any issue. But when I tried hosting the same in a windows service, I get an error "407, Proxy Authentication Required". Not quite sure why it didnt show up when hosted in console app.. How do I resolve this Thanks Sai What kind of binding Could you post the server and the client config.What accounts are you using for this and did you try runnign the service with the logon that the console was using. Ok, I thought you had already done that when trying to connect on the same LAN. Perhaps you meant same machine before. Anyway, gla ...Show All

  • mcarl828 VS 2005 debug.print No longer working

    I have been using debug.print in a VB project in Visual Studio 2005. It has been printing to the Immediate window just fine. I then installed IE7.0, and now nothing shows up in my Immediate window. It's like the functionality broke. I can't find any settings for this. Do you have any ideas I have tried a new project, added a button, put in a debug.print ("HELLO") statement, and it never shows up in the immediate window. I have also tried re-installing VS2005. Thanks for any ideas! It is just a plain old Windows Forms app. I tried importing the settings on my other build machine (that machine works fine) and it didn't help. I'm going to try and repro ...Show All

  • Rana Haddad Canvas.Get...Whatever

    Is static Canvas.GetLeft (GetRight/Bottom/Top) the only way to detect position of UIElement related to Canvas Why not to ask UIElement (FrameworkElement) its position, as it was in previouse release What are the reasons of it In a visual designer, it won't matter. To change things during run time, you will need to learn the attached property pattern Canvas.SetTop(e, 100) & Canvas.SetLeft(e, 200) WPF has a more flexible layout engine, but has a slight ramp up compared to Windows Forms. Why The idea is that WPF has many Layout/Panels which may need to know different properties about its child elements. DockPanel needs to know where the children should be Docked. Canvas needs to know Top/Left. A fancy Radia ...Show All

  • Dan Waters [MSFT] Evet type: clr20r3 P1: outlook.exe P2: 11.0.8010.0 P3: 53d16d53

    I am getting the same exception one one of my computers when it is run remotely. this started a couple of weeks ago. (may correspond with a recent update) What happens is that when outlook is run remotely it closes on its own about every 5 to 10 minutes. Rather annoying. This does not happen when the computer is in the office, and the log on the server says that the the person is not disconnected with the network. We really don't have any special Addins programmed into outlook. My thought is that what is happening is that when the computer try's to sink with outlook every 5 to 10 minutes remotely (like when it checks for mail or the other time it happens is when sending an e-mail, which corresponds with the other) that there is some kind o ...Show All

  • chris_nelson Problem filling data island nodes

    Hello all, I have a project that allows user's to create a word document via a web page. (based on a word document that has a customization, and an attached xml schema) I am at the point where I am populating the word document xml nodes with data from the data island, but only one set of nodes is being populated. Here is an excerpt of the code that populates the data: for (int i = 0; i < this.Controls.Count; i++) { object ctrl = this.Controls ; if (ctrl.GetType() == typeof(XMLNode)) { XMLNode node = null; node = (XMLNode)(this.Controls ); try { if (!node.HasChildNodes) { ...Show All

  • Gajjela How to set "SourceControl->CheckOutOnEdit" property programmatically?

    Hello! I am implementing a VSIP package and I need to set programmatically Tools->Options->Source Control->Environment->Checked-in item behavior->On-Edit property. Please advice how to do it I have reviewed MSDN, internet but found nothing. I found that value in registry at HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\8.0\SourceControl->CheckOutOnEdit and I can change that value there, but I want to found an elegant solution for my problem and use VSIP interfaces or automation model. Please help. See if DTE.Properties have that section/property indexed: HOWTO: Getting properties from the DTE.Properties collection of Visual Studio .NET. http://www.mztools.com/resou ...Show All

  • Kelvin Y Is this a breaking change or was it a prior bug?

    So I finally upgraded my machine to the June CTP of .NetFX3 and found my code was broken. Basically it was complaining that an ObservableCollection in my control was null during initialization. In Beta 2 it would just initialize my collection for me. Before this code would work: <tempNS:MyControl> <tempNS:MyControl.MyCollection> <tempNS:MyCollectionItem ..../> <tempNS:MyCollectionItem ..../> <tempNS:MyCollectionItem ..../> </tempNS:MyControl.MyCollection> </tempNS:MyControl> Now I have to explicitly declare the new collection like so: <tempNS:MyControl> <tempNS:MyControl.Collection> <tempNS:MyCollection> ...Show All

  • danni123 Can't load external resource dictionary in XBAP

    I have a scenario where I have an XBAP project and a control library project. The control library has a Themes\Generic.xaml file in it that defines some styles. Library also has a StyleSelector that will load the Generic.xaml resource dictionary and select the appropriate style for a control in that library that the XBAP application uses. My StyleSelector code loads the resource dictionary like this: Uri uri = new Uri ( this .GetType().Assembly.GetName().Name + @";component\Themes\Generic.xaml" , UriKind .Relative); ResourceDictionary resourceDictionary = Application .LoadComponent(uri) as ResourceDictionary ; All works great if this is done in a regular application. However if done in a deployed XBAP appl ...Show All

  • Ramjane Best Way To Animate Image Sequence

    What is the best way to animate a sequence of PNGs so that it plays consistently smooth Currently I am preloading the images into a BitmapImage array during app startup and I am also both applying caching and setting scale quality to low: //inside a loop bitmap = new BitmapImage(); bitmap.BeginInit(); bitmap.UriSource = new Uri(@"pack://application:,,/Images/img" + i + ".png"); bitmap.CacheOption = BitmapCacheOption.OnLoad; bitmap.EndInit(); BitmapImageArray[ i ] = bitmap; RenderOptions.SetBitmapScalingMode(BitmapImageArray[ i ], BitmapScalingMode.LowQuality); I set the Source proprty of an Image object to the desired BitmapImage within a CompositionTarget.Rendering callback. On Vista RTM the animation doesn't ...Show All

  • GranBosco What facilities does WPF have for restricting input to a text box?

    I'd like to prevent my users from entering negative numerical values. you could listen to the textinput event you might also want to look at the ConnectedData/BindValidation sample in the SDK. http://windowssdk.msdn.microsoft.com/en-us/library/dba50aaa-a436-47d3-a850-1f3cd58e9141.aspx Failing a validation, or throwing an exception will not prevent them from entering the "-" in the first place. I want to do something pre-emptive, so KeyDown or TextInput seems to be the right kind of approach. Thanks guys You could add a custom ValidationRule which tries to parse the input value into a number. If the number is negative, return a ValidationResult which indicates fail ...Show All

  • rwbogosian 1 user on multiple machines

    Greetings, I would like to know if source safe has any issues with a single user checking in/out from multiple machines. How about if the same user checks out the same class from 2 different machines. Is SS good at handling such a thing. Thanks. Yes, this works fine. ...Show All

606162636465666768697071727374757677

©2008 Software Development Network

powered by phorum