For the most part, I find ASP.NET far more easier to use than Java. But the ONE BIG THING where I’ve found ASP.NET sorely lacking is in the support for page templates. Page templates, if you need to brush up, allow you to define common layout and contents for a web site. Furthermore, once defined, its easy to change the layout and or move your default items around the place.

Read more →

The ASP.NET validation summary is great for displaying all the errors in the page. It would be nice though to be able to use a validation summary to display errors that occur on the server side. A typical scenario is when you have a page that does a search and then displays the results of the search. For the case where no results are found, it would be nice to be able to display the results in our custom validation summary control.

Read more →

Been tinkering with getting a nice paging algorithm out. To get a basic hang of the problem, do take a look at * Many ASP developers create their own search engines that return back the results to the web browser one page at a time * Do take a look at the second query given. I’ve modified it a little bit so that you can sort by a given field and removed a bit of the cruft (the au_lname like '%A%' bit).

Read more →

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 →