Powered By Blogger

About Me

Wednesday, December 10, 2008

iMacros

Introduction:

iMacros was designed to automate the most repetitious tasks on the web. If there’s an activity you have to do repeatedly, just record it in iMacros. The next time you need to do it, the entire macro will run at the click of a button! With iMacros, you can quickly and easily fill out web forms, remember passwords, create a webmail notifier, download information from other sites, scrape the Web (get data from multiple sites), and more.
The present imacros version-6.0.7.6 and supports three types of editions namely

1. Power surfer edition
2. Pro edition
3. Script edition

Among those, script edition plays very important role than others. iMacros can read data directly from any Windows database using the Scripting Interface

we use imacros with IE and firefox.

Mainly the imacros can be used for

· Form Filler & Password Manager.
· Automated Download & Upload.
· Data Extraction, Web Scraping/Mining & Enterprise Data Mash-Ups.
· Web Testing.
· Image searching and downloading.
· To calculate speed and performance of websites.
· The iMacros Browser can automatically take screenshots of web pages,no matter the length, even if it scrolls off-screen!

Pros:

· Save time
iOpus iMacros helps you perform your web chores quicker,downloading, data entry and web site testing.
· Save money
iMacros is the low cost web testing solution
· Easy
You w Easyill create your first Internet Macro in less than a minute.
· Flexible
Automate even the most complicated tasks with the Scripting Interface. Connect iMacros to your favorite programming language. Windows Scripting Host and Visual Basic example programs are included.
· Document Web page changes
iMacros can save web pages or even print them out directly.
· Be creative
Repetition is unavoidable, but you avoid almost all of it. Let iOpus iMacros take over the routine jobs, and save your precious time for the creative part
· Secure
Storage of passwords using the industry standard 256-bit AES encryption algorithm. AES is also used by U.S. Government organizations to protect sensitive information




Firefox Plug-in:

Steps to add imacros plug in for firefox browser
1. Download the imacros.exe file
2. Add it to firefox browser, go to fileàopen file(here choose location of setup file).
3. An icon will be displayed on tool bar of browser.

Internet Explorer Plug-in:

After installing the software, a new icon called "iOpus iMacros" appears in the menu bar of Internet Explorer (IE). Click this icon to start iOpus iMacros. If you have already customized your toolbar, you might need to add the icon to the Internet Explorer toolbar manually .

To enable imacros from our .net application

To work with imacros from .net application we require a dll file , interop.imacros.dll. and also for full intellisense support for all Scripting Interface commands in .NET projects (C#,VB.NET, ASP.NET and others) or in Visual Basic 6.0, need to add the iMacros interface(iimInterface.dll) reference to project.

To distribute iMacros we need to copy the following files into client computer

imacros.exe à Mandatory, the iMacros engine
imatl.dll à Mandatory
imsys.dll à Mandatory
iframe.exe à Mandatory
iimwnk.dll à Mandatory
iimConnector.dll à Mandatory
imgr.exe à Mandatory, register it with imgr.exe. /regserver after installation
imi.ini à Mandatory, settings file
iimInterface.dll à Optional, the Scripting Interface (COM object)
iimRth.dll à Optional, belongs to Scripting Interface
imimage.dll à Optional, the Image Recognition library
imacros.dll à Optional, the Internet Explorer Plug-in
ab1.ico à Optional, Icon for Internet Explorer Browser Bar
ab2.ico à Optional, Icon for Internet Explorer Browser Bar


SYSTEM REQUIREMENTS: Windows 98, ME, 2000, XP or 2003

How to buy iMacros

Direct order link
http://www.iOpus.com/store
Pricing starts at USD 199.00.

Product Home page
http://www.iOpus.com/imacros

Tuesday, November 18, 2008

kotas: To split string in c#.net

kotas: To split string in c#.net
http://msdotnetsupport.blogspot.com/2006/09/splitstringintolines-function-in-net.html

passing multiple values from gridview is very easy

You can pass single/multiple query string using HyperLInkField
Pass data field name in DataNavigateUrlFields which you wnat to pass value in query stringex:
DataNavigateUrlFields=”subject,query”
here subject and query both are differenct data field those are comming from database.
and write the page name in DataNavigateUrlFormatString where you want to pass query string value.
ex:
DataNavigateUrlFormatString = “~/Pages/default.aspx?UserName={0}&GameTitle={1}”
Take hyperlink field like with this properties

To split string in c#.net

1)
public static string[] SplitStringIntoLines(string input, int maxCharsPerLine)
{
string[] words = input.Split(" ".ToCharArray());
ArrayList lines = new ArrayList();
string curLine = "";
foreach (string w in words)
{
if ((w.Length + curLine.Length + 1) <= maxCharsPerLine)
{
curLine += " " + w;
}
else
{
lines.Add(curLine.Trim());
curLine = w;
}
}
lines.Add(curLine.Trim());
return (string[])lines.ToArray(typeof(string));
}
follow the link
http://msdotnetsupport.blogspot.com/2006/09/splitstringintolines-function-in-net.html
2)
Splitting string with delimiter
string s = TextBox1.Text;
string[] s1 = s.Split(new char[] { " " });
Console.WriteLine(s1[0]);
Console.WriteLine(s1[1]);
Splitting string with comma ,
string s = TextBox1.Text;
string[] s1 = s.Split(new char[] { "," });
Console.WriteLine(s1[0]);
Console.WriteLine(s1[1]);
Splitting string with &
string s = TextBox1.Text;
string[] s1 = s.Split(new char[] { "&" });
Console.WriteLine(s1[0]);
Console.WriteLine(s1[1]);
Splitting string with string
string s = TextBox1.Text;
string[] s1 = s.Split(new string[] { "and" },StringSplitOptions.None); Console.WriteLine(s1[0]);
Console.WriteLine(s1[1]);

code for taking print a page using javascipt

In the first page
here the page is which u would like to navigate to
In second page take a button

follow the link , it will helpful
http://www.beansoftware.com/ASP.NET-Tutorials/Printing-Reporting.aspx