Getting Started – Basic DB Operations in RavenDB

I was recently was looking at NoSQL based databases for a personal project that I was working on. I did not want spend a lot of time designing the perfect database for an application which might or might not be used extensively. For this I checked out MongoDB and I had decided to go with it but while searching a database native to dotnet I saw RavenDB and felt it might be an appropriate fit for my simple application for the simple reason that RavenDB is fully written in dotnet. I downloaded the binaries for RavenDB and started playing with the db. The five main operations that we do on a database are

  • Adding records to the table.
  • Showing all records in the table.
  • Updating existing records in the table.
  • Deleting records in the table.
  • Searching for a specific record in the table.
  • Continue reading

    Reading and Writing an Xml File the Simple Way

    Introduction
    This FAQ introduces you to the world of XML in DotNet. It demonstrates how to use two built-in classes in the dotnet framework for reading and writing xmls. The classes, XmlTextReader and XmlTextWriter, help you to read and write to xmls in a very simple manner.
    Requirements
    Language : Visual Basic.Net
    Framework : .Net Framework version 1 or 1.1
    Imports : Continue reading

    Debugging JavaScript code in MS CRM 4.0

    It was real tough not knowing how to debug JavaScript Code in MS CRM 4.0. Every time I had to publish the forms and test with Alert Messages. It really got on my nerves and thought I better find a way out of this and that is when Stunnware helped me. I wanted to share the learning with you and here it is…
    Open the Internet Explorer settings and select the Advanced tab. In the list of available options find the “Disable Script Debugging (Internet Explorer)” setting and make sure it’s unchecked.
    Open any script you want to debug and place the following just before the statement where you want to start your debugging session: Continue reading

    Beginners Guide to Visual Basic 6 – Part 1

    I’ve seen couple of posts in the site where people have like asked the basic questions about VB. For instance, is there a need to declare a variable and what is the use of a module and so on. So this is tutorial is first of the series that I am writing. Now I will go for some bookish definition of VB.

    General Information on Visual Basic 6.0
    Visual Basic 6.0 is RAD tool. RAD means Rapid Application Development Tool. It is very easy to create a Data-Entry Form using VB. If it takes a 6 months for you to create a C++ application, it will take only 6 minutes for you to do it in VB. VB 6.0 has many powerful features that are required in today’s programming environment. Some of them are as follows Continue reading

    Automatic Time Tracking an Overview

    A lot of times, i have felt I have worked more than my body can handle but when I took toll of the tasks, it seems most of them were not completed or was in a very bad state. I was not sure where I was going wrong, I had a fair idea that my browsing was causing some damage to my time management but I was not sure as to how much damage it was causing.

    To rectify this, I took it upon myself to create a simple application in .Net (C#) which would keep track of time. Initially I thought, let it run in my system tray and manually enter tasks one by one and the time on which I was working on it. It was a realistic idea but not for me, like i said, my laziness was getting to me and I wanted a way to automatically start accounting for the work I do in my computer. Continue reading

    Turning off gridlines in Excel Worksheet

    I spent half of yesterday figuring out this. So i am posting it here so that it will be reminder for me and for other’s :). Here are the instructions…

    1. Select the worksheet.
    2. Goto Tools->Options->View tab – Windows Options section.
    3. Check or Uncheck Gridlines to show or hide them.