-
- Binding Lost after changing Image.Source
by Gary DeReese
- 6 Replies
- Last post
by Gary DeReese
- In my code, I have a WPF Image control bound to a property of an entity class. The binding is configured so that source updates are explicit: <Image Source="{Binding Path=ImageData, UpdateSourceTrigger=Explicit}" ... /> The application allows the user to change the image displayed by displaying a file dialog, then setting the Image.Source property to the selected image file like
-
- Call a function after OnPropertyChanged Methods
by SergioZun
- 3 Replies
- Last post
by Jonathan.Peppers
- Hi all I have many user controls on a canvas, and after I initialize all the controls, everyone oft them call the OnPropertyChanged function to get their size and other properties. The problem is that I need to call a specific function after all this controls have been initialized. Any functions I called are executed before the OnPropertyChange from the User Controlls, and I need to execute it aft
-
- Changing the DPI of an image ?
by cgraus
- 8 Replies
- Last post
by cgraus
- Hi guys. Thanks for all the help I've recieved here so far.
My program displays and manipulates images, so I've already worked out that for it to work properly, all my images need to be at the same DPI ( because if I use scale transforms to correct for DPI, then I need to change all my other tool code ). The problem is that I want my users to be able to import their own images. I know there
-
- Implementing a SOA enterprise model in WCF without ESB
by Javier Martinez
- 4 Replies
- Last post
by Graham Harris
- Hi
Could WCF offer a full framework to build a SOA enterprise model without the necessity of an ESB (like IONA or Bea)
I think yes, I don¡¯t like ESB, to use a ESB I don¡¯t need that my services are soap, but now in my big company we are deliberating the necessity of an ESB.
Can anyone give me reasons to prevent us of to buy a ESB to model a SOA entrepise model
Thanks
Javier
-
- Image inside control library does not show
by Francesco De Vittori
- 4 Replies
- Last post
by Francesco Devittori
- Hi, I have a simple control library that contains an Image. I added a .jpg file to the control library project ("myImage.jpg"). Then I set the source of my Image as "\myImage.jpg". Inside E xpression Blend, in the design panel of my user control, the image is shown correctly. However when I create another project (a .exe) and use my control library, the image is not shown anymore. Why Sorry if it
-
- Binding To Validation Attached Property
by puffy&#64;iShip
- 2 Replies
- Last post
by puffy@iShip
- Hi:
The Validation class defines a set of Attached Properties. I want to style a Label based upon whether or not another control has a validation error. This should be something you can do in WPF. However for some reason the Binding in the code below fails. I know that the ElementName is correct and I have tried different versions of the Path; Path=Validation.HasError, Path=HasError w
-
- MessageBox - there's a ghost about.
by ZiggyShort
- 9 Replies
- Last post
by ZiggyShort
- I sometimes find that following a MessageBox.Show() method call once the message window is closed a part of the window still persists. As I was typing in the post the following came up as Related Questions, but the problem does not totally go away.
http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=77503&SiteID=1 http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=1547242&Site
-
- Find the 3d object center
by joserc85
- 9 Replies
- Last post
by joserc85
- Hi. I need to find the center to find the center of the obejct of one of the obects that i have in my viewport, this to make a rotate tranform, but i need to have a axis vector, so in need to find the center of the obejct. I alread can select and move the obejcts around the viewport, so if some can help me....
-
- [Shape animation] Shape and its location.
by IgorP
- 1 Replies
- Last post
by IgorP
- Hello. I have a shape translating through the screen. Is it possible to get shape's current location (a Point) in animation while moving.
-
- Ambiguous type reference. A type named 'StaticExtension' occurs in at least two namespaces. (VS 2008 beta 2)
by Stephen S.
- 7 Replies
- Last post
by S@RS
- Hi,
I installed VS 2008 Beta 2. Tried to build my project originally created in VS 2005 using WF extensions. What would cause this this error:
Ambiguous type reference. A type named 'StaticExtension' occurs in at least two namespaces, 'MS.Internal.Xaml.Builtins' and 'System.Windows.Markup'. Consider adjusting the assembly XmlnsDefinition attributes.
This error is occuring in a
-
- Scroll ListView to the top (reset)
by Sam Jost
- 7 Replies
- Last post
by Sam Jost
- I'd like to scroll a ListView to the top (set the position of the scrollbar to zero).
Why: Say I've got a ListView containing 10000 items. Now I want to clear the very same ListView and fill it with 100 Items.
If the user scrolled down to the bottom of the ListView, only the last of the 100 items will be shown, and paging does not work very well for a few PgUps since the Scrollbar size still
-
- Operation Time out while creating Proxy Class using SVCUTIL.EXE
by Manoj Manohar
- 14 Replies
- Last post
by Manoj Manohar
- hi
I am unable to create proxy class using SVCUTIL.EXE its giving the following error
C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\svcutil.exe /noLogo /s /ct:"System.ComponentModel.BindingList`1,System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" /d:"C:\Documents and Settings\Manoj\Local Settings\Temp\bmceoibz.rtv" /config:&quo
-
- where have my netMsmqBinding messages gone?
by Steve1999
- 13 Replies
- Last post
by Sorin Alexander - MSFT
- continuing the msmq net binding adventure my client is sending messages to (no errors detected): NetMsmqBinding binding = new NetMsmqBinding(); binding.Security.Mode = NetMsmqSecurityMode.None; EndpointAddress address = new EndpointAddress( @"net.msmq://localhost/private/WorkflowStateChange" ); ChannelFactory<ISymyxWorkflowServiceCallback> channelFactory = new Ch
-
- How to generate separate csdl, ssdl and msl files?
by Alexey Rokhin
- 3 Replies
- Last post
by Jaroslaw Kowalski - MS
- I can generate only single edmx file using EDM wizard. But EF samples contain 3 separate files. What way these files were created How code was generated from these files
-
- Problem with FaultException<T> ("FaultException was unhandled by usercode")
by Lex007
- 8 Replies
- Last post
by Brian McNamara - MSFT
- Hi,
Whenever I do a throw FaultException<ApplicationException> in my service, or any other type, I get a "FaultException was unhandled by usercode", and only the base FaultException is transmitted to the client, not the FaultException<ApplicationException> (ie : ApplicationException is empty).
The code is pretty simple in the service (I can debug that everything is populated) :
-
- WPF XAML Browser Application Error
by Kumaresan.K
- 2 Replies
- Last post
by Chango V. - MSFT
- Iam getting error while executing a XAML browser appln.
Error:
Cannot create instance of 'Page1' defined in assembly 'MyXAMLWebApplication, Version=1.0.2691.33995, Culture=neutral, PublicKeyToken=null'. Exception has been thrown by the target of an invocation. Error in markup file 'Page1.xaml' Line 1 Position 7.
Is this problem with the pfx file
-
- How to Detect Canvas ?? In multilayer ??
by logN
- 2 Replies
- Last post
by logN
- How to Detect Canvas In multilayer There is Base canvas and Inside this canvas if there are N number of canvas having diff object or visuals inside it ... Inner canvas are transperrent ... but ... Object inside it are not transperent ... then how to detect if i pressed mouse over ineternal objects of inner Canvas... We cannot use VisualTreeHelper.HitTest(BaseCanvas,....) as we dont know on wh
-
- select from XPathSelectElements
by Jan Ku&#269;era
- 1 Replies
- Last post
by Ion Vasilian
- Hello,
Error 2 'System.Collections.Generic.IEnumerable<System.Xml.Linq.XElement>' does not contain a definition for 'Select' and no extension method 'Select' accepting a first argument of type 'System.Collections.Generic.IEnumerable<System.Xml.Linq.XElement>' could be found (are you missing a using directive or an assembly reference ).
How can I select from a collection ret
-
- tcp port 80 is being used by another application
by shachar8
- 6 Replies
- Last post
by shachar8
- hi all.
i have a simple wcf service , hosted on a website-wcf service.
i set a service reference in my client, the binding is wsdualhttpbinding.
when i run the application i get an error : tcp port 80 is being used by another application..
what is port 80
how should i fix this
-
- Question about concurrency and sessions
by Pedro Felix
- 14 Replies
- Last post
by Pedro Felix
- Hello.
I've been trying to understand the interdependencies between: SessionMode, InstanceContextMode, ConcurrencyMode and the used binding. I¡¯ve done a
systematic test where I issue two concurrent asynchronous calls over the same
channel, and observed the following:
With SessionMode=NotAllowed the calls are processed
concurrently, independently of the InstanceContextMode (PerCa
-
- XML file database
by Jan Ku&#269;era
- 4 Replies
- Last post
by Jan Ku&#269;era
- Hi,
is it possible to query using LINQ a database - folder of XML files Or where should I place my XML files to be able to search trough them
Thanks, Jan
-
- Anybody seen this error?
by turczytj
- 14 Replies
- Last post
by turczytj
- I get the following 3 errors logged in the event log (along with an exception thrown in my app) about every 10th time I invoke by IIS-hosted WCF service (if I run the app again, it works fine):
1. .NET Runtime version 2.0.50727.42 - Fatal Execution Engine Error (7A05E2B3) (80131506)
2. aspnet_wp.exe (PID: 1220) stopped unexpectedly.
3. Caught exception in Server.GetDefaultAircraftInf
-
- WCF Services to Windows Services
by SYEDHANIF
- 1 Replies
- Last post
by Christian Weyer
- hi
i have develop the wcf services, what can i do to make run as windows services,
please give ur suggestion,
kinds regards
syed
-
- How to retrieve the client machine name from within a WCF service?
by UncleRemus
- 2 Replies
- Last post
by David Wortendyke - MSFT
- I have a WCF self-hosted service that use netTcpBinding and basicHttpBinding. Is there a way from within the WCF service to retrieve the machine name of the client that has called the service
-
- Resize content in a dockpanelw
by Dvlnblk
- 5 Replies
- Last post
by WPCoder
- Is it possible to resize all children content, ie., a MediaElement, when the size of it's parent DockPanel changes
Thanks!