Thursday 20 October 2016

Update progress in center of screen

Update proggress bar For Iphone   Click Here


Download the code sample


At the moment I'm working on making a web application we just developed more user friendly and more appealing to the end users.
The application uses a few ASP.NET Ajax controls so I was pretty surprised when the customer sent me an email saying that he liked all the dynamic loading and the fact that he could reorder "things" using drag&drop and saving them without waiting the page to reload, but it took him a while to understand was going on. The first time he clicked the button, and since nothing happened, he thought that something was going wrong, so he kept clicking on the button, an yet nothing happening.
The problem was that since all the Ajax interactions happen behind the scenes asynchronously, the user doesn't understand what's going on: sometimes the user doesn't need to know what's going on (like when you are just reloading some data), but when he presses a button he needs to know that he did the right thing and that something is happening. With the "old style" ASP.NET a postback would have been initiated, so it was obvious that something was happening, but how to do it using Ajax?

That is pretty easy to accomplish with ASP.NET: just drop in anUpdateProgress control and it will be displayed when an Ajax postback happens.
But, as default behavior, the UpdateProgress is displayed in the position where it is added to the page, so, if your page is longer than a scroll page, the indicator could not be visible: it has to be positioned relative to the browser window and not relative the html document.
At first I looked at how to hook into the script that displays the div in order to change the position via script, but while chatting with Daniela (which is an UIX and web designer) she said: "Why don't you just use the fixed positioning CSS attribute?"
And she was right, much easier than hooking into ASP.NET Ajax scripts. I definitely need to improve my CSS knowledge smile_regular.

Step 1 - Add an UpdateProgress control to the page

First thing you have to add an UpdateProgress to your ASP.NET page.
<asp:UpdateProgress ID="UpdateProgress1" runat="server"
                     DynamicLayout="false">
    <ProgressTemplate>
        <img src="Images/ajax-loader.gif" /> Loading ...
    </ProgressTemplate>
</asp:UpdateProgress>
You can put this code anywhere inside the page, but I suggest you put it at the end. I didn't specify any AssociatedUpdatePanelID because I want the loading indicator to appear for all the UpdatePanel I have on the page: if you want it only for some of them you have to set it.

Step 2 - Add CSS

 #UpdateProgress1 {
   background-color:#CF4342;
   color:#fff;
   top:0px;
   right:0px;
   position:fixed;
 }

#UpdateProgress1 img {
   vertical-align:middle;
   margin:2px;
 }

The trick is to set the position attribute to fixed: it will make the top and right dimensions relative to the browser window and not to its original position (as with relative) or to containing element (as with absolute).
This CSS will put the indicator on the top right corner of the window, as the Gmail indicator.

Step 3 - Add an activity indicator image

But we can do it even better then gmail, we could add a nice animated activity indicator. Last yearScottGu recommended a few websites to download some indicators from, and I really likedwww.ajaxload.info. This site dynamically generate an activity indicator for you, with the type and colors you prefer.
This is the animated gif I created to fit nicely into my UpdateProgress control: 
And this is how the final Gmail-like loading indicator looks like:
 Loading ...

Monday 17 October 2016

Remove a write-protected USB drive or SD card

Step 1 of 4:


How to erase a write-protected USB drive or SD card: Summary

To format a USB drive or SD card you may first need to remove the write protection, which is possible by tweaking commands in the Windows Registry. In this article we offer a step-by-step guide on how to erase a write-protected USB drive or SD card.

Step 2 of 4:


How to erase a write-protected USB drive or SD card: Step-by-step guide

Some SD cards and USB sticks have write protection switches. When enabled they prevent files from being deleted, or any new files being written to the device. It also stops you from accidentally formatting the card or stick.



