Monthly Archives: February 2006

.Net Framework Tools Part 2

Type Library Importer (TlbImp.exe) and Exporter (TlbExp.exe)Type library importer imports the type library information for a COM components into equivalent definitions in command language runtime library. This is useful when you want to use your legacy COM components with your new .Net application (think COM Interop). If you are someone like me who uses Visual Studio.Net, you can do this by adding a reference to the COM components from your IDE. For others, sample usage …

Continue reading →

WinZip command line and unzip script

Winzip provides a command line add-on that you can use if you have a licensed version of WinZip. (For download goto: http://www.winzip.com/prodpagecl.htm ) This comes very handly when you need to unzip files from your program. In my case, I wrote a small VB Script file (scheduled to run using my scheduler as part of a batch job) . Below given is the script. it unzips to a specified directory, uses WScript and Shell object. …

Continue reading →

Haloscan commenting and trackback have been added to this blog.

Continue reading →

.Net Framework Tools Part 1

Assemly Linker (Al.exe) In .Net, basic (versionable) entity is an assembly. This is nothing but a collection of classes presented as DLLs or EXE file. When it is DLLs you can call it as components and when it is EXEs you can call it application. But in both the cases it is stored in disk as portable executables (PE) and loaded on demand. Further more, assemblies can be private assemblies used by a single program …

Continue reading →

Forgot that connection string?

Goto http://www.connectionstrings.com/. You will find connection strings to almost all the possible data sources. Cheers!

Continue reading →

Content Syndication using Dynamic Javascript

In the previous post we saw how to use RSS to syndicate your web content. If you want to syndicate yourcontent for other web sites, this method demand work from the consumer work site in terms of reading the feed and interpreting it. An alternate method, is content syndication using dynamic javascript. This example show you how,The site that consumes your content will include a block of script like this where ever they want yourcontent …

Continue reading →

Content Syndication using RSS

RSS is a popular format for syndicating content over the web. As a website owner, you attract more repeat customers to your site if you allow the users to consume your content using content aggregation technology like RSS. At the users end, they can use a feed aggregator or any RSS Reader software to read your published content. Here is the Wiki definition of RSS, RSS is a family of XML dialects for Web syndication …

Continue reading →

Ajax using Xml Http

These days everybody is talking about Ajax, every product vendor is trying to make their UI products Ajax enabled. Some of the technologies and techniques related to this new buzzword existed for a long time in the form of Remote Scripting (Microsoft), XmlHttp request, etc. Let us here take XmlHttpRequest and examine its features to build our own “Ajax” example. This is how Ajax is defined in Wikipedia… Asynchronous JavaScript And XML, or its acronym …

Continue reading →

Accessing a Secured Web Service

My setup:My web application uses Basic Authentication (SSL enabled). This application consumesa web service which is under Basic Authentication as well. I am using Visual Stuio.net to develop. Since I am using VS.Net, it is easy to start using the web service, you click on Add Web Refrerence,point it to the web service url (http://myserver/mywebservice/service.asmx). At this point VS.Net creates your proxy class in built with the mechanism to talk to your web service. You …

Continue reading →