-
- WCF Web Service and Client - How to ???
by Chakkaradeep
- 2 Replies
- Last post
by Dinesh Ravva - MSFT
- I started a new WCF Web Service Project and the wizard give me two defaut OperationContract and I hosted at my IIS server. When I loaded service.svc file from IIS, I got the proper page too. Now, I create a new WPF application , add a web reference of my WCF Web Service, which is successful and then add a button and click even so that when I click , i call my WCF Web Service method. The method jus
-
- Basic EF inheritence question
by Eric Harmon
- 5 Replies
- Last post
by Zlatko Michailov - MSFT
- Hi all,
I haven't been able to get the entity designer to correctly create inherited classes for me (example: Person and Employee). I think my database is defined incorrectly. I've got the following two tables:
Person
PersonID int NOT NULL PRIMARY (autogenerated)
FirstName nvarchar(50)
LastName nvarchar(50)
TS timestamp
Employee
PersonID int NOT NULL
Hi
-
- Stylus Events not fired when "Enable press and hold for right-clicking" is unset
by vsgrant
- 10 Replies
- Last post
by Stefan Wick - MSFT
- When the above option is unset in the pen preferences, my wpf application is not reporting any stylus events e.g I have events set up on a textbox as follows:
//Stylus events
tb.PreviewStylusOutOfRange += new StylusEventHandler (tb_StylusOutOfRange);
tb.PreviewStylusInRange += new StylusEventHandler (tb_StylusInRange);
tb.PreviewStylusButtonDown += new StylusButtonEvent
-
- Databinding in XAML? Why not in code-behind?
by MattH6
- 14 Replies
- Last post
by nightski
- Greetings,
I'm confused by what I see as an inconsistency in WPF databinding.
Start with the premise that a huge part of WPF is splitting the code from the design; so, XAML is for designers and .cs or .vb files are for programmers.
For the last couple of days I've been attempting to bind a user control to a dataset in code-behind. It turns out this is a fairly complicated and
-
- Deleting entries of a Many-Many table...
by topcat09
- 14 Replies
- Last post
by Patrick De Block
- I ve got a Content, Matter and ContentMatter table.
When I remove ContentMatter objects the first time around, things seem to work.
Then I'll reinsert from new data into the ContentMatter, and I delete these entries again,
and I'll get this error message...
'Publishing.BusinessLogic.Managers.Test.ContentManagerTest+TestContentManager.CanUpdateContentManager' failed: System.Inva
-
- How do you allow multiple async calls with two-way duplex netTcpBinding?
by JRodman
- 2 Replies
- Last post
by Buddhike de Silva
- I have a client, and i dispatch an two-way async call, then i dispatch a second call before the first one has returned. With reliablemessaging turned on with ordering, I get an error telling me this is not allowed. How do I get it to allow them
-
- Thumb control problem
by kris9542
- 1 Replies
- Last post
by kris9542
- Hi I have developed an application where there are 2 ellipses and connection line between them(like in Visio). I am able to drag the ellipses and resize them as well. There is a gap between the ellipse and the anchors/cues. I would prefer it to be like this http://radio.weblogs.com/0111745/images/xara_circle.PNG There is a huge gap between the actual ellipse and the outer boundary(which is a thumb
-
- Transaction aborted error during heaving load
by vtcoder
- 2 Replies
- Last post
by vtcoder
- I'm getting the following error when I load test my WCF service. The error has happened on both TCP and named pipes. In a 3 minute performance test that runs over 30,000 tests, I may see like 1 to 4 of these errors.
Any idea what may be causing this, or how to fix it
System.ServiceModel.FaultException`1[System.ServiceModel.ExceptionDetail]: The transaction has aborted Server stack t
-
- newbie: Bitmap and CopyPixels
by Naftis
- 2 Replies
- Last post
by Naftis
- Hi group, I'd want to do something like:
1) get a small black-and-white bitmap, e.g. 100x200 pixels; 2) access the pixels of this bitmap to retrieve a 100x200 byte array where each byte represents a pixel, either black or white, to feed some neuronal recognition libraries which require a vector of on/off items.
Even if in real-world I will load my images from file, for testing I'm using
-
- How To Return Query
by Ensoft
- 24 Replies
- Last post
by Ensoft
- just curious how this'll be handled. having queries directly embedded in the code is awesome from a type safety standpoint, but what about at runtime i assume some kind of "on-demand" Compiling for a program like "SQL Query Analyzer" (more aptly named LINQ Query Analyzer) that is dynamically compiling these LINQ queries and seeing results, kinda like snippet compiler. I bring this up
-
- Will a version of TFS be bundled with VS 2008 Team?
by ScotBurbacher
- 1 Replies
- Last post
by Adam Singer - MSFT
- I see that Visual Studio 2005 Team editions ship with Team Foundation Server Workgroup edition. Can anyone tell me if Visual Studio 2008 Team will also ship with a version of TFS 2008 Thanks!
-
- could i use trigger to do it? the communication between two element
by stswordman
- 6 Replies
- Last post
by MrJul
- There is simple scenario: I have a Textbox and a Button on canvas. When the mouse hover on the button, I want to change the background of the textbox. I want to know can i do with trigger method my code below£º <TextBox >
<TextBox.Style>
<Style TargetType="{x:Type
TextBox}">
<Style.Triggers >
<Trigger
Property="Button.IsMouseOver&q
-
- Help with svcutil error
by Dominic Breeze
- 5 Replies
- Last post
by Dominic Breeze
- I get this error everytime I run svcutil against an application. I can't find anything on MSDN about it:
Server Error in '/' Application.
-
- Error publishing to FTP in VB 2008 Express beta 2
by Mr.Wizard
- 14 Replies
- Last post
by Mr.Wizard
- I have a ClickOnce project that publishes to FTP fine in VB 2005 Express. I installed VB 2008 Express beta 2 and upgraded the project. When I try to publish it I get the following error:
Failed to connect to 'ftp://server/folder/' with the following error: Unable to create the Web 'ftp://server/folder/'. The components for communicating with the FrontPage server extensions are not installe
-
- xbap application in FireFox
by nisarg
- 6 Replies
- Last post
by Matt Galbraith - MSFT
- Hi all,
I am using .NET 3.0 since its CTP release, there is few problem while using that one was there is no support for xbap application in firefox. I searched on net and I found that there is support of xbap application in FireFox using .NET Framework 3.5
It was nice to read that but when I searched for .NET Framework 3.5 exe I am not able to find any setup file on Microsoft.
-
- Custom controls with large scrollable content...
by Brad Robinson
- 5 Replies
- Last post
by Drew Marsh
- Hi All, I'm completely new to WPF, so apologies if I'm asking the obvious. I'm wondering how one would efficiently implement a control that has a large amount of content. Take for example a grid control that needs to display thousands of rows. From what I've read so far, WPF is a retained-mode rendering system and all the examples I've seen on how to do scrolling all talk about scrolling views, bu
-
- Returning Files as a Stream
by Steve Graber
- 14 Replies
- Last post
by Steve Graber
- I have a WCF contract that returns a stream. I am normally returning an XML file. This works fine, but whenever I return a 'null' or binary file, the WCF comm seems to get hosed.
This is a self-hosted console app. Here is my app.config.
<endpoint address="net.tcp://localhost:8002/ProLab/" binding="netTcpBinding" bindingConfiguration=""
-
- Why dies VBSETUP.EXE want to install XP SP2 on my Vista system?
by Birk
- 10 Replies
- Last post
by Birk
- The Beta2 VBSETUP routine says I have to install the Windows XP Service Pack 2 before it will install VBExpress. But my system is Vista Home Premium. What should I do
-
- Hyperlink in XBAP keeping app in foreground
by ManniAT
- 9 Replies
- Last post
by globbe
- Hi,
in my XBAP App I need to show other pages (simply html) in a new window.
I did it with
<Hyperlink NavigateUri=" http://www.google.at " x:Name="MyHL1" TargetName="_blank">Test</Hyperlink>
The problem is that the new browser window is "behind" my app.
If I normaly click such a hyperlink on a html page the new window becom
-
- Existing objects
by Sasha80
- 2 Replies
- Last post
by Daniel Simmons - MSFT
- What are the existing options of integrating the EF with existing domain object Allow to to elaborate:
I'm currently evaluating beta 2 of the entity framework. I've followed the standard approach of constructing the models to map a particular entity. Running these models through the code generator generates a model container and a partial class for the entity which is referenced by the top
-
- Issue with frame resizing!!!
by Ruben Leal
- 6 Replies
- Last post
by Guillaume R.
- Good morning,
I'm trying to navigate throw some custom pages in my wpf application. I was checked that "AppModel/FragmentNavigationSample" in wpf samples works perfectly opening a page in a frame embedded in the main window of the application.
I copy the main window and the page to a new project created with "microsoft expressions" but, when I open the frame, the main win
-
- 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
-
- NavigationService LoadCompleted event howto?
by mlord1
- 16 Replies
- Last post
by mlord1
- How can a get the LoadCompleted event to fire for the NavigationService
I have two pages, page 1 navigates to page2. Page 2 has a "Loaded" event handler that registers a delegate for the NavigationSerivce.LoadCompleted event that is defined on page 2. The handler for the LoadCompleted event never seems get called (except when I go back to page 1). Any ideas Thanks.
Here is
-
- FatalExceptionEngineError was detected
by eric shih
- 6 Replies
- Last post
by Michael.Weinhardt - MSFT
- Hello Community,I don't know have anyone tried FragmentNavigation funciton in WPF It gave me a runtime error after I tried to give it a wrong fragment name. Can anyone help Thanks!FatalExecutionEngineError was detectedMessage: The runtime has encountered a fatal error. The address of the error was at 0x5688d16b, on thread 0x156c. The error code is 0x80131623. This error may be a bug in the CLR or
-
- content control flickers
by JJiimmbboo
- 1 Replies
- Last post
by Cindy Meister
- Using Word 2007 and Orcas, I set up a rich text content control. On enter of the content control I start a timer that ticks every .5 seconds... each time the timer ticks the content control flickers... is there any way to prevent this flickering