-
- How to load a resource from an unreferenced assembly in a Unit Test?
by Josh Smith
- 2 Replies
- Last post
by Josh Smith
- This is a continuation of the following thread: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=1545371&SiteID=1
So I¡¯m stuck again, in a big way. The wave of joy I experienced when Zhou helped me find out how to load resources from unreferenced assemblies anywhere on the file system was short lived. I am trying to create an NUnit test method which uses that code, but it does not
-
- Mousewheel event
by pychoo
- 2 Replies
- Last post
by Eugene Dolinskyy
- I am trying to implement a zoom feature using the mouse scroll wheel into my application. I tried to look for the mousewheel event in the event windows but it does not appear.
Do I have to set some settings for it to appear
-
- MediaElement video tearing
by UncleRedZ
- 5 Replies
- Last post
by -SerialSeb-
- Hi,
When I use the MediaElement for playing back some video, I notice a lot of tearing in the video. Just like you can get tearing when playing games when VSync is off.
If I play the same video in Windows Media Player, then there is no tearing of the video at all.
Is anyone else noticing this Is there some way to fix this for MediaElement
Also forcing VSync in the
-
- A few thanks, remarks and questions
by Thierry Nenin
- 5 Replies
- Last post
by Thierry Nenin
- Hello All,
First I have to tank MSFT for the good job done since the last official VSTO 2005 SE.
Now that Orcas beta 2 inculdes Project template for Document level solutions for Office 2007, I decided to test those new feature porting a few document customizations I wrote in a near past for Office 2003 and 2007.
This "old solution" included an Application level ad
-
- how to find controls dynamically added using c# in a window
by Murtaza Ali
- 1 Replies
- Last post
by Zajda
- i have an application in which i am adding elements to a window for example i am adding a listboxitem with a unique name to a list box from the c# code. on some other event. I need to find that listboxitem using its name.
I had used the FindName method to find control but it only work when the control is in the initial XAML. it doesnot find the controls that have been dynamically added to t
-
- arbitrary column ordering when invoking Sproc
by Tim_Mackey
- 5 Replies
- Last post
by Roger Jennings
- hi, i'm using SqlMetal and binding a gridview to the return value of one of the sproc generated methods. it works fine, showing a bunch of records. However the column ordering in the gridview appears to be arbitrary, and is very different to how i have them defined in the sproc. i know i could run a linq query on top of the results selecting them into a new dynamically created class, but that isn'
-
- UI Thread switching and other complexities
by Duncan Stewart
- 3 Replies
- Last post
by Duncan Stewart
- Hi
I have just most of my day trying to convert an asmx web service to wcf service. This was not easy! (for me) Getting windows authentication working and impersonation going requires many configurations and it almost broke me! This was much easier with asmx...
My next issue is on the ui threading on my winforms client. asmx web service proxies switched to the ui thread for me when r
-
- Setting TileBrush on InteractiveVisual3D (3DTools)
by Kyle Neath
- 4 Replies
- Last post
by Epsilone3
- Hey, so I've got a panel that I want to do some 3D effects to -- flipping and moving around in 3D space. To do this, I'd like to use 3D tools Interactive3DVisual -- all is well except that it's stretching my controls to fit the mesh. It seems from a bit of research, I need to set TileBrush.ViewportUnits = Absolute. But honestly, I have no idea where to put that. Right now I've got a very basic:
-
- Simple Type Binding
by Ray Hayes
- 6 Replies
- Last post
by Ray Hayes
- Hi all,
I'm sure what I want to do should be easy, but it has got me stumped (and unless I can get it sorted quickly I may have to revert back to Windows.Forms!).
I've got a window with a CheckBox on it. In the code, I have a class with a static Boolean.
How can I make a binding between the two (bi-directional ideally) so that I don't need to write OnChecked type handlers.
In the Windo
-
- Submenu Delay
by Ben48
- 6 Replies
- Last post
by Dr. WPF
- When you move the mouse over a menuitem which is a submenuheader, there is a slight delay until its submenu opens.
This seems to be a standard feature of any windows application.
Is it possible to remove this delay
-
- Orcas Download - Ribbon Designer
by Mohan Kumar Karunakaran
- 1 Replies
- Last post
by Christin-MSFT
- Hi
I would like to know about VSTO Orcas. Is there any beta version available for download. I am developing solutions using VSTO SE and I found the ribbon designer is much easier in Orcas version. So if I can get the version I can understand ribbon designing much easier.
Thanks in advance,
Mohan
-
- Listbox scrollbar problems
by Lasse Lindstrom
- 2 Replies
- Last post
by lasseLindstrom
- Hi
I've designed a listbox using a rather complex Datatemplate. For this I used Blend2.
The problem is,,, the listbox show uo without scrollbar........ so most of the listbox information can not be seen, because I cant scroll down.
I've tried to changethe scrollbar visibility property from Automatic to Visible,
which gave me a visible scrollbar that was shaded, and not functional....
W
-
- MenuItem: Display an icon instead of checkmark
by TiKu
- 2 Replies
- Last post
by TiKu
- Hi, Could anyone please tell me how to create a checkable MenuItem that displays a custom icon instead of the default checkmark when it is checked TiKu
-
- Hosting Wcf Application in IIS
by Gladston Raj
- 1 Replies
- Last post
by RichBower
- Hi,
I am using a wcf service and it is running properly when i host it in IIS it is showing the following error
HTTP could not register URL http://+:8080/dalEnquiry1/ . Your process does not have access rights to this namespace (see http://go.microsoft.com/fwlink/ LinkId=70353 for details).
I am unable to detect the error,what does the error means and how to solve it.( htt
-
- How to know parents width and height
by lpx
- 6 Replies
- Last post
by lpx
- Hi, I have a canvas placed inside a border, which by is turn is placed inside a grid. I want to make the canvas have a ratio based on a resolution (for example 1024x768). So, i want to maximize the width and make the height depend on the first. To do that i need to know from the canvas parent how much i have for the width. I was trying to do that with the folowing line:
Code Snippet
-
- Colors from WinForms' ToolStrip?
by mabster
- 4 Replies
- Last post
by mabster
- Hi gang,
I'm just now getting into WPF, and really enjoying it.
One thing I've done a few times in my old WinForms project was to make use of the extra colour palette you get with the ToolStrip stuff. There's a "ProfessionalColorTable" class that gives you a whole bunch of extra colors to work with, which match the user's current Windows color-scheme.
Is there anythi
-
- Membership Provider + wsHttpBinding issues
by Seba Gomez
- 14 Replies
- Last post
by Seba Gomez
- There¡¯s one issue really.
I get the following error and couldn¡¯t find any tips online. Does anybody have a clue about it, or a tip or something I could use
The X.509 certificate CN=localhost chain building failed. The certificate that was used has a trust chain that cannot be verified. Replace the certificate or change the certificateValidationMode. A certificate chain processed, but ter
-
- Styles problem
by bradutz01
- 11 Replies
- Last post
by bradutz01
- Hi,
I have created a Style for the NavigationWindow ... but it doesn't apply it. The style is a general style that should apply to all NavigationWindows, The same problem for Window.
for example the style i defined it
< Style TargetType ="{ x : Type NavigationWindow }">
< Setter Property ="Foreground" V .....
-
- PathTooLongException when accessing isolated storage
by Tor Langlo
- 4 Replies
- Last post
by Chango V. - MSFT
- I'm getting a PathTooLongException when trying to read or write a file to isolated storage from an XBAP. The filename has less than 12 characters, so it appears that this is outside of my control. I'm not allowed to specify the path to the folder, nor do I have access to the path for inspection.
I have seen a one other report of this (researching via Google), but there was no answer to it.
-
- How to keep a listbox selection highlighted when focus is lost?
by LSDev_KF
- 3 Replies
- Last post
by RogerK
- I've got 2 listboxes on the same window and I want to be able to see the selected item in both listboxes simultaneously. However, it appears that the default behavior is for listboxes to remove the item highlight when the control loses focus.
Any suggestions on how to get both listboxes displaying the highlights at the same time
-
- Styles for Hyperlinks
by DSA_Dietmar
- 2 Replies
- Last post
by lee d
- I need several styles for hyperlinks. I.e.:
black & no decoration / hovering over: black & underlined black & no decoration / hovering over: black & no decoration custom color 1 & no decoration / hovering over: custom color 2 & underlined custom color 1 & no decoration / hovering over: custom color 2 & no decoration
Right now I just can assign a Style, but thi
-
- [Orcas] RichTextBox + EditingCommand
by globbe
- 3 Replies
- Last post
by Siri Vellanki - MSFT
- Hi All. Here is a quick and quirky qestion for you. Say you have a RichTextBox and a Button. The Button is set to execute the EditingCommands.ToggleUnderline command. Like so:
Code Snippet
<Window x:Class="EditorSample.Window1" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
-
- DLINQ SQL Stored proceddure
by FrenchiInLA
- 2 Replies
- Last post
by Miha Markic
- I just started to play with ORCAS, and already liked it. I made a dbml object with a Stored procedure that has 1 Parameter. Orcas made a nice Designer class that I don't understant yet all of them, but there is a Class with my stored procedure name as following:
public partial class MyStoredProcedure: global: ystem.Data.Linq.INotifyPropertyChanging, global: ystem.ComponentModel.INotifyPropertyC
-
- FaultException detail contains no values?
by Welsh-Wizard
- 14 Replies
- Last post
by Brian McNamara - MSFT
- I am using FaultExceptions to throw a specific generic error class back to the client. The class is called TestFault and when i catch the error on the client the detail part of the TestFault contains nothing, just empty strings
Code Snippet
[DataContract] public class TestFault { [DataMember] public string errorcode=string.Empty; [DataMember] public string
-
- Context Menu not staying open
by Radek Cerny
- 9 Replies
- Last post
by Radek Cerny
- I have a ListView class that is quite dynamic, and one of the options is to display a context menu on a header row click (specifically column 0, to emulate the 'empty' context menu of traditional Windows ListView with the 'New' and 'View by' items - the other columns perform a Sort). The event I capture is the GridViewColumnHeader .ClickEvent and the menu is built and attached successfully, and di