-
- Does channels methods invoked simultaneous?
by Eitan Yanovsky
- 2 Replies
- Last post
by Eitan Yanovsky
- I've implemented a custom transport channel (request response MEP session less). I wanted to know if the methods in the reply channel are not invoked simultaneous ( WaitForRequest ReceiveRequest , TryReceiveRequest ) in one instance of reply channel. My implementation holds an inner Message field ( unProcessedMessage) in the channel that is being used by the three methods as a way to transfer dat
-
- Orcas Install Problem
by jfoster77
- 5 Replies
- Last post
by Charlie Calvert MSFT
- After some major frustration I finally got Virtual Server 2005 going on my Windows 2003 Server. I followed the instructions to the letter on the Microsoft web site for installing Orcas. Problem is, while I have Virtual Server going with the appropriate base image, I don't see anything for Orcas... I am clueless here...
Anyone know what is wrong Are the instructions leaving something out
-
- Customize ListView header
by LSDev_KF
- 3 Replies
- Last post
by LSDev_KF
- I want to customize the colors for my ListView column headers. What is the best way to do that
I've tried changing the ColumnHeaderTemplate and it works well as long as I don't try to resize my columns. If you paste the attached code into XamlPad, you'll see that the column headers are correctly displayed in blue. However, if you grab the bar between the column headers and resize the colum
-
- Canvas rendering "out of bounds" -- possible bug
by Josh Montgomery
- 7 Replies
- Last post
by Drew Marsh
- When I put the following code in xamlpad or my own application the Cyan canvas is drawn beyond the bounds of the border and over the green rectangle. In fact in XamlPad the canvas is draw under the splitter and edit pane below the rendered page. To me this appears to be a bug in the way Canvas is rendered since I would expect the canvas to be clipped by the containing border. Is this really a bug
-
- Drag Drop from WinForm ListBox to WPF ListView
by dev301
- 4 Replies
- Last post
by dev301
- Hi everyone. I'm currently working on an application that is mostly WinForm based, but has a few WPF windows here and there, and recently a need to drag simple objects from the WinForms to the WPF windows came up. Whenever I tried doing it with the tools I know, I'm getting a COM exception with HRESULT E_FAIL general code. For a visual example, I've put down some code for a simple side application
-
- How To: [XAML] Call a web service with a ObjectDataProvider and feed a grid or a listbox
by bluestrattos
- 6 Replies
- Last post
by bluestrattos
- Hello! I think i'll go crazy without getting a solution for my problem. I have a web service. I have a grid (infragistics) but i don't know how to put one of the web service's method feeding the grid. In .net 2.0 it was easy using a ObjectDataSource. it was like a breeze and in a flash everything was working. Yes i'm from the time of 2.0. For some reason net 3.0 have no objects, i mean i still did
-
- stream image decoding
by jujupouetpouet
- 0 Replies
- Last post
by jujupouetpouet
- Hi,
I want to load a high resolution image with banding. How can I do it for compressed image
I tried with BitmapDecoder but I can only get the entire image in a byte array. I want, for instance, to get the first 100 lines, then the next 100, etc..
Please help.
Thanks
-
- Help with Dependency property and validation or coercion
by cheesetarmac
- 3 Replies
- Last post
by Larry Olson - MSFT
- Hi I have a Dependency property of type double who's values I wish to restrict to the interval 0..1. I understand that I can create a ValidateValueCallback and this will raise an exception if the call back returns false. The problem I see with this is that you end up with a really nasty xaml parse error that doesn't tell you much at all if you set the value to say 1.5 in xaml by mistake. The othe
-
- a problem about the config of enviroment
by stroller
- 2 Replies
- Last post
by stroller
- Hi :
I am learn WPF by reading Charles Petzold's book. I have install the windows sdk and the vs2005 in vista OS then I intall the Visual Studio 2005 Extensions for WF and Visual Studio 2005 Extensions for WCF, WPF .
When I have to include a jpg picture to the assembly by the URI like :
Uri uri = new Uri("pack://application:,,/filename");
t
-
- Passing WindowsIdentity between services for use with Azman
by RonaldK
- 3 Replies
- Last post
by RonaldK
- Hi all,
The following scenario: a client connects to a service passing its WindowsIdentity (WI), e.g. domain\user, using wsHttpBinding. The service uses the WI for authorizing using Azman. The service depends on another service (which could also be called by other clients in different scenario's). The second service also has to authorize the WI of the initial client (domain\user).
client --&
-
- WCF 3.0 : Get the "PUBLIC IP+Port" with TcpBinding
by UFOz01
- 5 Replies
- Last post
by WillRogers
- Hi, I'm writing a client/server application and on the server side I need to get the "PUBLIC IP" of the client to do some geo-localization. PUBLIC IP : can be different of the local IP, by example if you are behind a firewall... your public IP is the IP+port of the Firewall IP+Port So, I need to get the socket to call the method "socket.RemoteEndPoint" Is there a way to do this
-
- Validation and XAML
by Grae Foster
- 4 Replies
- Last post
by Grae Foster
- I have a page with some textboxes on which participate in 2-way binding to an object. Some of the text-boxes are bound to integers and I have a ExceptionValidationRule to catch when the input is invalid. I want to disable a button when exceptions have occurred and am looking for a neat way to do this. Originally I envisaged having some sort of triggers on the button which would spot the exceptions
-
- NetNamedPipe Security Question
by Jarrod M.
- 6 Replies
- Last post
by Jarrod M.
- I have the need to flow a custom principal to a WCF service using the NetNamedPipe binding.
I know that to do this automatically it must be a windows principal - I've tried attaching the genericprincipal to the current thread of the caller and no luck.
Since the NetNamedPipe binding has limited security options, would a custom validator and authorization policy work to create my gene
-
- Does new Orcas CTP have anything new in it for WPF?
by rockowpb
- 4 Replies
- Last post
by rockowpb
- I see the March CTP for Orcas is out and it includes WPF this time. Does this CTP just include Cider as we have it in the November CTP extensions or does it include anything new. I am currently developing on VS2005 with Nov CTP extensions on it, should I move up to the March CTP Do some of the issues with Cider get resolved
-
- How to define a DataTemplate in c# code?
by AndreasL
- 5 Replies
- Last post
by Yiling Lai
- Hello, it is possible to define a DataTemplate in c# code
Here is my XAML:
Code Snippet
...
< DockPanel Name ="dplNavigation" >
< DockPanel.Resources >
< DataTemplate DataType ="{ x : Type src : Operation }">
< TextBlock Text ="{ Binding Path =Name}"/>
</< FONT> </DataTemplate
-
- Databinding and Databases
by LCARSNxG
- 2 Replies
- Last post
by LCARSNxG
- Hello,
I have a question about data binding. Many of the samples and tutorials on the internet show how you can create powerful applications simply by using databinding in Expression Blend. However, most of those samples use XML for a back end since Blend has rich support for XML.
Could anyone give me any pointers on how I could do databinding using another backend (like say an Acc
-
- Opacity 0 = Hidden?
by Ariel S
- 5 Replies
- Last post
by Anthony Hodsdon - MSFT
- Hello. If I set the Opacity of a control to 0 cero... does the framework render the control any way I mean is this optimized
TIA
-
- Cannot launch IDE
by Zim
- 2 Replies
- Last post
by C Herridge
- Hi, after installing Orcas beta2, I tried to lauch VS and there are the three entries I had in event logs : - Dependent Assembly Microsoft.VC90.CRT could not be found and Last Error was The referenced assembly is not installed on your system. - Resolve Partial Assembly failed for Microsoft.VC90.CRT. Reference error message: The referenced assembly is not installed on your system. - Generate Activa
-
- Resource Lookup problem.
by Venugopal
- 5 Replies
- Last post
by Chango V. - MSFT
- Hi ,
I have facing one problem in resource look up. My problem is i need to cancel the resource lookup for specific control. For example i have resources for TextBox or any control in <windows.resources> area. in my application some area i need to use that resources. For some other area i dont want to use that resources(Which is in <Window.Resources> section) for specific contr
-
- Contract name not found - namespace confusion? (VB.NET)
by displaced
- 1 Replies
- Last post
by displaced
- Hi,
I'm presently getting started with WCF, developing with VS2005. I'm predominantly a VB.NET programmer, although I can make my way around C# on occasion.
As part of the learning process, I'm building a small, duplex-enabled WCF service. As a guide, I'm referring to the C# 'Chatroom' sample, since it's a rough approximation of the project I have in mind.
Now, I have a basic
-
- Valentin Iliescu Chess game error
by KingCoffee
- 1 Replies
- Last post
by Chango V. - MSFT
- Hi,
I've been trying to run Valentin's Avalonchess game, but with no luck. I have successfully installed .Net 3.0 on my XP machine(i can run other Avalon apps).
But when I run the chess game from the site I get a "Windows Presentation Foundation Host" error dialog box which quotes "Windows PF Host has encountered a problem and needs to close"
Has anyone experienced a s
-
- Lots of ListView Items in my ListView = LAAAAGG....
by DocMARs
- 4 Replies
- Last post
by ivolved_Mike_Brown
- My program is quite simple really, but for some reason, when I have a lot of items in my ListView, the program hates my computer, and slows the whole thing down kinda. When I have just a few items in there, it works just fine. But, when I'm getting an array of files from GetFiles(path, searchpattern, alldirectories) or whatever, and am putting it in the ListView, where there's ALOT of files listed
-
- WCF design challenge - recording and replaying WCF communication
by Dag Sanna
- 3 Replies
- Last post
by Dag Sanna
- Hi!
SETTING: I have a WCF service that offers client applications the choice between WsDualHttpbinding and NetTcpBinding. It is a singleton service ( InstanceContextMode. Single) running a state-machine. The service is always initialized the same way during startup, so that it's state is predictable until a client has connected. The only thing that affects the state-machine is time and cli
-
- IErrorHandler and FaultException<T>
by Kim Johnson
- 3 Replies
- Last post
by venkateshwar rao gundlapally
- I have a service using an IErrorHandler from which I'd like to return typed FaultExceptions. The ProvideFault implementation does something similar to the following:
FaultException<GreetingFault> fe = new FaultException<GreetingFault>(new GreetingFault(error.Message)); MessageFault fault = fe.CreateMessageFault(); msg = Message.CreateMessage(version, fault, " http://m
-
- Does ToBindingList() convert children?
by bes7252
- 1 Replies
- Last post
by Matt Warren - MSFT
- When I have a Parent->Child1->Child2 relationship and I call ToBindingList() on Child1, are the Child2 entities also converted to static data
For example,
Customer->Order->OrderDetail
I want to convert all the orders for a customer into a BindingList. Each Order has multiple OrderDetail entries. Do I need a separate call to make the OrderDetail Tables static