Answer Questions
MeiXi How to get a reference to a model within code?
Another little brain teaser: As part of this problem of creating multiple linked models I'm looking for a way of getting a reference to a model that is not necessarily open in an editor. The scenario I am considering at the moment is where I am splitting a single model over many files (to support distributed development of the model and to support diagrams of small model sections) and this single model has some elements that must be common acros ...Show All
ColinZ Any option to find Track Revisions - Reject Insertion
Hi, We are working on word customisation using VSTO 2005. We have set the track changes on and inserted bulk of xml tags. On the tracked changes window, i have selected "Reject Insertion" option which fires XMLBeforeDelete event where i have done some functional things. Basically if Track Revisions - Reject Insertion option is selected, we need to skip some of the block of code execution in XMLBeforeDelete event. Is there any opt ...Show All
JTai Is VSIP still alive?
When I went to download the aug and sept ctp releases of VS SDK (~40MB), I found download links for VSIP SDK too (~47MB). I thought VSIP was what became VS SDK 2005. Could someone explain what is the difference Also, Microsoft has released VSTA beta (Visual Studio Tools for Applications) at the PDC 2005. How is it different from VS SDK. TIA, -Azhagan The VS SDK contains the VSIP SDK content plus more. The ...Show All
Jeff Barker New file type
I am new to Visual Studio Extensibility. What I am trying to accomplish is create a new file type, add context menu items when a file of this type is selected in solution explorer and custom tool. What is the easiest way to do this For a custom editor for the item you will want to create an EditorFactory... check out the sample in the BasicEditor example in the "Visual Studio 2005 SDK" \Visual Studio 2005 SD ...Show All
Raghavendra Naik DLINQ Queries and observations
I have the following queries/Observations about DLINQ. 1. I could not find any direct way of handling many to many relations. Suppose if User and Role are related by a join table UserRole then I should be able to have a collection of Roles in User and vice versa. Which i think is not possible in DLINQ. (Please correct me if I am wrong) 2. State management is handle outside entities. In scenareos where a client grabs a entity from a WS , ...Show All
Audrey N. T. Indexing data
If the data source for the query has 10's of thousands of items, does the new syntax automatically build and index behind the scenes If not, is there a way to specify one If not, is this being planned Thanks Ad. It is probably not reasonable to expect the query facility to optimize by sorting and/or creating a dictionary for the collections involved, automatically. However, if the programmer is ...Show All
Juan Carlos Trimiño How to launch a Windows Form in a new thread from a SmartTag action?
Hi all, I am using Excel 2003, VSTO 2005 and C#.NET 2005. I am creating an Office Addin and a Smart Tag DLL. Some of the Actions in the SmartTag DLL require me to launch a Windows Form. In the Smart Tag performance guide it is recommended that any such GUI components be launched in a new Thread so as not to load the smart tag recogniser thread. Can someone give me an example of how to do this Also, with my additional Office COMAddin, I also ne ...Show All
Ike Ellis VS 2003 install fails after prerequisites load
One of my students is having trouble installing VS 2003 .NET. After the prerequisite disk does its thing, and he selects the number 2 action of the four listed, he gets a message box that says in essence "Remote access is installed, and must be removed before installing VS 2003". Problem is, neither of us can find a way to uninstall the remote stuff. There are only the items installed by the prerequisite disk showing in the "Ad ...Show All
rlopez_icr Getting the instance of DEVENV without using it!
How to create a new Solution and a project without using the ENVDTE as it gets the instance of DEVENV from runtime Marshalling object. I would like to get the instance of the DEVENV without using the DEVENV or its IDE. The exe File should dynamically create the Solution and its project. Thanks in Advance, Jangu A solution is plain text so why don't y ...Show All
Shortimer Network Not Found and/or Invalid Handle
Oftentimes when performing a "Get latest version" operation recursively on a project, VSS 2005 Explorer will stop and display a "Network Not Found" op-up window and sometimes when I acknowledge this window, VSS Explorer will resume the get operation and some other times, it will display another pop-up; "Invalid handle" and stop. The VSS DB is configured to support the LAN and internet plug-in and the web.config f ...Show All
kenmc Correct way to write an inherited Avalon control
There are two options in the new class wizard that seem close enough. One is for a Custom control, where a class is generated that's derived from Control, but it's just source code, no Xaml. The other option is a User control, where a class is derived from UserControl, and includes Xaml support. Now, say I want to derive my own ComboBox or ListBox - which of the above two do I use as a start I am thinking, I generate a UserControl deri ...Show All
Kent Ogletree Databinding controls
How to databind two controls in same form so that when one looses focus the other gets updated, it can always be done via code, but how to acomplish this using databinding Thanks Simon, This works fine. Sorry for the delayed acknowledgement. Regards Shailendra have a look at 'UpdateSourceTrigger=LostFocus' There is also a fairly recent article on MSDN about ...Show All
Kevin Bowker How Can We Improve the Help Documentation and Sample Code?
Hi All, I wanted to start a thread here for anyone who has an idea to make the Crystal Reports for Visual Studio Help and Sample Code better. Is there a sample missing Have you got a sample that you think is really useful Is there something missing from the documentation Is there a better way to organize it for you Make a post in this discussion or check out Crystal Reports for Visual Studio 2005 on the MSDN ...Show All
JoshHarris Trips to the database
I have a general performance question that needs clarification. Assuming an object graph of Customer, Orders, OrderDetails and assume I am retrieving one customer with 10 orders and each order has 5 orderdetails, how many trips to the database will be required Is it 3 or 12 Thanks, Dave Foderick Taking a guess I would say 12 as I don't see that complexity implemented. If you use the Including() operator to specify immediate loading ...Show All
DLiu 2003 & 2005
Can VS2003 Pro and VS2005 coexist on the same PC Will they interfere with each other Maybe a better question is: Can I continue to maintain and enhance applications written with VS2003 with the VS2005 tools TIA!! Yes and Yes :) VS 2005 and VS2003 can co-exist and you can use 2005 to maintain your 2003 apps. ...Show All
