-
- How to pass MessageCredential from SOAP client
by Bravo2007
- 1 Replies
- Last post
by Hiten
- Hi,
I have configured my service to enable security and pass credentials using UserName,Password. I have a custom UserName and Password validator that just authenticates user.
Following is the config file
< configuration >
< system.serviceModel >
< bindings >
< basicHttpBinding >
< binding name = " basicBinding " >
<
-
- CreateInstance with a WPF Usercontrol using binding -> Exception
by Adysoft
- 2 Replies
- Last post
by Adysoft
- Hi,
I'm working on a WPF project, and I have a very strange bug.
I have a host WPF application (let's call it hostApp) which uses the CreateInstance method to instanciate WPF UserControls from it's dll.
Many of these UserControls use DataBinding to display data. Here is the problem I'm facing.
Everytimes I try to set the binding in the Xaml I have an exception thrown by hostApp's C
-
- Linespacing not working
by ReactTy
- 1 Replies
- Last post
by Grzegorz Zygmunt - MSFT
- System.Windows.Media. FontFamily ff = new System.Windows.Media. FontFamily ( "Arial" );
ff.LineSpacing = (0.9) * ff.LineSpacing;
When executing the above statement, it get an error "A named FontFamily object cannot be modified."
How can I set LineSpacing or how do I load a FontFamily that isn't "named"
-
- Updates for Xbap that is Full trust
by Rod Yager
- 1 Replies
- Last post
by Chango V. - MSFT
- Is there anyway short of clearing your application cache on a client pc, to get updates when the version changes on an xbap app that is running under full trust
-
- How to override maximize system menu command
by Alexey E.Rybakov - CpsLabs
- 2 Replies
- Last post
by Alexey E.Rybakov - CpsLabs
- I need to replace system menu command of window with my own
Can I override maximize button command or hook message that it is pressed
-
- Is there a possibility to increase the SqlCommand execution timeout?
by Henrik Dahl
- 4 Replies
- Last post
by R Raghu
- Hello! Is there a possibility to increase the SqlCommand execution timeout Best regards, Henrik Dahl
-
- .Net and Java
by Cytrader
- 1 Replies
- Last post
by Dave Cliffe - MSFT
- Forum,
I am a "newbie" to the WCF/Indigo world and to these forums, so I am not sure if this question has been asked previously. Can someone tell me if WCF can be used to access services written in Java If so, at a very high level, what is required
Thanks
-
- WPF Slowness
by Cutty
- 14 Replies
- Last post
by Jossef
- Hi all, I have a problem on my dev machine (running XP SP2) with the speed of WPF applications. I have tried samples downloaded from Microsoft and a very simple test app with just a form and one button. The problem is that anything WPF takes 10+ seconds to load. A colleague has the same machine as me (also running XP SP2), and the same app loads in sub 1 sec. My machine is dual boot XP and Vista.
-
- Binding to Document
by Jan Ku&#269;era
- 4 Replies
- Last post
by Jan Ku?era
- Hello!
I wonder how could I bind a document to an object source, like:
< FlowDocumentReader >
< FlowDocument >
< Paragraph >
< Figure HorizontalAnchor ="PageCenter" VerticalAnchor ="PageCenter">
< Paragraph Name ="MyParagraph">
{Binding Source=MySource, Path=Blocks}
<
-
- How to use a regular reverse proxy with self-hosted WCF Services!
by johannes aka &#33;mpac
- 1 Replies
- Last post
by Scott Seely
- Hi together, I think the header describes everything The scenario is the following: I have implemented I kind of search engine which consumes so called query services from different applications (some are the same applications, some others just provide a service to make their application compatible with the search application). The services are self-hosted within a windows service on a custom po
-
- Strange behaviour when creating EDM
by Jamie Thomson
- 4 Replies
- Last post
by Jamie Thomson
- Hi,
This is my first venture into Orcas & EDM so go easy on me OK
I'm trying to create an Entity Data Model in a ADO.Net project. When I do so I'm getting the following message:
The Primary Key in the table 'LocationHistory' cannot be used as a foreignKey for the relationship 'FK_locationHistory_User', the relationship between table 'dbo.User' and table 'dbo.LocationHistory'
-
- Error when using <DataTemplate DataType="{x:Type local:HelloWorldClass}">
by Grant Stanley
- 5 Replies
- Last post
by ivolved_Mike_Brown
- I've been writing some WPF sample applications, just so that I can test things out and learn, but I've come across a situation when using DataTemplates if you specify a class in the project. It's probably something really simple that I've missed, I've spend quite a lot of time trying to fix it but haven't really got anywhere, the strange thing is that the program works when you try and run in but
-
- Playing a video from a BeginTime using MediaTimeline
by Martin2233
- 7 Replies
- Last post
by IgorP
- Hi all,
I need to play a video from specified position, and, for a specified duration. I'm trying to achive this using MediaTimeline. Currently I've got following code:
MediaTimeline mediaTimeline = new MediaTimeline ( movie.Source.SourceStreamUri );
mediaTimeline.BeginTime = new TimeSpan ( 0, 1, 32 );
mediaTimeline.Duration = new Duration ( new TimeSpan ( 0, 0, 5 ) );
-
- Rescale path
by cgraus
- 14 Replies
- Last post
by Adam Smith - MSFT
- Hi guys. I've asked this quite a few times now, so I'd appreciate any help anyone can offer
My app is an image viewer, the images we view are quite large, so when the user zooms, we reload the image at the image size required, in other words, I start with an image that is, say, 1000 x 1000. I can draw a path on this, and then zoom. The image is reloaded at, say, 2500x2500. The viewbox at th
-
- Bug: Border with cornerradius and add a child image
by Willie007
- 6 Replies
- Last post
by Willie007
- Visual Studio 2008
VB
Hi,
I added a border on a canvas
When i add a border onto a canvas and inside this border i add a image
the edges of the image are over the border (corner).
When i do the same with a label inside a border , or even a video it looks fine!
So i thing this would have to be a bug....
Willie.
Dim DrawingCanvas As New Can
-
- Server Data is not Synchronized if it is modified/created by client.
by ParthaP
- 2 Replies
- Last post
by Yunwen Bai
- HI,
I am using SyncGuru.Com (N-Tier Demo to develop an application). During testing the application I had marked one thing, that is discussed below. I dont know if it is a bug or any mistake that I am doing in my application.
If my Client application is modifying a record or inserting a record to the Enterprise Database and after that I stop the application and use a blank database a
-
- WCF and SSIS - Web Service Task
by eschan
- 5 Replies
- Last post
by Paul Shippy
- Has anybody successfully got SSIS to talk to a WCF Host WebService (wsHTTPBinding)
-
- RayMeshGeometry3DHitTestResult and mesh side ?
by odv
- 1 Replies
- Last post
by Jordan Parker - MSFT
- How can I determine mesh side from RayMeshGeometry3DHitTestResult when both Material and BackMaterial are specified
-
- Facebook and Orcas
by bud1024
- 3 Replies
- Last post
by shailee
- I downloaded the Visual Studio Orcas (NOT Express) Beta and installed Microsoft's Facebook toolkit. However, my problem is that the Facebook components mentioned and pictured in the Quickstarts article are not in my Toolbox. The article makes it seem as though they automatically appear after installation of the toolkit, but I have no Facebook components whatsoever.
-
- Data binding with ObjectDataProvider and Collections
by farkbert
- 5 Replies
- Last post
by Kevin Hoffman
- First my apologies for the long post, but I'm running out of ideas here. In my application, I have a fairly large amount of application data that is being collected by worker threads. The data is collected in several custom classes and most of that information must be displayed on the UI. Some of the information is simple (strings, integers, etc.,...), but some of the custom classes would contain
-
- Concurrency ** Multi Threading Problem
by Salu
- 5 Replies
- Last post
by TrevorW
- Hi, This is a example of my Service Contract. [ServiceContract(SessionMode=SessionMode.Required] public interface IMyinterface { Response AddValueToDB(Request req); } [ServiceBehavior(InstanceContextMode=InstanceContextMode.PerSession,ConcurrencyMode= ConcurrencyMode.Multiple] public class MyService:IMyinterface { public Response AddValueToDB(Request req) { // Some logic to add into DB
-
- Is a ISO version of the Express Editions available ??
by Kanti K
- 13 Replies
- Last post
by StarBlue
- Is a ISO version of the Express Editions available It would be great if it is available. Please let me know.
-
- I'm using alot of foreign key relationships in my queries, but linq doesn't seem to work in this scenario.
by Rico Alexander
- 5 Replies
- Last post
by Reza Rahmati
- For instance, I have a customer table with a customertypeid field along with a customer type table that contains an id along with the full string name of the customer type ie. {id = 1, CustTypeName= Retail}. I set up an association between the two tables using the customertype id field.
I want to be able to show the Customer type name instead on the id on a datagridview but if I bind the d
-
- Drag and Drop - How to interchange Tab Item positions
by jk67
- 7 Replies
- Last post
by blackghost
- Is it possible to re-arrange tab items on a tab control using drag and drop assuming that the TabControl sits on a standard container such as a Grid Appreciate anyone's inputs on this.
-
- Save the parent child object in one round trip
by Gabor66
- 1 Replies
- Last post
by Matt Warren - MSFT
- Hi,
Is it possible to save the newly created parent-child object to save, without getting back the parentID first
The tables:
parent(id,name)
child(id, name, parentID)
The id fields are autoincrement in the db.
The code:
dim myParent as parent=new Parent()
myParent.name="Jhon"
dim myChild as child=new child
myChild.name="Peter"