Answer Questions
shieldy Using the MPF to Implement a Project Type (C#)
Hello, I am trying to create a simple new project type, following : http://msdn2.microsoft.com/en-us/library/bb166157(VS.80).aspx I have now run out of documentation on which interfaces etc I need to implement.. Should this bolier plate code actually do any thing Because I see no new project in the exp hive Thanks Tom Hi TurboTom, TurboTom wrote: For example the IronPython project has resx files that contain the strings used in the "new project window" How would my demo project know this ... Regarding the resources I had a problem with it when I started working on our MPF based package. The thing I missed when I create the package (using IronPython as a sample) was very simple - ...Show All
GavinJ20011 Video conference soltuion
Hi, I want to implement a multicast video conference application, any solution using WCF is it possible to stream also to a smart device WFC allows you to virtually use your own implementation at all levels of the communication. Please refer to to the Windows SDK samples. Thank you ...Show All
guy kolbis Can't find MSDLinqGenerator
Hi, I downloaded from subscriber downloads the following: ORCAS Base Image ORCAS Sept 2006 Then I executed them and created the virtual machine. Then I installed: ADO.NET vNext CTP (August 2006) LINQ CTP (May 2006) ADO.NET vNext Entity Data Model Designer Prototype CTP I then started to try out the samples and most would not compile. Then I followed instructions from the "Walkthrough: Using the Dlinq Designer" but there I can't get way any code generated from the dlinq file. The IDE says the associated tool is MSDLinqGenerator, but I cannot find such tool by searching the file system of my virtual PC. Any help GREATLY appreciated! Juan Dent Hi and thanks for a prompt resp ...Show All
Biju S Melayil Actions Pane in Word 2003 (VSTO SE - Beta) - newbie question.
Hi. I've been developing Office solutions int .Net for about a year now. My company had some proprietary code that was letting us place user controls in Word (Document Map) but it's time to phase that hack out with Office 2007 coming. So I downloaded VSTO (the version currently distributed) and installed it. Then I started looking around for code samples how to attach a custom Actions Pane. It appears that if I start an Word 2007 project in VS2005 there is ActionsPane but if the project is for Word 2003 - there is no such property and no obvious way of getting a public property that would do. I'm not sure if I'm doing something incorrectly and it seems more and more frustrating after 3 days of digging around. After initial atte ...Show All
Muhammad Azeem Azam How to open a Cmd (DOS) Window?
How can I open a Cmd (DOS) window for I/O I created a custom Visual Studio project as the first step in implementing a language service. The language uses a console window. A Visual Studio output window isn't usable because the language uses the Console API for cursor positioning (24x80) and coloring. I tried things like the following, including prefixing with "Cmd/C". However, all output goes to the Visual Studio Output Window, not a DOS window. <Target Name="StartProgramEvent"> <Exec Command="MyConsoleApp.Exe"/> </Target> An alternative is to setup a Cmd window as an external tool. I'm having several problems with that approach. First, $(TargetName) is an empty string. I need it for a ...Show All
cloud strife How to debug a Class
I want to debug a class, more specifically functions that I have in my class. I know that I can create a little app and reference my class and call the functions like that, but I was wondering if there is a general tool that I can provide a set of parameters into and get output from it... Thanks. Hi, give TestDriven.Net a try. It's a testing plugin for VS2003/2005, allowing you to run unit tests, prepared in other tools, code coverage, etc.One thing I like about it is that you get some additional items in your code window's context menu, like "Run with... Debugger". Run this inside your method in a code window and it will run it and stop at any breakpoint you have set. Without running the whole application... I al ...Show All
hrubesh How can we secure our interface?
Hi, With the interface being an XAML file, is the end-user able to change everything regarding positioning and to some extent behavior (via changing the bindings) How can this be controlled On the other hand, if we WANT to allow the end-user changes in the presentation alone (not in behavior) is there a way to do this Thanks in advance!! Juan Dent Hi, Thank you, I appreciate this prompt response. Along the same lines I have a related issue: Now, what if I wanted to give the end-user some freedom as to the UI How would I do this Would I need to supply all the source code, only the XAML And, would this be an all-or-nothing deal Could I restrict what could be changed and what not Best r ...Show All
RickGaribay.NET Feasibility: outlook aggregator emails
Based on past limitations of the outlook programming model, I wanted to first check on the possibility for something before perusing the documentation: I was wondering about the ability to enumerate outlook 2003 messages such that email addresses can be used to create personal folders where messages will be moved. In other words, an automatic personal folder creator based on a repetetive emails. In addition, ide like to create rules automatically for this process. Is this already done Or is it not possible Thanks in advance. You would use not rules but an add-in to perform that functionality. No problem with Outlook 2003 or Outlook 2007. Start with the Application.NewMailEx event ...Show All
Alex1 Consuming a Web Service from Word 2003: VSTO or VBA + Web Services Toolkit?
I am trying to work out whether I should use VBA or VSTO to consume a web service from a Word 2003 document. The functionality is as follows: A Word template is originally created using Word 2003 or Visual Studio (if necessary for VSTO solution). We need to be able to modify this template using Word 2003. The template will use XML tags as a basis for mail-merge. A Word document is generated 'server-side' by reading the Word template, populating the XML data islands using VSTO, then streaming it back to the user via the browser. The user will modify the document then 'post' its contents back to the server by calling a web service via a 'button' in Word. We've tried a VSTO prototype but we have had problems with deploying it. While it runs ...Show All
Alex Merchant Receive timeout
Hi! I can create a simple WCF application. In service I write: [ ServiceContract ] public interface IPhotoGet { [ OperationContract ] Image GetPhoto( string name); } ServiceHost svcHost = new ServiceHost ( typeof ( PhotoImplement )); svcHost.AddServiceEndpoint( typeof ( IPhotoGet ), tcpBinding, @"net.tcp://localhost/photo" ); svcHost.Open(); And in client I write: IPhotoGet photoGet = ChannelFactory < IPhotoGet >.CreateChannel(tcpBinding, new EndpointAddress ( String .Format( @"net.tcp://{0}/photo" , tbAddress.Text))); Image result = photoGet.GetPhoto(tbPhotoName.Text); pbResult.Image = result; When I try to execute method GetPhoto, which m ...Show All
setareh Refreshing a WPF window
Hi I have a WPF window that displays information from a database. The information in the database is updated very often. Is there a way in the code of the WPF window to make the window refesh periodically to display the new data, once a minute for example. I want this in the future to be a gadget and it would need to display the data as it changes. you could use a DispatcherTimer to trigger an event every 1 minute. ...Show All
bxs122 Document Level Customization - Excel
Hi, This is with reference to my previous thread.... http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=585932&SiteID=1 (Regarding the bug mentioned by Cindy in the replies, I got a confirmation from Microsoft VSTO Support regarding the bug you had mentioned. They have confirmed the bug and have sorted the same and would be working fine with the Beta2 Tr version which would be shipped out shortly.) A couple of questions regarding the above topic (document level customization)... 1. Using the workbook level customization which is really a good suited option for me, I would like to add a usercontrol form on a CustomTaskPane. However, the CustomTaskPane is not available under the ThisWorkbook class. It appears only unde ...Show All
Ian_E "Opening" or "instantiating" VSTO Word document from another application
So, I have created this simple Word document project with some Bookmarks, that I want, at a later point, to fill out with som external data. But how do I access the "document" from another application, I have added the dll as a reference to the project, but how am I able to call eg. the DoSomething() method in the ThisDocument.cs file In the end I want to be able to pass a DataSet to the document, have a number of labels/bookmarks filled and then Open or Print out the document.... -- Sparre A VSTO document project can be opened from another application by automating the Word application and calling the Documents.Open method. Or possibly you could "shell" it. If you have code in the T ...Show All
slk Invalid Package Load Key
One of our customers is having a problem loading our Visual Studio package. The error logged in the ActivityLog.xml file is as follows: <entry> <record>41</record> <time>2006/07/19 12:39:30.862</time> <type>Warning</type> <source>Microsoft Visual Studio Appid Stub</source> <description>CheckPackageSignature failed; invalid Package Load Key</description> <guid>{FC381043-7055-495F-B40A-0AA08F20D402}</guid> </entry> <entry> <record>42</record> <time>2006/07/19 12:39:30.862</time> <type>Warning</type> <source>Microsoft Visual Studio Appid Stub</source> <description>CheckPacka ...Show All
nate-d-o-double-g Where is the storyboard's target
Hi, I have an animation running through a storyboard. I want to stop the animation in some CurrentTimeInvalidated callback. Looking in the debugger, I see that when the animation runs through a storyboard, its clock controller is null. Therefore, I can't stop it through the clock.controller.stop() interface. However, the storyboard is accessible as (Storyboard)clock.parent.timeline, so I can use it for either seek() or stop(). These functions require a frameworkelement, which should be the same one that I passed to storyboard.begin(). Where do I find this element, short of keeping a reference in some private data structure I didn't find it in the animationtimeline, animationclock or storyboard. Thanx for the effort, Lee. However, wh ...Show All
