Answer Questions
Saurabh Chechi - MSFT transforming an element to a bitmap
Is there a way to transform a framework element to a bitmap The SDK includes samples to transform a framework element to XPS and print but not to bitmap. RenderTargetBitmap is what u need. Hi Tom, below is one way of doing it, although I haven't tried it since the September CTP so there may be some changes required. Andrew private void saveRasterImage(Canvas canvas) { ...Show All
Satie Cheung Error while installing VS.NET beta 2
no i dont think the media is bad, because i am able to open the cab file separately. even i had the same impression initally so requested for a new DVD but still the same error . also have tried copying the DVD to local hard drive. Regards Raagz Can you take a look at the logs under %temp% (dd_vsinstall* and VSMSI*) and paste the errors and the lines above it in a reply Thanks. ...Show All
- permood Comments on VSTO Security Model
In the course of a couple of VSTO projects for various clients, we have come to form a point of view on one aspect of the VSTO security model that needs improvement. As people use email as a primary form of exchanging documents (whether you like it or not, this is a reality), we have become acquainted with the aspect of VSTO that essentially stops customizations from being opened and run from an email message. To recap, in order for a cust ...Show All
Dhericean HierarchicalDataTemplate, ItemsSource and CollectionViewSource
Hello! Is there a way to specify, in XAML, that a HierarchicalDataTemplate may have it's ItemsSource object to be wrapped by a certain CollectionViewSource (The instance of CollectionViewSource could for instance provide sorting of the ItemsSource collection) If yes, may you provide a hint, please ! Best regards, Henrik Dahl Found it! Yes it is working; I just forgot to add the green part: x ...Show All
alorbach Class Designer for Partial Class
I loved to use Class Desinger to design and analysis my project. But I found one thing so far not encourage me: for Partial Class, especially in ASP.NET pages. Does anybody know how to display ASP.NET page in Class Designer Many thanks! Lih, Unfortunately the Class Designer in VS 2005 will not support "code within" (code embedded in an ASP .NET page). However, if you have "code behind" (code ...Show All
Tami19813 i need to change the datasource for my crystalreports during runtime
in my windows application developed with vs2003,i need to change the datasource for my crystalreports during runtime,using oledb for SQL Server. i got more than 40 reports which are to be changed.if i can get how to change the same for one.i can manage the rest.i tried to find the solution on net,but i cudnt.can anyone help me out !! Hello, Here is an article that walks through passing SQL Logon informat ...Show All
animated405 Assembly problem!
I have a problem ask for your help! I'm puzzled by it several days. Maybe it is easy to you. Then,please help me! Thank you! In my project, there are Scene1.xaml, Scene1.xaml.cs, Page1.xaml, Page1.xaml.cs, and Application xaml, Application.xaml.cs, etc. Scene.xaml define a main window where I define a area to display Page1.xaml. In Page1.xaml: < Mapping XmlNamespace="uc" ClrNamespace="HyperBar" > <Grid x ...Show All
TheQuietShadow Show the savdialog after DocumentBeforeSave
Hello In my application I catch the DocumentBeforeSave event displaying a dialog box giving the user 3 options: "save in a external archiving system" - "save on disk" - "cancel". If the user presses the "save on disk" I display the saveDialog. I hav two questions regarding this: 1: The first dialog box is still visible even though I close it in my code. 2: The saveDialog works fine - it seems.. ...Show All
Bobbit Angeles Data Binding "Best Practice"
Hello, I am confused about the best way of data binding. I have a Class named SMS with the string Member SmsText. I want to databind this SmsText with a TextBlock on my UI so it always keeps updated. Shall I make my SmsText a DependencyProperty or just implement the INotifyPropertyChanged What is the best way to do it Thanks That depends on whether or not you even need updates to be propagated. If you don ...Show All
Jfarran Transaction scoping over several SubmitChanges() ?
Hi there, I have a block of code where entities are added to the database using SubmitChanges() and once their auto generated id has been updated the indivual entities are used further in the block for assigning associations. Now, my question goes: How do I make a TransactionScope that spans over all three calls to SubmitChanges() Is it possible at all What I'm looking for is of course whether it's possible to only have the three SubmitChang ...Show All
Anders Ryd&#233;n Questions on Visual Studio 2003/2005
Hello, I'd like to know which version is included of Crystal Reports in Visual Studio 2003 and 2005 I know in the 2002 (and 2003 ) it's version 9 (or equivalence) Also I would like to know which full Crystal Reports versions we can use with the .NET studios I've tested CR10 with 2003 and it fits but could XI work with 2003 for instance A list of compatibilities would be advantageous Thanks a lot for the c ...Show All
PureLegend How to translate from Properties to Items?
I have a property that has comma-separated values, like "A,B,C,D" and I need to pass it to another target. My current solution is to declare it as items and the pass it to msbuild with batching: <PropertyGroup> <MyProperties>A,B,C,D</MyProperty> </PropertyGroup> < ItemGroup > < MyPropertiesAsItems Include = "A;B;C;D " /> </ ItemGroup > < Target Na ...Show All
Atul Sehgal MSVSMON remote debugging on 2003 server
Hi I'm trying to debug an asp.net web application located on a Windows Server 2003 machine with ASP.NET 2.0. The client is a Windows XP Professional SP2 machine running VS2005 Professional. If I run msvsmon as a normal application using an account with all kinds of permissions, I get an error saying that the MSVSMON on the remote machine doesn't have permission to connect to the client. I I run msvsmon as a service, VS2005 can' ...Show All
Moustafa Arafa MouseBinding - CommandParameter - DataContext
Hi All, Since the Command property in MouseBinding is not a DP, I created a static command for this property. Something like: <MouseBinding Command={x:Static local:ViewModel.MyCommand} .../> In this case, because MyCommand is static, so I need to pass something to the CommandParameter, do you know any easy way that I can pass the data context of the parent container to CommandParameter (CommandParameter is not a DP either) Than ...Show All
paulos Can ItemGroup be refreshed?
I have a MSBuild project which creates some files, and then ZIPs them up in to an archive. This is a simplification, but let's say I have this ItemGroup to specify all of the files that I want in the archive: <ItemGroup> <ArtifactFiles Include="**/*.dll"/> </ItemGroup> And I have this target to build the DLL's. <Target Name="compile"> <MSBuild Projects="src/App.sln" /> </Target> I then ha ...Show All
