Answer Questions
just david How to Use XAML in Windows Forms
Hi All, I have created a windows application project. In that project i have added a Winfx Form. I wanted to show Winfx Form on click of a button in windows form. I am getting the following error when i build the solution. Error 13 The name 'InitializeComponent' does not exist in the current context. How to access WinFx forms from windows forms. Can any one clarify my doubts. Thank you. Kiran SDK docs t ...Show All
Noordin Persisting rich value types and Embedded Values using DLinq
Say I have a type such as: public struct AccountNumber { long number; /// ... } and class such as: [Table] public class Account { // ... [Column] public AccountNumber AccountNumber { get { return this.accountNumber; } set { this.accountNumber = value; } } that I want to persist in: CREATE TABLE Account ( -- ... AccountNumber BIGINT ) If AccountNumber implements IConvertible.ToInt64(), then I can get the value int ...Show All
Don Stuber -- Pedifix Command line Properties that contain properties
Can a property be recursively evaluated I want to include property tokens in my command line properties and have them be evaluated at build-time, but it seems this is not currently possible. Simple example: ----- MyExample.targets ---- <Project DefaultTargets="ShowVersion" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" /&g ...Show All
Fl&#225;vioOliveira How to turn off anti aliasing for small text?
Anti aliasing small text tends to make the letters look blurry and indistinct. I cannot find a way to disable the anti-aliasing of text in WPF and as a result label or button text looks really bad. Ideally I'd like to disable anti aliasing globally for font sizes below a certain size. How can I accomplish this -Ryan rfuller987@hotmail.com Well I actually do have cleartype turned off. In Display Prope ...Show All
AZ_2005 Can't uninstall MSDN Library for Visual Studio 2005 Beta
A while back I installed Visual Studio 2005 Team Suite Beta 2 Version on my laptop and used it. I now have the latest Visual Studio 2005 Professional and I want to install it but I can't. MSDN Library for Visual Studio 2005 Beta will not uninstall. I've tried just about everything but everytime it goes through the uninstall process at the last possible moment it "rolls-back" and dosn't perform the uninstall. I'm stuck. I read through m ...Show All
AndyCourtenay Compiler bug?
Is is just on my machine or is it a bug This is ok: new Funclet(() => "a")(); This is ok: new Func<String>(() => "a"); This is ok: Func<String, String> func = s => "a"; This is ok: Action<String> action = s => s = "a"; This is NOT ok: new Action<String>((s) => s = "a")(); This is NOT ok: new Func<String, String>(s => "a")(); He ...Show All
AndrewRise connections restrictions between shapes fail
hi, i want to restrict the connections between two shapes. I did this by using public override bool CanCreateConnection( ShapeElement sourceShape, ShapeElement targetShape, ref string connectionWarning) for the accordant connector class. e.g there is ShapeA & ShapeB. The problem is, that i can connect ShapeA with ShapeB, if i move the mouse over the "text decoration" of ShapeB although this is forbidden by the con ...Show All
OliverKofoed No WinFX template in VS2005!?
I have installed the Visual Studio 2005 Extensions, but there's no WinFX project template in Visual Studio. I'm using Vindows Vista Beta 2 Build 5384.4. Today I tried to compile the Calculator Demo from WinFX SDK and I got no error messages. Maybe it's a bug VS or Vista. Is it possible to create project templates in VS 2005 Pro How do I create a WinFX template Creat ...Show All
zhangg3 (no symbols loaded for any call stack frame
I have created an excel project in visual studio 2005 with VSTO. My project loads a dataset from SQL. When I try to load the project with a dataset of 5200 or more into a list object, it stops responding. Letting me know that I got a call stack error (no symbols loaded for any call stack frame. The source code cannot be displayed. ), with the following message about MDAs and the message that gives me is: COM context 0x15a638 for 60 ...Show All
Kamesh Bora Cross-thread call with WPF
Hi, I'm trying to learn how to use Windows Presentation Foundation but I've got a really annoying problem. I'm creating a multithread application in which one of the thread needs to change a textbox value in another form. But if I try to change it directly, an exception is raised (Cross-thread operation not valid: Control 'textBox1' accessed from a thread other than the thread it was created on). That's why, beforce WPF, I was using the ...Show All
Rachel J WebForm ReportViewer in remote mode deployment ?
Is the ReportViewer completely Web Server based wrt to its interactions with the ReportServer What I mean is that I'd like to ensure that we can configure our report servers behind the firewall and load balancers - so that the client's browser needs to have no access via URL to the report server for anything (like paging the report, exporting to excel, etc.) I'm assuming all of that kind of activity is handled by the ReportViewe ...Show All
HouYuewen Problem with Conditional Import inside VS
Hello I have a .targets file that supports multiple platforms, and has 3 elements like this: <Import Condition=" '$(Platform)' == '...' " Project="..."> When I build using msbuild.exe and specify /p:Platform=... it works ok for all platforms. When inside VS, it always imports the first one, regardless what Platform I choose. I also have a dummy Platform called "BuildAllPlatforms" that invokes the msbuild task for all platforms, and that wo ...Show All
Quicksilver Convenience question: global setting of panelitem margins
If I have a panel, like the uniformgrid or the stackpanel, I regularly do not want the items within it to be next to eachother, but I want a margin around them. I set the margin for each individual item. I can not find a fast way to set these globally. That would be really convenient though for quick layouts. I'd love to see a property like 'ElementMargin' on the stackpanel that will set that margin around each element it shows. I've ...Show All
Tino.NB Local help not available in VS2005 TS RC; please help.
I am having a (for me) the serious problem that the local help in VS2005 does not display any .NET content. Using VS2005 TS RC1, but the same happend before with VS2005 b2. - only Help on Help and Refactor show up in the index. - dynamic help and F1 help with standard VB code give no results - in Tools, Options, Environment, Help, I have 'try local only' - I cannot use online help, because it's way too slow for me here I suspect that some ...Show All
Aman Dhingra Installing Visual Studio 2005 Beta 2 on a standalone machine - Problem
Hi, I am new to Visual Studio and the whole .net stratedgy. I want to install beta 2 on my home laptop. I am having problems though. It seems like I require the Team Foundation Server to be installed too, which I cannot do due to spec. Is this necessary, or is it just to have .net setup Can someone advise me on what to install and not to install to make it work on a standalone please. I just want to do some coding & builds etc. (wit ...Show All
