-
- Can't install NET Framework 3.5 because of NET Framework 2.0 SP1
by VLADX
- 0 Replies
- Last post
by VLADX
- To figure why the NET Framework 3.5 doesn't install during "Orcas" Setup, i tried installing it alone.Here's the errorr log: [05/15/07,14:53:32] Microsoft .NET Framework 2.0SP1 (CBS): [2] Failed to fetch setup file in CBaseComponent: reInstall() [05/15/07,14:53:32] setup.exe: [2] ISetupComponent: re/Post/Install() failed in ISetupManager::InternalInstallManager() with HRESULT -2147467260
-
- MediaOpened event not fired when LoadBehavior is set to Manual
by Terminator
- 8 Replies
- Last post
by Terminator
- Hello,
I create a MediaElement as so to load a music file:
Code Snippet
MediaElement me = new MediaElement ();
canvas.Children.Add(me);
me.LoadedBehavior = MediaState .Manual;
me.UnloadedBehavior = MediaState .Manual;
me.MediaFailed += new EventHandler < ExceptionRoutedEventArgs >(me_MediaFailed);
me.MediaOpened += new RoutedEventHandler (me_MediaO
-
- SelectedValue in ComboBox doesn't get updated
by Jesper Kleis Jensen
- 7 Replies
- Last post
by Jesper Kleis Jensen
- Hi, I'm having a problem with a ComboBox where the SelectedValue doesn't get updated when the SelectedItem does. I have set the SelectedValuePath and the SelectedValue is bound, and with Snoop I can see that the binding is valid (it is green). But how do I debug the problem Best Regards, Jesper
-
- How to decide which Message exchange pattern to use when implementing a custom channel
by Eitan Yanovsky
- 5 Replies
- Last post
by Regis Baccaro
- I am building a custom channel and my transport can support all 6 message patterns. I am having hard time to decide between the Request-Reply patterns to the full duplex pattern, What's the down side for implementing each one Do I lose functionality when I decide to implement one instead of the other If I want to support cases where the server side needs to invoke methods on the client side then
-
- accessing Sharepoint 2007 information using WCF?
by Mark Macumber
- 10 Replies
- Last post
by Mark Macumber
- I know it can be done, but what is the best way to, say, access a list of Documents in a document repository then make them available on a website external to sharepoint Including allowing the end user to download the documents My website that will be accessing the data will not be on the same server as Sharepoint so I cannot use the OM, but I would like to create a WCF app on the Sharepoint Serv
-
- XmlSerializerFormat: Exposed WSDL somehow not complete
by LOBOMINATOR
- 6 Replies
- Last post
by BenK
- Hello,
I used in a project the XmlSerializerFormat Attribute to have more control over the generated wsdl because the service needed to be compatible with a contract first wsdl. The service and the client works perfectly fine, altough the message handling is a bit aweful... But when I go to the ServiceMetaData Endpoint with Url WSDL the exposed WSDL doesn't show the datatypes etc. defined by my
-
- Fonts in WPF applications
by Kirill Ivlev
- 3 Replies
- Last post
by senfo
- How can I disable smooth fonts in my WPF applications. They look terrible(WinXP). I tried to disable ClearType in Control Panel, but it doesn't work in WPF
-
- Event and their handlers
by kris9542
- 1 Replies
- Last post
by Ben Carter - MSFT
- I have a Rectangle in Window1.xaml. There is another class called test.cs in the same namespace.
Can I create a handler for that rectangle in test.cs. I am sending the Rectangle object as a parameter to the constructor of test.cs.
-
- How to assign Project resource to Image.Source?
by Rob Ainscough
- 9 Replies
- Last post
by Yi-Lun Luo - MSFT
- I have an Image control (WPF) called uxLogo. I have added a resource to the project called "logo" (JPG). I thought it would be relatively simple just to do:
uxLogo.Source = My.Resources.Logo
this unfortunately does not work because uxLogo.Source needs a System.Uri type. However, I can get my image to load by going with the following code (not using Project Resources):
-
- DataBinding to aggregates/grouping
by Robert Boeckel
- 6 Replies
- Last post
by Robert Boeckel
- Hi, I have a quite simple data binding scenario for what I haven't found any solution yet in the internet. I have an ObservableCollection<Person> (Person object contains stuff like first name, last name, gender etc. / it's using INotifyPropertyChanged) and I use it as an ItemsSource of a ListBox. DataBinding works fine for that. If I add, remove or change any Person-Objects everything works
-
- Demo III Web Service Sample
by Tek_Tim
- 3 Replies
- Last post
by Rafik Robeal
- Hi, I am trying to sync data on SQL EXPRESS on my desktop using the Web services sample. However I could not find a way to remove duplicates in reference.cs as mentioned in the instructions to test the sample. Any help on this is appreciated. Thanks Apurva
-
- Where with a null value
by Ozgur Aytekin
- 4 Replies
- Last post
by Ozgur Aytekin
- Hi NG,
I'm using the AdventureWorks Sample Database for my "simple" LINQ Application.
I defined the following statement:
Code Snippet
10 Table<Product> Products = dctx.GetTable<Product>();
20 Table<ProductCostHistory> ProductCostHistories = dctx.GetTable<ProductCostHistory>();
30 var prods = from p in Products
40 wher
-
- Username/Password validation with additional information
by David.Haney
- 5 Replies
- Last post
by Todd West - MSFT
- Like many folks, we have an existing store of usernames and passwords that we must validate against for our WCF services. I've gotten a sample working by inheriting from UserNamePasswordValidator and implementing IAuthorizationPolicy. These two pieces allow us to utilize WSHttpBinding and NetTcpBinding with message level security.
The problem lies, however, in that I need an additional piec
-
- Error in Binding Elements
by abhas
- 4 Replies
- Last post
by abhas
- hi friends, I am creating a peer to peer application in which I am creating a Service Host and then a channel in the same application but when I open the channel I get the following error : Binding settings conflict with an existing instance that is using the mesh name.Please check value of the property port. Please guide me how to resolve the error.
-
- Can't Install .NET 3.5 Framework
by Eric Legault
- 14 Replies
- Last post
by normhaga
- I cannot install the .NET 3.5 Framework, either via the individual download, or through the Orcas setup. Here's the log: [05/04/07,10:59:01] setup.exe: [2] ISetupComponent: re/Post/Install() failed in ISetupManager::InternalInstallManager() with HRESULT -2147023293.
[05/04/07,10:59:01] VS70pgui: [2] DepCheck indicates Microsoft .NET Framework 3.5 Setup is not installed.
[05/04/07,10:59:02] VS70p
-
- Interop question about WCF (for Gurus)
by milax
- 3 Replies
- Last post
by BenK
- Hello,
I have a WCF Web Service using wsHttpDualBinding because I need a callback to Java client.
I read Mr. A.Gupta's blog that if WCF Service uses wsHttpDualBinding for interop working is not guaranteed.
I also tried to config wsHttpDualBinding in WCF Service Config file as follows: <bindings>
<customBinding>
<binding name="Binding1">
<reliableS
-
- WCF with Relay service
by salonishah
- 8 Replies
- Last post
by salonishah
- Hi all, I want to develop an application which allows me to send the message to the users who are behind NAT and firewalls.How could i do this using the WCF and relay services.Can anybody provide me some samples or tutorials which uses wcf and relay binding in .net 3.0 Regards, salonishah
-
- Set wpf tabitem name in c#?
by Jason Rowley
- 2 Replies
- Last post
by Jason Rowley
- I have a treeview control that is populated from a database. When a user clicks a treeviewitem, I am building tabs dynamically with further details from the database. I want to prevent already opened tabs from being created, but it's not working quite right. If I build a tabitem and assign it a name in XAML, my code works fine. However, dynamically created tabitems are not found. Any pointers woul
-
- The Math from the Path
by Drizzt
- 1 Replies
- Last post
by Charles Petzold
- Hi all.
I have a -I hope- simple question about Path: I need to get the curve formula from the path definition in XAML.
Scenario is: a designer use Blend to draw a curved path and then, from code, we want to put objects along the path lenght (let'say, for example "put a circle 500 units from the beginning".
What I'd need to know:
1) Blend always use Berzier cu
-
- Alignment vs ContentAlignment
by Alekomar
- 4 Replies
- Last post
by Matt Hohn [MSFT]
- From microsoft.public.windows.developer.winfx.avalon Consider a Window W, Button B, and TextBlock T where W.Content = B and B.Content = T T may be aligned inside B by setting B.HorizontalContentAlignment and B.VerticalContentAlignment. However T.HorizontalAlignment and T.VerticalAlignment have no effect. B may be aligned inside W by setting B.HorizontalAlignment and B.VerticalAlignment. W.Hori
-
- Sharepoint BDC ASMX Service using 'Add Service Reference'
by pallz
- 4 Replies
- Last post
by pallz
- Hello all,
I added an ASMX web service which sharepoint provides using the 'Add service Reference' instead of the 'Add web reference'.
It gave me the following output.
< xml version = " 1.0 " encoding = " utf-8 " >
< ServiceReference >
< ProxyGenerationParameters
ServiceReferenceUri = " https://DotNet/sharepoint/_vti_bin/bu
-
- Building Entity Model locks up Visual Studio (Beta2)
by C-L-O
- 4 Replies
- Last post
by Noam Ben-Ami // MSFT
- I have a project containing an Entity Data Model (Beta 2) that locks up Visual Studio when I build the project. I was able to generate the edmx file and diagram using the EDM wizard, but when I go to build the project immediately after running the wizard, Visual Studio locks up and CPU usage goes to 100%.
I tried the same thing with the Northwind sample database and did not run into this pr
-
- PerCall storage
by DotNetDave
- 3 Replies
- Last post
by Brian McNamara - MSFT
- Hi,
Can anyone tell me if there is someway of creating a per call storage area. What i have is and object that is passed using a message header on the operation call. On the service side the object decodes the message header to rehydrate it's and then become available for service code.
What i want is for service code to be able to call MyClass.Current, what i had at first was upon access of
-
- WPF and function pages
by zzH
- 3 Replies
- Last post
by zzH
- Hi;
I developpe an application WPF with C# and I use function pages. I want to know how to make that all my functions pages inherit one only. I try this :
public partial class PFInherited : MyNamespace. Mother
{ ...}
public partial class Mother : System.Windows.Navigation. PageFunction < object >
{
public Mother ()
{
InitializeComponent();
-
- Does msmqIntegrationBinding support MemoryStream Serialization?
by oaix
- 3 Replies
- Last post
by hantana
- Hi, All
I have a messageContract that includes a Stream as messageBody, when send via msmqIntegrationBinding, it gives me error saying error when serialize the XML document. i guess i missed something. anyone knows
plus, XmlInclude(typeof(System,.IO.MemorySream))] refuses to work for me as well.
Thanks a lot
oaix