-
- canvas with a border.
by sumanthcs
- 12 Replies
- Last post
by Bigsby
- hi
I need to create a circular canvas in which only the border (outline) is coloured.. is there any way to accomplish it.
thanks
-
- How to do something after an animation completes.
by Rod Yager
- 3 Replies
- Last post
by Rod Yager
- I have an animation that I want to complete before doing something else. However, I can't seem to figure out how to trap that event. I put a complete event trigger on the animation but it does not fire after the object fades. Any clues
public void CloseNotification()
{
timer.Stop();
DoubleAnimation myDoubleAnimation = new DoubleAnimation ();
myDoubleAnimation.From =
-
- Nullable type in where clause
by felzmann
- 11 Replies
- Last post
by BACHRATY Gergely
- Hi!
How LINQ to SQL handle the nullable type in the where clause Example:
Code Snippet
private int MyId { get { return null; }}
var categories = from c in _db.ProductCategories where c.ParentProductCategoryID == MyId select c;
The type of the c.ParentProductCategoryID is the int . But the generated SQL select looks like:
Code Snippet
WHER
-
- Whats the best way to use DataContext for reading and updating objects in ASP.Net
by tschissler
- 7 Replies
- Last post
by Ben Hayat
- I was wondering what is the best way to use the DataContext in a ASP.Net application.
I want to do a very simple thing. I get a object from the database and view it to the user. The user can do some changes and save them back to the database. But the save needs a postback and so I don't have the DataContext I used for reading the data.
So I see two possibilities:
1.) Read and
-
- How to Start and Stop the WCF Services?
by Sasirekha
- 4 Replies
- Last post
by PanWang
- Does any help me to Manually start and stop the WCF Services Hosted in IIs
Thanks.
-
- Problem on populate Listview with CSV file data
by Makube
- 3 Replies
- Last post
by Makube
- Now my case is to select external csv file through File Dialog, then import it and populate into the listview. I want to create a datatable from csv file, and then convert each row to independent object which I have created one 'Record' object (for further usage purpose).
In currect stage, I have done the job for creating a datatable from csv file, and try to bind datatable with listview
-
- sql server report
by Ashokkumar450
- 1 Replies
- Last post
by WPCoder
- Hi,
iam using .Net FrameWork 3.0. and sql server 2005 reporting services together,how to connect sql server report in .Net 3.0).i created sql server report .how to connect .Net framework 3.0
-
- Is it possible to animate a RowDefinition?
by Rod Yager
- 10 Replies
- Last post
by Marlon Grech
- I have a grid with two rows. In the first row I have a canvas, in the second I have an expander with it's height set to 25. There is a Grid splitter between the two. What I would like to do is to animate the effects of the expander expanding/collapsing and have the grid row animate along with it so that it doesn't look goofy having having the row jump up and then have the expander animation tag al
-
- How to host a workflow in a WPF Application
by Praveen Verma
- 0 Replies
- Last post
by Praveen Verma
- Hi, How can i host a Workflow in WPF Apllication I tried but i am getting following error: Cannot access a disposed object. Object name: 'WorkflowRuntime'. My WPF Page looks like this: ******************************************************************************************************************************************* WorkflowLibrary1.ControlBar awServiceInstance = null; public Window
-
- MySql Data Provider for Orcas
by Kliot
- 8 Replies
- Last post
by Kliot
- Does anyone know of a MySql Data Providor that works with vs.net 2008 or how to get the one that works with 2005 to work with 2008
Thanks
-
- Mesh3D and Memory Usage
by gecono
- 4 Replies
- Last post
by Jordan Parker - MSFT
- I currently have an opengl application that displays a bunch of trianlge strips. For fun I am trying to port to wpf using the following psedue-code:
create ModelGroup3D
foreach gl triangle_strip
create GeometryModel3D
add GeometryModel3D to ModelGroup3D
create VisualModel3D and add ModelGroup3D
assign VisualModel3D to Viewport3D
I set up a camera and light source. It works a
-
- Error occurred during setup
by tgiphil
- 4 Replies
- Last post
by AnnieW
- During the installation I get the following error message:
"Microsoft Visual C# Codename Orcas Express Edition - ENU has encountered a problem during setup. Setup did not complete correctly."
Another windows states "error occurred during setup" and the "Microsoft .Net Framework 3.5 Setup" component failed to install.
Please advise.
-
- Coloring/positioning problems in a RichTextBox
by AndreyShchekin
- 1 Replies
- Last post
by AndreyShchekin
- I am trying to colorize/style symbol sequences matching a specific pattern.
For example, for the sentence
Wa it 1s here fo r me2s 1s and 2s sequences have to be superscripted and colorized.
Instead, as you can see, I am getting the effect on it and fo .
This is the code I am using
Code Block
public partial class Editor : Window { private bool m_processingLin
-
- visual c# 2008 problem - can't create projects
by igalk474
- 3 Replies
- Last post
by Scott Nonnenberg MSFT
- i install visual c# 2008 express edition beta2 on my vista(as administrator) the installation was completed seccessfully
i can open existing 2005 project's but when i try to create any kind of project it gives my an error message:
"requested registry access is not allowed"
i tried running it as administrator , giving full control permmisions to everyone on the HKEY_LOCAL_MACHINE
-
- Visual C# Orcas Express Beta 2 licensing
by Misieq
- 3 Replies
- Last post
by Juan Carlos Cardona
- I have a question about licensing of VC# Orcas Beta 2.
I have read on few blogs that new Go-License is included in VS Orcas Beta 2. But when trying to install software mensioned above I got window with EULA where stood:
The software is for evaluation purposes only. You may not deploy or distribute any program you design or develop with the software.
So, is it allowed to use VC# Orcas
-
- LINQ to SQL vs. ADO.NET Entity Framework
by Kevin Hoffman
- 6 Replies
- Last post
by Beryl Wilson
- I know this has been asked before, but the answers I've read still haven't cleared it up for me. People are asking me why they should wait around for an updated to ADO.NET Entity Framework (not currently linked to the Orcas builds) or if they should use LINQ to SQL, which _is_ part of Orcas.
Can someone clarify, hopefully in a way that can be repeated to others, what exactly the benefit of
-
- Calling a web service from an XBAP
by Alan Z
- 7 Replies
- Last post
by Alan Z
- Hello,
I am using Visual Studio 2005 and I am attempting to create an XBAP application that simply calls a "Hello World" web service. I have created/consumed a number of web services in .NET in the past, however, using web services via XBAPs has proven to be a challenge. I have reviewed the following post:
http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=517445&SiteID=1 as
-
- How to make calculations with data binding in XAML?
by lpx
- 2 Replies
- Last post
by Charles Petzold
- Hi, I have a viewbox and a textbox inside of it. I want the textbox to have half of the height of the viewbox. My purpose is to put this viewbox inside any panel to say something like "Drag things here" and make that text always be centered in the wanted panel without ocupping all the size of the panel. Do you guys have any suggestion to reach this purpose thx, Nuno
-
- Empty <wsdl:types>
by Nikeru
- 9 Replies
- Last post
by Christian Weyer
- Hi.
I am making an application using WCF. I replacing Old Web Service with WCF Service. It is need for me that new WCF Service will interoperable with old clients, which works with old Web Service.
Here example of WCF Service code and generated wsdl:
WCF Service:
using System;
using System.Collections.Generic;
using System.Text;
using System.Servi
-
- Metadata contains a reference that cannot be resolved : InvalidSecurity
by Vicel
- 3 Replies
- Last post
by Ronald Ricardo Ramirez Moran
- Hi
I've got a WebSerice and STS. If I use a serivce contract to create a client everything works fine, but when I try to create a service contract with svcutlil or Visual Studio tool then I'm getting an error:
Attempting to download metadata from 'http://localhost:1207/PatientInfoService/Service.svc' using WS-Metadata Exchange or DISCO.
Error: Obtaining metadata from issuer 'http://localh
-
- EF Designer: Database columns that are not mapped to entities
by Julie Lerman
- 11 Replies
- Last post
by Noam Ben-Ami // MSFT
- Using the EF Designer, I removed a property from an entity. The mapping from that property to the store got removed automatically, but the column definition in the store schema remained in tact (as I would expect it to).
However, the EDM generator doesn't like this scenario.
It complains that:
Problem in Mapping Fragment(s) starting at line(s) (1084):
For the records in
-
- VB Intellisense Missing in ASP.NET File System (Web Site) Projects
by Roger Jennings
- 4 Replies
- Last post
by Roger Jennings
- Intellisense (Auto list members and Parameter completion) for ASP.NET file-system (Web Site) projects are missing for VB in Orcas Beta 1 as well as Visual Web Developer Express June 2007 CTP running under Vista Ultimate.
I've been working with ASP.NET Web Applications so far in Orcas Beta 1, so didn't discover Intellisense was missing until using VWDX to create Web Sites with VB. C# Intelli
-
- Styling Buttons using DependencyProperty
by KVdS
- 9 Replies
- Last post
by KVdS
- I want to create an ImageButton that uses three bitmaps for its various states. So I've created a 'ImageButtonStyle' that replaces its ControlTemplate with a custom ContentPresenter. I use triggers on this style to check for the button state. To determine which bitmap i have to use for which state, I've created a ButtonInfo class that can hold 3 Uri's (for each state) and some more info, like for
-
- Grid columns of equal width, without being fixed size
by Swaha Miller
- 3 Replies
- Last post
by Swaha Miller
- How do I define columns in a Grid so that they are of equal width I don't want the width to be fixed, however.
I am trying to layout a set of buttons and have all the buttons be of the same size. The size will be determined by the longest text that displays in any of the buttons. So, for example, if I have 2 buttons showing AA and BBBBB, then the width of the buttons is determined by the BB
-
- What is the status of MC++ in Orcas?
by James C. Papp
- 4 Replies
- Last post
by Marius Bancila
- With the delay of mixed types and/or support of native PODs in managed classes under C++/CLI moved to the future, how long is MC++ going to hang around I heard rumors that it will be deprecated in Orcas, which would be fine as long as this means it is not being removed. What is the official stance on this ˇfor Orcas and beyond Thanks much, James.