-
- ToolBar, MenuItem and Style
by mabster
- 5 Replies
- Last post
by Carole Snyder
- Hi guys,
I have a main Menu which I have embedded inside a ToolBar so that it gets that cool "office" look and feel.
On certain MenuItems nested within that menu, I wanted to have a custom style which set the CommandParameter to different values depending on certain triggers.
So I've defined a custom style, added some triggers to it that set MenuItem.CommandParameter
-
- choppy video playback with WPF MediaElement
by Andy See
- 3 Replies
- Last post
by Andy See
- I am using MediaElement in a WPF application to play a wmv file I downloaded from Amazon Unbox on a Vista system. It's natural width and height is 720x408 - I increase the size to 1273x719 to fill the screen. The playback jumps and jerks quite often. Despite the jerks the quality of the image itself is great. When I play it back with Media Player ver 11.0.6000.6336 there seems to be significantly
-
- Java WSIT client with WCF host using wsDualHttpBinding
by crianhard
- 7 Replies
- Last post
by crianhard
- I created a test WCF service with a single service which takes no arguments and always return a boolean value of true to test interoperability with a Java WSIT client. When I set the transport binding to wsHttp it works fine but when I go to wsDualHttp I get a null exception during runtime. My first question is does Java/Sun support wsDualHttpBinding If yes, any help would be appreciated. If no, w
-
- why we use mex endpoint in a service
by ramkasarla
- 1 Replies
- Last post
by Hadi Hariri
- Hi,
why we particularly use mex endpoint in a service ....
Is it necessary that we should always use mex endpoint in a service
-
- How to Get the Position of a Nested ItemsControl Control?
by jwheeler
- 6 Replies
- Last post
by jwheeler79
- I have an ItemsControl containing what are essentially nested horizontal forms ---ItemsControl------------------------------------------------ Date _______________ Description ________________ [ADD][DEL] | Date _______________ Description ________________ [ADD][DEL] | Date _______________ Description ________________ [ADD][DEL] | Date _______________ Description ________________ [ADD][DEL] |
-
- Method set_CurrentSession is not supported on this proxy
by celobateira
- 2 Replies
- Last post
by celobateira
- Hi, I've implemented an interface that has a property named CurrentSession:
Interface
[ ServiceContract (SessionMode = SessionMode .Required)]
public interface IBMApplication
{
...
UserSession CurrentSession{ get ; set ;}
} in my BMApplication Object I have:
BMApplication
Public Property CurrentSession() As UserSession Implements _
-
- LINQ across Types
by WPF - I think I like it
- 2 Replies
- Last post
by WPF - I think I like it
- Hello,
I am trying to use LINQ to join two separate types and I am having an issue. In order to illustrate the problem, here is my code:
Code Snippet
// Get the data
XElement dataXML = XElement .Load( "Data.xml" );
List < Person > people = Person .FindAll();
// Get all of the albums for a specific genre
var men =
from perso
-
- ComboBox Binding Question
by bmains
- 1 Replies
- Last post
by Drew Marsh
- Hello,
I'm sure it's simple, but I want to bind a combobox to the value returned from a business object; I was going to use this:
Code Snippet
<ObjectDataProvider x:Key="StationsDataSource" ObjectType="{x:Type b:RadioStations}" MethodName="GetGenres" />
<ComboBox ItemsSource="{Binding Source={StaticResource Statio
-
- Problems hosting service in IIS
by Martin Surasky
- 3 Replies
- Last post
by Martin Surasky
- Hi developers!
I'm trying to implement a WCF service in IIS 6 and after doing all the configuration (I'm following a Virtual Lab that was written by Microsoft some time before march CTP so I have to update some of the code snippets to work with the latest WCF implementation) I'm getting this error.
----------------
Server Error in '/DerivativesCalculatorService' Application.
-
- Team Foundation Server 2008 Beta2 Sharpoint 3.0 Problem
by StevenIBSI
- 4 Replies
- Last post
by StevenIBSI
- I completed the TFS 2008 installation which mostly went well but I and am having some trouble involving SharePoint.
I am trying to use the Team Foundation Server Administratin Tool ( http://www.codeplex.com/TFSAdmin ) with TFS 2008. I did a clean installatin of TFS 2008 and selected "Install and configure Windows SharePoint Services 3.0 on this computer" and selected the "Use
-
- Data binding with ObjectDataProvider and Collections
by farkbert
- 5 Replies
- Last post
by Kevin Hoffman
- First my apologies for the long post, but I'm running out of ideas here. In my application, I have a fairly large amount of application data that is being collected by worker threads. The data is collected in several custom classes and most of that information must be displayed on the UI. Some of the information is simple (strings, integers, etc.,...), but some of the custom classes would contain
-
- SAML over ssl?
by dejawoo
- 14 Replies
- Last post
by Todd West - MSFT
- Hi I m quite confused.. just trying to solve a task where there will be STS which will be communicated over secure transport channell i.e. https then once token is obtained sent to actual service again with ssl. I m confused .. How to realize.. Do I can still use RST & RSTR I mean WS-TRUST, is ws-trust also applcicable for transport level security as I know ws-secureconverstaion is message ori
-
- Strange problem when opening a client in WinForms
by samoL
- 2 Replies
- Last post
by Yavor Georgiev - MSFT
- I wrote a nice library using the netpeertcpbinding based on the scenarios\peertopeer\chat example. I wrote a client class, that implements the client contract, exposes methods for sending messages, and notifies about recieved ones using events. So, the problem is that when i use the class in a console application everything works just fine, but when i try to use it in a windows form application i
-
- C++ version of .NET's Windows::System::Media or WPF?
by Scott Bean
- 5 Replies
- Last post
by Scott Bean
- I have huge projects in native C++ code and like the concept of WPF ( more so it's underlying RM drawing API ) and would like to soon convert my custom control API to use it, but I don't see any mention of any similar C++ version of WPF or the .NET Windows::System::Media API. I REALLY find it hard to beleive that there is only some C# or .NET version of this and no C++ version... There is no way i
-
- How to close the Popup when user clicks anywhere outside the Popup and associated control?
by Rajesh Prajapati
- 14 Replies
- Last post
by Rajesh Prajapati
- I have created a style where I have changed the expanded portion of Expander to a Popup. A section of the style is given below.
<Style TargetType="{x:Type Expander}" x:Key="PopupExpanderStyle"> <Setter Property="Template"> <Setter.Value> <ControlTemplate TargetType="{x:Type Expander}">
<StackPanel Orientation="Ve
-
- Xaml : Binding Two Controls to one data source
by Matthew_Hlavacek
- 2 Replies
- Last post
by Zhou Yong
- Hello All,
I'm running into a problem and I was wondering if anyone could help me out. I'm trying to data bind two combo boxes to one data table. I've got it to work, however when I change the selection of one combo box, the other one changes as well. I've seen a lot of documentation on how to solve this problem in the 2.0 framework, however, I've not seen any help on this topic so far.
I w
-
- WCF Service Security Session timeout
by bwaskiewicz
- 6 Replies
- Last post
by bwaskiewicz
- Hello,
I have just finished implementing an Error-Handling extension in WCF so that any exceptions will be automatically logged to a database.
I call the service from the generated client, intentionally perform an action that causes an Exception to occur, and the Exception is logged correctly to the database. My only problem now is that for every Exception I am expecting, there is an
-
- Is This Possible?
by NTDeveloper
- 3 Replies
- Last post
by NTDeveloper
- Suppose in assembly A I have the following class:
Code Snippet
public class MyControlNames
{
public const string A_Control = "A_Control";
public const string B_Control = "B_Control";
//Etc...
}
Next, suppose in assembly B I have the following XAML snippet:
Code Snippet
<TextBlock x:Name="
-
- Problem with TabControl in RTL Window
by farsad ghaffarian
- 4 Replies
- Last post
by Alik Khavin - MSFT
- Hi
I have problem with TabControl in RTL Window.
I have two Tabcontrol in a grid with 2 Grid Columns. when I change page direction to RightToLeft , Drop event of each tabcontrols works mirror.(Hit area of each control remaining in LTR mode.)!!!
I think this is a bug in tabcontrol.
How can I fix this issue in my program
very thanks.
-
- ASP.NET Compatibility mode using IIS 7 (Windows Vista)
by Nikolas2004
- 1 Replies
- Last post
by Nikolas2004
- Hi, I need to store instance of some members of my service in reliable store between calls to methods of my WCF service. I decided to you WCF in ASP.NET Compatibility mode, but I was not lucky to get it worked for me. I was trying an example from AspNetCompatibilityRequirementsAttribute Class but it didn't work as expected. My environment is Windows Vista Ultimate and Visual Studio.2005/.NET Frame
-
- Sharing objects in memory between different wcf services
by scifigooner
- 4 Replies
- Last post
by scifigooner
- Hi
I have currently a number of different wcf services each running in a different service host. Each of these service hosts needs to load a user from our business layer. I need to find a way of being able to call multiple service calls in order to optimise our application, but to only load the user once without having to use any static variables.
Ideally I want to have a service gro
-
- Webservice to WPF
by Lawrence 007
- 4 Replies
- Last post
by Tina Tam - MSFT
- Hi,
I am only now getting to start to know WPF. I was wondering if there is a way to use a Webservice that I created to load results from my webservice. If it is possible, is there any tutorials on that
If there is none, Can someone explain to me how to do that please.
Thanks
-
- Application terminates when Window gets closed
by Mario M.
- 3 Replies
- Last post
by Mario M.
- Hi! I have something like this:
Code Snippet public class MyApp: System.Windows.Application { public MyApp() { m_Window = new Window(); //loads of other stuff } Window m_Window; } and it gets instantiated from:
Code Snippet class Program { [STAThread] static void Main() { MyApp app = new MyApp(); app.Run(); } } Every time someone says m_Window.Close() the wh
-
- Sign Only - WCF Message with X509 cert
by jefftski
- 2 Replies
- Last post
by jefftski
- Hello,
I have an issue where I am calling an Java based web service from a .NET WCF service but the SOAP header still has encryption applied even after appropriately applying the necessary interface attributes. The URL I am requesting is NOT SSL, regular http:// request. The SOAP request is sending an <e:EncryptedData> data tag that the end point service chokes on, resulting in a 500
-
- Hyperlink Navigation in Windows Application
by Subrajit
- 8 Replies
- Last post
by Andre N. - MSFT
- Hi,
I am working on a windows application and need the ability to add a hyperlink control on the page. Can I add a hyperlink to the control and open it up in a browser without adding any code in the code behind file If yes, can tell me how can I do this If no then is there any other way to do this. I cannot write any code in the code behind class because my xaml is a stand alone file which get