How to Stop/Kill QTP at the end of the Automated Script

>> Thursday, December 3, 2009


If you are starting QTP using VB Script, then it is easy to Close the QTP again.

Below Code will help you to Start/Stop QTP

‘*****************************
Dim App

StartQTP
StopQTP

‘ Start QTP
Function StartQTP ()
      ‘ Launch QuickTest Professional and make it visible.
      Set App = CreateObject(”QuickTest.Application”)
      App.Launch
      App.Visible = True
End Function

‘ Stop QTP
Function StopQTP ()...

Continue Reading >>

Read more...

Read/Write/Delete Microsoft Windows Registry Keys/Values Using VB .Net

Many applications stores useful information like some keys, history, some recently used files information and many more into the registry. If you are also planning to build your own software then you should know about how to read and write into the registry.

One day I was also building my Software and I tried searching the same thing on the net but very few things I have got so after doing some reading, I want to share my knowledge with you all. I tried implementing the same thing (Writing into the Registry and Reading it again) using VB
.net

Very first thing that you need to have before we start writing or calling Registry related APIs or Functions in VB .net. Import Win32 Namespace.

Imports Microsoft.Win32

Continue Reading >>

Read more...

How DataGridView in VB .Net Can Be Use for Representating Data when We Don't Want to Use Any DataSource?

>> Tuesday, December 1, 2009



DataGridView Control in VB .Net can be use for many purpose. One of the main purpose is to retrieve data from the Database like Access DB, Oracle, SQL and display them in a tabular format using DataGridView Control and other purpose could be using this Control just for Data representation and Data source can be from anywhere and not from any DB.

I tried searching in google but didn't find any solution then at the end I tried some of the properties that can be use for inserting Data into DataGridView Rows and Columns.




When you will add DataGridView Control into your VB Form, you have to add columns. Now Adding Columns you have many options in the Column Field Type - like whether you want to have it in TextField, Checkbox, Dropdown box...

Continue Reading >>

Read more...

How to Send and Receive HTTP Web Request & Response in Vb .Net?

>> Monday, November 30, 2009


Sending Web Request and getting Web response if one of the basic way of communication with the server. In VB .net it is very easy. These are the steps what you have to follow.

1. Create one project with one Class & Import these two namespaces in your class.

Imports System.Net
Imports System.IO


2. Now in a function where you want to send web HTTP request, write below lines of code.

Continue Reading >>

Read more...

How to get the MAC Address of our machine using VB .net?

>> Thursday, November 26, 2009


Many of here would be looking for the solution which can help them to get the MAC address of NIC of the Computer. Yesterday I tried very hard to find the solution for this and finally found the Solution, a very simple solution of just few lines of code in VB .net.

1. Create one Class / Project in VB .net and Give some name to the Class.

2. Now before we start writing and calling actual functions from the Namespace we need to include that name space at the top of the Class.

Continue Reading >>

Read more...

How to increase line and Column size in Oracle/Sql for better output oin the screen?

>> Wednesday, November 25, 2009


Today I was looking for the solution or query/command which can help me to improve the sql prompt display by increasing the width of the Column and also the length of the Line..

To Increase the line in sql prompt you can use following commands.
SET LINESIZE 1000;

To Increase Number width:
set numwidth 30;


Some more useful commands -

SET NUMWIDTH value - default width for Number columns
SET LONG value - default width for LONG columns
SET LONGCHUNKSIZE value - default width for LONG columns
SET MAXDATA value - Max width for columns


Visit following Pages for some more information.

http://ss64.com/ora/syntax-sqlplus-set.html
http://ss64.com/ora/syntax-sqlplus.html

Read more...

How To Design A Good API & Why it Matters

>> Wednesday, November 11, 2009

Every day around the world, software developers spend much of their time working with a variety of Application Programming Interfaces (APIs). One of them is you will find below.. like how Google build their API... and many more things.



For such a Informative Videos Click Here.

Read more...

Download Desktop Stock Ticker, It Can be used to view Global Market Stocks

