Answer Questions
John Källén Bug in Dec CTP of Sandcastle with Internal properties
Try compiling the following code: namespace SandcastleTest { public class Class1 { public string Value { get { return null; } internal set { } } } } If you generate documentation using the Dec CTP of Sandcastle and you go to the page describing the Value-property, you will see the following under the Syntax-section: public string Value { get; set; } Apparently, a Setter is mentioned in the documentation, although the Setter is internal in the original code. I think this is a bug. Can it be fixed Regards,Michael Michael, I missed this thread during vacation. I am checking on this and will get back with a response. Anand.. Hi Anand, Any up ...Show All
mostafa_pasha Access Controls in Word (VSTO 2005)
Hi, I would like to access at a later state my controls (textboxes and a dateTimePicker), which I have previously generated dynamically. For an unknown reason, I can't access the Item property in the ControlCollection class ! I have also tried to pass through the GetEnumerator() method like this: System.Collections.IEnumerator en = Controls.GetEnumerator(); while (en.MoveNext()) {en.Current} But when I have the "en.Current" object, I don't know how to access the property of the control. Can anybody help me out Thanks a lot! Claudia I know, I have seen already some examples doing exactly what I have described in the previous message... but I can't find! Any suggestions Thanks, Claudia ...Show All
jazztuffy How to display task pane ion Word 2007?
Hoi all, I have two basic questions with regards to Custom Actions page for Word 2007. When I open word 2007 (not in VSTO debug mode), how can I open the task pane Which button/option do i need to pick for Word to display the Task Pane In Office 2003, I could go to Tools -> Shared Workspace and see the Task pane. How do I do the same in Word 2007 How do I deploy the custom task pane to all my users What is the recommended way Do I include all the runtime assemblies in my setup project My task pane uses a app config file which actually gets bundled in the setup.exe. The app config has some settings which the users can change. How can I get the user to tweak the settings in the app config file during installation of the task p ...Show All
Tej62007 Printing capabilities
Hi, i have a custom control WPF* (which is redering some data, in a required style), now i want to print this piece of control, how do i do it. also is it possible that i can save the image of this print. Thanks and regards Brij Hello Rene, I'm not sure the cause of the problem you are describing. However, be aware that some UIElement objects will handle layout differently depending on their context in the visual tree. You may want to try searching the forum for threads relating to ListView layout, as that may be involved in this case. Happy Coding, Aaron Lahman Hello Brij, A custom WPF control which overrides UIElement ...Show All
cplusplus1 2 Way Binding
I'm attempting to do a two way binding to an Listbox. Each list box item contains several items. And has an Data Template similar to the following: < DataTemplate x:Key = " itemTemplate " > < StackPanel > < TextBox Text = " {Binding Path=Item1, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged} " /> < TextBox Text = " {Binding Path=Item2, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged} " /> < TextBox Text = " {Binding Path=Item3, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged} " /> </ StackPanel > </ DataTemplate > The list box itself is being programmatically bound to an ObservableCollection which con ...Show All
FasT MSCCI Get on multiple files isnt working for me...
I am creating my own editor app that integrates with sourcesafe and have had various issues. I am using VS6 and the app is an MFC MDI app. The various issues I had were that the HWND passed has to be valid otherwise it says it succeeds and returns SCC_OK but actually it didnt. Other things like local project paths MUST not have a trailing slash (all horrible stuff, shame it doesnt error for me). Those being all solved, I am now trying to do a multiple file get again it comes back SCC_OK but nothing has been got. If I use my code to get the files one at a time, it works fine. The same code also works in a console app so I was wondering if its the HWND problem rearing its ugly head or if its something else ...Show All
3d_developer how to add smarttag on a chartobject in Excel ?
we can add the smarttag on the range by setting the SmartTags property . how to add smarttag on a chartobject in Excel Thanks It is impossible. ...Show All
prog.gabi MSBuild Task Success\Failure
If I am using the MsBuild Task (to call another msbuild project file) how do I detect the success or failure of the msbuild task. I have tried the ONError to no avail. It doesn't get there if the callee msbuild task fails. I have tried the ContinueOnError both ways. Also, the msbuild task is for projects. How do I go about getting solutions <Target Name="BuildOtherProjects"> <MSBuild ContinueOnError="false" Projects="@(ProjectReferences)" Targets="Build"> <Output TaskParameter="TargetOutputs;BuildSucceeded" ItemName="AssembliesBuiltByChildProjects" /> </MSBuild> <Message Text="Project Fi ...Show All
moerderin Showing missing content in the HTML
Is there a way to configure Sandcastle to show warning messages inside the HTML for missing content, such as empty <summary> elements I see that Sandcastle Help File Builder supports this, but I'm wondering if it's possible directly in Sandcastle. Rob, It is possible to make Sandcastle note the missing stuff. However, it requires modifications to the main_sandcastle.xsl file. I have created a customised version which I use for my documentation. This includes modifications so that various missing or empty documentation sections are reported with red ink in the documentation. I will e-mail a version to you if you want it... just e-mail me (bucket<AT>onetel.net) so that I can reply. ...Show All
stswordman A data source instance has not been supplied for the data source 'DataSet1'
Can you help me. This is the code I am using in a web page: Imports System Imports System.Collections Imports System.Data Imports System.Data.SqlClient Imports System.IO Imports System.Text Imports System.Xml Partial Class Default2 Inherits System.Web.UI.Page Private m_connection As SqlConnection Private m_connectString As String Private m_commandText As String Private m_fields As ArrayList Protected Sub Page_Load( ByVal sender As Object , ByVal e As System.EventArgs) Handles Me .Load If Not IsPostBack Then ' Create a connection object m_connection = New SqlConnection() ' Create the connection string m_conne ...Show All
S_Parikh Custom Numbering
Hi, Default numbering in Word 2007 is A. New York B. Istanbul C. London D. Berlin E. Tokyo Is it possible to change numberring enumeration like this (C after C) A. New York B. Istanbul C. London C. Berlin D. Tokyo Thank you. The best place to ask this would probably be the word.numbering newsgroup. That is where you'll find the experts on numbering... In a general sort of way, this kind of thing should follow the language applied to the document, but it might also require having a particular IME installed. I can try to check for you, but I'd need to know in which language(s) this kind of alphabetic listing is de rigeur . H ...Show All
Oliver 123 Problem with Sandcastle generated HTML files
Hi, I am currently testing Sandcastle (August CTP) together with E. Woodruff's GUI. I set the option so that intermediate files are not deleted. My goal is to upload the uncompiled HTML files to my webserver for my users to consult online. However, when I attempt to open the HTML files in IE6, I get a javascript error: "Access denied", and then another: "lfc is null or not an object". I debugged the javascript and the "Access denied" error occurs when trying to access a style, which is declared using the ms-help: protocol. Could that be the cause of the problem Strangely, the error occurs only in IE, not in Firefox. Also, it runs fine in file: protocol, and fails only in http: (both on localhost, or o ...Show All
gleason78 Scroll ListView to the top (reset)
I'd like to scroll a ListView to the top (set the position of the scrollbar to zero). Why: Say I've got a ListView containing 10000 items. Now I want to clear the very same ListView and fill it with 100 Items. If the user scrolled down to the bottom of the ListView, only the last of the 100 items will be shown, and paging does not work very well for a few PgUps since the Scrollbar size still is set for 10000 items. So I'd like to reset the ListView to position zero when I refill it. I tried to if (MyListview.Items.Count>0) My Listview.ScrollIntoView(MyListview.Items[0]); but it did not help, scroll position still was down :( thanks, Sam yes ScrollIntoView does work. I t ...Show All
Craig Throne passing date range parameters from .net windows application
Hi! I need to pass the initial date and final date to a report from a Windows vb.net application, is there any tutorial about this i'm absolutelly newbie, i'd appreciate any help. I've already did the report and launched it without parameters from a form but can't find how to do it with a date range parameters THIS IS A SAMPLE CODE 'this one uses crystal report 8.5 Dim XFROM As Date Dim XTO As Date Dim APP As New CRPEAuto.Application Dim REPORT As CRPEAuto.Report Dim PARAMS As CRPEAuto.ParameterFieldDefinitions Dim XSTRINGDATE As String Dim XSTRINGDATE2 As String XFROM = 'your start date in here XTO = 'your end date in here XSTRING ...Show All
Scythen Web project deployment options
Hi. We have a coulple of web projects that we've been building and deploying using team build & web deployment projects. We now want to switch gears and deploy these websites uncompiled so that some changes can be more easily updated. My question is how do we do this I've tried modifying the team build to copy the source directory for the website to the deployment location. The copy works, but the site now gives the error ' The directory '/App_GlobalResources/' is not allowed because the application is precompiled. ' I'm a bit of a .net newb and don't understand what constitues a precompiled vs. uncompiled site. I've considered using the 'Publish Web Site' feature, but that appears to publish from my local workstation instead ...Show All
