-
- Apply Justification to Last Line of FlowDocument
by bes7252
- 5 Replies
- Last post
by Bryan Wheeler -- MSFT
- When a RichTextBox is set to Justify, is it possible to have the last line of text justify By default the justification is not applied to the last line. This is a problem when a paragraph flows from 1 textbox to another. In this example the sentence beginning with "Now fifty years" sould be full justified.
<textbox>
....
to the east of town. Now fifty years have pass
-
- Vista MessageBox
by Tom581157
- 6 Replies
- Last post
by eisernWolf
- Hello,
I am using WPF on Vista. However, when I call MessageBox.Show, the message box on the screen is using the Windows 2000 theme (gray). Is there a way to have "nice looking" vista message boxes in WPF.
-
- When authenticationMode attribute is set to "Username", why are there two choices of tokens?
by kawano1h
- 5 Replies
- Last post
by Todd West
- Hello
I was reading the following page which talked about which profile is implemented and can be used on which predefined system bindings. http://msdn2.microsoft.com/en-us/library/ms730294.aspx
When I was reading wsHttpbinding section on security tokens, it said WSS SOAP Username Token profile is used when the wsSecurity element's authenticationMode attribute is set to "Username".
-
- bug in SqlMetal (VS 2008 beta2)?
by Rick &#40;Rytis Ilciuk
- 7 Replies
- Last post
by Rytis Ilciukas
- I have table Event and table EventTypes which hold available event types. Event table has EventTypeID column which has one-to-many relationship with EventTypes. Generated code throws System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException() exception when i'm trying to change EventTypeID:
event.EventTypeID = 2;
EventTypeID Setter looks like this:
set { if ((this._
-
- ANN: Latest version of the WPF Performance Suite now available!
by Adam Smith - MSFT
- 7 Replies
- Last post
by Karin Meier - MSFT
- (The following is shamelessly borrowed from: http://blogs.msdn.com/wpfsdk/archive/2007/04/26/latest-version-of-wpfperf-exe-available.aspx )
Latest version of WPFPerf.exe available
The latest version of the WPF Performance Suite has just be released in the Windows SDK for Windows Server and .NET Framework 3.5 ! If you install the SDK, you'll find WpfPerf.msi , which lets you install
-
- using WCF for a Windows (and WPF) client server app
by hazz
- 12 Replies
- Last post
by hazz
- Does it make any sense to use WCF for a Windows forms client server app (to begin to introduce WPF controls) for what is currently a simple client/server windows forms app running on a single machine
My client would like to convert his existing VB6 app to an n-tiered architecture in his upgrade process.
He did state he would like to have business objects into and from which his Prese
-
- XBAP Close with multiple threads
by John T. Campbell
- 2 Replies
- Last post
by Drew Marsh
- I have an xbap application where I create a worker thread (and a dispatcher for the thread) that runs for the entire time. Using the dispatcher.Invoke method, each thread (the worker and the UI) can communicate to each other. Everything works like a charm at this point.
The problem comes when I try to exit the xbap application. It closes the window but doesn't terminate the process. I assume th
-
- Impersonation in Membership
by Sachin Chitran
- 4 Replies
- Last post
by Khalid Aggag - MSFT
- Hi,
I am impersonating from c# code before calling any mebership model but it is not working.The membership functions are running in ASPNET account.
Can anyone help in this regards
Sachin
-
- 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
-
- Page Flip Effect?
by mrmckeb
- 4 Replies
- Last post
by mrmckeb
- I have seen demos where content has changed through a page flip technique - where the user drags the corner of the page and flips over to the next page...
Does anyone know how to do this
-
- X Y position
by Dvlnblk
- 7 Replies
- Last post
by WPCoder
- In C# how can I get the x and y positions of the mouse and also of an object on the stage say a box called myBox
-
- ListView with Filter not updated when a list item is changed?
by John Fredman_
- 1 Replies
- Last post
by Marlon Grech
- Hi,
I have a ListView which is bound using data binding to a list of dependency objects. I'm having problems to get the ListView to be updated when I change a property of a list item which is supposed to filter out that list item.
The ListView looks as follows:
Code Block <ListView ItemsSource="{Binding Path=Settings.Drives, ElementName=Window, Mode=Default}&q
-
- Is there a control like LinkLabel in WPF?
by Huson
- 8 Replies
- Last post
by Blagoev
- As we know, Linklabel is a winform control, it is inconvenience to use in WPF.
Is there a control like LinkLabel in WPF
-
- MaxItemsInObjectGraph not working
by RyanR1000
- 3 Replies
- Last post
by RyanR1000
- I am going a bit nuts here and cannot seem to figure out what is wrong with my config files.
Anyways, I am getting the following exception:
There was an error while trying to serialize parameter Netops.CHNOPS.SNMPcAdapter.Services:GetTimeSpecificTrendReportDataResult. The InnerException message was 'Maximum number of items that can be serialized or deserialized in an object graph is
-
- loose xaml hangs in ie7 on XP
by SimonS_
- 9 Replies
- Last post
by Miha Markic
- I am trying to run a simple xaml file in ie7. Open the file, iE7 launches but then doesn't do anything. The progress bar slowly progresses but nothing happens. The xaml file just contains a page with a textbox.
I have .net 3.0 installed is anything else needed on an XP machine to run xaml pages/apps
-
- Is there any possible way to pass data between the .xaml files?
by eingin
- 4 Replies
- Last post
by eingin
- hello ,everyone. I am new here and I have got a question recently.
I have created a login.xaml file and an EmployeeWorkground.xaml file. There is a login button in the login.xaml and when clicked it will navigate to the EmployeeWorkground.xaml.Here is the question: I want to pass the EmployeeID data which I get from the login.xaml to the EmployeeWorkground.xmal, is there any possible way to do
-
- VPN vs. WCF - Need advice
by Wicket
- 5 Replies
- Last post
by Raj Tripathi
- I have a scenario for an upcoming project where I'd need some advice from you. Here is the prerequsites:
1 - A server (SQL and probably IIS) will be hosted on some kind of serverhotel. This SQL server will hold all application data. 2 - The application accessing the SQL server will be a WinForms (c#) application. 3 - The application will be used by 5-15 different customers. Each customer will h
-
- Integration and Compatibility of EF with DAAB
by Llawarta
- 2 Replies
- Last post
by Llawarta
- Hi. I had read all the documentation of the EF and I don't find anything about the integration or compatibility with the Data Access Application Block (DAAB), someone please can give some clues or examples of integration. If this integration doesn't exists can you give some feedback about this as : - Will be supported in the future releases (DAAB) . - The EF will be or is fully compatible with the
-
- Binding to a non-dependency property
by Mazze
- 8 Replies
- Last post
by Mazze
- Hi!
I'm having troubles setting up a data binding in WPF. I would like to bind the DockPanel's "ActualWidth" property to the "Width" property of a self-coded class called XAxis:
// XAxis class exposes Width property of type double for binding purposes
class XAxis
{
public double Width
{
get { return width; }
set
{
if ( v
-
- How to use constructors or methods of data object with WCF service
by jdang
- 14 Replies
- Last post
by macfarmw
- I have some questions regading how to use of data object using WFC Service. For example I have an object called Student (see codes below), and property IsOver25 this is readOnly property. However, if I do not put set { ;}, it's won't compile . What I need to do here in order to get rid of set { ;} statement. Another problem is using contructors and methods of data object. Since we don't put [Servi
-
- Finding Object Parent (Events)
by Matthew Lebo28574
- 2 Replies
- Last post
by Josh Smith
- I am confused about how to get the parent element of an object that is embedded within other controls when an event fires. I have put an event on the stackPanel to catch the mouse up event of a label and when i click on any portion of the label whether it be the image, the textblock or the label the event fires. This IS the functionality that I want except I need the label object as being the sour
-
- Multi list functions (Map2, etc.)
by Michael_Giagnocavo
- 11 Replies
- Last post
by Michael_Giagnocavo
- It'd be handy if multi list functions were includeded, like ForEach2, Map2 (Select2), etc. Any thoughts on including this
For instance, I have a string list of ip addresses, and a list of ints for ports. I'd like to go through them as a pair and project. It doesn't look like I can do this with LINQ
-Michael
-
- Software requirements for LINQ
by SanthiSuba
- 1 Replies
- Last post
by Fabrice MARGUERIE
- Hi friends,
I wish to work in linq, I have installed VS2005 and SQL Server 2005 in my system with .net framework 3.0&2.0 installed in my machine. I am unable to run LINQ related samples in my machine. I have tried console application samples.
Is there any specific software to be installed else linq will support only VS 2008. Give me some info and help me how can i work it out.
-
- Generate Classes based on XML Doc?
by Zuuljin
- 7 Replies
- Last post
by Zuuljin
- Will the next Visual Studio (w/LINQ) be able to generate classes based on an XML document, similar to how it can generate classes based on a database Thanks in advance!
-
- Hosting service in IIS - Derivatives Calculator Service Lab question
by exp2000
- 2 Replies
- Last post
by James.Zhang - MSFT
- I am doing labs from .NET Framework 3.0 Training Kit for WCF and I am having trouble hosting service in IIS. I get the error message: An error occurred loading a configuration file: Failed to start monitoring changes to 'C:\Users\Web\Documents\Visual Studio 2005\Projects\DerivativesCalculator\DerivativesCalculatorService' because access is denied.
How do I set up IIS and permissions on the