Occasionally, you’ll find that an SD card or USB flash drive will refuse to format and Windows will tell you that it is write protected, even though there is no switch, or the switch is set correctly to allow the device to be written to.
Typically, you can read the files which are already stored on the drive, but you can't delete them (they sometimes seem to delete ok, but the next time you check, there they are again!).
Here are a couple of ways you can try to format the drive and remove the write protection. Bear in mind that there is no guarantee that they will work for you: your USB flash drive or SD card may be corrupt or physically broken and no utility or low-level formatting tool will make it work again. The only solution in this case is to buy a new drive. (See also:Recover deleted files for free: recover lost data.)

Step 3 of 4:


If you can’t find StorageDevicePolicies, you can try creating a key by right-clicking in the white space in the Control folder and choosing New -> Key and carefully entering the name.

Now double-click on the new key (folder) and right-click once again and choose New -> DWORD. Name it WriteProtect and set its value to 0. Click OK, exit Regedit and reboot your computer.
If this method doesn’t work, skip to the next step.

Step 4 of 4:



Removing write-protection using Diskpart

With your USB drive plugged in, launch a command prompt. Do this by searching for cmd.exe in the Start menu (or Start screen in Windows 8). In Windows XP, click Start then Run, and type cmd.exe in the box.


NOTE: you may need to run Cmd.exe with administrator privileges if you see an “access is denied” message.
To do that, right-click on the shortcut and choose Run as administrator. In Windows 8, simply choose Command prompt (admin).
Now, type the following, pressing Enter after each command:
diskpart
list disk
select disk x (where x is the number of your USB flash drive – use the capacity to work out which one it is)
attributes disk clear readonly
clean
create partition primary
format fs=fat32  (you can swap fat32 for ntfs if you only need to use the drive with Windows computers)
exit

Remove a write-protected USB drive or SD card

Step 1 of 4:


How to erase a write-protected USB drive or SD card: Summary

To format a USB drive or SD card you may first need to remove the write protection, which is possible by tweaking commands in the Windows Registry. In this article we offer a step-by-step guide on how to erase a write-protected USB drive or SD card.

Step 2 of 4:


How to erase a write-protected USB drive or SD card: Step-by-step guide

Some SD cards and USB sticks have write protection switches. When enabled they prevent files from being deleted, or any new files being written to the device. It also stops you from accidentally formatting the card or stick.



Occasionally, you’ll find that an SD card or USB flash drive will refuse to format and Windows will tell you that it is write protected, even though there is no switch, or the switch is set correctly to allow the device to be written to.
Typically, you can read the files which are already stored on the drive, but you can't delete them (they sometimes seem to delete ok, but the next time you check, there they are again!).
Here are a couple of ways you can try to format the drive and remove the write protection. Bear in mind that there is no guarantee that they will work for you: your USB flash drive or SD card may be corrupt or physically broken and no utility or low-level formatting tool will make it work again. The only solution in this case is to buy a new drive. (See also:Recover deleted files for free: recover lost data.)

Step 3 of 4:



If you can’t find StorageDevicePolicies, you can try creating a key by right-clicking in the white space in the Control folder and choosing New -> Key and carefully entering the name.

Now double-click on the new key (folder) and right-click once again and choose New -> DWORD. Name it WriteProtect and set its value to 0. Click OK, exit Regedit and reboot your computer.
If this method doesn’t work, skip to the next step.

Step 4 of 4:




Removing write-protection using Diskpart

With your USB drive plugged in, launch a command prompt. Do this by searching for cmd.exe in the Start menu (or Start screen in Windows 8). In Windows XP, click Start then Run, and type cmd.exe in the box.


NOTE: you may need to run Cmd.exe with administrator privileges if you see an “access is denied” message.
To do that, right-click on the shortcut and choose Run as administrator. In Windows 8, simply choose Command prompt (admin).
Now, type the following, pressing Enter after each command:
diskpart
list disk
select disk x (where x is the number of your USB flash drive – use the capacity to work out which one it is)
attributes disk clear readonly
clean
create partition primary
format fs=fat32  (you can swap fat32 for ntfs if you only need to use the drive with Windows computers)
exit

Thursday 7 April 2016

Kinsh Technologies hiring !!!

Kinsh Technologies is a Web Development & Internet Marketing Company located in Ahmedabad.  We are hiring for the below positions:-

