-
- C# Express Orcas does not detect changes to XAML files.
by Yuval Gilboa
- 4 Replies
- Last post
by Mark Boulter
- When I click "Run" (Start without debugging) after making changes to a XAML file through the XAML text editor, VS does not detect the changes and runs the application without first rebuilding it. I have to click "Build" before clicking "Run" for the changes to take effect.
This only happens with the XAML text editor. Changes made using the C# text editor are de
-
- Force ClearType over Grayscale Antialiasing
by Ryan F
- 14 Replies
- Last post
by CharlesJ
- Anti aliasing small text tends to make the letters look blurry and indistinct. I cannot find a way to disable the anti-aliasing of text in WPF and as a result label or button text looks really bad. Ideally I'd like to disable anti aliasing globally for font sizes below a certain size. How can I accomplish this
-Ryan
rfuller987@hotmail.com
-
- 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
-
- Listbox - Center item
by mikkelbm
- 14 Replies
- Last post
by Matt Hohn - MSFT
- Hi I'm trying to create an album-viewer of all my music albums. To this I'm using a ListBox with Orientation ="Horizontal" - this is all fine, and I can see my albums. But my issue is, that I want to center the item I just pressed. How can I do that Is there an alternative to ListBox which is better to use for this purpose
-
- Linq to Sql designer generated code won't compile
by amaprog
- 10 Replies
- Last post
by Jay Hickerson MS
- Hi, I'm using Visual C# Express Orcas Beta and i'm having a very strange problem.The Linq to Sql designer generated code won't compile. I'm getting the following error messages: The type or namespace name 'Association' does not exist in the namespace 'System.Data.Linq' (are you missing an assembly reference ) Using the generic type 'System.Data.Linq.Table<TEntity>' requires '1' type argum
-
- Can't get a non-frozen instance of my storyboard.
by Roland Rodriguez
- 1 Replies
- Last post
by Roland Rodriguez
- Neither of these work in my static method, any ideas
Code Snippet
Storyboard loadAnimation = ( Storyboard ) Application .Current.FindResource( "OnUnloaded1" );
//where loadAnimation_Completed is a static event handler
loadAnimation.Completed += new EventHandler (loadAnimation_Completed);
//this fails the same way
loadAnimation.Completed += del
-
- how to create a message from scracth?
by The Markus
- 2 Replies
- Last post
by Carlos Figueira - MSFT
- Hello,
I'm writing a MessageEncoder because I'm receiving a non-standard stream and I want to create a message from it's values, so:
1) I 'understand' the parameters of the operation from the stream and use a DataContractSerializer to serialize them to the body of the message...
The question is:
How do I correctly write the body of the message Because I can write a parameter using the
-
- Position the bullet of a RadioButton
by quilty
- 10 Replies
- Last post
by quilty
- Hello, I'm desperately searching for a way to change the position of the bullet. Actually I only need to change the alignment of the bullet when the content of the RadioButton grows. I already created a custom Template for the RadioButton but either I'm blind or just plain stupid since I can't find a way to change this. The Bullet is always vertical centered - I would like to have it on the top. A
-
- Unusual ReleaseMouseCapture behavior
by Nishant Sivakumar
- 9 Replies
- Last post
by Nishant Sivakumar
- Here's what I am trying to do. I have a PreviewImage window (Window derived) that's popped up when a button is clicked. It's popped up using Show() as a non-modal window. I want it to close when the user clicks anywhere outside the window [so it behaves like a tooltip window - I cannot use the tooltip window due to various reasons].
Here's the basic code :-
Code Snippet
publi
-
- About Localization
by biaoger
- 2 Replies
- Last post
by biaoger
- In my project, there is an element Textblock with its Property Text Binding to a string and Property Textblock.TextTrimming= " CharacterEllipsis " . When the OS ¡¯ language is english, the longer text string will be displayed as a string with ¡°¡¡±, the tail ¡°¡¡± at the bottom. And when the os¡¯ language is Japanese, the longer text string will be displayed as a string with ¡° ¡ ¡±, th
-
- Problem with WPF/Windows Forms Interop
by Zhou Yong
- 8 Replies
- Last post
by jturpin
- Just try the following xaml in XamlPad:
< Page xmlns:wfi = " clr-namespace:System.Windows.Forms.Integration;assembly=WindowsFormsIntegration " xmlns:wf = " clr-namespace:System.Windows.Forms;assembly=System.Windows.Forms " xmlns = " http://schemas.microsoft.com/winfx/2006/xaml/presentation " xmlns:x = " http://schemas.microsoft.com/winfx/
-
- svcutil occasionally failing with shared generic model?
by symmetrix
- 5 Replies
- Last post
by Christian Weyer
- I have a strange problem:
I am currently developing a WCF-based application, where the model is shared between client and serviceimplementation, and I keep getting errors now and then when using svcutil.exe
I have a model class (a query object used for some fancy datafetching):
//[DataContract(Name="QFieldBinaryOf{0}")]
[ DataContract ]
public abstract c
-
- Trigger a XBAP application from the browser
by -B-
- 2 Replies
- Last post
by JDPeckham
- Hello, i have some issues concerning communicating with the outside world in our XBAP application. Because of the absense of a way to communicate through javascript with the application, we do use a webservice to pass data to our application using a pull mechanism, this works, but is not optimal.
However, now we run into another problem, were we really need to trigger the application from a
-
- How to use CaptureMouse method
by Kanhaiya
- 2 Replies
- Last post
by ivolved_Mike_Brown
- I have a Canvas in which I have added some entities and when I selected one entity and moving my mouse entity should move with it. I have implemented it but when I am moving my mouse very fast it leaves the entity. Overall, moment of the entity is not very smooth.
That's why I have tried to use CaptureMouse() method. When I am selecting an entity, I call the Mouse.Capture(<entity name>).
-
- Problem with adaptive context menus
by Mattias K
- 2 Replies
- Last post
by Mattias K
- I have a context menu with menu items. Some of the menu items have children (i.e. subgroups). The context menu is adapting it's content depending on what I right-click. This is accomplished because I have attached a command to each menu item that isn't a group, and these items become disabled when the command can't run.
Since I does't want disabled items in a context menu, I have a style m
-
- Custom credentials
by Aleborg
- 2 Replies
- Last post
by Aleborg
- Hi!
I'm working on a small project and I'm using WCF for the first time but ran in to some problems. My server app runs as a service on a Win2003 server, currently the configuration and code for the server app looks like this:
< system.serviceModel > < bindings > < netTcpBinding > < binding name = " NewBinding0 " > </ binding > </ netTcpBinding &
-
- Problem of 2008 beta 2
by YN &#39;Eli&#3
- 3 Replies
- Last post
by Bret Grinslade
- Hi All I can install and run the Visual Studio 2008 Web Develop Express with no problem, but i can't compile any website. For example , i create a new website, but there are no server control in toolsbox, if i type <asp:repeater runat="server" id="xxx"></asp:repeater>(or any other server control) in Source View, And switch to Design View , VS show me an error of 'Co
-
- WCF - Upload a file to a service with a progress bar in the client
by Freddy Mercury
- 1 Replies
- Last post
by James.Zhang - MSFT
- Hi all,
I'm currently experimenting WCF, i'm pretty new to this whole thing actually. I'm using VB.NET (VS2005). So here's the thing: I'm building a small test application using WCF to upload a file to a service. I created 2 ways of uploading my file, both work perfectly. I can send the file in chunks or stream it. I tried to add a progress bar so I could see the progress on the client sid
-
- thread question for MarkUpExtension => ProvideValue
by chongqing
- 1 Replies
- Last post
by Rob Relyea
- Hi,
I am trying to figure out a problem related to thread in ProvideValue for a custom markupextension. Somehow, the follow code will hang visual stuido and the breakpoint won't work. It seems access Thread.CurrentThread is not allowed in ProvidValue call.
Anyone know the reason
public override object ProvideValue( IServiceProvider serviceProvider)
{
System.Diag
-
- Customizing a ComboBox's SelectionBoxItem when SelectedItem=null
by Keith Patrick
- 2 Replies
- Last post
by Horshu
- I have a combobox whereby I want it ("them", really, as I've got several) to display some grayed-out, italicized text in the combo box if there is no selection (i.e. the app just started), but to show the normal item when one is selected (IE7's search dropdown does this). The catch is that I can't set ComboBox.Text to the value because IsEditable=false, so that value's ignored. I've trie
-
- SQLMetal / visual editor - connecting to remote server
by HenrikP
- 3 Replies
- Last post
by Burak SARICA
- I¡¯m unable
to find any examples for sqlmetal where it connects to a remote SQL 2k5 server
over TCP/IP. What is the syntax for the ¡±/server:¡± option for this work
Also, what
rights are required for the sqlmetal/visual editor to work Currently I have a SQL
2k5 database where the user is mapped to the ¡±db_datareader¡±, ¡±db_datawriter¡±
and ¡±public¡± roles. But the visual editor doesn¡¯t wo
-
- Softness of text and art in WPF apps, designed in Blend
by dex3703
- 3 Replies
- Last post
by Marco Zhou - MSFT
- I have a question regarding a softness or blurriness of text and art (bitmap and vector) brought into Blend. Is there a way to turn this off, so that the UI is as sharp as a non-WFP application
With text, this is apparent even in the Blend UI itself. The Blend menus and labels are not as sharp as comparable elements in other Windows applications. Designing your typical application, with in
-
- Will Orcas be faster?
by Jim Rand
- 7 Replies
- Last post
by Jim Rand
- The IDE in Visual Studio 2005 for Windows Forms development is just too slow.
One of my more complex panels (user control) contains 6 heirarchal grids, 2 tab controls, 2 data navigators, deals with 10 tables (not including lookup tables), has 23 binding sources and 3 "edit panels" for single record field view. If the panel is open in design view, it is virtually impossible to code in
-
- Treeview with Master/Detail display problem
by mraviator
- 2 Replies
- Last post
by mraviator
- I have a treeview and three textblocks. The treeview is tied to XML data, see this post for XML and XAML format:
http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=1934971&SiteID=1
When clicking on a leaf in my tree, I want to display details for that particular item to the three textblocks. In this case, I'm dealing with material properties (such as cost, density, etc of aluminum
-
- Sending a FileInfo object to client
by Jacob Pettersson
- 11 Replies
- Last post
by joe zhou - MSFT
- Hi.
I'm having trouble getting a FileInfo object through to the client. First of all, if I add a operations contract on the server that returns a FileInfo object, it all works like a charm - The FileInfo object is received fine on the client-side.
But in my setup, the operations contract returns a custom class that COULD hold some FileInfo object inside.
Here's my setup:
[ DataContrac