>> Saturday, October 24, 2009


                                SOFTPEDIA "100% CLEAN" AWARD


Tuesday 02 Dec, 09


Latest Version of the Real Time Desktop Stock Ticker (version 3.0) with many Good features now Available. 

Soon Version 4 (as shown in above screen shot) with Search inbuilt feature also will be available.

For more detail visit: digitaliiinnovation.co.cc

Tuesday 10 Nov, 09
Friends, just uploaded XP and Lower version of this Ticker.
Here are the Download Links.. Enjoy using it.

Let me know if you will face any problem with this setup.

Windows XP and Lower OS :ZIP: Download
Windows Vista / Win7 :ZIP: Download

Tuesday 3 Nov, 09

I have been looking for a Best Desktop Stock Ticker which can give me Stock Information without any delay.. I tried serching everywhere, I found some widgets but non of them were good enough for me. Because many of the are just made for some perticular Stock Markets, many were just for few countries. I didn’t find any one which can be used to view all countries, and all stock markets stock.

Ofcourse we can use Google Finance and any other different sites to keep a watch on any Stock but again we have to open each website seperatly again and again.. and if we are seating in our office watching stock quotes on all those sites instead of doing our office work does not look good. Even if we are watching Stock Quotes in our offices we never let other people know that we are watching. After a so many search I have decided to develop one for my self.. and I called it as Tiger's Desktop Stock Ticker.

I am using everyday and its is beautiful Stock ticker. I know it is a new one so there are still some enchancements need to do but overall I liked it very much. It is not because it is developed by myself but it is really very good.. try using it.

Here you can see how it looks like.

This is main window – where you specify Company Name and Stock Symbol (symbols you have to take from There two sites).
If you are interested only in Indian Stocks then you can select first Option or even you can select second option as well for any INDIAN Stocks.

If you select First Option , then you will be able to view Stock Quote for only NSE (India) Exchange. Currently BSE Exchange from ICICI Direct is not Supported for now but may be in future it will support.

But don't worry about it, there is an alternate solution available to view BSE Exchange Stock Quote as well. Select 2nd Option (Google Finance) and specify the BSE Stock Symbol from Google Finance. You will be able to see BSE Stock Quotes as well.

As we know that on Google finance, we can find all kind of Stock information so this Tiger's Desktop Stock Ticker can be used by all from anywhere in the world.


You can click on those two Hyper Links below each radio button to find the Stock Symbols.

- If you have selected ICICI Direct Radio button then just search the Symbol on the site http://content.icicidirect.com/home.asp (or Click on the link below it).
Specify searched symbol @ Stock Symbol field and click on "Show Stock Quote" button.

- If Google Finance Radio button is selected, then again go to the site http://www.google.com/finance (or Click on the link below it).

Here for example if you are looking for NSE (National Stock Exchange, India) Stock Exchange Quote then you have to look for the Symbol having NSE: at the beginning.

So if you are looking for BHARTI AIRTEL LIMITED company Stock form NSE (India) Exchange then you have to specify "NSE:BHARTIARTL" @ Symbol field of the Stock Ticker.

Same things applies to other stock exchange quotes.

If you are looking for BSE (Bombay stock exchange, India) Stock Exchange quote for the same BHARTI AIRTEL LIMITED company then you have to specify "BOM:532454" @ Stock Symbol field.

If you are looking for Google's Stock Quote the it should be "NASDAQ:GOOG"

- Once you have specified correct Company Name & Symbol then Click On the "Show Stock Quote" button and you will see small window (as shown below) at the bottom right corner of your computer screen.

You can see in the snap shot on the left side. Three different Stock Quotes.

- First one is Bharti Airtel NSE price from ICICI Direct site.
- Second one is Same company, BSE (Bombay Stock Exchange) Stock Quote is displaying from Google finance site.
- Third one is Google Inc. Stock quote from Google finance site.

Company name is coming on top of each with ICICI/Google which indicates that Name having (ICICI) is taking Stock Quote from ICICI site and Name having (Google) is taking quote from Google finance site.