1) Web Designer

-> Min 1 year of experience in Logo Designing, Brochure Designing and Website Designing
-> Should be well versed with Photoshop or Fireworks
-> Responsive HTML/CSS skills would be an added benefit

2) Web Developer

-> Min 1 year of experience in Joomla or WordPress
-> Strong core PHP and Javascript Concepts
-> Responsive HTML/CSS or Bootstrap skills would be an added benefit

If you feel you are fit for the job, drop us an email on mail@kinsh.in with your current CTC, expected CTC and tentative joining period.

Regards,
Nishant | kinshtech@gmail.com

Wednesday 2 March 2016

Top 10 IT Companies in the world 2015

Information Technology (IT) Sector is becoming a sector which is not driving its own growth but it helps other sectors grow too. Most of the sectors and businesses depend on IT to get their processes automated and streamlined. With advent of smartphones computing has gone to next level, the IT companies now are working on computing, mobility, applications for B2B as well as B2C sectors. The beginning of the list have companies like Adobe with IT companies like Cognizant, Capgemini forming the middle order. Top Ranks are taken by tech giants like Oracle, Microsoft, IBM, Accenture.
Here is the list of Top 10 IT Companies in the world 2015 on the basis of Revenue and Market Capitalization.
1. Microsoft Corporation
Microsoft Corporation is an American multinational technology company. It is headquartered in Redmond, Washington.
Revenue: $93.27 B
Market Capitalization: $340.8 B

Its offerings include computer software, consumer electronics and personal computers and services. It is best known for its software products such as the Microsoft Windows line of operating systems, Microsoft Office suite, Internet Explorer web browser and recently acquired Skype.
Bill Gates and Paul Allen founded Microsoft on April 4, 1975. In the mid-1980s, Microsoft dominated the personal computer operating system market with MS-DOS, followed by Microsoft Windows. It has increasingly diversified from the operating system market and focused on a number of corporate acquisitions. In May 2011, Microsoft acquired Skype Technologies for $8.5 billion in its largest acquisition to date.
Post-organizational restructuring in July 2013, the company operates through five segments: devices and consumer licensing, devices and consumer hardware, devices and consumer other, commercial licensing and commercial other. Devices and consumer licensing segment addresses Windows OS and related software, their licensing, Windows original equipment manufacturing licensing and MS office products for consumers. Devices and consumer hardware segment addresses Xbox gaming and entertainment consoles, its subscription and PC accessories and video game royalties. Devices and consumer other segment operates through resale of Windows store, Windows phone store and advertising, and Xbox live transaction.
2.IBM
IBM is one the of the most prominent IT companies in the world.
Revenue: $93.4 B
Market Capitalization: $160.2 B
It has a strong presence in over 170 countries and over 370,000 people are employed by the organization worldwide. IBM was found in 1911, and in the last 100 years of its existence, it has left a huge mark on the world with its expertise in the field of information technology. IBM manufactures and markets computer hardware, middleware and software, and offers infrastructure, hosting and consulting services in areas ranging from mainframe computers to nanotechnology.
3. Oracle Corporation
The Oracle Corporation, a multinational technology firm based in Redwood City, California, United States.
Revenue: $38.84 B
Market Capitalization: $187.6 B

