-
- Debugging Style Triggers / Trigger on IsEnabled is not working
by kunom
- 4 Replies
- Last post
by kunom
- Hi all Is there a possiblity to debug WPF style triggers Or asked from a different perspective, can anybody explain why the IsEnabled-Trigger in the code below does not get applied Sample: ToggleButton.IsEnabled --> bound to a CheckBox.IsChecked ToggleButton.Style --> trigger bound to ToggleButton.IsEnabled(False) ---- <Window.Resources> <Style TargetType="ToggleButton"
-
- TCP Communication freezes up
by baparker
- 2 Replies
- Last post
by baparker
- I have created a set of contracts and implementations for a series of business objects. I have set up a basic Console application that hosts the services (about 40) using TCP as an endpoint for each service. When I run my application and the services are being called the application freezes up. If I set a break point where the services are called and step through each service call everything execu
-
- How to access data from DragEventArgs
by Kanhaiya
- 1 Replies
- Last post
by Yi-Lun Luo - MSFT
- I am doing a sample of Inter Operability. I have a Window (2.0 Form) in which I have a tree view control of 2.0 on the left and on the Right side I have User Control of 3.0 hosted in ElementHost object.
Now the problem is that when I am trying to drop an entity from tree view control onto ElmentHost and trying access the object dropped on to it from DragEventArgs of UserControl it says that
-
- Window hangs during long operation
by Scott Grosch
- 1 Replies
- Last post
by Grzegorz Zygmunt - MSFT
- I've placed a ProgressBar as the only element on my window (for testing) and in the window's Loaded event I call a method that takes a very long time to complete. I pass an Action<> method to the long-running job so that it can periodically update things. So I've defined a function like this:
Code Snippet
public void ServerParsing( string server) {
this .Progre
-
- problems with MetadataExchangeClient
by Dennis Voloshko
- 7 Replies
- Last post
by jeff.jarrell
- im trying to discover endpoint of service with MetadataExchangeClient. in quite a standard manner EndpointAddress mexAddress2 = new EndpointAddress("<baseAddress>/mex");
MetadataExchangeClient mexClient = new MetadataExchangeClient(mexAddress); MetadataSet metadataSet = mexClient.GetMetadata(); I do it for two different services for first one result is an exception -
A
-
- WCF WSDL generated paths for xsd:schema, wsdl:import, soap:address wrong for WCF behind a firewall.
by ACHawk
- 14 Replies
- Last post
by Gabriel Lozano-Moran
- My WCF server is behind a firewall https://www.myserver.net/QA/WS wsdl but the schema locations are incorrect in the wsdl
<xsd:schema targetNamespace=" http://www.myserver.net/Imports "> <xsd:import schemaLocation=" http://10.3.100.01:860/WS xsd=xsd0 " namespace=" http://www.myserver.net " /> <xsd:
-
- Hello Need little help with building my first SilverLight site :-)
by Epsilone3
- 2 Replies
- Last post
by LesterLobo - MSFT
- Hi !
Just jump into silverlight and really I do a lot of programming but never build a site.
So I going to build my first site in SilverLight.
And I want your help guys & Girls in some issue.
So ..
1 ) Did any one can send me a master page of website with SilverLight & C# ,
and maybe the list of the files that need to be there .
2 ) Wh
-
- handling MSMQ overflow in WCF
by Jobycp
- 2 Replies
- Last post
by Jobycp
- Hi,
I am making WCF calls over MSMQ in my application. There can be a scenario where the Queue is full and no more messages can be written.
How do we ensure that the Queue is not full before we make a WCF call which is using MSMQ
Thanks
Joby
-
- using ServiceHost to host more than one service
by Sam Andy
- 2 Replies
- Last post
by Dave Cliffe - MSFT
- Is there anyway to host more than one Service using ServiceHost class
Thanks,
-
- LINQ TO SQL (dbml)
by Avada Kedavra
- 1 Replies
- Last post
by Bltfast
- Why is the class that gets generated , does not implement things in a TRY CATCH FINALLY, to catch SQL exceptions Or do I have to wrap method calls into that but then what exception types are thrown Thanks, and please fix the auto-gen tool, or advice.
-
- How to arrange items of a ListBox in this way?
by LeoXue
- 5 Replies
- Last post
by LeoXue
- Normally, the items of a ListBox is arranged in order. Seems like:
Item1 Item2 Item3
Item4 Item5 Item6
Item7 Item8 Item9
But in my situation, I hope the items to be listed in this way:
Item1 Item2 Item3
Item4
Item5 Item6 Item7 Item8 Item9
I know it's really strange. But can I make this happen
Thanks
-
- Grant assemblies access using relative paths
by J&#38;&#35;233
- 4 Replies
- Last post
by Jérôme Deprez
- Hi,
I'm developing a xbap application where dlls are loaded dynamically using the following code:
Code Block
Dim dir As String = AppDomain.CurrentDomain.BaseDirectory
Dim fullpath As String = IO.Path.Combine(dir, "Resources\Mydll.dll" )
oDLL = Reflection.Assembly.LoadFrom(fullpath)
I set these dlls as "Build Action :Content
-
- Retrieve ItemsControl index from mouse position
by Aybe81
- 3 Replies
- Last post
by Aybe81
- Hello everyone,
I have a collection of items in panel, I want to move an UIElement to another place in the collection, by dragging it.
However, I couldn't find any method about getting the current index from mouse position,
like GetChildAtPoint in Windows Forms ...
The insertion would be like that :
ItemsControl targetItemsControl;
targetItemsControl.
-
- Observation About Using Namespaces With Class Definition in XAML
by Greg McPherran
- 5 Replies
- Last post
by Marlon Grech
- This is not a question. I was having a problem building and I determined the cause so I am sharing my observation so that others may benefit.
In XAML when a class is defined using x:Class, the x:Class attribute can not reference a namespace that is defined in the element that is being defined. See example:
Code Snippet
<!-- X local cannot be used in x:Class -->
-
- listviewitem Texbox styling problem
by Nir_haham
- 5 Replies
- Last post
by lee d
- Hello,
I created a listview with one column.
The listviewitem itself has an ItemContainerStyle "MyContainer":
<Style x:Key="MyContainer" TargetType="{x:Type ListViewItem}">
<Style.Triggers>
<Trigger Property="IsMouseOver" Value="True">
<Setter Property="Foreground" Value= "
-
- WPF Designer event handler management from properties window?
by TylerB
- 4 Replies
- Last post
by Yi-Lun Luo - MSFT
- In the WPF Designer in Visual Studio 2008 Beta 2, I noticed that the event handlers are no longer visible from the Properties Window. I know that event handling in WPF is much different than WinForm event handling, but does this mean we won't have a way to graphically manage event handlers through the WPF Designer
-
- ListView row style problem
by DiamonDogX
- 4 Replies
- Last post
by DiamonDogX
- I have a default listview style defined as follows:
Code Snippet
< Style TargetType = " {x:Type ListViewItem} " >
< Setter Property = " Foreground " Value = " Black " />
< Setter Property = " HorizontalContentAlignment " Value = " Left " />
< Setter Property = " Margin " Va
-
- Reading and Writing to a port
by sibitg
- 8 Replies
- Last post
by Mark A. Richman
- I am developing a WCF application. I want my WCF Service read data directly from a port and my WCF Client write data directly to a port. Is it possible If so how
-
- complicated problem with scrollviewer
by Fabio007
- 4 Replies
- Last post
by Fabio007
- Hi, sorry for my english.
Code Snippet
I want build a control alike listview and my problem is the scrollviewer. the problem in this xaml is that the StackPanel "StackHead" and "StackFoot" is not fixed:
<Window x:Class="WpfApplication7.Window3" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schem
-
- Code Lists and XSD Designer
by Ian Thomas
- 2 Replies
- Last post
by J. Healy
- The finance industry (and others) have "code lists" / vocabularies / enumerations that are specific to their industries, but an ongoing problem is the maintenance of these lists and the re-design of the "primary" enumeratiuon from time to time.
One approach is "genericode" - an evolving standard for the "generic" code list. There is an OASIS technical com
-
- WCF Services - the best testing approach
by Serge Rusovan
- 4 Replies
- Last post
by Gabriel Lozano-Moran
- My company is currently looking for the reliable, secure and good SOA test tool for testing WCF services.
Our SW department has just started development of the new WCF services.
We use Web Services Software factory to build WCF services solutions.
There are two flavors of Service factory: one for ASP.NET Web Services (ASMX) and another for Windows Communication Foundation (WCF).
-
- Corrupt file problem while installing Orcas
by Manes
- 6 Replies
- Last post
by Manes
- I downloaded all 8 files from http://www.microsoft.com/downloads/details.aspx FamilyID=5d9c6b2d-439c-4ec2-8e24-b7d9ff6a2ab2&DisplayLang=en to install Orcas Beta 1 but while running the extractor I got the following error message: Extracting msdn\Program Files\MSDN\MSDN9.0\1033\cpref.hxs CRC failed in msdn\Program Files\MSDN\MSDN9.0\1033\cpref.hxs Unexpected end of archive and a dialog that sai
-
- Image file management suggestions?
by DiamonDogX
- 8 Replies
- Last post
by Luc Vo Van
- I am constantly referencing images in XAML and code by doing things like Source="../images/hello.jpg", having to specify the relative path of the image. Is there a way to make something like an Images project and always be able to reference images in your code from that project without having to worry about path issues Like being able to say something like Source="Images:hello.jpg&
-
- 3D photo gallery question
by fibonacci1123
- 6 Replies
- Last post
by Jordan Parker - MSFT
- Hi! I want to create a 3D photo gallery where the pictures are put in categories. Each category is a WrapPanel and is put on the inside face of a cylinder (like in the OTTO application). I've managed to create a cylinder and to apply a single image texture on it, but I don't know which is the best (and easiest) way to put a collection of WrapPanels. I thought about 2 ways: 1. Use the whole cylinde
-
- Linq multiple values to single string
by LikeLinq
- 3 Replies
- Last post
by Keith Farmer
- Hi,
In my database design I've several teachers who can teach different classes.
My database design (in short and no sql syntax):
table Teachers(int teacher_id, string firstName, string lastName)
table Classes(int class_id, string className)
table ClassDivision(int teacher_id, int class_id)
Now I want an output as follows:
Teacher A: Classes 1, 2 and 3
Teacher B: Cl