-
- Why is XAML Serialization sandboxed?
by bes7252
- 5 Replies
- Last post
by Eli Cohen
- Why is XamlWriter.Save() sandboxed Am I understanding correctly that this is a limitation of the implementation and not security related
It's very frustrating to have a nice way to capture the layout of a Canvas an store it, but find it doesn't work for XBAPs. Any other suggestions
-
- Three-state CheckBox and data binding
by Ricardo Smania
- 4 Replies
- Last post
by Ricardo Smania
- Hello, I have a TreeView with Three-state CheckBox items. The CheckBox's IsChecked is bound to the attribute "Checked" on the XML node. The attribute's value changes according to the CheckBox state: Checked: "True" Unchecked: "False" null: "" If I change the attribute to "True" or "False", the CheckBox changes accordingly. But here comes
-
- Anybody seen this error?
by turczytj
- 14 Replies
- Last post
by turczytj
- I get the following 3 errors logged in the event log (along with an exception thrown in my app) about every 10th time I invoke by IIS-hosted WCF service (if I run the app again, it works fine):
1. .NET Runtime version 2.0.50727.42 - Fatal Execution Engine Error (7A05E2B3) (80131506)
2. aspnet_wp.exe (PID: 1220) stopped unexpectedly.
3. Caught exception in Server.GetDefaultAircraftInf
-
- Sorting a ListView
by dob_xml
- 1 Replies
- Last post
by Yi-Lun Luo - MSFT
- Hi,
I have written a
GridViewColumnHeaderClickedHandler
which can get the
GridViewColumnHeader headerClicked = e.OriginalSource as GridViewColumnHeader ;
string header = headerClicked.Column.Header as string ;
This gives me "Funded Exposure" but what I need to do the actual sorting is the Binding Path i.e. "FundedExposure"
How c
-
- Microsoft Update doesn't work!
by SanityLost
- 0 Replies
- Last post
by SanityLost
- I recently required a virus on my computer. After three weeks and two hundred dollars later it runs. Not very well however. When I try to click on Microsoft Windows Update, or go to the site, it'l bring up the folder for a few seconds never showing the contents of the folder, and then an error screen comes up saying "Windows Explorer has stopped working" and then a few seconds later &quo
-
- Extend the last column in a GridView
by Psych971
- 4 Replies
- Last post
by Psych971
- Hi, this is something that should be extremely simple but isn't -- or maybe I'm just missing something.
I want to make it so that all my GridView cells fill up ALL available horizontal space, and not leave any awkward whitespace on the right. Additionally I want to ensure that the columns size themselves to fit their contents. If anyone's been able to accomplish this I'd enormously appreciate a
-
- Tile Tabs
by farsad ghaffarian
- 1 Replies
- Last post
by farsad ghaffarian
- Hi I wish to create tile(able) tabs. I need tile my tabs into to two panels and splitt that by Splitter. I do this in windows forms application by change my panel parent form one splitter panel to another splitterpanel. but chnage parent of all controls on panel was slow. I have too controls on each tabs. now I whis create this in wpf. What is the best way to do this thanks.
-
- one of the slider should work.
by vjsakec99
- 5 Replies
- Last post
by Josh Smith
- Hi,
I have a series of 6 Sliders whihc are aligned horizontally using a stack panel and each one has a radiio button to select on top so I wanted only the slider I select with radio button to move and all other sliders shud not work using XAML.Anybody can help me with it would be a great help.
-
- Not working after converting WCF Server(Console application) to service
by Battula
- 8 Replies
- Last post
by Battula
- Hi,
I am developing a WCF application which has to work in client - server machines, Means two server machines (one is primary server and one is secondary server) and few client machines. any of the server will act as active server to the any client machine. My server application has to do database validations (adding, deleting or updating) in current system as well as secondary sever, means
-
- Possible odd TreeView bug (sample included)
by MrJul
- 11 Replies
- Last post
by MrJul
- Using some custom style with a StyleSelector for my TreeView, I found a really strange bug, more related to ItemContainerGenerator, I think. I had to implement some drag and drop, and it appears that switching (my removing and re-inserting them) two sub-items in a sub-collection of a previously switched item in the parent collection used as ItemsSource for my TreeView lead to some u
-
- is there a way to define a complex propery?
by stswordman
- 2 Replies
- Last post
by stswordman
- I receive a error message when I use complex propery in wcf. The error message is ystem.Runtime.Serialization.InvalidDataContractException: No set method for property 'Position' in type 'microsoft.com.server' Is that mean wcf don't support complex property I try to translate the "property" to "function",then everything is ok: code snippet: [DataContract(Namespace = "http:/
-
- Overide default Namespace for a datacontract
by Firdosh
- 3 Replies
- Last post
by Carlos Figueira - MSFT
- Hi,
I am using the IRequestChannel to send and receive messages to/from a WCF webservice. My problem is that when I create a message and send it using the IRequestChannel.Request method the namespace that is used to serialize/deserialize the message body object is http://schemas.datacontract.org/2004/07/Clr.Namespace whereas the namespace used by the server is of a different format.
I tried
-
- SQL Server CE Version 3.5 for Mobile Devices Available
by malu Germany
- 4 Replies
- Last post
by Tek_Tim
- In my project I need to use synchronization between SQL Server 2005 as Server and SQL Server 2005 CE on a Mobile Device. I used synchronization Services for creating a snapshot. After this I transport this snapshot to mobile Devices. For synchronization with a mobile device I need SQL Server CE 3.5 for mobile Device. Where can I found a cab-File for installing this on a mobile device
-
- May CTP install fails on Vista
by _mthz
- 14 Replies
- Last post
by ndycrlr
- I'm trying to install the May CTP on Vista RTM running VS 2005 SP1. The install fails immediately with the following error message:
"The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2738."
If I run "msiexec /i "LINQ Preview (May 2006).msi" /log log.txt" and log the MSI ins
-
- Quick way of determining if controls overlap
by ZiggyShort
- 3 Replies
- Last post
by ZiggyShort
- Is there an easy way of determining if a control is present at a specific location I can loop through all of my controls and find their Margin/Width/Height so I can determine if a new Control will overlap or not. I was just wondering is there a method, where I can specify a Window and some coordinates, that will tell me what, if any object is present at that location
-
- Entity Framework beginner problems (.edmx files)
by IoanB
- 6 Replies
- Last post
by Julie Lerman
- Hello,
I'm a very beginner in VS2008, ADO.NET, EF and LINQ, but I have to evaluate these products for our development team. Please forgive any mistake.
After I replicated some EF tutorials and samples I tried to build an test app using our db, which is not trivial and for sure, not perfect. I used the ADO.NET Entity Data Model template to create an edmx file. I ended up with Model1.e
-
- Any use of Relationship in Insert
by hasu
- 4 Replies
- Last post
by Michael Pizzo - MSFT
- Customer -> Order When I have creates new object of Customer, and Order associated with Customer. When I say Insert Customer, Does it insert Order with that If not then, How can I achieve that I am using custom classes written by my own. Thanks & Regards Hasmukh
-
- Unable to cast object of type x to type x
by filmlover44
- 11 Replies
- Last post
by filmlover44
- Ok, what am I doing wrong object o = TopGrid.InputHitTest(hitPoint); if (o.GetType().Name == "ButtonChrome") ButtonChrome b = new ButtonChrome(); Causes this error: "Unable to cast object of type 'Microsoft.Windows.Themes.ButtonChrome' to type 'Microsoft.Windows.Themes.ButtonChrome'."
-
- Setting a SolidColorBrush's Color with a Hexidecimal Int
by n8tron
- 2 Replies
- Last post
by n8tron
- This is so basic, I can't believe I'm having to post this, but I can't figure it out from the MSND Libraries alone.
I have a color value as a hexidecimal int. How do I apply this to a SolidColorBrush
I can set it to any of the hundreds of useless predefined colors on the Colors class, but of course I have my own color that isn't specified there, and I don't want to use FromRgb becaus
-
- Changing the Font Selected
by Pati123
- 1 Replies
- Last post
by Helmut Obertanner
- Dear Sir, I am using VSTO SE,bulding a word 2007 Addin. I wont to change the font selected in word through C# code. How can i do this. Also i wont to change the whole document with text For example from Times New Roman to Arial. Tharindu
-
- Identify client machine/IP/other from service side
by dstrife
- 5 Replies
- Last post
by David Kreutz - MSFT
- I need to uniquely identify client machines in my WCF. It currently uses Window's credentials to authenticate, but in the environment it is intended for multiple people are typically logged in w/ the same username, so I need to be able to ID more specifically the machine that requests come from. I'm using a netTCP binding, as I need streaming and authentication. However, I don't need streaming in
-
- svcutil will not generate metafiles
by F. Finstad
- 1 Replies
- Last post
by Scott Seely
- I'm trying to generate client files from my ServiceHost app using svcutil. But I keep getting this message:
Generating metadata files... Warning: No metadata files were generated. No service contracts were exported. To export a service, use the /serviceName option. To export data contracts, specify the /dataContractOnly option. This can sometimes occur in certain security contexts, such as
-
- TO MODERATOR ADMINISTRATOR ALERT
by Omar Abid
- 0 Replies
- Last post
by Omar Abid
- Hey there,
I still can't register my Beta 2 ! I don't know why.
This is what I do
I open VB 2008 beta 2
Click Help > Register Product
It opens a new IE window and asks me for my windows Live Account
Then I get the following Page : https://profile.microsoft.com/RegSysProfileCenter/wizard.aspx wizid=41839cec-061f-4fad-b479-e1882f87ad13&lcid=1033&pid=76541-000-0000011-001
-
- About the Properties\Resources.resx file in WPF project.
by Larry_zhou
- 2 Replies
- Last post
by Larry_zhou
- Dear all,
Our team is going to globalize an application in WPF. And there are two kinds of string constant in code behind. One displayed for user is to be localized, which is named Localizable String by myself, and the other only used for code doesn't need to be localized, which is named Unlocalizable String.
Now we use two different resx file to save these string constant.
1. Use Propert
-
- Cascading Deletes
by Scott Bellware
- 10 Replies
- Last post
by Scott Bellware
- Folks, I've read elsewhere in this forum that retrievals of associated objects must be done explicitly by invoking Load() on the association. Is the same true for deletes Are deletes cascaded If they're not, I would expect to be able to override the implementation of an Entity's Delete() method. I'm using the August CTP. Entity.Delete() is a concrete method. I would have to shadow the implementa