Answer Questions
Checkup From the Neck Up Overriding the methods of the Document class in the Word Object Model
I am using VSTO 2005. I want to override certain methods of the Document class (Word Document). The methods I am looking at for now are: Save Open New According to the docs, these are virtual methods and should be able to be overriden. I am not having any success with the following approach: public override void Save() { MessageBox .Show( "Testing intervention of Save event" ); } The method just ...Show All
Beauzak xp64 hangs random during and after vs2005 installed
my poor machine stopped without any response, keyboard and mouse not responsed. The CPU temprature is below 40'c and I have tested memory with MemTest tool. The CPU runns well on full load for for half an hour before I installed vs2005, and the temperature reached 42'c only. I haved updated BIOS flash to newest version. the cpu is amd64. Daemon tools x64 and Norton antivirus x64 is installed. The system also hang while system startin ...Show All
raysblog ListView scroll postion
Is it possible to get and set the scroll position on the ListView (I’m aware of ScrollIntoView) I was thinking something like: this.ListView1.ScrollPosition = 1; and if (this.ListView1.ScrollPosition > X) GetMoreData(); Best regards, Thomas Andersen There dosn't seem to be a ScrollChanged event Well, the ListBox itself is really little more than a g ...Show All
mculo Why can't show the Indigo Service Page?
I have downloaded the Lab 1: The Fundamentals of Programming the Windows Communication Foundation, follow the lab1 correctly. Build it successfully,but I choose Run from the windows Start Menu,and enter: http://localhost:8000/Derivatives/ IE has no page,error text: Why How can I show the Indigo Service page Thanks a lot!! Koukai Internet Explorer cannot display the webpage Most like ...Show All
ss23 Programmatically Expand/Collapsing items in TreeView
How do you programmatically do the above I cant see any reference in the SDK to indicate how to do this... Thanks in advance. TreeViewItem.IsExpanded. Set this to true to expand, and false to collapse. I've been trying to expand items in TreeView for hours... The problem is, I don't have TreeViewItems in it. I use binding to a (typed) DataSet using HierarchicalDataTemplate, getting a nice Master-Detail-View in a single Tree ...Show All
waiwaipang ANN:VS SDK Sept CTP available.
The Sept CTP of the VS SDK is available on http://www.vsipdev.com/downloads. This is the 3rd release of the new SDK, major new features include: 4 new Managed Samples ( Package, Service, ToolWindow, MenusAndCommands ) 2 new Native samples ( Package, MenusAndCommands ) and the beginnings of the Native ToolWindow sample. updated docs with a new TOC SDM SDK content integr ...Show All
the_bee_keeper PNRP is not available
Hi I am trying to start a P2P application using WCF, and get the following exception when trying to open the service host: "System.InvalidOperationException : Resolver must be specified. The default resolver (PNRP) is not available." Any idea Elad. What deployment options are there for automatically installing the Windows Peer-Peer component for applications that are dependent on this Windows component I wou ...Show All
vatsan Publish GridView in Avalon as DataGridView?
I wonder Microsoft have published GridView in Avalon same DataGridView. So far, I'm difficult to design GridView, for example: validate on cell, host control : combobox, textbox and specially binding data. That is a reason I'm looking forward to get a DataGridView in Avalon. Because my own gridview is designed by myself is not good. your ideas Regards Steven. Hi Ji - First of all I would lik ...Show All
stan_mitchell VS 2005 CR XI Printing Issue
Hey everyone I have developed a Crystal Report, in Crystal Reports XI, which I am exposing in a ASP.NET 2.0 page. The purpose of the report is for the person viewing it to be able to print it. For some reason though when the print it, it only repeats the data on the first row for how many rows there are. So for example if on the page it shows three rows when it prints it prints the first row three times. I currently have the PrintMode ...Show All
emailAtul Duplication in crystal report
Hi I've stored procedure which run successfully in query analyser But i passed same dataset to crystal report duplication occurs am using ADO.NET connection Can anyone help me to get ride of this problem Thanx in advance Hello, Here is a technical paper on this: http://support.businessobjects.com/communityCS/TechnicalPapers/cr_duplicate_data.pdf.asp Keith - Business Objects ...Show All
PeterG_75 diagram.AutoLayoutChildShapes(???)
I have a diagram where I have more than one shape and where they are on top of each other initially. Looks like I can use diagram.AutoLayoutChildShapes() method but I am having hard time to build the argument it takes What is the argument for diagram.AutoLayoutChildShapes(IDictionary ); Could you tell me how I can build this argument or is it already stored somewhere Thanks. Try using Diagram.Ne ...Show All
FruitBatInShades Getting Number of Charts and Setting Titles
In VS2005 B2, how can I get the amount of charts on a sheet and set the title for each in a loop Yes, but if I'm rigth, he wants to display the number of charts on a sheet, not the number of sheets. So maybe he could try something like this: MessageBox.Show( this .Sheets.Charts.Count.ToString()); (Notice that I haven't test this code) HTH. Bye. If you add the following code to your ThisWorkbook_Startup eve ...Show All
cellist Can someone give me an example of how to set an image?
hi, I'm trying to set an image in my code, but it doesn't seem to work. Can someone give me a simple .xaml and .cs of how to set an image. Mine look like this... .xaml: <Window xmlns="http://schemas.microsoft.com/winfx/avalon/2005" xmlns:x="http://schemas.microsoft.com/winfx/xaml/2005" Title="TrackingApplication" Width="953" Height="753"> <TabPanel> <TabControl Width=&qu ...Show All
Ian Cummings Search text in help
Hi! I really don't get how to search for information in the Visual Studio documentation version 2005 beta 2. Is it something general that I have missed ! ! My filter in the example below is set to Language: J#, JScript and Technology: ASP.NET When searching for "all objects" I get no hits. If I search for "all objects" AND javascript I get 87 hits, the same as searching for only javascript . If searching for javascript AND vbscript I get 100 ...Show All
bstrully Drag and Drop Treeview Items between 2 Treeviews
Hello I am trying to drag treeview items from 1 treeview to but no luck. I am unable to find the event ItemDrag like in the control found in VS.Net 2003. Just an question regarding the DragLeave Event. Am I correct in saying that the DragLeave event is raised when the user drags the cursor out of the control or the user cancels the current drag-and-drop operation and that the DragAction is Cancel w ...Show All
