-
- VPN vs. WCF - Need advice
by Wicket
- 5 Replies
- Last post
by Raj Tripathi
- I have a scenario for an upcoming project where I'd need some advice from you. Here is the prerequsites:
1 - A server (SQL and probably IIS) will be hosted on some kind of serverhotel. This SQL server will hold all application data. 2 - The application accessing the SQL server will be a WinForms (c#) application. 3 - The application will be used by 5-15 different customers. Each customer will h
-
- about app.xaml
by c-bruce
- 2 Replies
- Last post
by c-bruce
- Hi all,
I want to play a wmv file, and hope to save the file path in config file.
Is the app.xaml same with app.config
how can I use app.xaml
And I fail to use app.config. Any advice
-
- how to make xaml element children adding to some collection?
by Anton__
- 1 Replies
- Last post
by lee d
- Hi
Lets say I want to create some cusom control CustomControl which has some custom Children collection:
Code Snippet
class CustomConrtol : Visual
{
public ObservableCollection Children
{
get{ .... }
}
}
I want to be able to define in in xaml in that way:
<CustomConrtol>
<Child1 />
<Child2 />
<Child3 />
</Cu
-
- WCF - Multiple Channel Implementation
by Kapoochikaya
- 11 Replies
- Last post
by Oran Dennison
- Hey,
I have a service endpoint on an MSMQ which is receiving messages from multiple clients, would there be a way for me configure my receive service in such a way as to have a single channel accept messages from a single client Would appreciate any help you can give in terms of configuring WCF or custom implementation on top of WCF.
The message is sent to the MSMQ from the client b
-
- Same code XAML Browser Application & Windows Application
by wilLiam578310
- 3 Replies
- Last post
by vdotnet
- hello... I need to use the same code for a XAML Browser Application and a Windows Application. What are the things that i have to know while im developing my XAML application I found this "To allow this, a developer might use conditional compilation, wrapping any functionality that's not allowed in an XBAP inside ifdefs." Whichs are these conditional compilation.... . thx
-
- XBAP communcation
by EvilShade
- 11 Replies
- Last post
by EvilShade
- Hello, i have a little question : Is it possible to communicate between 2 XBAP`s, one that contains a FRAME and the other one is loaded in that frame. Thanks a lot !
-
- 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):
-
- ModelVisual3D XMAL to C# or VB
by Boman
- 2 Replies
- Last post
by Boman
- Hi All
I would like some help on "translating" this ModelVisual3d to code behind ( Either vb or C# ) , I have a array of images/text that I would like to add to a
viewport3d to make it more dynamic.
Can anyone help me
kind regards
Bo
code as follows :
< ModelVisual3D >
< ModelVisual3D.Content >
< GeometryModel3D Geome
-
- Animation in DataTemplates
by Brandon Bloom
- 7 Replies
- Last post
by Brandon Bloom
- So I am creating a custom control with a DataTemplate for some sub items. I want to animate the data template, but my Triggers are not firing. After a bunch of searching, I found this on MSDN:
What Belongs in a DataTemplate
In the previous example, we placed the trigger within the DataTemplate using the DataTemplate . Triggers property. The Setter of the trigger sets the value of a
-
- How do i send a bound property to a converter parameter?
by JDPeckham
- 5 Replies
- Last post
by Marlon Grech
- i tried this:
Code Snippet < TextBlock Text = " {Binding Path=DetailDescriptionId, Converter={StaticResource DetailTypeConverter}, ConverterParameter={Binding Path=DetailTypes} } " />
which gives this exception:
A 'Binding' cannot be set on the 'ConverterParameter' property of type 'Binding'. A 'Binding' can only be set on a DependencyProp
-
- Don't understand why entity objects are refreshing without calling Refresh
by goofyboy
- 2 Replies
- Last post
by goofyboy
- I have some DLINQ code where I query some records and get a few records in the results. I then make a change using ADO.NET to some of those very same records in such a way that were the query to be made after the ADO.NET change, the original returned records would no longer be returned. However, I would not expect my entity objects to be aware that the records have been changed so I would expect t
-
- Memory not freed on window.close()
by -JM-
- 2 Replies
- Last post
by Dr. WPF
- I have a Full Trust XBAP that is launching a Window when a certain button is clicked. The Window is simple, but contains a UserControl from a different project. That userControl is pretty hefty.
Now I am closing the window from within the UserControl by calling:
(( Window )(( Grid ) this .Parent).Parent).Close();
When I launch the window the memory usage goes up, but upon clos
-
- brush.Visual = this.FindResource("Panel_A") as Visual // = null ! why ?
by Epsilone3
- 6 Replies
- Last post
by Epsilone3
- VisualBrush brush = new VisualBrush ( );
brush.Visual = this.FindResource("Panel_A") as Visual;
Why in the debug brush.Visual always stay null , I step in with the debug I see ::
<< the InitializeComponent(); in the "Panel_A" get Initialize >>
but when the debug cursor return
to the brush.visual line I check it and it's null !!
-
- failure of clr-namespace resolution in 2008 C# Express w Orcas
by Stokes in Brea
- 4 Replies
- Last post
by Stokes in Brea
- Namespaces defined with clr-namespace fail to get resolved in the IDE and show up with a "Could not create instance of type "xxxxx". (Where the class xxxxx is clearly defined in the namespace referenced in the clr-namespace entry.)
The code in question was downloaded from a sample in code project referencing "Master Pages". But, a similar example from another person
-
- Streaming and canceling a read request
by Bruce Bukovics
- 6 Replies
- Last post
by Bruce Bukovics
- I'm hoping that someone out there will have a good solution to my problem. I'm using WCF streaming to transmit files between systems. Depending on the service method, the files are either sent to another system (in the request) or retrieved (in the response). All of that works great, except when the other system goes away in the middle of a stream read operation. I can reproduce that just by disa
-
- Returning a Query Result
by bes7252
- 3 Replies
- Last post
by Ellision
- I'm trying to figure out how to return the result of a query. What datatype is being returned The debugger shows the query result is a System.Data.Dlinq.DataQuery, but I can't return that.
Here's a sample. I don't know what return type use in the function declaration.
public void Test()
{
var orders =
from o in db. FundOrder
where o.Totalcnt > 500
se
-
- [XAML] Missing Element Completion
by pcgeek1011
- 4 Replies
- Last post
by Anton__
- Hello! I just installed the Visual Studio C# Express Orcas 9.0 beta release, and the first thing I noticed is that the auto-completion of XAML elements is not working. I miss this functionality from my other machine with Visual Studio 2005 Standard + Orcas Extensions Any plans to get this fixed/implemented Thanks!
-
- Using the First and Single methods
by John Papa
- 9 Replies
- Last post
by John Papa
- I am using the LINQ to Entities (I call it ELINQ as opposed to SLINQ, LINQ Tto SQL) and I am successfully creating and adding entities to the database using code like the following:
NorthwindModel.Orders newOrder = new NorthwindModel.Orders(); &n
-
- What happens to stored procedures?
by Emmerel
- 14 Replies
- Last post
by Emmerel
- Hello.
I've just started to look at Linq and my first thought is that its just a fancy new way to perform Dynamic SQL.
I'm a stored procedure guy and nothing on this planet will change that. I frown on Dynamic SQL (no offense).
So what happens to stored procedures
I've literally just started reading about Linq and saw a few lines of code, and then wrote this post. So if my
-
- problem about hosting a winForm
by c-bruce
- 3 Replies
- Last post
by Zhou Yong
- Hi, I have a confused problem about hosting a winForm.
I have a winForm in VB.Net, in the winForm ,there is a webBrowser.
then I create a wpf project,host the winForm in it.
WindowsFormsHost host = null; System.Windows.Forms.Form vbform = null;
vbform = new GScroller.frmMain(); //GScroller is the project name,
//frmMain is the winForm name; vbform.Width = (int)canvas1.Width;
//in
-
- WebServices on SyncAgent
by bauz
- 1 Replies
- Last post
by Yunwen Bai
- Is it possbible to call SyncAgent via a webservices cause I can't put a WS on the server side so I put it on the "client" side, and I need that is the server that start the sync.
Cause I put the sqlce in IIS to expose some data of our costumer, but on the customer side I don't want to expose a WS (for security reason).
-
- filtering & sql compact binding
by damy
- 9 Replies
- Last post
by AirportTiger
- Hi, I'm using a listbox binded to a sql server compact database. Is it somehow possible to use the filter property (like ListCollectionView) or should I requery the datasource Arnoud
-
- Can TFS installatino tell SQL where to put the database files.
by StevenIBSI
- 2 Replies
- Last post
by StevenIBSI
- I plan on installing TFS server and SQL server on the same virtual server. The server has limited disk space so I need to put the database files on a SAN.
Is it possible to tell the TFS installer to put the database files in a specfic location that is different then where SQL Server would normally place new database files If not is there a way to tell SQL server to put all new database fil
-
- Deploying WCF app on a computer without .NET 3.0 installed
by Marcin Celej
- 4 Replies
- Last post
by Scott Seely
- I try to figure out how to install and run WCF appliaction on a computer without the .NET 3.0 installed. I know that the WCF app uses app.config file which requires some goo in machine.config. How to achieve this Do I need to instal the entire .NET 3.0 on all my clients Or maybe there is only some redistributable WCF instal. If so how can I do it in a Click-Once appllication Thanks in advance, Ma
-
- How to apply filtering on XmlDaterProvider based CollectionViewSource
by diver182
- 4 Replies
- Last post
by diver182
- How could I apply a filter on a XmlDataProvider based CollectionViewSource
The source for the XmlDataProvider looks something like this:
Code Snippet
<Inventory xmlns=""> <Books> <Book ISBN="0-7356-0562-9" Stock="in" Number="9" Category="NonFiction"> <Title>XML in Action</Title>