It was founded in 1977 by Larry Ellison, Ed Oates and Bob Miner under the name Software Development Laboratories (SDL).
On January 27, 2010, Oracle announced its acquisition of Sun Microsystems. The acquisition valued at more than $7 billion helped transforming Oracle from solely a software company to both software and hardware manufacturer.
Oracle’s core strengths include diversified geographical presence across 145 countries and a strong customer base. The company adopted an inorganic growth strategy and acquired a number of companies for portfolio diversification. From the data center to the cloud, Oracle eliminates the complexity that stifles business innovation, as well as engineers in speed, reliability, manageability and security. Oracle delivers a portfolio of cloud solutions for business, IT, and development needs. These include software as a service (SaaS), infrastructure as a service (IaaS), platform as a service (PaaS) and data as a service (DaaS).
4. Accenture
Accenture is a global IT company which is one of the leading companies since 1989
Revenue: $ 32.8 B
Market Capitalization: $ 63.5 B
Accenture is one of the leading global IT companies in the world, with its presence across 200 cities in 120 countries. Over 330,000 people are employed with this global giant IT and business consulting brand. Head quartered in Dublin, Ireland, the company is listed in New York Stock Exchange, and has been a market leader receiving several accolades throughout its life.
5. SAP SE
SAP SE is a German multinational software corporation.
Revenue: $23.29 B
Market Capitalization: $90.2 B
SAP provides enterprise software to manage customer relations and business operations. SAP is based in Walldorf, Baden-Württemberg, Germany. In June, 1972, five IBM engineers from the AI department (Dietmar Hopp, Hasso Plattner, Klaus Tschira, Hans-Werner Hector, and Claus Wellenreuther founded Systemanalyse und Programmentwicklung or SAP ("System Analysis and Program Development"). SAP became a European Company (Societas Europaea or SE) from AG in 2014.
Globally SAP holds the leading position in enterprise applications in terms of software and software-related service revenue. SAP is the world’s third largest independent software manufacturer on the basis of market capitalization. It is also the market leader in analytics, applications and mobility solutions. It is the fastest growing company at scale in the cloud. SAP HANA is the market-leading platform for real-time computing. SAP serves more than 291000 customers in 190 countries with more than 80% of its customers being SMEs. SAP empowers people and organizations to master complexity with simple, easy to use and innovative solutions. SAP applications and services enable its clients to operate profitably and grow sustainably.
6. Tata Consultancy Services(TCS) Limited
Tata Consultancy Services Ltd. (TCS) is an Indian multinational IT company. It is headquartered in Mumbai, India.
Revenue: $15.07 B
Market Capitalization: $80.3 B

It was founded by a division of Tata Sons Limited in 1968. TCS is one of the largest companies in India by market capitalization. It is also the largest IT services company based in India by 2014 FY revenues.
Tata Consultancy Services Ltd. mainly operates as an IT services, business solution and consulting firm. The company has five segments of operation: Banking, Financial Services & Insurance, Retail & Consumer Packaged Goods, Manufacturing, Media & Entertainment and Others. TCS offers the following services: enterprise solutions, application development and maintenance, business intelligence, engineering and industrial services, IT infrastructure services, consulting, asset leveraged solutions, connected marketing, social computing, big data, cloud, and business process outsourcing.
Brand Finance has recognized TCS among the Big 4 Global IT Services Brands. TCS became the first Indian company to surpass the Rs. 5 lakh crore mark in terms of market capitalization in July, 2014. In January 2015, TCS surpassed Reliance India Limited to become the most profitable firm in India.
7. Cognizant Technology Solutions
Headquartered in Teaneck, New Jersey (U.S.), Cognizant has set an example for technology innovation, client satisfaction, deep industry and business process expertise.
Revenue: $10.26 B
Market Capitalization: $38.1 B

Headquartered in Teaneck, New Jersey (U.S.), Cognizant has set an example for technology innovation, client satisfaction, deep industry and business process expertise. Cognizant is a member of the S&P 500, the NASDAQ-100 and the Fortune 500. CTS is one of the top performing and fastest growing companies in the world. Originally it was founded in 1994 by Wijeyaraj Kumar Mahadeva and Francisco D'Souza as a technology unit of Dun & Bradstreet.
Cognizant Technology Solutions Corp. offers information technology, consulting and business process outsourcing services. Its core competencies include Business, Process, Operations and IT Consulting, Application Development and Systems Integration, Enterprise Information Management, Application Testing, Application Maintenance, IT Infrastructure Services and Business Process Services.
The company has four segments of operation: Financial Services, Healthcare, Manufacturing, Retail and Logistics, and Other. The Financial Services segment addresses clients providing transaction processing, capital markets and insurance services. The Healthcare segment includes healthcare providers as well as life sciences customers. The Manufacturing, Retail and Logistics segment addresses manufacturers, retailers, travel and hospitality customers, as well as logistics providers. The Other segment is an aggregation of industry segments comprising of entertainment, media and information services, communications and high technology operating segments. It has a global delivery model based on offshore software research and development, and offshore outsourcing.
In September 2014, Cognizant Technology Solutions Corp acquired TriZetto Corp, a healthcare IT services provider, for $2.7 billion. Cognizant Shares, rose nearly 3 percent in premarket trading.
8. Infosys
Infosys, an Indian technology, consulting and outsourcing company, was founded by K. Dinesh, Narayana Murthy, Nandan M. Nilekani, S. Gopalakrishnan, Pandit Shrikant and S. D. Shibulal on July 2, 1981.
Revenue: $8.65 B
Market Capitalization: $40.2 B
Infosys, an Indian technology, consulting and outsourcing company, was founded by K. Dinesh, Narayana Murthy, Nandan M. Nilekani, S. Gopalakrishnan, Pandit Shrikant and S. D. Shibulal on July 2, 1981. It is based in Bangalore, India. It provides end-to-end business solutions to enable clients to enhance business performance for clients across the globe. Infosys is the second-largest India-based IT services company by 2014 revenues.
The company operates in various segments such as financial services and insurance comprising enterprises providing banking, finance and insurance services, enterprises in the energy, utilities, communication and services and retail, manufacturing, consumer packaged goods, logistics and life sciences. It offers Consulting Services, IT Services, Engineering Services, BPO Services, and Products and Platforms. The company offers end-to-end business solutions such as Business IT services, independent validation services, infrastructure management, engineering services comprising product engineering; Consulting and systems integration services, comprising enterprise solutions, consulting, systems integration and advanced technologies; Products and business solutions to facilitate intellectual property-led innovation, its banking product Finacle, which addresses mobile banking, core banking and e-banking needs of retail, corporate and universal banks worldwide.
9. Capgemini
Cap Gemini S.A. is a French multinational management consulting corporation. It is based in Paris, France.
Revenue: $14.03 B
Market Capitalization: $13.8 B
It was founded by Serge Kampf in 1967. It started off as an enterprise management and data processing company. It won the SAP North America Partner Excellence Award 2015 for SAP Platform Solutions.
The company's operates through four segments: Consulting, Technology, Outsourcing and Local Professional Services. The Consulting services business helps the group's clients identify, build and carry through transformation programs to improve growth and sharpen their competitive advantage. The Technology services business includes design, development and implementation of technology projects that involve IT application development and complex systems integration. The Outsourcing services business involves guiding and supporting a client's information systems and associated activities and providing assistance to clients in the outsourcing of their IT systems. It provides application lifecycle services, big data solutions and business analytics. The company also offers business information management, business process management, business process outsourcing, cloud services, digital customer experience, finance and accounting services, engineering services, and green IT services.
10. VMware Inc.
VMware, Inc., a US software company, provides virtualization software and services.
Revenue: $6.04 B
Market Capitalization: $35.7 B
It was founded by Diane Greene, Scott Devine, Mendel Rosenblum, Edouard Bugnionin and Edward Wang in 1998. It is based in Palo Alto, California.
VMware offers the most trusted virtualization platform for desktop, data center and applications. It provides trusted platforms for virtual datacenters, complete virtual IT services platform, comprehensive virtualization management and infrastructure integration. It improves the availability, performance and utilization of clients’ IT resources through virtualization, where the hardware resources of a single computer are used by multiple virtual machines. VMware offers the highest performing and most scalable virtualization and private cloud platform in the industry for even the most resource-intensive business critical applications at the lowest total cost of ownership (TCO). The company develops and markets its products and service offerings within three main product groups: software-defined data center, end-user computing and hybrid cloud computing.
In October, 2014, VMware and Tata Consultancy Services strengthened their partnership to deliver enterprise applications for the software-defined data center.
Liked the List ? Share