-
- RichTextBox bug?
by Tom581157
- 2 Replies
- Last post
by Chad Magendanz
- It seems there is a bug in the horizontal alignment of RichTextBox. If you run the following sample, you'll see that the text box is corretly aligned to the left while the rich text box is not. Any idea why <StackPanel> <RichTextBox HorizontalAlignment ="Left" Background ="Red"> <FlowDocument> <Paragraph>Hello</Paragraph> </FlowDocument> <
-
- how to play a story board using button??!!
by mayar
- 5 Replies
- Last post
by Marlon Grech
- hi ,
i have created a storyboard using microsoft expression blend. i would like to start this story board when i click a certain button. however, i canot access the storyboard that i created in the xaml file from the xaml.cs file to start it. i donot know how to start the storyboard on the click event of the button. any suggestions are appreciated. thanks in advance.
-
- Navigating to page in another project.
by Zajda
- 4 Replies
- Last post
by Zajda
- I have multiple projects in my solution and control instantiated in project 1 wants to navigate to a page placed in project 2. Anyone know how to put the right uri together
Thanks
-
- error code 1603 while installing orcas express edition
by Aquarius05
- 7 Replies
- Last post
by John Oliver (UK)MSP, VSIP
- i am unable to install visual c# code name "orcas " express edition
i checked the error logs in the temp directory and
it says
04/29/07,11:27:29] Microsoft .NET Framework 3.5: [2] Error: Installation failed for component Microsoft .NET Framework 3.5. MSI returned error code 1603
how to resolve this
-
- How can a service UNsubscribe callback event if the client crashes?
by DNEX
- 3 Replies
- Last post
by DNEX
- I have a Singleton service which has a bunch of callback events. When the client normally quits it can unsubscribe those events. The problem is in case the client crashes and does not have a chance to unsubscribe the events. Next time the new client calls in and the service crashes in callback. I verify this by intentionally skip unsubscribing event when a client exits. Does anyone have an idea to
-
- SvcUtil problem generating proxies with typed datasets
by SkipSailors
- 2 Replies
- Last post
by NDG - Nico De Greef
- I understand questions like this have been asked and answered here, but I can't quite tie them to my situation. I hope someone can help me understand.
I want to generate client classes with SvcUtil.exe, so I type at a prompt something like
svcutil.exe /noconfig /serializer:DataContractSerializer http://localhost/serviceserver/SomeService.svc
I have about a dozen services. about half o
-
- Why doesn't CreateMessage throw an exception for un-serializable body contents? (POX messaging)
by Kevin Hoffman
- 4 Replies
- Last post
by Kavita Kamani - MSFT
- I just posted a blog entry here where I detail a situation in which I can legitimately and without exception make a call to CreateMessage where it will be physically impossible to serialize the contents upon transmission to the client.
Basically it goes like this: I accidentally left off the [DataContract] attribute on a class and then I created a message that contained a list of that class (e.
-
- WPF-Images in Combobox
by MaheshBabu
- 1 Replies
- Last post
by Yi-Lun Luo - MSFT
- Dear All,
I am working with WPF. I have a combobox on .xaml file. In this combobox I am displaying images. I wants to show the image in Image controls selected from combobox, but it is not working. can anybody help me/
Following is the codeof my combobox.
< ComboBox Height = " 79 " Margin = " 189,10,211,0 " VerticalAlignment = " Top " Name =
-
- How to inherit from FaultException<TDetail>?
by Parker Lewis
- 2 Replies
- Last post
by Parker Lewis
- Hello everybody
Is there a way to inherit from FaultException<TDetail> I tried this:
public class MyFaultException<TDetail> : FaultException<TDetail> { } But how do I have to specify the constructor Whatever I tried caused compilation errors.
Kind regards
-
- Parametrized mapping
by alexcomanescu
- 7 Replies
- Last post
by Zlatko Michailov - MSFT
- Hi,
I have a Category entity which have a Name property.
In the database, I have a CategoryTable table which have a Name_XX column for each language supported:
Name_EN, Name_FR, Name_DE etc.
Is there a way (or it'll be) to map my Category entity to the table, according to a language parameter
For EN:
Catergory.Name <=> CategoryTable.Name_EN
for F
-
- SQLMetal: How do you use the /provider option?
by Joe Rattz
- 12 Replies
- Last post
by Joe Rattz
- What's the scoop on the /provider option for SQLMetal I don't see any doc on it, nor can I find anything on the net about it. What is it for What are the valid options
Is this just a hook for other database vendors to be able to leverage
The help displayed when you run SQLMetal says the default is determined at runtime. I assume the default is the provider for SQL Server, but what
-
- How can change bound of a element with animation?
by RadObject
- 6 Replies
- Last post
by Wei Zhou - MSFT
- Hi,
I want to make a animation for a elemt like FrameworkElemnet to change scale into 2x ( for example : from (4,4,8,8) change to ( 2,2,16,16) smoth with animation).
How can I do it with C# code
Thanks
-
- How to install the .NET Windows Service that hosts a WCF service on Vista
by orouit
- 6 Replies
- Last post
by Serge Calderara
- Hi,
I have developed a simple Windows Service to host my WCF service (netNamedPipeBinding) and I cannot install the Windows service using InstallUtil.exe.
This perfectly works on XP but Vista refuses to install it. I tried to put the command line in a .Bat and run this bat in Administrator mode but this time this is the InstallUtil.exe that fails to run (it cannot find its configurat
-
- 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
-
- Exception on System.ServiceModel.AddressAlreadyInUseException (ChannelListener)
by ChannelListener
- 5 Replies
- Last post
by Shy Cohen - MSFT
- I have an application which tries to host WCF service in a separate process.
So in my application, in the main process it has WCF service (called MainService), then in MainService, it starts another service by creating new Process() and the executable in the children process will use ServiceHost() to create a new WCF service.
When the MainService is stopped by using ServiceHost.Close(), and
-
- How to use ObjectDataProvider MethodName to pass dynamic parameters instead of hard coding parameters
by Jo
- 8 Replies
- Last post
by Jo
- I am using ObjectDataProvider throughout my app and it works great as long as there is no parameters or parameter can be hard coded.
But I have a need to pass parameter to a method and allow it to take dynamic parameter as follows
< ObjectDataProvider x:Key = "ExampleChart " ObjectType = " {x:Type src:BLChart} " MethodName = " GetCharts " >
-
- More ability to override SyncAgent would be useful
by Mark Roberts
- 1 Replies
- Last post
by Yunwen Bai
- Hi, I have a subclassed SyncAgent, for which I would like to do some additional work when the Synchronize() is called. It is not marked as virtual so I cannot override it. I have overridden the OnStateChanged method, but this is only called if there are event subscribers. I believe the only way I can run code "BeforeSynchronize" is therefore by hooking the StateChanged event from within
-
- How to runtime load and run remote wpf class and pages
by Umit Gunduz
- 4 Replies
- Last post
by Umit Gunduz
- I have three project
Project A (this is running XAML Browser application)
contain MainPage.xaml
location is user locale
Project B (this is class library and contain XAML pages and Project B included reference Project C)
example PageB1.xaml, PageB2.xaml
Project C (this is class library and contain XAML pages )
example PageC1.xaml, PageC2.xaml
Project B and C
-
- Frequent Crashes When Editing Source Code (Part II)
by NTDeveloper
- 14 Replies
- Last post
by AlexBB
- I am getting frequent crashes in the CSLANGSVC.DLL module when I am editing (or, in some cases, viewing) source code. It's so bad that I'm considering rolling my installation back to Beta 1. I have even been forced to edit some methods outside Visual Studio. The methods that have given me the most trouble involve generic collections; however, I'm not sure that's the issue but it's my best guess.
-
- SqlMetal capitalization and pluralization
by Steve Owens
- 1 Replies
- Last post
by Miha Markic
- Question one:
I'm wondering why SqlMetal changes the capitalization of table names The database has "aa_Services", but it comes out "Aa_Services" in the generated class. I don't see a documented switch to control this behavior.
This is something you can get used to I suppose, once you're aware of it. Still, it's odd when you've been used to using the lowercase n
-
- How do I get the selected rows of a ListView?
by Christian Feininger
- 1 Replies
- Last post
by Christian Feininger
- Hello,
I am pretty new with working with WPF. I create in C# dynamically a ListView which contains a GridView. The GridView contains GridViewColumns . The first Column contains a checkbox which is provide as a resource in the xaml file like this:
Code Snippet
< DataTemplate x : Key ="checkbox">
< CheckBox IsChecked ="{Binding IsSelected,
Re
-
- Binding and DisplayMemberPath
by George F DArcy
- 6 Replies
- Last post
by George F DArcy
- Hi all,
I have a ComboBox whose ItemSource is a collection (MyCollection) of custom objects (of type MyKeyValueObject). MyKeyValueObjects have two properties; Key and Value. Value is what is seen in the ComboBox, and Key is the value I want to store in the database.
The ComboBox is in a Grid. The Grid's DataContext is another object, we'll call it MyMainObject.
like this;
-
- Sync Services for Mobile Application
by Tek_Tim
- 11 Replies
- Last post
by tech_tantra
- Hi, I am creating windows mobile application for pocket PCs and would like to use ADO.NET sync services to synchronize data with SQL server 2005. Users of this application will always be in a connected state when synchronizing data. Is it possible to write a web service that makes use of sync services to synchronize data between my windows mobile application and SQL server 2005. Thanks Apurva
-
- Real World Linq To SQL usage
by Justin Etheredge
- 11 Replies
- Last post
by Matt Warren - MSFT
- I have a quick question about how Linq to SQL might be used in a typical business layer of an application. In most business layers that I have seen the business objects are split up into several namespaces even though these objects may have references between each other. So you might have a namespace called Membership that has all of your objects related to users, roles, etc... and you might have
-
- Render Image Animation
by Bruno_Silva
- 2 Replies
- Last post
by Bruno_Silva
- Hi,
I need to create a custom control that takes an ImageBrush and splits it in 9 parts and draws them, and I also need that when the mouse is on top of the control it fades to another image. Is there any sample of how to do something similar At least I need to know a way to draw the image in 9 parts, if I can't find another way I'll put another copy of the control on top for the animation.