-
- Graphic distortion in WPF applications?
by NicholasB
- 6 Replies
- Last post
by NicholasB
- Can anyone explain why this distortion is occuring in WPF applications On my older PC the edges properly render, but this PC draws shapes that appear aliased. It's a much faster PC with better video and up to date drivers, so I'm at a loss. See the rigid edges of the vector graphic It seems like it's offsetting the lines incorrectly.
-
- Is this Issue in WPF?
by Venugopal
- 5 Replies
- Last post
by Venugopal
- Hi,
I am simply re writting the SubMenuItem template using Resource id "SubmenuItemTemplateKey". But i cant change mouse over Foreground color of MenuItem. this is the code i am using. See the Bolded Red area in code snippet.
< ControlTemplate x : Key ="{ ComponentResourceKey TypeInTargetAssembly ={ x : Type MenuItem }, ResourceId =SubmenuItemTemplateKey}"
-
- "Open Hand" Cursor?
by DiamonDogX
- 11 Replies
- Last post
by Dr. WPF
- In the default Cursors listed, I see Cursors.Hand, which is the cursor you get when hovering over a hyperlink (It's a closed hand with a finger pointing). I am wanting the cursor with an open hand that you see in so many applications like photoshop, blend, etc. where you are moving a map or a canvas around. I know this has to be a custom cursor, so does anyone have a open hand .cur file to facilia
-
- Need advice WCF snd MSMQ ???
by Serge Calderara
- 4 Replies
- Last post
by BenK
- Dear all,
I am actually buiding a new application which is based on .NET 3.0 and will run under Vista. That application is based on different process. For simplification lets limit theprocess to 2 as P1 and P2.
P1 and P2 need to communicate asynchronously together . For that I was thinking to used MSMQ, but as I have never played with that already and either with WCF I need your advise a
-
- Thorwing exceptions from Service methods.
by Gravy
- 2 Replies
- Last post
by Scott Seely
- Is it considered bad practice to throw exceptions from service methods
When designing a class library then exceptions should be used to indicate unexpected errors. For example, IndexOutOfRangeException is say a parameter passed in to a method was wrong.
But, in a service, if an error occurs should I be returning more of a simple type, like an int whose values indicate the type of er
-
- Same DataContract in more than one service
by Sam Andy
- 12 Replies
- Last post
by Christian Weyer
- I have two services,each of them has DataContract1. this DataContract will be returned from one service and then be an input to the other service.
for example.
Service1.DataContract1 x = new Service1.DataContract1();
x = Service1.MyOperation(something)
then x will be passed to an operation to another service
Service2.MyOperation(x).
the problem is that the two data
-
- DataTemplateSelector problem
by Alexander Ekzarov
- 4 Replies
- Last post
by Alexander Ekzarov
- <Window ...
xmlns x='clr-namespace ystem.Xml;assembly=System.Xml'
Title='XML Binding'
DataContext='{DynamicResource dataSource}'
>
<Window.Resources>
<XmlDataProvider x:Key='dataSource'>
...
</XmlDataProvider>
<DataTemplate x:Key='Book' DataType='{x:Type sx:XmlElement}'>
...
</DataTemplate>
<DataTemplate x:Key='CD' DataTyp
-
- How to load local media files using xbap?
by publicENEMY
- 1 Replies
- Last post
by Dave Relyea
- Hi guys.
how to load file from hard disk using xbap i want to load media file(wmv) from local disk. is it possible
Thanks.
-
- User controls from external dll in toolbox
by Jonas Beckeman
- 6 Replies
- Last post
by Jonas Beckeman
- I'm trying to set up a multi-project WPF solution, but can't get user controls to work:
I have one WPF exe, with just a form, and a number of dlls which defines the controls I'll be using on the form - but I can't get the user controls to appear in the toolbox (I get "there are no components in..." when I try to add the dlls).
What should I do to make them available
Thanks
-
- Question regarding the contents of the beta
by ChaosBlade
- 2 Replies
- Last post
by ChaosBlade
- I wasn't sure by looking at the website\forums so i thought I'd ask. I'm assuming the express editions do NOT contain MSDN or the Platform SDK I'm developing small C# WinForms applications mainly, On a vista x86 machine. I figured the express image, coupled with MSDn and the Platform SDK would be all i needed.
-
- preferred XBAP deployment user experience
by kcchesnut
- 4 Replies
- Last post
by kcchesnut
- working on a partial trust XBAP application.
for IE7 users, we're just going to use its bootstrapper for installing .NET 3.0 and then launching our application.
but how should we handle IE6 users
right now we're just pointing them to install the .NET 3.0 runtime, and we have a page that keeps checking that .NET 3.0 is installed, when its installed, then the XBAP launches.
i
-
- MaxItemsInObjectGraph not working
by RyanR1000
- 3 Replies
- Last post
by RyanR1000
- I am going a bit nuts here and cannot seem to figure out what is wrong with my config files.
Anyways, I am getting the following exception:
There was an error while trying to serialize parameter Netops.CHNOPS.SNMPcAdapter.Services:GetTimeSpecificTrendReportDataResult. The InnerException message was 'Maximum number of items that can be serialized or deserialized in an object graph is
-
- storyboard completed event
by lpx
- 4 Replies
- Last post
by lpx
- Hi, I'm building a simple RSS reader with some animations in WPF. I have two animations, one to put panels in and other to put panels out. private void PanelsIn() { Console.WriteLine("Panels in called"); panelsIn = (Storyboard)this.FindResource("TitleIn"); this.BeginStoryboard(panelsIn); panelsIn = (Storyboard)this.FindResource("DescriptionIn&qu
-
- A Simple Query?
by Russty
- 2 Replies
- Last post
by Russty
- Hi,
I can't seem to find an example of this anywhere so maybe someone could help.
I have a two columm table of id (int) (which contains many occurences of the same id) and vote (bit) . I'm trying to figure out how to retrieve the count of ids with the most occurences (where vote = true) , second most and so on.
I can do this in TSQL but I'm having major problems translating
-
- Border sizing bug on redraw
by Jeff Wain
- 2 Replies
- Last post
by hightouch
- I found a bug when WPF redraws a border. For some reason, when the width of the border's content changes and the border has a padding property declared, when WPF redraws the border on resize, the padding width is not taken into account after the border is resized. In our situation, we have a border B inside grid G. B has a padding of "15,10,15,10" and a content of grid X with multiple ch
-
- Doesn't work on IIS ?
by Jarod.Net
- 7 Replies
- Last post
by Ronald Ricardo Ramirez Moran
- Hi !
I've application that works OK on VS webserver but when I deploy it to my local IIS it gives me this exception:
Server Error in '/wcf' Application.
-
- WsHttpBinding Transport security wsdl Address location
by katokay
- 2 Replies
- Last post
by Scott Seely
- We have recently been trying to move an existing service to use Transport security with Basic authentication. There is a deployed service http://dev.services.companyname.com/ServiceName.svc for which I can view in IE7 both at http and https urls. However, when the proxy is generated from the secure address, and when the wsdl is viewed from the secure address some of urls change to https://computer
-
- smart card and WCF
by GinaK
- 4 Replies
- Last post
by GinaK
- Has anyone ever succeeded in using certificates from smart cards for client credential over transport security mode
I have a WCF service that expects a valid certificate from the client. When I use a certificate created with makecert tool, I'm able to connect to the WCF service. When I try using the certificate stored in my smart card however, I get a "Hash not valid for use in speci
-
- Theory Validation - WCF Single Sign On
by dev1234
- 7 Replies
- Last post
by Matt Steele
- Hi,
Could someone review my thoery on how we can utilize WCF and get back with any comments. I would be very appreciative. Thanks.
Here goes...
We are in need of a single sign on method. It needs to sit in front of our web applications and services. The login and services will be utilized both in-house and by third parties. Our application is completely web based with no rich
-
- VMR9 and MediaElement
by RossJones
- 14 Replies
- Last post
by RossJones
- I am trying to use a DirectShow filter in MediaElement, and although it works in WMP it does not work in a MediaElement. The author has suggested that maybe MediaElement requires the VMR9 in renderless mode with a custom
allocator-presenter but I didn't know so I am asking :) Also what are my debugging options I have hooked up the relevant error event but nothing fails, it all seems to work, I ju
-
- Generated proxy class missing .close()
by DeadDox
- 4 Replies
- Last post
by Timothy Wilson
- After trying a few of the various WCF examples such as the calculator I have encountered an issue I donĄŻt quite understand. I am using SVCUtil to generate the proxy class.
I then instantiate the class as such
Code Snippet IService1 client = new Service1();
This all works fine except that the instantiated service Ą°clientĄ± is missing the close() fu
-
- Serializing EDM Relationships
by Jarod Ferguson
- 6 Replies
- Last post
by Jarod Ferguson
- Hi,
What is the status on being able to serialize EDM relationships Is that something slated for a future release Currently they get marked:
Code Snippet
[ global ::System.Xml.Serialization. XmlIgnoreAttribute ()]
[ global ::System.Xml.Serialization. SoapIgnoreAttribute ()]
understanding that we need to take care, as we dont want to get into a situa
-
- Force Button Inside ContextMenu To Close ContextMenu
by dhenry
- 4 Replies
- Last post
by dhenry
- Hello,
I have a ContextMenu that contains a Button. When I click on the Button, the ContextMenu does not close. Is there a way to force this
<Rectangle Fill="Blue" Height="50" Width="50"> <Rectangle.ContextMenu> <ContextMenu StaysOpen="False"> <ContextMenu.Items> <Button Content="Hi" /> </ContextMenu.Items>
-
- ListView with data template embedded in custom control - 2nd instantiation fails to bind.
by audioonyx
- 2 Replies
- Last post
by audioonyx
- I've encountered what seems to be a bug in WPF templating. I've created a small application that illustrates the "bug" - it can be downloaded at http://www.audioonyx.com/misc/ListView2ndTime.zip .
The problem occurs in a ListView with a data template embedded in the control template of a custom control. I use the custom control in a tab item of a tab control on a dialog window. Th
-
- .Attach() and related entities issue
by Rick Strahl
- 14 Replies
- Last post
by Nicolas CLERC
- IĄŻve run into an issue with LINQ to SQL that looks kinda scary <s>.
IĄŻm using some code that detaches and re-attaches entities. I found that this works fairly well with single entity instances.
The following works fine and dandy (assuming I have a timestamp field on the table): TimeTrakkerContext context = new TimeTrakkerContext (); EntryEntity entity = context.Entry