-
- IMultiValueConverter and Checkboxes
by Mike Gold
- 3 Replies
- Last post
by Dr. WPF
- Why doesn't the XAML fragment below compile
< CheckBox Height ="16" HorizontalAlignment ="Right" Margin ="0,0,4,62" Name ="chkConsent" VerticalAlignment ="Bottom" Width ="120">
< CheckBox.IsChecked >
< MultiBinding Converter ="{ StaticResource myConverter }" Converter
-
- PopUp event problem
by Euclidez
- 8 Replies
- Last post
by Yi-Lun Luo - MSFT
- Hello, may be you can help me with this problem. I've a PopUp with a Grid (child) that has a button. The problem is when I click the button the PopUp is closed. What can I do to still the PopUp open .
-
- Ultimate slowdown while browsing code
by orangy
- 8 Replies
- Last post
by orangy
- I experience very strange pauses while moving caret around the code. VS uses 100% CPU in main thread when moving caret, and about 20% when idle. I captured stacks many times and most typical is below. Note the bold text - it is almost always there, looking for designer attribute. Solution is pretty large (76 projects, both C# and VB.NET). None of other developers in the team with the same solution
-
- About assigning EventHandlers ...
by Sad
- 5 Replies
- Last post
by aaazaaa
- As you can see from my posts, i'm currently working on EventHandlers.
It seems difficult to me to retrieve all eventhandlers associated to an object so i'm trying to get only the MouseUp handler.
Here is a part of my code:
MyItem.MouseUp +=
new MouseButtonEventHandler((MyOtherItem.MouseUp as MouseButtonEventHandler)
.Clone());
This does not get the job done. I would like t
-
- how to find out that a program is being Idle for more than half an hour using .net2005 c# and wpf
by mohan nautiyal
- 14 Replies
- Last post
by Zhou Yong
- Hi,
i have created one windows application in WPF using c# ,
is there a way to find out the idle time of the application .
what i want is, that if the user is not using the application for more than 30 minute then i will prompt a message to user.
thanx a lot
mohan nautiyal
-
- Look at this
by Miha Markic
- 3 Replies
- Last post
by julioc_aragonj
- A CodeSmith template that generates DLinq classes code out of MS Sql Server database. See my blog article .
-
- Getting WPF installed?
by nick5454
- 1 Replies
- Last post
by Eddie Li
- Is there a link or video that walks someone thru the installation of WPF
I installed the 3.0 framework and the SDK. I opened the about window from within Visual Studio 2005 and it still says framework version 2.0.
And I dont have the WinFX template available when I try to create a new project.
I'm using Pro 2005 visual Studio
Thanks,
Nick
-
- Any chance of expression composability in Orcas?
by Joe Albahari
- 2 Replies
- Last post
by Keith Farmer
- i.e.
Expression<Func<string, bool>> linq = s => s.Contains ("LINQ");
Expression<Func<string, bool>> oracs = s => s.Contains ("ORCAS");
Expression<Func<string, bool>> either = s => linq (s) || orcas (s);
This has been mentioned before, but I'd like to reiterate it since it's not in the Jan CTP :)
This feature is qui
-
- Large scale windows application... redevelop using XBAP's? or other 3 options?
by Ryanp
- 8 Replies
- Last post
by Ruurd Boeke
- I appreciate any responses. I have been thinking about all this for a while. Detailed responses would be great!
If you had a large-scale (100's of windows) .Net windows application which you wanted to move web-based how would you approach this This application has defined end-users... so those users could install what is needed on the browser end until they have Vista...
would you
(a) Re
-
- Modelling Question in June CTP
by weblivz
- 2 Replies
- Last post
by weblivz
- I have a lookup table of types - say A, B and C. I have a table per instance of type - TypeA, TypeB and TypeC.
I then have an index table which lists all of the possible instances across these three tables with the TypeID and the type name.
So i can have:
ID - TypeName
1 - A
2 - B
1 - C
2 - C
Now, i can easily use a foreign key to map the TypeName colu
-
- why we copy service dll in to bin directory
by ramkasarla
- 1 Replies
- Last post
by Michael Green - MSFT
- Hi,
i want to know that after buiding the service, why we copy the service .dll in to the
bin directory from its original location.
-
- XLINQ - XDocument.Load()
by Synced23
- 6 Replies
- Last post
by Synced23
- Hey gang.
I was reading an XLINQ tutorial and it mentioned how to parse RSS via XLINQ and one of the first lines was loading the url. Unfortunately I get exceptions when I try and do the following in a Web Service:
XElement.Load(url);
or
XDocument.Load(url);
Can these only do file based uri's and not HTTP Perhaps the tutorial had an error
Thanks and take care.
-
- Changing drag & drop cursor on the fly
by r0x0r
- 8 Replies
- Last post
by r0x0r
- Is there any way to change the cursor shape from the standard arrow during drag and drop I'd like to allow drag and drop only if a specific condition is met. The business logic is not a problem, but changing the cursor to a stop sign is a major obstacle. The only solution I could think of is to change the AllowDrop property (set to false in DragEnter when a condition is not met, and back to true
-
- How to make canvas to NOT show its' elements outside?
by Rstr
- 3 Replies
- Last post
by Rstr
- I searched the forums and the net, but unfortunately still can't find the solution to my problem: I add elements to the canvas. Some of them are positioned outside of this canvas. I would like to make all elements visible only within the canvas area . If some of them were outside of the canvas area, they should not be visible. In other words, all child elements of the canvas should remain visible
-
- Windows authentication questions for TCP based endpoint Service.
by shyamkumar
- 5 Replies
- Last post
by shyamkumar
- Hello, I have a WCF service hosted inside a windows service exposing TCP based endpoints to the clients in the Active directory domain. What's the best security mechanism i can implement for this service to allow access for the other clients in the same domain. The service config is as follows, i am using the <transport clientCredentialType="Windows" /> Client side i am using prog
-
- Handling username/password validation errors
by varely
- 12 Replies
- Last post
by PawelPabich
- Hi,
I try to implement custom token provider as is shown in "Token Provider" sample from WCF samples collection. There, when user's credentials validation fails in my custom UserNamePasswordValidator is trown new SecurityTokenException .
On the client side i receive MessageSecurityException from which i'm not able to get error message from the server, only general exception descrip
-
- public static BinaryExpression And(Expression left, Expression right, MethodInfo method)
by msadekd
- 3 Replies
- Last post
by Joe Albahari
- Hello
apublic static BinaryExpression And(Expression left, Expression right, MethodInfo method)
anyone knows what is the MethodInfo in the signatures for
i want to do an And on two lambdas, any hints
thanks in advanced
-
- Orcas Mar CTP Samples?
by Bob Beauchemin
- 5 Replies
- Last post
by Erick Thompson - MSFT
- Are any/all of the EDM/LINQ samples included in the Mar CTP I've been successful forward-porting the October EDM samples, but I don't see any samples in the CTP itself.
Am I missing something obvious
Thanks, Bob
-
- Sorting a ListBox of strings
by Adam Miles
- 4 Replies
- Last post
by Sam Bent - MSFT
- Hey,
This really should be incredibly easy to do but all I can find is huge explanations of how to use CollectionViews, Observable whatnots, SortDescriptions etc.
In code, I want to be able to add ["Cat", "Dog", "Ant", "Bat"] to a ListBox, then be able to sort them... I've looked at SortDescriptions but have no idea what the first argument needs to be.
-
- Selecting Multiple Items in ListView Programmatically
by Jaswinder Singh Kohli
- 4 Replies
- Last post
by lee d
- Hi, I am trying to select multiple items in a ListView using the C# code. I have SelectionMode in ListView set as Extended. I have tried using the ListView.SetIsSelected(listViewItem, true) doesn't work. listView.SelectedIndex = x; listView.SelectedIndex = y; selects only y listView.SelectedItem = listViewItem1; listView.SelectedItem = listViewItem2; selects only listViewItem2 Any Ideas/Pointers.
-
- Out of memory error
by cgraus
- 3 Replies
- Last post
by cgraus
- Hi all. I am about to release the beta of my image viewing app, but I have a major issue. In fact, it's the same issue I've had to ask about here many times.
The BitmapImage class is useless for resizing images, it introduces artefacts, major ones, at some sizes on some images. The TransformBitmap class is no good to me, it holds the full size image in memory. So, we wrote GDI+ code to load
-
- IsRequired Attribute Strange Behavior
by Nate K
- 1 Replies
- Last post
by Allan-Nielsen
- I am using a WCF service and passing a lot of data to it. The object I am passing is a Data Contract composed of more DataContracts. Some of the integer values in the sub-DataContracts are not getting passed over unless I mark the DataMember as IsRequired = true. Now my question is why is this happening I should be able to set an integer value to 10 or something and regardless of it being requir
-
- Fatal Execution Engine Error
by Eric Wellnitz
- 14 Replies
- Last post
by turczytj
- Ever since the Beta II CTP, we have been getting intermitent "Fatal Execution Engine Error"s when an IIS hosted service receives its first request. This seems most common after we modify the service's code and dont issue an iisreset before running the client.
The error is occuring on all of our development machines (XP IIS 5.1) and our development servers (Server 2k3 IIS6).
Has an
-
- WCF Client Creation with custom encoder
by Matt Kemmerer
- 10 Replies
- Last post
by Matt Kemmerer
- I'm trying to create a custom encoder based on the Gzip example from MS. The host compiles and runs but when I try to add the service to the client I get an error from svcutil.exe that looks like this:
Error: Cannot obtain Metadata from net.tcp://192.168.11.90:11235/Service
If this is a Windows (R) Communication Foundation service to which you have access, please check that you have enab
-
- Commands - what am I missing?
by Ben Vanik
- 8 Replies
- Last post
by Ben Vanik
- In previous applications I've written (both in WinForms and Cocoa) I've had to do quite a bit of hacking to get my input right. I was hoping that with the new command stuff in WPF I'd be able to create something a bit more sane. Unfortunately, I just spent the last 8 hours banging my head against a wall, as I was unable to exploit the command system and also unable to get the traditional hacky way