Answer Questions
Fabián Imaz Object Identity and implicit Interface Implementations
Hi there, I am excited about LINQ. To use it in our applications we need the following: - A an object loaded from several queries should be the same, that is only instanciated once in memory (at least as an option). [This is what typical O/R Mappers do]. However there are variations of this pattern when it comes to implementing nested transactions on memory objects. - If I load any object from the database that has a name property/column an ...Show All
J. Ho Updating Outlook Add-Ins Using Application Manifests
I am confused about how to handle updates for outlook add-ins created with VSTO 2005. The functionality we need is that the add-in can also function when disconnected from the network and that new versions are downloaded from a web server when they are available. According to the various pieces of documentation i can find, the VSTO runtime uses the application manifest on the client to locate the deployment manifest (which can be on a web server ...Show All
Seva Akkerman Install problems
Hi, I tried to install visual studio tools for office now for about two hours and I have failed miserably. What I did was 1 Installed visual studio 2005 2 Installed office (with the .Net things for word, excel, outlook etc.) 3 Installed vstor.exe Now if I understand things correctly this is supposed to be enough. Also this would give me some office options under the new project tab in Visual studio, but ...Show All
The XML Man Focus after bookmark insert?
We are displying a Word Document in a Iframe on an .aspx page. This Document was created using VSTO and in it we have an ActionsPane. We use it to insert bookmarks onto the Document by double-clicking in a listbox. All that works fine, but my problem resides in the foucs after we insert a bookmark. The focus remains on the listbox, NOT the Document, which I need. I have tried this: doc.ActiveWindow.ActivePane.View.Seek ...Show All
CaRLES Generating proxy on the Duplex example
I can compile and run the WCF Duplex example no problem, but when I use SvcUtil.exe to regenerate the proxy (without changing anything), the contract parameters become custom types with the same name as the containing method. I am running the full February CTP combo Any clues DickP // the original public class CallbackHandler : ICalculatorDuplexCallback { public void Equals( double result) ... public ...Show All
PhilipAnton Do userproperties exist on a email folder?
I have a technique that has been working great for appointments, contacts and tasks but fails me when applied to email. I have my own folders that provide a view over the status of things elsewhere. When the user clicks on the folder, I create items in the folder based on the status of things elsewhere. Unfortunately, if I create a mail item and mark the FOLDER with a new userproperty, the mail item ends up in the draft folder. I have to m ...Show All
Phillip Marino Change Picture's Image Dynamically By C# code
Hello, I use Pictures (not PictureBoxes) within my Word 2003 Document to display images (mostly chart images). I add them through Insert -> Picture-> FromFile. I found it extrimally difficult to deal with WinForms controls due to the issues with their persistance. No sample projects work for me. When document gets saved and re-opened I get the error about missed Expansion pack and my action pane gets detached:( I wond ...Show All
Morpheo Working with IOleCommandTarget.Exec() parameters
Hi, I am trying to handle different commands in my VSPackage. I am using C# and have the following function in my package: public int Exec ([ InAttribute ] ref Guid pguidCmdGroup, [ InAttribute ] uint nCmdID,[ InAttribute ] uint nCmdexecopt, [ InAttribute ] IntPtr pvaIn, [ InAttribute ] IntPtr pvaOut ) { } My VSPackage has a toolbar and there is a combo box in this toolbar. I want to put my data (a string list) in ...Show All
dbuchanan How to detect an existing window, notify it and pass new parameters to it?
Hi there, Our company is developing a WPF (Avalon) application called Asset Viewer. This application is to be deployed to the public server through ClickOnce technology. So it can be activated through URL link. Our application is a WPF installed application instead of WBA (right now it is XBAP). We want all URL link (in the calling side) can reach the same existing window (traditionally we call it single instance application). So far, w ...Show All
PLion Data binding question (ObjectDataProvider attributes)
In working with the Feb CTP Hands-On Labs, I notice that I can set the ObjectDataProvider attributes to anything and the application still functions. When and how are these attributes used <ObjectDataProvider x:Key="ContactListDataProvider" MethodName="AddressBook.ContactList,AddressBook"/> I can changes these to anything and the binding still works: <ObjectDataProvider x:Key="Whatever" MethodName= ...Show All
Wolfgang Rockelein What happened to ServiceHost.Throttle
The title says it all really. The ServiceHost generic used to have a property named Throttle which allowed setting of no. of concurrent threads and so on, but this has now disappeared/moved. Anyone know where it went David Ralph, you've got it spot on. The xml configuration is exactly what I want, but I want to do it programmatically. It used to be very easy! I'm afraid the info you've given isn't enough for me to find ...Show All
ghell Problem Adding Web Project Solutons to Source Control
Ok. So I am just getting started with VSS 2005 and am trying to correctly add a web project into Visual Source Safe. The project is called Events. The add goes fine. As with a regular project, I would have expected something like this: $/Events.root Events (solution folder - contains solution file and project folder) Events (project folder - contains source code, etc) However, I end up with something like this: $/Events.ro ...Show All
zu Code documentation sample
Hi all, I wan to make my cutomies documentation of the application code. I wan to know how I link internet website in the documentation code. If I use the XML comments, How I create Like MSDN help files. Regards... Hello, First, I'll make sure I understand your scenario. It sounds like you're developing an application and want to ship help documentation with that application. You have Xml comments ...Show All
carluman can't install VS2005 - "not a valid win32 application"
I'm trying to install visual studio on desktop with an AMD64 processor (but using 32-bit XP Pro), and when I try to install Visual Studio 2005, I get a "not a valid win32 application" in a dialog box. I get the error "D:\ is not a valid win32 application" when I try to use autoplay, and "D:\setup.exe is not a valid win32 application" when I try to run setup directly from the disc. Any ideas ...Show All
wildcard_swe VSS Web Service: Unexpected error 0x80004005
Having spent most of 4 hours trying to get the VSS web service working (thanks to Alin Constantin and a few others with blogs out there), I'm at a point where I'm pulling out what remains of my hair. I can finally connect successfully via HTTPS to IIS (had to self-sign and import my own CA), but when I try to connect to the VSS Web Service, I get an error that says: The SourceSafe Web Service cannot be accessed at the specified address. ...Show All