We can select Google finance / ICICI Direct to see the Stock Quotes.. and you will get real time Quotes without any delay.

I like few features in it:

- Move Stock Quote Window (Image-2) Up and Down
- We can Increase/decrease Transparency (this is my favorite feature- because this helps us to hide the Stock Quotes from others.. this is very useful when you are trading seating in office)



Now for stock quote from ICICI having two more values on right side of Latest Stock Price. First one is Day High Price and Day Low Price below it.

Quotes from Google finance site -Right hand side of the Latest Stock Price there are again two values. First one is Today's Increased/Decreased values compare with last day close price and below it the same info in percentage.

Now you must be wondering looking at the above Image-2 that how the transparency is different for each small windows & how I managed to arrange each window like above.. !! There is a solution available for this. Please refer below table.

Key Shortcuts:
← (Left Arrow): To Decrease Transparency
→ (Right Arrow): To Increase Transparency
↑ (UP Arrow): To Move Window above
↓ (Down Arrow): To Move Window below
m ('m' Key): To Minimize Window
Esc : To Close Window

You will see some of the features mentioned below in next version of the ticker.

- We will be able to move Stock Quote Window Left and Right Side
- History will be provided so once you will see any stock, its stock symbol will be stored in the History and we can be easily select it from it.
- Clear History


One thing I forgot to tell you is that, this Stock Ticker is not working on XP but works fine with Vista/Windows7. Soon he will be correcting this Ticker for XP and Lower version of Operating Systems also.

I am enjoying with this Desktop Stock Ticker. I hope you will also like it. Try using it..

Also one more thing, this uploaded Desktop Ticker can be use to watch only TWO Stocks Quote at a time, and if you would like to see more then you have to contact Me. I will guide you.

Vista & Windows 7 - Download
Windows XP and Lower - Download

Help is available with the installation & for more detail.
Email ID: Digitaliiinnovation@gmail.com

Read more...

XviD Codec For Windows Media Player

>> Tuesday, September 1, 2009

Many time when we use Windows Media Player to viewing Movie/Video Files, it is possible that in your machine you don't have that perticular codec which support that Video format. It happened to me today morning. I was trying to play .AVI Video file and I saw that I was not seeing any Image in the player.


Then I tried searching the Solution for this and at the end Found that - I need one additional Codec for playing Movies/Video.

If you are also facing the same problem with your Windows media player, Here is the Solution.. Click here to Download the Codec.. Enjoy Watching Movies.

Some more Useful Links:
http://www.xvidmovies.com/players/

I hope this Helps You!!

Read more...

How To Increase The Excel Comment Size using VB Script/Macro

>> Thursday, July 30, 2009


I have gone through many Forums for VBScript / Macro and I found that many people are looking for a solution which can help them to increase the "Comment Size" in Microsoft Excel using VBScript Or Macro.

I was also not knowing about this solution but today I wad just exploring those Functions for Comments and I got the Solution for it.

Initially I was thinking like we cannot increase but when I have look at the value in the Debug View, I found Height and Width Both so I did some more R&D and I found it finally.

Set cmt = ActiveWorkbook.Worksheets(1).Cells(Row, Col).Comment
If cmt Is Nothing Then
Set cmt = ActiveWorkbook.Worksheets(1).Cells(Row, Col).AddComment
   ' Increase the Height & Width
   cmt.Shape.ScaleHeight 1, msoFalse, msoScaleFromTopLeft
   cmt.Shape.ScaleWidth 1.7, msoFalse, msoScaleFromTopLeft
End If

Enjoy!!

Read more...

About This Blog

Good to see you here on my blog. Here I have put some of my experience of Software Development, Testing, Automation Testing Framework Development and some good and useful things require for Development & Testing. Keep Reading and commenting, feel free to give any kind of comments and suggestions if any.

If you have anything new, please let me know.. I would love to explore new things. Keep visiting, every time you will come here - you will find new things.

Recent Comments

Buy & Get Huge Discounts.. Hurry

  © Blogger template Skyblue by Ourblogtemplates.com 2008

Back to TOP