-
- Drawing Lines
by BrokenBokkenProductions
- 3 Replies
- Last post
by BrokenBokkenProductions
- I'm using code from a microsoft example to draw lines.
// Add a Line Element
myLine = new Line();
myLine.Stroke = Brushes.LightSteelBlue;
myLine.X1 = 1;
myLine.X2 = 50;
myLine.Y1 = 1;
myLine.Y2 = 50;
myLine.HorizontalAlignment = HorizontalAlignment.Left;
myLine.VerticalAlignment = VerticalAlignment.Center;
myLine.StrokeThickness = 2;
myGrid.Children.Add(myLine);
I set the StrokeT
-
- Woodgrove Sample stopped working once upgraded to Vista
by mneedham
- 1 Replies
- Last post
by Yi-Lun Luo - MSFT
- hi All,
I just upgraded my machine to vista and the Woodgrove Sample app now fails to run at all. I added a try catch and get and error about cannot create instance of 'StockHost' defined in assembly 'WoodGroveFinanaceHost, Version=1.0.2761.24172, Culter=neutral, PublicKeyToken=null'. Exception has been thrown by the target of an invocation. Error at object 'System.Windows.Controls.Grid' in
-
- Remove the Zoom control from the bottom of a FlowDocumentPageViewer...
by AnotherDayAnotherSegFault
- 4 Replies
- Last post
by AnotherDayAnotherSegFault
- Im using a FlowDocumentPageViewer as a visualBrush and would dearly like to remove the Zoom control from the bottom right (making the n Of nTotal Page bigger would be nice too)
and while we are at it - removing the < and > from either side of that value would also be great...
the code I have so far... (As a VisualBrush)
<FlowDocumentPageViewer VerticalAlignmen
-
- Exceptions and self hosted services
by P.Johansson
- 14 Replies
- Last post
by P.Johansson
- Hi I'm using a ServiceHost to host my service, and when an exception is thrown in my listener it dies, and ends up in a faulted state. Ok, so far, so good. But how the heck am I, on application level, to know what exception was thrown In my trace log I can see it without problem, but let's say my application starts up a ServiceHost, and the host dies... how will I tell my user what went wrong I
-
- Security Pain (Vista basicHttpbinding)
by darynk21
- 7 Replies
- Last post
by Marzullo
- I am struggling to get my server running with the basicHttp binding over https on Vista (it is a self hosted server). The server starts up and doesn't complain but the client exceptions when I try to start it up: "An error occurred while making the HTTP request to https://192.168.1.64:8081/Server/G2SServer . This could be due to the fact that the server certificate is not configured proper
-
- Callback security question
by Alexnaldo Santos
- 2 Replies
- Last post
by Todd West
- Hi,
I have a service with message security that uses a callback to send events with important data to client.
My question is :
Is true or false that a callback methods called by a secured service(message security) use the same security of service
In term of performance and security for internet services what's the better : Transport or Message security
Regards, Alexnaldo Santos
-
- Hide or Show text in a Xps
by CarlosJC
- 0 Replies
- Last post
by CarlosJC
- This is what I'm doing:
I have a xps (that i build with Flow Documents) and my Application use a Frame (I can use a DocumentViewer if is necessary) to show any Page (FixedPage) in the xps. Now, those pages are simple but they going to be more complex. I would like to be able to Hide or show a Paragraph in any of those Pages show it in the Frame when I click a button in my application.
Al
-
- You must first install Microsoft .NET Framework 2.0SP1 before...
by Laurent Bugnion
- 8 Replies
- Last post
by lextm
- Hi, I am trying to install Orcas on a XP SP2 machine. However, it fails. After checking the error logs, I found out that the error is due to the .NET 3.5 redistributable. I then tried to download the dotnetfx35setup.exe and to install it, but no success so far. The error I get is: Product: Microsoft .NET Framework 3.5 (Pre-Release Version) -- You must first install Microsoft .NET Framework 2.0SP1
-
- ListBox & ScrollBars ... ??
by PlaTyPuS8
- 14 Replies
- Last post
by Marlon Grech
- Hi! I have a listbox included in another listbox.... (strange, isn't it ). My problem is when the mouse is over the included listbox, it scrolls this included listbox!! And it's not what I want . I would like that only one listbox scrolls (the one that is not included...). (I could disable the included listbox, but it's not a possible solution for me...) If anyone can help... ++
-
- Dual Screen Application and WPF
by Debonlier fabrice
- 3 Replies
- Last post
by Hua Wang - MSFT
- Hello, I want to make a dual sreen application and I search functions to execute a part or a full application in the second screen. I found a article but it's about Windows Form Application ( frm.StartPosition...). How can I use the seconde monitor Is-it possible in WPF Thanks Fabrice Debonlier
-
- MSDN Example doesn't work here.
by Pailes
- 4 Replies
- Last post
by Pailes
- Hello Everybody,
I just tried to build this WPF/Win32-Interop example:
http://msdn2.microsoft.com/en-us/library/aa970266.aspx
But when I run it, I get an "unhandled exception of type 'System.IO.IOException' occurred in PresentationFramework.dll" saying the XAML resource "clock.xaml" couldn't be found.
It is actually there, but why is the DLL looking for the
-
- XML.Gov - Home Page
by vans_p_2c07ca
- 2 Replies
- Last post
by vans_p_2c07ca
- XML .Gov - Home Page Extensible Markup Language ( XML ) embodies the potential to alleviate many of ... Our purpose is to facilitate the efficient and effective use of XML through ... www. xml .gov/ - 22k - 27 Mar 2007 - Cached - Similar pages
-
- How to expand the tree when it is bind to a ItemSource.
by Rajesh Prajapati
- 9 Replies
- Last post
by Zhou Yong
- I have a tree which is using Item source propert to bind the data. I want to expand some of the nodes prgramatically. Problem is that Tree.Items collection gives me the data attached to the node, but not the TreeViewItem which have the IsExpand property.
Also how can I make a Tree/TreeViewItem editable
-
- C#3 codedom comiler @ orcas
by rad9k
- 2 Replies
- Last post
by rad9k
- I¡¯m using Microsoft.CSharp.CSharpCodeProvider for runtime inmemory assembly generation In linq CTP¡¯s there has been no C#3 features in codedom comiler In orcas beta1 these fetures seems to be absent too Qustions: - will there be C#3 support in codedom - when ;p
-
- Hide / disable the vertical scrollbar on a ListView
by Frances83
- 4 Replies
- Last post
by lee d
- Hi all, I have a ListView. Every time the ListView is resized, I calculate its number of visible items and then set its ItemsSource to that number. This means that, when it's done resizing, the vertical scrollbar isn't visible anymore. However, during resizing, the scrollbar keeps appearing and then disappearing again. I find this really annoying. How can I disable the scrollbar so the flickering
-
- Conflict Handling Across WCF
by Vesigo
- 7 Replies
- Last post
by ChristineN
- I am implementing sync services across WCF, which so far seems to be working well. However, I need to be able to allow the client to resolve conflicts. From what I can see, you would want to subscribe to the ApplyChangeFailed event. That would be fine, but it only exists under the ServerSyncProvider which, unless I am missing something, cannot be accessed client side. I know you can subscribe to t
-
- Problem with MEX WSDL
by Uwe Heinkel
- 4 Replies
- Last post
by Kavita Kamani - MSFT
- Hello,
I was trying to use an WCF web service from SQL Server Integration Services (SSIS). This web service returns an array of int and an array of a data contract. The WSDL is provided by MEX. There are 4 schemas xsd0-xsd3. xsd1 imports xsd2 and xsd3. And the WSDL imports all xsd files. The problem is that SSIS doesn't like the double imported schemas. So It doesn't work. After manually editin
-
- [LINQ to SQL beta 2] EntitySet is not bindable in WPF?
by jods
- 14 Replies
- Last post
by BACHRATY Gergely
- Binding an EntitySet (basically an association) to a list in WPF works well. That is, until you try to modify to add or remove entities from the set. The GUI doesn't get updated. As I understand it, it's because the EntitySet doesn't implement INotifyCollectionChanged. Am I missing something Not being able to databind my LINQ entities is a HUGE limitation.
-
- Scaling problem in UniformGrid
by Daniel Schl&#246;&
- 2 Replies
- Last post
by Daniel Schloser
- I have another problem with scaling in a UniformGrid. When I use the code below the images look fine in their cells but the text in cell 0,0 and even the header of the groupbox is scaled down too much. How can I prevent the scaling of the image to have an effect on the rest of the grid Thanks for your help ;-)
< GroupBox Header = " {Binding Path=ItemHeader} " HeaderTempl
-
- ComboBox to show correct content
by Dvlnblk
- 6 Replies
- Last post
by lee d
- Hello all, I have a combo box that is bound to an XML page. Example:
<videos>
<video>
<url>http://mysite.com/media/myMovie.wmv</url>
<caption>First movie</caption>
</video>
</videos>
Currently I have the comboBox showing the URL because I then pass that URL into a media element. It works great but I would like to have the
-
- Deserializing data as a derived type
by CommonGenius.com
- 14 Replies
- Last post
by TrevorW
- As the WCF documentation explains repeatedly, one of the major differences between WCF and remoting is that remoting serializes by type and WCF serializes by data contract. This means that an object can be serialized as one type at one end and deserialized as another type at the other end, as long as the two share the same contract. Among other things, this makes it possible to create different ve
-
- element binding
by Zajda
- 2 Replies
- Last post
by Zajda
- Hi, can somebody tell me, why is my Element Binding not working
<page>
< validation:ErrorProvider DataContext = " {Binding Path=Data.CustomData} " >
.....grids, controls, layout
< ComboBox Text = " {Binding Path=TrvalaAdresa.Obec, Mode=TwoWay " x:Name = " ComboBoxObecTrvala " >
< validation:ErrorProvider
-
- Bind Click Event to Static Method
by bes7252
- 1 Replies
- Last post
by Bragi
- Can a click event be bound to a static method of the application
Something like this:
Code Snippet Click = " {x tatic local:App.NewWindow} "
Brian
-
- How to maintain mapping file and class file?
by Kai Wang
- 4 Replies
- Last post
by Kai Wang
- Hi all,
We plan to use Linq2Sql to implement the new data access layer for our project. However there are some problems we need to figure out first.
1. http://207.46.236.188/MSDN/ShowPost.aspx PostID=1955235&SiteID=1
Lack of the flexibility to specify class names really makes it difficult for us to integrate the data access layer with other layers. So we have to modify the map
-
- MediaElement do not work
by c-bruce
- 4 Replies
- Last post
by c-bruce
- I use a MediaElement to play .wmv file.code as follow:
<Grid> <StackPanel HorizontalAlignment="Center" VerticalAlignment="Center"> <MediaElement Name="myMedia" Source="myMedia.wmv" LoadedBehavior="Manual" Width="320" Height="240" /> <StackPanel Orientation="Horizontal" Margin