-
- Newbie Qn
by kasmatt2000
- 1 Replies
- Last post
by Mark Boulter
- im new to WPF and i cant figure out how to databind WPF controls to a datasource. can anyone please give me a crash course on how to do this Also how can i use controls like the 'timer' and other controls that are not directly available in from the Visual Studio 2005 toolbox (but are available in a normal windows App) when working with a WPF application. Ive also got expression blend RC1. is this
-
- MouseBinding wheel rotation - both directions?
by Martin2233
- 6 Replies
- Last post
by Martin Dvorak
- I see I can use MouseAction.WheelClick to react to wheel rotation. Is there a way to create different MouseBinding for rotation in one and another direction, or the only way to react differently to rotation in different directions is to to forget MouseBinding and create appropriate mouse events handlers Thanks, Martin
-
- Memory and GDI Release problem.
by Wisenight
- 1 Replies
- Last post
by Robert A. Wlodarczyk - MSFT
- Dear all:
When I new a Image to the application, the Memory and GDI of the application will increase. What can I do to release the Image and decrease the Memory and GDI
Sample Code:
BitmapImage bi = new BitmapImage(); bi.BeginInit(); bi.CacheOption = BitmapCacheOption.OnDemand; bi.CreateOptions = BitmapCreateOptions.DelayCreation; bi.DecodePixelHeight = 6
-
- Is there an equivalent of value in a WPF ComboBoxItem?
by Futzy
- 3 Replies
- Last post
by RCRISH
- I hope I'm just missing something obvious here, but I cannot find what I need anywhere. What I want to do is manually populate a ComboBox with ComboBoxItems. On those ComboBoxItems, I want to set a string for display and an integer that is the key for use behind the scenes. I set the string to ComboBoxItem.Content, and it displays no problem. But where do I set the integer I have tried every fiel
-
- Hey! What WPF application are you doing now?
by Ales Sturala
- 14 Replies
- Last post
by Tamir Khason
- Many people here are asking questions about WPF every day, so all these people are creating some (maybe) interesting applications. I and maybe other people here would like to know, what WPF project are you doing at
Describe your application here, say us if it is company or private project and how long does it take to programme that Do you have screenshots or web page Post it here...
PS: ...
-
- Why can a type not implement ISerializable and have a DataContract attribute?
by Parker Lewis
- 4 Replies
- Last post
by SnowJim
- Hello everybody
I tried to define a custom exception within my webservice which I can also use to throw with FaultException<T>. In order to be able to throw it with FaultException<T>, I have to mark it with the DataContract attribute like this:
[ DataContract ] public class MyCustomException : Exception { ... }
But after accessing the webservice, I get the following err
-
- 3rd party ADO.NET DB provider for Linq2SQL & Entity Fw
by Anton V. Ruzhov
- 2 Replies
- Last post
by Tim Mallalieu - MSFT
- Hi ! I have ADO.NET 2.0 provider for my 3rd party dbms, I need to make it workable with Linq2SQL and Entity Framework. I suppose, in EF there is System.Data.EntityClient namespace intended to work with DB, but I coudnt understand how I can generate sql commands specific for other dbms. Thanks
-
- Is WSE going away?
by mteverest
- 2 Replies
- Last post
by mteverest
- Hello. As you may have seen in this post of mine (clicking on it is optional):
http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=1022444&SiteID=1
I have not been able to write a WCF client to consume our java-based web service. And I'm wondering, is WCF replacing the WSE-approach to writing WS clients Or is WCF just another layer that is supposed to make things "easier" fo
-
- How to scroll a TreeView in code?
by lzy_tek
- 6 Replies
- Last post
by lzy_tek
- Is there anyway to know the TreeView contend is clipped.
Thanks
-
- Animation processor load
by Jan552082
- 9 Replies
- Last post
by Jan
- Hello,
I want to have a small asterisk pulsing at sevaral places of the screen to attract user's attention.
I have an asterisk image (several Paths and GradientBrushes) and I animate it's RenderTransform/ScaleTransform/ScaleX, Y from 0.8 to 1.5 and back forever.
But having 10 such asterisks at screen takes all processor time !
What should I do different
Thanks
Ja
-
- Empty string as property name for PropertyChanged event
by sergun
- 1 Replies
- Last post
by Sam Bent - MSFT
- Does some WPF controls handle PropertyChanged event with empty string property name
I need refresh all controls bound to "complex" properties of some object, for example:
building.Location.Address.Street.Name (1)
building.MainContact.Phone (2)
Can I just fire PropertyChanged event for bulding object with "" param
Or should I fire event with "Name
-
- Xaml Object in C#
by scubee
- 4 Replies
- Last post
by Tina Tam - MSFT
- Hi All,
I am facing a Problem accessing Xaml TextBlock in C# as its giving an exception
of object out of context in code behind file.
Folowing is the code...
< ListView Name = " lstArticlesRed " ItemsSource = " {Binding} " Width = " 320 " Height = " 675 " >
< ListView.View >
< GridView >
< GridViewCo
-
- TCP Streaming - Performance Issue (RTM)
by R Raghu
- 14 Replies
- Last post
by BenK
- We have been testing a simple scenario with different WCF bindings to see the performance benefits. The scenario is that client makes a call to a web service with numer of customer objects to return in an array. The service simply creates as many objects as required by the client and send them to client. The customer object is a simple class with 2 public properties, firstname and last name. Each
-
- Load Xaml from C#2.0 runtime
by vidhyaprakash
- 1 Replies
- Last post
by Josh Smith
- I create xaml file which has just UI and save it to some folder.Now i need to load the XAML UI from c#2.0 windows Application.say on a button Click i need to show the another form which is a XAML file.
Pls help me.
-
- Binding to COM objects
by Schneider
- 5 Replies
- Last post
by Neil Mosafi
- I have got a lot of legacy COM objects with properties that I would like to be able to bind to in WPF. These objects are all accessible with generated RCWs. The problem is that none of these RCWs implent the INotifyPropertyChanged interface. Without that it is not much use binding directly to the properties on the RCWs as the GUI will not update when those properties change. (I do have a callbacks
-
- Deriving from DataTemplate - Exception when used in XAML
by _Marcus_
- 9 Replies
- Last post
by _Marcus_
- I'm having problems with a scenario where I need to derive from DataTemplate, in order to add a property ( needed by my OM ). The problem occurs when trying to use the derived class in XAML (works "fine" when creating the template in C# ). Normally, using a DataTemplate in XAML would be (which works fine):
Code Snippet
<Button Content="foo">
<Button.Co
-
- Error 28101: An error occured when the setup program attempted to subscribe to an event.
by gr8Kiwi
- 2 Replies
- Last post
by Tony Edwards MSFT
- At the very end of a clean install of TFS 2008 and Sharepoint Services 3.0 I get the following:
Error 28101: An error occured when the setup program attempted to subscribe to an event.
This using tfsService as the service account for consistency.
Here is the Event Signature:
EventType : visualstudio8setup P1 : 12266 P2 : 9.0.20706.01_orcas_x86_cd P3 : msi P4 : ins
-
- Validation Questions
by Kent Boogaart
- 0 Replies
- Last post
by Kent Boogaart
- Hi there,
I have two validation-related problems that I am trying to solve:
1. How can I easily execute validations for all visible controls inside a given UI container I wrote some code to do this manually but am wondering whether I've re-invented the wheel. I couldn't see anything obvious that does this. Side question: is there a built-in method that gets all DependencyProperty instances f
-
- XMLReader maximum string content length quota
by derek.thompson
- 10 Replies
- Last post
by David-v
- I am developing a web service using WCF. When using a XMLReader to read an xml document, I recieve the following error: Error in deserializing body of reply message for operation 'Get'. The maximum string content length quota (8192) has been exceeded while reading XML data. This quota may be increased by changing the MaxStringContentLength property on the XmlDictionaryReaderQuotas object used when
-
- LINQ to Entities for VB
by Julie Lerman
- 3 Replies
- Last post
by Michael Pizzo - MSFT
- Since all of the linq samples are in CSharp you'll just have to pay for it by my incessant questions here!
Now that lambdas are in VB (a little clumsy, but there), how would Mike's C# LINQ example from this other thread :
Code Snippet
var q = from customer in northwind.Customers
where customer.Orders.Any(
o=>o.OrderDate > new DateTime (1997,4,1)
-
- set cursor position in RIchTextBox
by Kommi
- 14 Replies
- Last post
by Peter Sarrett - MSFT
- Anyone know how this can be done I saw an earlier post here:
http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=365476&SiteID=1
that states that you can assign a value to rtb.SelectionStart, but you can no longer do that now. SO how can it be done with the current build of WPF
-
- Adding WCF service as web reference creates additional parameters on methods
by adamb99
- 2 Replies
- Last post
by eRamone
- Ive created a WCF service that works correctly when I create a proxy using svcutil. If i add the service as a web reference, additional parameters are added to the methods available through the service. For example, i have a method GetEntity(int entityId, bool FullObject), however when it is made available through the webservice its signiture is GetEntity(int entityId, bool entityIdSpecified , b
-
- XAML Browser Applications - Do they need .NET to be installed in the client machine?
by ___anshu
- 4 Replies
- Last post
by ___anshu
- I want to develop a XAML application for my users to use through their browsers. Do they have to install .NET Framework on their computers
What if I am designing a public website (say, web-site for a retail shop), how will .NET 3.0 help me develop the UI.
Note: I am not talking about the back end or web-service design stuff here. just the UI experience
-
- XP domain controller acting as Kerberos KDC?
by Santacruzshores
- 4 Replies
- Last post
by Santacruzshores
- Hi,
I read posts about configuring a Windows XP Prof. domain controller acting as a Kerberos KDC. Could you guide me how set this up
I'd like to set up a test scencario with a client and a KDC on the same machine to achieve single sign-on fpr my applications. For me, this seems to be the easiest way...
If that's not possible, how about running a KDC on a local machine and let a client con
-
- Windows Service hosted WCF Service
by Paul Hacker
- 6 Replies
- Last post
by Buddhike de Silva
- I am new to WCF so bear with me please. I have a Windows Service that hosts a WCF service that I want to expose to remote clients. All the info on proxy generation and references to the service use IIS as the host. I also want to use nettcp bindings. How do I go about generating the proxy that the client will reference I have tried the SvcUtil.exe, but it keeps throwing errors. Are there any sampl