-
- displaying webcam capture in WPF
by my_display_name
- 11 Replies
- Last post
by A2324_1
- I have a managed dll that captures webcam video with Directshow. I could easily display the video in .NET 2.0 by drawing on the background of the panel. There is just an abstract Panel in .NET 3.0, other Panels (Dockable,..) have no backgroung images I can draw on. I tried the following: BitmapSource bitmap = BitmapSource.Create(320, 240, 96, 96, PixelFormats.Rgb24, null, Streami
-
- Server too busy exception.
by KevinBurton
- 14 Replies
- Last post
by KevinBurton
- I look in the client log and I see the below trace. It is an exception ServerTooBusyException. Is there some configuration that I can change to avoid this exception It seems that when I have more than 10 threads issueing calls at the same time I get "more" of these errors. The documentation is not very helpful it says that this exception is thrown when the server is too busy. What is cau
-
- mediaelement ignores speedratio after position change?
by DCProven
- 5 Replies
- Last post
by Eddie Li - MSFT
- Is there any known problem with SpeedRatio for MediaElement If I set the SpeedRatio to say 8, and then I change the Position of the mediaelement, the SpeedRatio member will keep the 8 but after the position change, it will play at ratio 1 speed (regular speed) Am I missing something What I try to do is, in my OnMediaEnded handler: void OnMediaEnded(object sender, EventArgs e) { if (
-
- MS: UIElement.IdealSize property request
by Bill Henning
- 4 Replies
- Last post
by Bill Henning
- Hi Microsoft,
I'd like to request that you add an IdealSize property to the UIElement class. This property would essentially return the result of a measurement of the UIElement with "new Size(double.PositiveInfinity, double.PositiveInfinity)" passed to it.
Right now the issue is that when you have a UIElement with collapsed visibility or a fixed width/height (like 0), there is no
-
- Beta 2: MasterPages and FormsAuthentication
by spib
- 2 Replies
- Last post
by savrx
- Hi, I'm seeing a wierd issue with the new Beta 2 version of VS2008. When I open one of my ASP.NET 2.0 webforms in the visual designer, I get a message in the designer saying Master Page Error: The page has one or more asp:Content controls that do not correspond with asp:ContentPlaceHolder controls in the Master Page. If I then click on the name of the MasterPage in the top right of the designer,
-
- Adding Label or Caption to Shape in WPF
by shajipd
- 2 Replies
- Last post
by shajipd
- Hi,
Is any method by which we can add caption to "SHAPES" in wpf is it possible to Add caption by CONTROLTEMPLATE of shape
sha
-
- Aero basic in WPF windows
by smoothcoder
- 2 Replies
- Last post
by smoothcoder
- I've managed to enable the Aero glass effect for my WPF windows background.
Now I would like my WPF application windows to get the Aero BASIC background, when Windows Vista Basic color scheme is selected in Windows Vista. How could I do that
Thanks.
-
- Storyboard triggering on data change
by cierpich
- 10 Replies
- Last post
by cierpich
- Hi,
In my WPF project, there is following storyboard in Windows resources (generated using Blend):
<Storyboard x:Key="InitializeMonitoringStateTimeline" Name="InitializeMonitoringStateTimeline"> <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="MonitoringElipse" Storyboard.TargetProperty="(FrameworkElement.H
-
- Client from outside of the network
by Dani-CH
- 14 Replies
- Last post
by Brian McNamara - MSFT
- Hi I've a strange problem... I've deployed a wcf-service to the production-system. Now I wanna try to create a test-client - and it failed, 'cause it tried to connect local computername: The error message from each known type may help you fix the problem: - Report from 'DISCO Document' is 'There was an error downloading 'http:// frontend0 /ums2/UserManagementService.svc disco'.'. - The remote nam
-
- How do I sort groups of data items? II
by Jan Ku&#269;era
- 7 Replies
- Last post
by Jan Ku?era
- Hello,
I use a CollectionViewSource to group items in a ComboBox. I use IValueConverter to get the name of groups from items.
Now, I want the groups (leaving the items themselves in original (unsorted) order), to be sorted, however, not by alphabetical order. Is there any way how to explicitly set order of groups, or to provide custom comparer
Thanks,
Jan
-
- Unable to see canvas ... after loading
by logN
- 8 Replies
- Last post
by logN
- I want to load canvas from file ... i am able to load the canvas in variable . but ... it is not displaying the canvas .................. See cobe below ... Class WndDashBoard :Window { public partial class WndDashBoard : System.Windows.Window { Canvas abc = null; public WndDashBoard() { InitializeComponent(); abc = LoadFromFile(); abc.UpdateLayout(); } } }
-
- Template Binding for AccessText.TextAlignment not working
by Muchinger
- 6 Replies
- Last post
by Muchinger
- All, we are generating XAML in a Web Service. This XAML is transported to the client and displayed there. Now I am generating similar code in the XAML for any of the Labels: <Label ... HorizontalContentAlignment="Right"> <Label.Content> <AccessText TextWrapping="Wrap" Text="Label Text" TextAlignment="Right"/> </Label.Content
-
- WCF 3.0 + REST + binary output
by Nicolasbolbol
- 4 Replies
- Last post
by vtcoder
- Hello, I have a REST service build with WCF 3.0. Now I want to output a binary picture in JPEG to the browser when a URL is hitted. For example in this tutorial : http://msdn2.microsoft.com/en-us/library/aa395208.aspx what should be added in order to be able to output a raw message (without any XML header) Currently I'm doing that : response = Message.CreateMessage(message.Version, message.Header
-
- Async loading of BitmapSource in value converter?
by Jeremiah Morrill
- 9 Replies
- Last post
by Jeremiah Morrill
- I have a value converter that loads up a bitmap from my own medium (network/file-system) and of course the UI freezes on a databind.
I tried returning a new instance of a BitmapImage and loading the image bytes into memory via the threadpool and then using the dispatcher to set the image source stream. But i get an object ref exception when I do the BitmapImage.EndInit.
I do not have
-
- MSMQ Access Issue
by Suraj Guptha
- 6 Replies
- Last post
by Shailesh Deosarkar
- I am trying to access a private queue through WCF from a windows service. If i make the windows service run under the context of my domain user account, WCF is able to access the queue, however if i make it run under local system/ Network Service WCF is unable to access the MSMQ. I tried giving full access to everyone and also to network service. Can anyone help
Thanks for ur time
-
- Binding an ObservableCollection to a ListBox
by Baffa
- 6 Replies
- Last post
by Baffa
- Hi,
I am working with XBAP applications, Visual Studio 2005, and I need bind a list of Users to a listbox. I have developed a C# class with namespace flashOfficerModel, it was compiled OK, the code is below:
using System; using System.Collections.Generic; using System.Text; using System.Data; using System.Data.OleDb; using System.Collections; using System.Collections.ObjectModel;
-
- How is multiple content handled?
by Scott Grosch
- 6 Replies
- Last post
by Bragi
- In a custom control where the caller would do something like this:
<MyControl>
<MyControlItem />
<MyControlItem />
</MyControl>
how do I capture with the C# code for MyControl that a new MyControlItem has been added
-
- How to bind to parent from inside a DataTemplate
by Waseem Sadiq
- 5 Replies
- Last post
by Josh Smith
- Hello all,
I have been wrestling with the issue of getting databinding to work, hope that somebody can help me out here.
I have a ListBox which is bound to an ObservableCollection of T (exposed by the Collection property of my window). T has an associated DataTemplate. Here is the simplified version of my app:
< Window.Resources >
< DataTemplate x:Key = " StartTemplate
-
- Are WPF fonts different?
by Tom bernard
- 1 Replies
- Last post
by Ifeanyi Echeruo
- I am trying to print text exactly like notepad and other similar tools.
However, I have a problem with WPF font size.
I have an instance of notepad with the text XXXXXXXXXXXXXXXXXXXX with font size = 10, font name= arial. No bold, no italic.
If a have this in XAML
<TextBlock FontFamily='Arial" FontSize="10">XXXXXXXXXXXXXXXXXXXX</TextBlock>
The width of the
-
- Inline XSD in WSDL of a WCF service
by DivyaDamodaran
- 1 Replies
- Last post
by Christian Weyer
- Hi,
I have done a small service which is meant to interop with Java application.What should be done to embed the XSD details in WSDL.Coz importing shemas may cause problem while interoperability.
Thanks,
DD
-
- WPF Scrambling
by Billr17
- 7 Replies
- Last post
by bwp
- We have been building our application with WPF for several months. Several times in the past we have seen WPF applications become scrambled looking. When the screen becomes scrambled, the WPF windows will fill with various colored rectangles instead of the GUI UI. I have seen issues similar to this with DirectX programming when the backbuffer is not properly cleared. I originally posted about this
-
- Different The calling thread cannot access this object because a different thread owns it
by sportsoft
- 1 Replies
- Last post
by WPCoder
- Hi All
Have had a really good look around and cannot find any posts that have dealt with this issue.
I send messages to a message queue on the local machine with my application that listens for any new messages and reads/responds according.
I wanted to be able to use certain messages to open a new WPF window and other messages (in different queues) to control models on that ne
-
- System.Windows.Data not there
by AirportTiger
- 1 Replies
- Last post
by Gus Perez - MSFT
- hello
i want to add a reference to the system.Windows.Data namespace to my application but it's not in my install.
i have the frameworks 2.0, 3.0 and 3.5 installed.
any ideas
-
- window.Title = "some text"; This does not change the system task bar's Text,why?
by caoyang
- 9 Replies
- Last post
by aquaseal
- It changes the window's Title, but does not change the system task bar's Text.
Is there another way to change the text of the window showed in the system task bar
Thanks!
-
- MediaElement and Windows Media Player Version
by MMike
- 5 Replies
- Last post
by MMike
- Since videos are not playing like expected (MediaElement is only displaying a white screen) on clients without WMP 11 I would like to check the currently installed WMP version.
How can I accomplish this Is there a way to directly detect the version or do I have to try to play some media and check for an error