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.

Read more →

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.

Read more →

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..

Read more →

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

Read more →

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.

Read more →

"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.

Read more →

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

Read more →

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.

Read more →

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.

Read more →

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!

Read more →