-
- Can you animate dates in wpf...
by Rico Alexander
- 3 Replies
- Last post
by Marco Zhou - MSFT
- Meaning set a From date and a To date to be used to animate something like a timeline control etc.
-
- Question about configuring client endpoint address
by dimitrod
- 4 Replies
- Last post
by Yavor Georgiev - MSFT
- Hello, I have a client endpoint which is configured in my app.config the following way: <client> <endpoint name="myClient" address="http://example.com/myservice" binding="basicHttpBinding" contract="IMyContract" /> </client> I would like to externalize the server part of the url address in the appSettings of my config file or
-
- DataContext Record Navigation?
by James N
- 2 Replies
- Last post
by James N
- Hi
I have a WPF form which displays some data for a product. What I would like to happen is for the WPF Page to cycle trough all of the products which have been eturned maybe after a 5second delay for instance. What Im doing so far is obtaining a DataSet which is filled with records ( say 20 ). In the WPF Form I am then assigning this dataset as the datacontext.
DataContext = product
-
- XBAP without ClickOnce deployment?
by -JM-
- 14 Replies
- Last post
by -JM-
- I have an application that will be run from the user's file system, it is however an XBAP. Since this scenario is not what was envisioned with ClickOnce application deployment, I'd like for the user to run this application without all of the security checks and certification. It does need to run in IE7 though.
I've been reading and trying different things, but have yet to achieve this. Is i
-
- Toolbar problem - adding items from a control that doesn't "own" the toolbar
by Grae Foster
- 5 Replies
- Last post
by mvataksi
- Hi, I've found an issue with toolbars and trying to add items into one from a location that didn't define the toolbar. The toolbar doesn't show the item but instead shows an overflow panel containing it. If the screen is resized the overflow is disabled and the item appears. Looks like a bug in the toolbar render code. If so, is there a workaround Thanks, Graeme Example code to reproduce
-
- Menu merge
by Nat153417
- 4 Replies
- Last post
by Bragi
- Hi,
I wonder why no one ever mentioned or asked how you can do menu merge in WPF For example, you have multiple controls in your screen, you might like to change the menu/toolbar based on which control receives the focus.
-
- How can I convert this query to a Customer Object
by vbjunkie
- 8 Replies
- Last post
by devnet247
- I might miss the obvious and hopefully somebody could give me a quick explanation.
Goal Populate a customer object with details from multiple tables.
Tables Customer Order Account Shop etc.....
Code Block
// this works
var cust=from c Customer Join o order on c.CustomerID equals c.CustomerID Join a Account on c.CustomerID equals a.CustomerID join s
-
- Change the spellcheck language
by Josh Smith
- 6 Replies
- Last post
by Josh Smith
- I can't find this info anywhere in the docs. Please let me know:
1) What languages are currently supported by the SpellCheck class.
2) How to specify the language to be used by the SpellCheck class (a code snippet would be great).
Thanks!
-
- TOP/LIMIT Support for LINQ?
by Daniel Kuppitz
- 14 Replies
- Last post
by Matt Warren
- Is there (or will there be) any support for limiting a result Something like var pagedData = from ds in datasource rows 50 to 100
select ds; Regards, Daniel
-
- p2p wcf help
by fouad
- 7 Replies
- Last post
by Jonathan McPhie
- hello, i am starting to develop a p2p application, i want tou use the wcf, and peerchannel, but i didn't find good samples and tutorials to get started. Can anybody help me getting started and give me some advices. 10x
-
- How to figure out default GroupBox Header Label Color
by Lossandra
- 9 Replies
- Last post
by Lossandra
- How do you figure out the - correctly themed - color of the GroupBox control's header In my application I need to customize the header of some groupboxes. However, I still want the text of my new headers to have the same colors as a default standard groupbox. Unfortunately, it seems that the color of the default Header is not available over SystemColors, yet it is still theme dependant (as for wh
-
- Create columns from XML
by evergreensbs
- 3 Replies
- Last post
by Yi-Lun Luo - MSFT
- Dear frnds, i have one problem in creating columns from the XML file. See i have one file like this.....
< xml version = " 1.0 " encoding = " utf-8 " >
< Vitals >
< Vital VitalName = " Height " DisplayItem = " Height " >
< Days >
< Day1 >
< Height isNumeric = " True " > 1.54 <
-
- Popup WPF Control - How does it work?
by bmains
- 4 Replies
- Last post
by harry
- Hello,
I must admit; I'm a bit confused with the popup. It adds a grid which I guess pops up some other control How do you set that up
Thanks.
-
- Security timestamp problem
by Alexnaldo Santos
- 14 Replies
- Last post
by Alexnaldo Santos
- Hi,
I have a service with "message security".
When I try to connect to server I receive this error :
"The security time is invalid because its creation time "15/01/2007 13:39:40" is in the future. Current time is "15/01/2007 13:34:27" and allowed clock skew is "00:05:00"
The date/time in both (Client and Server) are same and isn't "13:&
-
- Possible odd TreeView bug (sample included)
by MrJul
- 11 Replies
- Last post
by MrJul
- Using some custom style with a StyleSelector for my TreeView, I found a really strange bug, more related to ItemContainerGenerator, I think. I had to implement some drag and drop, and it appears that switching (my removing and re-inserting them) two sub-items in a sub-collection of a previously switched item in the parent collection used as ItemsSource for my TreeView lead to some u
-
- Receive SwA messages with WCF
by m_nille
- 3 Replies
- Last post
by Oren Fisher - MSFT
- Hi everyone,
I'm not familiar with handling binary data with SOAP, so excuse myself for probably stupid questions.
Our web service has to receive message send from a client (TIBCO - mentioned in earlier posts). I 'etherreal-ed' the message, which our web service answers with '400 - Bad Request'. I set the 'messageEncoding' to 'Mtom'. The sent SOAP message looks like:
-
- New SSCE Sync Designer Q&A and Screencast Posts
by Roger Jennings
- 1 Replies
- Last post
by Rafik Robeal
- Steve Lasker has posted Additional Q&A on the Visual Studio Orcas Sync Designer (March 21, 2007) and First look at the Visual Studio Orcas Sync Designer (March 22, 2007) on his blog. Steve added part 2 of the screencast: Going N Tier w/WCF, Synchronizing data using Sync Services for ADO.NET and SQL Server Compact Edition this morning.
There's related content in my SS
-
- Color of highlighted text in non-focused listbox.
by sergun
- 11 Replies
- Last post
by sergun
- Hello!
How can I specify the color of highlighted text in non-focused listbox
The color of text of highlighted alternative when listbox owns the focus is controlled by:
SystemColors.HighlightTextBrushKey
But when listbox loses focus the color is switched back to
SystemColors.ControlTextBrushKey value.
How can I keep it
-
- difference between Msg Inspector and Msg Interceptor
by pallz
- 2 Replies
- Last post
by Pablo Cibraro
- So far my understanding is
Msg Inspector
- at Service Model Layer
- is a behavior
- can modify messages (outgoing requests)
Msg Interceptor
- at Channel layer
- Can be used as a watchdog (logging/tracing activities)
- can modify messages
Does Msg Interceptor has the powers to modify the message(header + body)
-
- System tray icons, window focus with wpf
by leftshoe
- 0 Replies
- Last post
by leftshoe
- I have developed an application using WPF/C# that sits in the system tray until opened by the user by either clicking on it, or by pressing a hotkey combination. I'm having issues with the window getting focus. Sometimes if the application has been running for a long time the hotkey does not bring the window to the foreground with focus. I suspect its got something to do with my limited knowledge
-
- Best Practice for Authentication and Authorization with Custom Usernames and Passwords
by Don Black
- 1 Replies
- Last post
by Todd West - MSFT
- I am wondering how to best approach securing my WCF application. A few facts about it:
- Custom usernames and passwords are stored in a SQL database.
- The service is hosted in IIS.
- Message security usage is not an option.
- The service exposes TCP as well as HTTP endpoints, but could be modified to expose HTTP endpoints only.
I currently use transport security for encrypt
-
- Where does a Disabled Button's Background come from?
by bes7252
- 2 Replies
- Last post
by bes7252
- I have a Button in a StackPanel. I'm trying to set the background when the Button's IsEnabled property is False. No matter what I try the background is white. Here's the Resource section in the StackPanel:
Code Snippet
< StackPanel.Resources >
< Style TargetType = " {x:Type Button} " >
< Style.Triggers >
< Trigger Property = " Is
-
- See PDF file in WPF app
by Euclidez
- 8 Replies
- Last post
by Chango V. - MSFT
- Hello, I've an url to a pdf file and I want to see it on WPF. I try the frame this way:
< Frame Margin = " 136,52,140,97 " Content = "" BorderBrush = " #FF000000 " NavigationUIVisibility = " Automatic " Source = " http://www.test.com/123.pdf " / >
but this InvalidOperationException {"Failed to convert resource into obj
-
- Setting the currently Selected TreeViewItem in a TreeView
by DocMARs
- 7 Replies
- Last post
by Jeremy Chaney
- Hey, I was wondering how to use this piece of code from this article about setting the currently selected item in a TreeView in WPF... Code Snippet public static void SetSelectedItem(ref TreeView control, object item) { try { DependencyObject dObject = control.ItemContainerGenerator.ContainerFromItem(item); ((TreeViewItem)dObject).IsSelected = true; } catch { } }
I know how
-
- How Do You Add a Usercontrol to an Excel Spreadsheet
by Roman Benko
- 4 Replies
- Last post
by benchr
- In a Word Document project, I can add a usercontrol to the document by using the syntax:
Globals.ThisDocument.Controls.AddControl(бн
I am trying to do the same thing in an Excel spreadsheet, but I cannot find the right syntax. Do you know how to add a usercontrol to a specific cell in an Excel spreadsheet All of the sample code I have found on Google shows how to add a usercontrol