Have been pulling my hair out trying to make commandbar buttons go in VB Addins for Office 2000. There are a couple of gotchas here Any references to buttons that you’ve added are not valid by the time you get to the disconnection method. There’s a MSDN KB article on this and the workaround is to use FindControl to get a new reference to the button. The above technique works for Powerpoint and Excel.
I finally got a broadband connection from BSNL last week. T’was heady stuff for the first few days - was getting 40 Kbytes/sec downloads - which translates to around 320 Kbps - more than the advertised 256Kbps. And then it all had to come down eventually!!! For the past two days, the downloads are going at 3 Kbytes/sec… So today I called their help desk and as expected, got no real help other than getting a complaint registered.
Am learning how to call web services asynchronously….here are some good resources to start off with. Accessing an XML Web Service Asynchronously in Managed Code Communicating with XML Web Services Asynchronously I would actually like to make asynch calls from vb (sic!)…well that’s quite some way off..
These should help 1.Integrating Web Services and COM Components using the SOAP Toolkit Article Migrating from the Microsoft SOAP Toolkit to the .NET FrameworkÂ - Article Calling .NET Assemblies and Web Services from VB6Â - Article From: Thanks, Simon
Found this great tip on preventing IE from opening office documents. Launch Windows Explorer. Select â€œFolder Options…â€œ from the Tools menu. Select the â€œFile Typesâ€œ tab. Scroll down the list of â€œRegistered file typesâ€œ until you find â€œDOC - Microsoft Word Documentâ€œ and select it. Click on the â€œAdvanced…â€œ button at the bottom of the dialog. Uncheck the â€œBrowse in same windowâ€œ checkbox.
"Edit In" functionality is only available for Office XP and Office 2003 on the client, however I saw this workaround from a now unknown poster and was kind enough to confirm that it works. "Office 2000 is not supported to edit documents within the Document Library under the "All Documents" view. But here is a work around to get the same exact function from Office 2000 as you do in Office 2003.
VS.NET 2003 debugger died unexpectedly today. I get an access denied error with a suggestion to add myself to Debugger Users group or be an Administrator. I’m already the administrator and also part of Debugger users group. Googling a bit, found a collection of entries on M K Park’s blog
I’ve been using CMAB for sometime now and the only big crib that I have against it is that it doesnt support environment variables for specifying things like the path of the actual configuration file [One of the projects that does is Log4Net] I’ve looked at the code and supporting environment variable expansion shoudlnt be too difficult to do. I’ll post a suggestion in and see what happens.
Probably I’ve been living in a cave…but looks like we’ve got a release of the enterprise library. "Summary The patterns & practices Enterprise Library is a library of application blocks designed to assist developers with common enterprise development challenges. Application blocks are a type of guidance, provided as source code that can be used "as is," extended, or modified by developers to use on enterprise development projects. Enterprise Library features new and updated versions of application blocks that were previously available as stand-alone application blocks.
I noticed this strange behaviour and thought its worth a post - till I find a solution/explanation. Scenario: I have a custom web service running under sharepoint. This means that theÂ .asmx is in "c:\Program Files\Common Files\Microsoft Shared\web server extensions\60\ISAPI" and the binaries in the bin folder under it. The url of the web service is http://aditi277/XTeam/spaces/outlooksynch/_vti_bin/OfflineServices.asmx The _vti_bin has NTLM authentication enabled. When I paste the url in a browser, I go straight through to the page without any authentication!