Answer Questions
Whoisit TreeViewItem width to fit control & transformation
Hi! 1)Is there any way to set TreeViewItem width in such way that they fit eaxactly all free space in the TreeView. (smth like items in listbox) I cannot manually set it in code because treeview width is defined automatically. 2) How can i apply transformations only to the treeview item and not to its child elemwnts (All effects are applied at node expansion, i tried to set RenderTransform of child elements to null but it didn't help) Or maybe i can perform all transformations before node is expanded but just after + button is clicked but i didn't find necessery event Thank you my mistake, the code above will not work if the items are nested we have to change the controltemplate for the treeviewitem ...Show All
TexMatt VSTO Outlook 2003 Add-in Deployment problems
I've had a lovely little add-in now working on my machine for a while, and yet I haven't been able to deploy it successfully, not even on my own machine once. The program works absolutely perfectly on my machine when debugging and running through Visual Studio, but when deployment comes, the common error "Not loaded. A runtime error occurred during the loading of the COM Add-in" occurs. I've now created the simplest of simple add-ins, that simply display "HELLO WORLD" in an attempt to deploy that, to then further, deploy mine - still no look. The main blog I found which seemed to cover the most problems was http://weblogs.asp.net/mnissen/articles/427504.aspx I created the installer class that i read about ...Show All
Al Pie How to reverse item flow?
I have an ItemsControl with items shown horizontally inside a StackPanel. How can I change the direction of the items in that StackPanel, so that one time items 0...n go from left to right, another time from right to left (nothing to do with FlowDirection for text). And how could I bind that to a property at runtime Thank you very much, that works as easy as it can get ;-). One final question though, how could I databind the Direction to a property in my settings class I tried a Binding using a ValueConverter (I have a bool setting for it) but it doesn't work because Direction is not a DependencyProperty on a DependencyObject. So I tried with Triggers but then I get another error. The code is: ...Show All
Mehmet Metin Altuntas Reserved.ReportViewerWebControl.axd browser window remains open after PDF export
Why is this blank browser window remaining open after I save an export of a PDF export Here is the entire url in the blank browser window: https://cacluster/claimscontrol2a/Reserved.ReportViewerWebControl.axd Mode=true&ReportID=944716ea708946eaace90ce3d0725872&ControlID=298bb5b5-7b3d-4fea-80dc-bbb48e4fe792&Culture=1033&UICulture=1033&ReportStack=1&OpType=Export&FileName=rptClaimsOutstanding&ContentDisposition=OnlyHtmlInline&Format=PDF Here is the web.config: < httpHandlers > < add path = " Reserved.ReportViewerWebControl.axd " verb = " * " type = " Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=8.0.0.0, Culture=neutr ...Show All
ajpharrington Change combobox items background color
Hi I want to change background color of combobox item in my WPF application.I can change background color of combobox but I can't change it's items' background color. Here is my sample code. ************************************************************* < ComboBox Background = " Gray " Name = " cmbMain " Width = " 100 " Height = " 20 " > </ ComboBox > And I am adding items in combobox from coding(code behind) side. cmbMain.Items.Add( "first" ); cmbMain.Items.Add( "Second" ); cmbMain.Items.Add( "Third" ); ************************************************************************* The problem is when I Run the application ...Show All
Evgeny Shvets Expression Interactive Designer May 2006 CTP- problem
Hi, can anyone install Expression Interactive Designer May 2006 CTP when I open the expresion interactive I can't click on the toolbar-file,edit... Thanks Hello Shai, I'm sorry to hear about your troubles with Expression Interactive Designer, but this is the forum for the WPF Designer in Visual Studio. Please check out the EID discussion group here: http://www.microsoft.com/communities/newsgroups/en-us/default.aspx dg=microsoft.public.expression.interactivedesigner&cat=&lang=en&cr=US and see if this issue has been seen before, or to ask for some assistance. thanks chad ...Show All
NET PR Visual Studio Extensibility Forum FAQ
The following is being posted on behalf of Dr. eX. -Aaron Marten I wasn't able to post a question about the new load failure analyzer tool on his blog, so I'll ask here. Will the tool be able to diagnose failures besides the four common ones he listed Hi Sean, The PLFA tool was built pretty much to address those specific 4 issues. Have you come across other scenarios where your package failed to load Everyone's package is a bit different, so it can be hard to anticipate other causes resulting in package load failures. But these are the 4 that PSS and the dev team have encountered repeatedly both internally and in the wild. Sincerely, For example when creating a ProjectSubType . (sa ...Show All
PerPixel How to search for GlobalAppointmentID?
Hi All, How do I search for AppointmentItem using GlobalAppointmentID There's not much info in MSDN docs on that. How global this ID Is it unique accross of all Calendars in the Exchange or just inside of a particular Calendar Thx... Alex The KB article at http://support.microsoft.com/kb/899919/ explains the usage, which is specific to appointments. So, how global is the GlobalAppointmentID Is it unique accross all calendars How different the GlobalAppointmentID from EntryID What's the usage one vs another Thx... Alex Hello, How about adapting the code sample at http://msdn2.microsoft.com/en-us/library/ms269108(vs.8 ...Show All
Jo_ Dinamic proxies - client behaviors
Hi guys, I'm dinamically creating the client proxy because we need to define the configuration through metadata defined in a database. In the server I can correctly create the endpoint, defining all its binding and behaviors. Services are correctly published and I can consume them normally. But the problem arises when I need to define a behavior that will be used on the client side. I can not add an endpoint behavior to the dinamically generated client proxy, because the most specific overload for the constructor of the ClienBase<TChannel> class, only allows you to pass a Binding and a EndpointAddress. Is there a way to define the behaviors for the client side programatically, considering that I have to create an instance of th ...Show All
Robert S P DExplore "favorites.xml" - how to launch DExplore with new favorites location?
Hi all - I'm trying to consolidate my Document Explorer favorites so that starting this tool from either Visual Studio 2005 or from Start / All Programs / MSDN will work with a single favorites.xml file. In a previous thread ( http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=600264&SiteID=1 ) Nishan mentions that the Document Explorer can be "...launched in such a way that it saves its favorites file to a folder specified by the launching program." When I try "dexplore.exe / ", there are no obvious switches to control the location of the favorites.xml file. Does someone know what the magic switch is Or is there better way to have a single favorites.xml for any launch of dexplore Note for reference ...Show All
AaronL Debugger starts and stops without running application
If I create a new project (i.e. Windows Application), put a button on the form and then try to start the debugger, it will "start" and "stop" within a second or two. No form is displayed. If I run it outside the debugger, no form is displayed. If I add code behind the button and try to set a breakpoint, it is ignored. This occurs for both Visual Basic 2005 Express and Visual C# 2005 Express. Any ideas I found that unchecking "Enable the Visual Studio hosting process" in application settings allows the program to run, but after restarting from a breakpoint the application stops with the same error message (-1073741819). Has anyone seen this before ...Show All
Kevin Hoffman crystalreportviewer toolbar images missing
I've seen a few posts here about this pesky problem but none of them solve my exact problem. I have a VS2005 web project with a crystalreportviewer control in it. If I run it locally, I get all of the crystal navigation images (next, prev, etc.). But when I copy/paste deploy to another webserver the images are missing. Here's what I've tried: 1. Made a setup project that included Crystal as a "prerequisite". Deployed from a setup.exe and everything worked but the images were still missing. 2. Found the path to the missing images in the browser view source, then made a folder in my web project to mimic it (e.g., /aspnet_client/System_Web/2_0_50727/CrystalReportWebFormViewer3/images/toolbar/). Copy deployed and this didn' ...Show All
Robert Mileski VS2005 Installation failure
I am failing on the install of Dexplorer. I am logged in as administrator, but the error log shows I have insufficient priviliges to update the config file. Error 1303.The installer has insufficient privileges to access this directory: C:\Config.Msi. The installation cannot continue. Log on as administrator or contact your system administrator. I'll bet I'm not the first. Can anyone help Thanks! what happens if you try to install it on a different (new) user account, with admin priviledges What happens if you try to install it on a different machine Have you also tried disabling your anti virus software Can you take a look at the log files For the location of the log files see: http://bl ...Show All
GrayMatter Software Custom Project...
Hi, I have created custom project type. I have created project template using the method Export Template. In the project template I am genrating 4 folders(See template file). When I run and open the new project, it does create custom project type but fails to create Folder in the appropriate location. I am copying VStemplate file . As none of the folders are created I am getting Exception error on adding Item Template. The Item Template adds the file under one of the Project folder. Any idea Here is my VsTemplate file and I expect to see all the folders <Folder> generated when I open the Project template. Any help is appriciated! < VSTemplate Version = " 2.0.0 " xmlns = " http://schemas.micro ...Show All
PitbullPT Slow Render Performance (2000+ UIElements)
I’m creating a Grid that is 35x35, each cell containing a ContentControl with a ContentTemplate defining a TextBlock inside a Border. It is necessary for the entire grid to be rendered at one time. Perhaps obviously, there is a noticeable delay after my code ends (building the grid dynamically) and when the grid displays on the screen. (based on Timers and a Debug.Write) The delay also seems to occur when I’m building the grid for printing and its not actually rendered. I would guess I’ve reached a limitation of WPF, but is there something I can do to minimize this delay Thanks for suggestions. ----- Code --- <Style x:Key="DefaultCellBox" TargetType="{x:Type ContentControl}"> <Se ...Show All
