-
- XAML - How to define conditional statements?
by Pradeep T
- 3 Replies
- Last post
by Pradeep T
- Hello,
For the application that I am working on, I need a listbox that where an item may have a check box. Not all items will have an associated check boxes.
Consider the following abstract class that represents the data for a list box item.
class MyListBoxItem {
public string Message {get; }
public enum CheckBoxStatus {NoCheckBox, Checked, Unchecked};
}
In the corresponding
-
- consuming WCF service in WebBrowser
by PaterPeter.net
- 1 Replies
- Last post
by Steve Maine -- MSFT
- I am using a Windows Forms application to provide a simple WCF interface (WSDualHttpBinding). Clients can query the interface to get statistical information (or subscribe to get continuous information). The information itself are quite simple (some integers, strings).
Now I want to make the service available for WebBrowser clients (to get a short ad-hoc report from different places in the LAN).
-
- Where have gone Events of Controls ?
by Aybe81
- 4 Replies
- Last post
by Aybe81
- Hello,
Switching from Windows Forms, i just can't find where are the events of controls
you add to a window.
When I add say, a Button, how can i access the Sub Button1_Click
I have tried somehow with Expression Blend but when going back to Orcas,
it produces an error like : Button1_Click is not member of Window1.
Do you have any idea
Thank you.
-
- Can't Build in Visual Studio C++ 2008 Standard Beta 2: "error PRJ0003 : Error spawning 'cl.exe'"
by tinger
- 1 Replies
- Last post
by Marian Luparu
- I'm on XP Pro SP2. This is on a file that compiled correctly on Visual C++ 2005 Express Edition.
Here's the whole error message:
1>------ Build started: Project: Lab2, Configuration: Debug Win32 ------
1>Compiling...
1>Project : error PRJ0003 : Error spawning 'cl.exe'.
1>Build log was saved at "file://d:\TRK Docs\Visual Studio 2005\Projects\Lab2\Lab2\Debug\B
-
- WCF converts List<object> and Object[ ] to BindingList<object>
by Bex
- 2 Replies
- Last post
by Bex
- I wrote some code to pass a generic List from my web service to my client and have everything as List on my service side, but when I update my service on the client side it tells me I have to have it as type BindingList and when I make it BindingList on the client side it works. Any ideas why it would convert it from List to Binding List and Object[ ] to bindingList I could use Binding list but I
-
- implicit string to XName conversion
by Martin Honnen
- 1 Replies
- Last post
by Martin Honnen
- Constructors like XElement or methods like Desendants according to the documentation and according to intellisense take an XName however you are able to simply pass in a string and the documentation says there is an "implicit conversion from string to XName". I am curious as to how that conversion is being implemented in the .NET framework, it is currently not clear to me how that is pos
-
- error 2738.Could not access VBScript run time for custom action
by Larae
- 12 Replies
- Last post
by Salnaz
- Im trying to install blackberry 4.2 service pack 1 On my windows vista for my blackberry phone and i keep gettin this message.. Can someone please tell me what i need to do
-
- Accessing Triggers in codeBehind.
by Sad
- 7 Replies
- Last post
by Yi-Lun Luo - MSFT
- Hi there,
I wonder if there is a way to access to triggers that are defined inside a template.
Here is a sample code to explain what i'm trying to do:
Xaml:
< Style x:Key = " RightCornerRoundedStyle " TargetType = " {x:Type TabItem} " >
< Setter Property = " Template " >
< Setter.Value >
< ControlTemplate Targ
-
- Child table not updating correctly?
by Jim Karr
- 7 Replies
- Last post
by Jim Karr
- I have a person object, which has via a foreign key an address table attached to it in the LINQ designer. The address table has an addresstype which comes from a types table via a Foreign Key as well. When I create an instance of a person, and check the first address typeID I get a value of 4. Via my interface I change the value to 6 (a valid value in the types table), I can query the Address obje
-
- ControlTemplate CommandBinding
by Shannon Mc
- 2 Replies
- Last post
by Yi-Lun Luo - MSFT
- I'm currently trying to figure out how to bubble an event from a control template up to WPF Page that is containing the control template. I am using the following ControlTemplate:
Code Snippet
< ControlTemplate x:Key = " windowChromeTemplate " TargetType = " {x:Type ContentControl} " >
< Grid >
< Grid.Background >
< SolidCol
-
- Forwarding events
by TiKu
- 2 Replies
- Last post
by TiKu
- Hi, I've a Grid (Grid A) and on top of this Grid is another Grid (Grid B) of the same size with a transparent background. Both Grids contain various child elements, so what the user is seeing is a complex GUI that consists of the background and children of Grid A and the children of Grid B. Now I've a problem with mouse events. All mouse events go to Grid B, which is in the foreground. What I need
-
- Authtication type ?
by Serge Calderara
- 1 Replies
- Last post
by Todd West - MSFT
- Dear all,
I have a general black whole about authentication methods with WCF.
I have read many MSDN arcticle based on this which describe different authentication method in different environement.
But if we want to be open and flexible, what type of authenticated method should we use to cover all cases
or in other words, does the authetication method is always specify from con
-
- A Printing Problem
by Display-Name
- 3 Replies
- Last post
by Ifeanyi Echeruo
- Hello,
I don't know much about printing. I have a canvas with hundred of child including pictures with transparency, unicode text, shapes etc. can i print all the child along with canvas or first i have to convert canvas to Xps document. If yes then How plez help me. Thanks in advance.
-
- WCF Dynamic Proxy (Microsoft)
by Sachin Chitran
- 14 Replies
- Last post
by Allan-Nielsen
- Hi,
I downloaded the code form the link "WCF Dynamic Proxy (Microsoft)" to generate dynamic proxies.It works very fine.
But the senario which is covered in that is for using http,
I tried the dynamic proxy code for https and certificates(client and server) and it is failing.
Can anyone help me in this regards
Sachin
-
- Svcutil.exe
by Frederick Barnes
- 3 Replies
- Last post
by Frederick Barnes
- Hi All, I am trying to establish whether it is possible to generate the service contact and data contracts (i.e. the service interface in ASMX services) from an existing WSDL using the Svcutil tool I have managed to do this using Web services software factory recipe. All related documentation only speak about using the tool to generate the client proxy. Thank you. Kind regards Fred
-
- Fatal errors when using WINAPI
by mozillaman
- 1 Replies
- Last post
by mozillaman
- You can view the source code here: http://pastie.textmate.org/110464
Line 46 causes this error:
Code Block error C2059: syntax error : 'type'
Any idea why this is happening
Thanks!
Robin
-
- theConverted (swf to xaml) trial version now available
by Robin Debreuil
- 0 Replies
- Last post
by Robin Debreuil
- This converts Flash graphics and animation to xaml, and at long last we have the trial version posted:
http://theconverted.ca/
http://theconverted.ca/trial/TheConvertedTrial.zip
-
- Full Editions vs. Express Editions
by Joel Marcey
- 1 Replies
- Last post
by Andreas Johansson
- Hello,
Is there a document or matrix or something that shows what the difference is between the Express Editions of Visual Studio 2008 Orcas --- and --- the "fuller" editions of Visual Studio 2008 Orcas (e.g. the Standard, Professional)
I know the basics, but would like to see a list of missing features from the Express editions.
Thanks.
-
- Message Namespace / invoking class functions
by eric02
- 1 Replies
- Last post
by Oren Fisher - MSFT
- I'm trying to see how to accomplish this with WCF, any help would be greatly appreciated.
I am setting up 3-4 WCF services and in one of them, I want it to essentially be a wrapper of stored procedure calls. So, it would basically be a set of function calls with the parameters strongly typed in the Function call. However, since we are going to have a lot of these, I want to be able to separate
-
- Why doesn't svcutil like this simple schema
by GraemeH
- 3 Replies
- Last post
by GraemeH
- I'm running svcutil /dconly myschema.xsd
and get an error saying that "maxOccurs on LINEITEMS must be 1"
I'm a newbie with xsd but cannot see what is wrong with an invoice having a customer Id and multiple line items
Code Block
< xml version = " 1.0 " encoding = " utf-8 " >
< xs:schema xmlns:xs = " http://www.w3.org/
-
- Implementing custom message formatting
by Matt Kemmerer
- 5 Replies
- Last post
by Rich Q
- I'm trying to implement some custom encryption in a WCF service. With web services I was able to do this using the SoapExtension and SoapExtensionAttribute classes to create an attribute that would catch the message when it was in the AfterSerialize state and the BeforeDeserialize state. This meant I could encrypt the message after serialization and decrypt it on the other side before deserializat
-
- trackball class
by barkest
- 0 Replies
- Last post
by barkest
- Could someone please explain the reason for drawing the rectangle as part of the solution
Trackball trackball = new Trackball();
trackball.EventSource = b1;
myCamera.Transform = trackball.Transform;
in this code b1 = a fully transparent rectangle. If I use the viewport instead of the rectangle the rotation is not as smooth as using the rectangle
thanks for any explanations
-
- ObjectDumper is gone?
by Joe Rattz
- 4 Replies
- Last post
by Matt Warren - MSFT
- I don't see it. Has it been renamed Is it gone for good
-
- General queries about DLinq
by IndrajeetP
- 4 Replies
- Last post
by Matt Warren
- Hi,
I have read a bit of documentation about DLinq. I find it a very interesting prospect. However, I have a few doubts regarding DLinq.
Here is the first set of doubts (They are not categorized. They are just random).
We wish to use DLinq in our project. What are the major risks you forsee with respect to the early adoption of DLinq What are the major steps we should take to minimise
-
- Why is XAML Serialization sandboxed?
by bes7252
- 5 Replies
- Last post
by Eli Cohen
- Why is XamlWriter.Save() sandboxed Am I understanding correctly that this is a limitation of the implementation and not security related
It's very frustrating to have a nice way to capture the layout of a Canvas an store it, but find it doesn't work for XBAPs. Any other suggestions