-
- Navigating a frame within a frame
by Colin Burn
- 3 Replies
- Last post
by Chango V. - MSFT
- I have a frame control that can navigate between xaml pages stored on the local hard drive. Some of these pages contain frames themselves that embed content from other xaml pages.
What I want to do is to intercept any hyperlinks in the inner frame and navigate the outer frame. The only thing is I have no idea where to start with this. Could somebody point me in the right direction
-
- How to create another console(child) after the client connect to host(parent)
by WCFNewbie
- 1 Replies
- Last post
by Ed Pinto - MSFT
- Hi I'm planning to create a chat console project. The concept is after the client connect to a host another console application will appear to interact with the client each. I mean every client that will connect to the host will have a seperate console to chat with.
The probem is I don't know how can I create another console app that a client can interact with.
-
- Icon rendering quality in listview
by Anthony_Sebastian
- 3 Replies
- Last post
by Anthony_Sebastian
- Is there a way to set the quality on icons to render nice in a listview
Code Snippet
< Image HorizontalAlignment = " Center " Source = " {Binding XPath=@Image} " Width = " 48 " SnapsToDevicePixels = " False " />
The above image looks like *** in a listview, in icon viewer it looks great at 48.
Thanks,
anthony.
-
- Explaination of different timeout types
by Bastian W.
- 11 Replies
- Last post
by GavinJ20011
- When I configure a binding I can overwrite several default timeout settings. For example there are: OpenTimeout CloseTimeout SendTimeout ReceiveTimeout InactivityTimeout ... What exactly does each timeout stand for The WCF documentation says "...timeout for an open operation to complete..." for the OpenTimeout for example - but what does this mean exactly Maybe some of you can bring so
-
- WindowsFormsHost not showing WinForm User Control
by Varun Basu
- 0 Replies
- Last post
by Varun Basu
- Hi,
I have created a user control that show a web cam feed from a remote desktop (using office communicator). When this user control is put inside a WinForm application, it works fine and I am able to see the video.
However, when the same Windows User Control is hosted in a WPF application using WindowFormsHost, I am unable to sign into the communicator.
Any help on this front
-
- Looking for ToDataTable()
by ExtJSdeveloper
- 4 Replies
- Last post
by Fabrice MARGUERIE
- I am using LINQ to SQL but have a requirement to ship some DataTable objects out to a legacy UI tier. The LINQ api has other collection creation api¡¯s such as ToArray() and ToDictionary() but I could not find a ToDataSet() or ToDataTable() equivalent.
Have I overlooked something or will I have to code this by hand
Is this Mike Taulty code my best option
http://mtaulty.com/Co
-
- Releasing .Net 3.0 based applications
by Hoon1234
- 6 Replies
- Last post
by Hoon1234
- What is the policy regarding releasing applications using WPF/WCF/.Net3.0 Does anyone know of released tools that has somewhat similar functionality like VS2005 Currently, when I give a release schedule of an application built using VS2005 (WPF/WCF/XPS), people eyes roll over and enthusiam dies.
Secondly, I am looking for a document that provides a theorectical foundation for XAML Is this a kin
-
- Session Terminating Event
by acstacy
- 1 Replies
- Last post
by berczeck
- Is it possible to capture an event in the Service when a session is terminated
Thanks.
-
- CRC failed in OrcasBeta2_VSTS.vhd
by RepliCrux
- 2 Replies
- Last post
by Chris Lively
- Hello All, I downloaded the files from http://www.microsoft.com/downloads/details.aspx FamilyId=3B72271C-E996-4989-898D-72D684966CE6&displaylang=en and when I am trying to run the exe to create vhd file for Virtual PC, its give me error after OrcasBeta2_VSTS_8PartsTotal.part03.rar: "CRC failed in OrcasBeta2_VSTS.vhd Unexpected end of archive" but still asks for OrcasBeta2_VSTS_8Pa
-
- Corrupted Images loaded from XAML - memory issues???
by AnotherDayAnotherSegFault
- 7 Replies
- Last post
by Marco Zhou - MSFT
- Hi,
I am loading images in XAML,
some comprise the content of a button:
<RadioButton Width="Auto" Style="{DynamicResource buttonRedStyle}" x:Name="ButtonLights" Selector.IsSelected="False" Click="LightTypeEvent" IsChecked="True" HorizontalAlignment="Right" Tag="Lights" > <Image
-
- where can i find binary of wpf samples?
by publicENEMY
- 12 Replies
- Last post
by kk302999
- i have downloaded wpf samples from microsoft site. there are hundreds of project available. problem is, none of them is compiled. and compiling every one of them is tedious. i suspect the samples in binary form are already in my hardisk(when i try to download the samples from local msdn). but where is it
-
- Adding an XML Attribute to a DataContract
by Eric P. N.
- 4 Replies
- Last post
by Eric P. N.
- I have an IIS hosted WCF application already built that makes heavy use of standard Data Contracts.
Recently a client required one of the elements be serialized as an attribute to an XML element. An example of the current output would be:
Original XML <Person> <Name>Eric</Name> <Age>35</Age> </Person> The new XML would need to be:
Orig
-
- Merged dictionaries and multiple references
by George F DArcy
- 3 Replies
- Last post
by Joep Beusenberg
- Hi,
After upgrading to Orcas 2008 Beta 2 (.net 3.5 and wpf 3.0.6920.1005), I noticed this error in my old code;
Error 17 The merged dictionary is invalid. Either a ResourceDictionary is being placed into its own MergedDictionaries collection or a it is being added to the same MergedDictionary collection twice.
This happens because merged dictionaries often link to resour
-
- How can I Embed Images in a XBAP Application
by Baffa
- 10 Replies
- Last post
by Mr. Tran
- Hi,
I have a page of a XBAP Application that has images. When I use the image control like this:
< Image Width = " 24 " Height = " 24 " Source = " pack://siteOfOrigin:,,,/assets/285-user_group.png " />
The application gives me an error. When I remove the image tag it works OK. I have already tried a lot of constructuions. The images resid
-
- Guid service exception
by kaburke
- 1 Replies
- Last post
by Brian McNamara - MSFT
- I have the following contract:
Code Snippet
[ ServiceContract ]
public interface IService
{
[ OperationContract ]
Data getData( Guid p_guidId);
[ OperationContract ]
Data getData2( String p_strId);
}
It is implemented as such:
Code Snippet
public class Service : IService
{
public Data g
-
- can you translate this winforms code into WPF?
by Brannon
- 1 Replies
- Last post
by Marlon Grech
- I have a mapping/GIS application. It has a Map object that contians an array of IMapLayer. All inheritors of IMapLayer come from plugins. The renderers for each MapLayer type are also plugins. For example, I have a GeometryMapLayer that inherits from IMapLayer and contains a list of geometrical shapes. I have a renderer for it that knows how to draw all the shapes. I have code that looks (when sim
-
- How to create a copy of a textblock element
by Willie007
- 6 Replies
- Last post
by Willie007
- Hi,
I want to create a copy of a textblock which is loaded onto a Canvas.
There is no clone function available for this element...
What would be the most suitable solution for this without creating a new element and copy all the properties
-
- Screen rectangle for visible part of WPF UIElement-- Windows Forms WPF interop
by Josh Montgomery
- 5 Replies
- Last post
by Josh Montgomery
- Is there a way I can get the screen rectangle for the part of a WPF UIElement that is visible on the screen If a WPF UIElement is partially hidden because it is in a scroll viewer or larger than the available space, I would like to get the rectangle for the part that is visible -- not the entire UIElement including the obscured part.
The specific situation I am dealing with is showing Windo
-
- Nullable type in where clause
by felzmann
- 11 Replies
- Last post
by BACHRATY Gergely
- Hi!
How LINQ to SQL handle the nullable type in the where clause Example:
Code Snippet
private int MyId { get { return null; }}
var categories = from c in _db.ProductCategories where c.ParentProductCategoryID == MyId select c;
The type of the c.ParentProductCategoryID is the int . But the generated SQL select looks like:
Code Snippet
WHER
-
- Is there an answer that is not "wait for version 3.5"?
by TrevorW
- 14 Replies
- Last post
by Amit
- I am writing WCF services that involves duplex contracts, PerSession mode, reliable messaging, and requires UserName/Password validation.
The poblem is that reliable messaging is unable to reconize a faulted proxy due to a rejected authentication and keeps retrying until the timeout period. If I lower the timeout period, then the reliable messaging will not keep retrying for the correct des
-
- study, how to add controls onto wpf app programmatically
by TheNewBy
- 6 Replies
- Last post
by Zodd
- Hi everyone,
i m learning wpf at the monent, I m having problems add controls onto applications programmatically.
what i try to do is: i try to create some user controls in wpf, and i m having problem adding controls into controls that i try to create nor into forms programmatically. can only add controls manually into xaml files.
could some one give a hint on this
really a
-
- Possible Bug about Bubbled Events and Focusable
by DmitryMS
- 9 Replies
- Last post
by ivolved_Mike_Brown
- Looks like I got to the root of the problem. In my hierarchy (I've made a post about it recently) there are 3 controls:
Grid (Top),
ScrollViewer (Middle)
Grid (Bottom).
I'm subscribed for MouseDown of the Bottom, but when I click on the Top nothing happens. After hours of investigations I found that the culprit is.Focusable property of the Middle man ¨CScrollViewer. Be
-
- transparent clickthrough winform with opaque and not clickthrough objects using wpf
by algoaddict
- 14 Replies
- Last post
by algoaddict
- hi,
i used c# code from codeproject.com to produce a transparent and clickthrough winform using setWindowLong.
i need to produce a winform that is all transparent and clickthrough enabled but with non rectangular objects on it that arent transparent and arent clickthrough enabled, is it possible using wpf
i dont really need wpf now but i to acheive the described functionality and
-
- how do u write behinde code instead of xaml makeup to handle attached event
by AlexTre
- 2 Replies
- Last post
by AlexTre
- as the subject
below is the example how i use makeup to do so
--------------------------------------------------------------------------------------
makeup
======
<Window x:Class="TestSpace.MakeupTest" xmlns=" http://schemas.microsoft.com/winfx/2006/xaml/presentation " xmlns:x=" http://schemas.microsoft.com/winfx/2006/xaml " Title="Te
-
- Slider: howto determine if it's changing
by Anton__
- 2 Replies
- Last post
by szl
- I'm trying to build a simple MediaPlayer with a slider which can change the video position. video playback also updates the slider's Value.
When user clicks to slider's Thumb I want to disable updating the Slider Value by the video, which is done by handling CurrentTimeInvalidated event of the MediaTimeLine. (I use MediaElement which is controlled by the MediaTimeline).
So is the