-
- How to call a WCF service from an XBAB client
by Peter Schmeichel
- 3 Replies
- Last post
by Clement Leung - MSFT
- I want to call a WCF service from an XBAB client. The service is hosted in IIS. When I call the client, the browser returns "Die Vertrauenswurdigkeit ist nicht hergestellt" (not shure what the english version would say). The XBAP client is configured to run under full trust. It is signed with a temporary key. I can execute it from Visual Studio, thus circumventing IIS.
-
- Example about using Streaming encoding to transfer a large file in WCF
by jdang
- 4 Replies
- Last post
by jdang
- Hi Everyone,
Does any one have a good example about how to transfer large files using NetTCP binding and Streaming encoding in WCF.
Regards,
Jdang
-
- Unknown Error when trying to register
by malky
- 2 Replies
- Last post
by OldDogNewTrick
- Have just installed part of Express from DVD -
"Unknown Error" when trying to register VC# 2K8 express and Webdev 2K8
everything else seems Ok so far
-
- deleting SQL rows
by ehsano2
- 2 Replies
- Last post
by Talico
- hi
I have table with the dataes in it some are null and some are filled , I want to delete the rows menualy , but the error apeares :
aproblem accurred attemping to delete rows
Error source: microsoft.visualstudio.datatools.
Error Message : the row values updated or deleted euther do not make the row unique or they alter multiple rows.
-
- CollectionDataContract OnSerializing not called
by Eric Wellnitz
- 6 Replies
- Last post
by Lex007
- Is there a way to hook into the OnSerailizing event of a collection I've tried:
[ CollectionDataContract ] public class EntityCollection : Collection < Entity > { [ OnSerializing ()] private void OnSerializing( StreamingContext context) { //never called } }
-
- Syntax Error...
by bodhialok
- 9 Replies
- Last post
by Xanadu2000
- I am transforming one of my existing projects to start using LINQ. I am facing syntax error when I try to use LINQ query inside an ASP.NET page. But when I use the same query in a seperate class (like Business Layer), it runs fine. The syntax error is all over the place for that query, so I cant understand. Could be something very little. Help me out please!!!
//Data fetched from LINQ da
-
- Showing status during Application startup
by John Dunn
- 6 Replies
- Last post
by John Dunn
- I'm having a problem figuring out how to best give my user feedback when loading a large file into my application. If the user double clicks on a file the application is launched with it's argument being the file to load. The problem is that with my current implementation, the entire file is loaded before anything is displayed to the user. Obviously this isn't the best experience but looking throu
-
- Mixed serialization modes.
by KevinBurton
- 13 Replies
- Last post
by KevinBurton
- I have an interface with two methods:
[ OperationContract (Action= "GetBsiServicesDataMessage" )]
[ FaultContract ( typeof (Buyseasons.WebServices.BsiServices.FaultContracts. DefaultFaultContract ))]
MessageResponseBaseType [] GetBsiServicesDataMessage( MessageRequestBaseType [] request);
[ XmlSerializerFormat ( )]
[ OperationContract (Action= "AmazonFeedDataMes
-
- mp3 AUDIO - what should i do? WPF?
by arkhivania
- 1 Replies
- Last post
by Luke R
- Hello! I have WCF service and WPF client with streaming http transfer mode. I have System.IO.Stream on client with content of mp3 file from server. How i can play it
-
- windows form controls
by Martin Knotek
- 2 Replies
- Last post
by LesterLobo - MSFT
- Hi i found this article:
http://msdn2.microsoft.com/en-us/library/ms750559.aspx
Here is NotifyIcon between controls, there have no ekquivalent in wpf. I need know, did this control from
System.Windows.Forms work in Vista
Thx
-
- Styling the ContentPresenter nested inside GridViewRowPresenter
by John Fisher
- 1 Replies
- Last post
by SerialSeb
- In XamlPad, the Visual Tree display shows the following:
:ListViewItem
:GridViewRowPresenter
:ContentPresenter
I can style the ListViewItems and the GridViewRowPresenter within Xaml, but how do I control something as simple as the Margin property of these ContentPresenters Note that it's easy to style a content presenter, but I haven't learned how to style the ContentPresen
-
- "Orcas compiler could not be created"
by kettch
- 5 Replies
- Last post
by Wolfen
- I've got Orcas beta 1 installed on Vista Business and I'm having trouble with projects.
If I try to create a new Silverlight project I get an error that says "Error HRESULT E_FAIL has been returned from a call to a COM component."
It still creates the project file through, but if I try to load the project directly I get the following message: "Project 'appname' could n
-
- Where is the registration key?
by ChefSeattle
- 2 Replies
- Last post
by Vickioc
- I have been using Visual C# Express Orcas edition for some time now. At startup, it now asks me to enter the registration key. I could not find a web page to get a registration key. Where is it
-
- Get value of property without knowing type
by bes7252
- 2 Replies
- Last post
by ivolved_Mike_Brown
- I want to do this:
UIElement element; for ( int i = 0; i < mainCanvas.Children.Count; i++) { element = mainCanvas.Children ; MessageBox.Show(element.Name); ... }
UIElement doesn't have a Name property, but most of the time my object will. How do I determine the existance of the name property, then get its value once I know it exists
Brian
-
- UserControl Issue
by Sam Andy
- 11 Replies
- Last post
by Marco Goertz - MSFT
- I have a userControl, I need to know how can I add it to the toolbox if its possible. and how can I set its Icon(ToolbooxBitmap Icon).
-
- Web Service
by thiru.A
- 2 Replies
- Last post
by BenK
- Hi, I am trying to write a .NET application that uses Web Services. I want my user to Select Local Machine or a Remote System from a list. Once they have selected, the Web services will be executed on this machine. Is there a way that i can dynamically change server IP on which the web service running
-
- WCF, VBScript and Authentication
by G Sharp
- 4 Replies
- Last post
by Todd West - MSFT
- Hey Everyone,
I really appreciate your taking the time to look at this for me - I've been pulling my hair out...
I'm trying to host a SOAP (or similar) service in WCF that can be used by VBScript. So far - this is easy. I've created the contract and bindings, and hosted the service in a Windows Service (I don't want to use IIS as this is to be installed by many people in many differe
-
- Throwing exceptions when UI is loaded
by Josh Smith
- 4 Replies
- Last post
by Matt Galbraith
- If I create a WPF Window and throw an exception in a handler for it's Loaded event, the Window opens and the exception is eaten alive. The only side effect of the thrown exception is that there is a very brief black flash in the Window as it opens up.
Why is this What's going on here I noticed in the Callstack that some MS methods are executing with names like "TryCatchWhen" and
-
- Can we add an operation to a service description once the serviceHost has opened?
by Aruntc
- 12 Replies
- Last post
by Brian McNamara - MSFT
- Initially my service has say two methods. I want to add a third method by calling one of the two methods. If any new client subscribes to the service it should be able to call all the three methods. The method which should be invoked when the dynamically added operation is called is implemented in the service class. Is this feasible
-
- PPT to WPF?
by Paintshow
- 1 Replies
- Last post
by LesterLobo - MSFT
- Hi,
How to host ppt to wpf or convert ppt slide to image
thanks for adv
-
- Is there a way to constrain a control fit to the available width, rather than its desired width?
by AlexVallat
- 16 Replies
- Last post
by AlexVallat
- I'm having a problem with the behaviour of TextBox controls in WPF. They have the odd (for a textbox) behaviour of sizing themselves to fit the text within them, so as you type, they increase in width. This can be fixed by setting the TextBox to have a fixed Width, but I don't want it to have a fixed width. It has the correct width when there is no text in it, what I'd like is for it to be able to
-
- The difference between ObjectQuery<T> and IQueryable<T>?
by Elvijs
- 4 Replies
- Last post
by Daniel Simmons - MSFT
- What's the difference between the two above And in which cases should I use each of them
-
- Propogating inherited DPs to the adorner layer
by Josh Smith
- 12 Replies
- Last post
by Josh Smith
- I have a TextBox whose adorner layer has an adorner which contains a ListBox. The ListBox displays strings (suggested spellings for misspelled words in the TextBox). When the user spells a word incorrectly, they can press F1 to display a list of suggested spellings in the adorning ListBox. After they select a suggestion, the typo in the TextBox is replaced with the selected suggestion. That part w
-
- XBAP permisson problem
by Euclidez
- 5 Replies
- Last post
by Euclidez
- Hello. May be you can help me with this problem. I want to make a rss app using xbap. The problem is that when I load the XmlDocument an exception is throw. WebPermissons exception. How can I read a xml file from xbap application
Thanks a lot !!!
-
- How is multiple content handled?
by Scott Grosch
- 6 Replies
- Last post
by Bragi
- In a custom control where the caller would do something like this:
<MyControl>
<MyControlItem />
<MyControlItem />
</MyControl>
how do I capture with the C# code for MyControl that a new MyControlItem has been added