Showing posts with label write. Show all posts
Showing posts with label write. Show all posts

Wednesday, April 19, 2017

How to Write in Urdu anywhere in Computer for all systems

How to Write in Urdu anywhere in Computer for all systems


Here is a tip for writing Urdu anywhere in computer...
in few setups....
download this software Pak Urdu Installer from HERE
Install it
reboot your computer
follow the description blow in image..
enjoy...


Go to link Download

Read more »

Monday, January 30, 2017

How to Write Conditional Statements in JavaScript

How to Write Conditional Statements in JavaScript


The different types of conditional statements used in JavaScript for making different decisions are as follows.

If Statement


This statement is used to execute some code only if a specified condition is true.

Syntax:

if {condition}
{
code to be executed if condition is true
}

Example:

<script type="text/javascript">
var d=new Date()
var time=d.getHours()
if (time<10)
{
document.write("<b>Good morning</b>")
}
</script>

This script writes "Good morning" greeting if the time is less than 10

If .... elese statement


This statement is used to execute some code only if the condition is true and another code if the condition is false.

Syntax:

if {condition}
{
code to be executed if condition is true
}
else
{
code to be executed if condition is not true
}

Example:

<script type="text/javascript">
var d=new Date()
var time=d.getHours()
if (time<10)
{
document.write("Good morning")
}
else
{
document.write("Good Day")
}
</script>

Preview:



If .... else If ..... else statement


This statement is used to select one of many blocks of code to be executed.

Syntax:

if {condition}
{
code to be executed if condition1 is true
}
else if {condition2}
{
code to be executed if condition2 is true
}
else
{
code to be executed if condition1 and condition2 are not true.
}

Example:

<script type="text/javascript">
var d=new Date()
var time=d.getHours()
if (time<10)
{
document.write("Good morning")
}
else if (time>=10 && time<16)
{
document.write("Good Day")
}
else
{
document.write("Hello World")
}
</script>

Preview:



Switch statement


This statement is used to select one of many blocks of code to be executed.

Syntax:

switch(n)
{
case 1:
execute code block 1
break;
case 2:
execute code block 2
break;
default:
code to be executed if n is different from case 1 and 2
}

Example:

<script type="text/javascript">
var d=new Date();
theDay=d.getDay();
switch(theDay)
{
case 5:
document.write("Good Friday");
break;
case 6:
document.write("Super Saturday");
break;
case 0:
document.write("Sleepy Sunday");
break;
default:
document.write("I am looking forward to this weekend!");
}</script>

Preview:


Read Next: How to Show Pop Up Boxes Using JavaScript?

Related Search Terms

  • Javascript Conditional Statements

  • Javascript if and if else Statement

  • JavaScript if Condition Example


Related Posts:

  • How To Create Simple Image Slideshow Using JavaScript ?

  • Image Slideshow with Navigation Buttons Using JavaScript 

  • How to create Changeable Date and Time Using JavaScript?

  • How to Create JavaScript Image Slideshow with LInks

  • How to Display Date Format in JavaScript?

  • How to Validate a HTML Form Using JavaScript?

  • What are the Different Ways to Redirect Page in JavaScript?

  • How to Detect Visitors Browser Using JavaScript?

  • How to make rounded corners border using CSS

  • How to Create Custom CSS Template for Printing

  • How to create a simple form using HTML?


Go to link Download

Read more »

Monday, December 19, 2016

How To Fix Write Protection Errors On a USB Stick

How To Fix Write Protection Errors On a USB Stick


Steps "How To Fix Write Protection Errors On a USB Stick"

You’ve got your trusty USB flash drive plugged into your computer, and you go to copy some files to it. Then you get this – “The disk is write protected. Remove the write protection or use another disk.” 
remove write protection on usb drive,remove write protection from usb drive, how to remove write protection on micro sd card,unlock write protected usb drive,how to write protect a usb drive,how to remove disk write protection,
Then you say, “oh….?!?!” How did this happen? This is your USB stick, you should be able to read, write and do whatever you want with it!
remove write protection on usb drive,remove write protection from usb drive, how to remove write protection on micro sd card,unlock write protected usb drive,how to write protect a usb drive,how to remove disk write protection,
Deep breath and stay calm. It is just an error message. You and I are going to go through a few simple steps to fix write protection on USB drives and make your USB flash drive work again, in the manner that you expect it to. It’s just technology, we can fix it.

Step 1 – Check The USB Drive For Viruses

Every time you plug a USB drive into your computer, you should be automatically scanning it for viruses – especially if you have used it on computers that you don’t own, or public computers. 
remove write protection on usb drive,remove write protection from usb drive, how to remove write protection on micro sd card,unlock write protected usb drive,how to write protect a usb drive,how to remove disk write protection,
Viruses often act in a manner that will fill your USB drive with nonsense files and this can make your USB drive respond with the Write Protected error.
remove write protection on usb drive,remove write protection from usb drive, how to remove write protection on micro sd card,unlock write protected usb drive,how to write protect a usb drive,how to remove disk write protection,
Depending on the antivirus software that you have, you may be able to configure it to automatically scan USB Drives when they are plugged in. If not, usually you can navigate to the USB drive in Windows Explorer, right-click on it and make your antivirus software scan it manually.
fix write protection on usb
If you do find a virus, then it would be best to eliminate it using your antivirus software. I’d also recommend performing a scan with at least one other antivirus scanner, as not all antiviruses are 100% complete in their anti-virus definitions. Chances are where there is one virus, there are two or more. 
remove write protection on usb drive,remove write protection from usb drive, how to remove write protection on micro sd card,unlock write protected usb drive,how to write protect a usb drive,how to remove disk write protection, 
I recommend reading Joel’s article, “Make Sure You’re Clean With These Free One-Time Scan Antivirus Tools“.

Step 2 – Check The USB Drive Body

Normally I’d make something this simple, step one. However I’d rather see you protected from viruses first and then have you check the simple thing factor. Some USB flash drives have a mechanical switch on them that puts them into Write Protect mode.  This can be a very small slider switch which may have caught on something in your pocket or computer case.
remove write protection on usb drive,remove write protection from usb drive, how to remove write protection on micro sd card,unlock write protected usb drive,how to write protect a usb drive,how to remove disk write protection,
If this is the situation, then simply move the switch to the unlocked position and try to copy files again. It should work now.
fix write protection
On the upside there aren’t a lot of USB sticks with these locks on them anymore. So there is a good chance that’s not the issue for you. On the downside, if this isn’t the issue the following fixes are slightly more complicated.

Step 3 – Check To Make Sure the Flash Drive Isn’t Full

If your USB stick is full, you may also get the Write Protect error message. So, simply pop into Windows Explorer, find your USB Drive, right-click on it and select Properties. This will give you the nice pie chart display of the Used and Free space available on your USB Stick.
The disk is write protected, Remove the write protection or use another disk,
(Fun Fact: The scientific reason why pie charts are so popular is that people like pie). It appears that my drive is barely used at all!
fix write protection

Step 4 – Is It Just That File?

Make sure that it isn’t just the file that is write protected. Yes, you would get a different error message, but maybe you jumped to conclusions and thought it was the whole USB flash drive. It happens. If I can freak out like that, so could you.
fix write protection

Right-click on the file that you’re trying to write to and then click on Properties. 
remove write protection on usb drive,remove write protection from usb drive, how to remove write protection on micro sd card,unlock write protected usb drive,how to write protect a usb drive,how to remove disk write protection, Now you’ll see some options at the bottom of this window and one of them is Read-only. Make sure this box is unchecked and then click on the Apply button. You should now be able to write to this file.
fix write protect usb drive

Step 5 – Diskpart Command Line Utility

Have you ever worked in the command line on Windows? Well you’re about to. It’s not as scary as one might think, and as such it is the next logical step before going into the Windows Registry.
remove write protection on usb drive,remove write protection from usb drive, how to remove write protection on micro sd card,unlock write protected usb drive,how to write protect a usb drive,how to remove disk write protection,
Click on your Start Menu and type cmd in the Search for programs and files field. Now, hit your Enter key. You’ll see a window looking like the following:
fix write protect usb drive

Type in the command diskpart and hit Enter. Diskpart is a disk-partitioning tool that is built into Windows and is accessible through the Command Line Utility. With it, we can change the values associated with your USB drive.
remove write protection on usb drive,remove write protection from usb drive, how to remove write protection on micro sd card,unlock write protected usb drive,how to write protect a usb drive,how to remove disk write protection,
A new command line window will open. Type list disk and then hit Enter. You’ll now see a list of disks available in Windows. If your USB drive isn’t listed here, this won’t help you any. 
The disk is write protected, Remove the write protection or use another disk, fix write protection, fix write protect usb drive, 
You can see in my example below that all that is showing are the two partitions on my computer’s hard drive. My USB drive doesn’t show up in here for whatever reason.
fix write protect usb drive

If it is listed here, make a note of the number beside it. Make sure that this is indeed your USB drive! Now type the command select disk 3, assuming your USB drive is number 3, and hit Enter. Type attributes disk clear readonly and then hit Enter. You have now cleared any Read-Only attribute that might be on that USB drive.

write protected usb,write protected usb drive,usb write protected,usb protection,usb write protect,sd card write protected, write protected,
Type exit and hit Enter to leave the DiskPart utility. Try your USB drive again. Still getting the Write Protect Error?

Step 6 – Into the Registry We Go

If none of the previous steps helped you out, then we have to do something a little dangerous – we are going into the registry. If you are not comfortable going into the registry, I understand.
write protected usb,write protected usb drive,usb write protected,usb protection,usb write protect,sd card write protected, write protected,
You may want to skip to Step 7, but that means going on to formatting your USB drive. Or, you can have a friend who is a computer technician check the registry for you. 
write protected usb,write protected usb drive,usb write protected,usb protection,usb write protect,sd card write protected, write protected,
Or you can try it out yourself. This is a fairly simple registry change, so hang in there. I think you can do it.
The disk is write protected, Remove the write protection or use another disk, fix write protection, fix write protect usb drive,
Click on your Start Menu and type regedit into the Search for programs and files field. You’ll see something like the image below.
fix write protect usb drive,

Hit your Enter key. The Registry Editor window will now open. By clicking on the arrows next to the menu items, navigate to
HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControl
StorageDevicePolicies
and look for a key named WriteProtect.
registry editor fix write protect usb drive,

If that key exists, right-click on it and click on Modify.
registry editor modify fix write protect usb drive,

Now, you’ll probably find that the value for this is set to 1. 1 means “Yes, write protect my USB storage device.” So you can guess that 0 means “No, don’t write protect my USB storage device.” Now change that value to 0 and click on the OK button.
edit word The disk is write protected fix write protect usb drive,

Close Registry Editor, remove your USB device and then plug it back in again. You should now be able to write to your USB stick.
If not, it is Disk Formatting Time.

Step 7 – Format The USB Drive

WARNING: Make sure that you back up all the files and information from your USB drive to your computer. All data will be lost once the USB drive is formatted.
write protected usb,write protected usb drive,usb write protected,usb protection,usb write protect,sd card write protected, write protected,
Formatting the hard drive is a last resort. However, it should make your USB drive able to be read and written to. Prior to formatting the USB drive, determine what kind of file system it already has – NTFS or FAT32. Normally the file system that it already has will be the file system that is best suited for the drive.
write protected usb,write protected usb drive,usb write protected,usb protection,usb write protect,sd card write protected, write protected,
Remember how we went into Windows Explorer, right-clicked on the USB drive and selected Properties back in Step 3? Let’s do that again.
Remove the write protection or use another disk

There it is – File system: FAT32. If you want more information on file systems and formatting USB Flash Drives, Tina has a solid article on that, called, “How To Format A USB Drive & Why You Would Need To“.
write protected usb,write protected usb drive,usb write protected,usb protection,usb write protect,sd card write protected, write protected,
Close out the Properties window and right-click on your USB drive in Windows Explorer again. Click on Format.
 fix write protect usb drive format

In the Format window, you’ve got some options. We’ve already determined that we’re going to use the FAT32 File System for this particular drive. 
write protected usb,write protected usb drive,usb write protected,usb protection,usb write protect,sd card write protected, write protected,
For Allocation Unit Size, select the highest amount you can if you’ve got a USB drive with a capacity over 1GB, go smaller if your USB drive is smaller. I don’t know of too many people with a USB flash drive less than 1GB so 64 kilobytes should be fine.

fix write protection on usb

You can make the Volume label something that is meaningful to you. I’m just leaving it as KINGSTON for now. 
write protected usb,write protected usb drive,usb write protected,usb protection,usb write protect,sd card write protected, write protected,
Because we may be dealing with a USB drive with hardware issues, I suggest unchecking the Quick format box. 
write protected usb,write protected usb drive,usb write protected,usb protection,usb write protect,sd card write protected, write protected,
That will force the format to do more than just erase files. If there is a bad sector on this USB drive, a full format will will throw an error. 
write protected usb,write protected usb drive,usb write protected,usb protection,usb write protect,sd card write protected, write protected,
If that’s the case, then you may want to check out my article, “How To Make Corrupt USB Jump Drives Work Again“.

The formatting shouldn’t take too long. Of course, the larger the volume, the longer the formatting will take. Assuming there is no physical problem with the drive, your USB drive will be formatted, cleaned and ready to read from and write to.

The Take Away

Sometimes the problem is simple and can be dealt with simply. Try those methods first as they are most often the correct ones. If the problem is deep and requires drastic measure, make sure that is indeed the case. 
write protected usb,write protected usb drive,usb write protected,usb protection,usb write protect,sd card write protected, write protected,
You’ve got a lot more troubleshooting tools in your arsenal now and should be able to get your USB drives working again, potentially saving you a tidy sum of money.
write protected usb,write protected usb drive,usb write protected,usb protection,usb write protect,sd card write protected, write protected,
And all we ask is that you let us know how it went, in the comments below. Of course, if you have any additional tips, we like to read those too.

Go to link Download

Read more »

Monday, November 14, 2016

How to write an image file to a disc using ImgBurn

How to write an image file to a disc using ImgBurn


BEST GREENHOUSES FOR GROOVING VEGETABLES
? ? 1(360)241-1624 ?
? ? 1(360)241-1624 ?


DURABLE! AFFORDABLE! ALUMINUM + UV POLYCARBONATE



ImgBurn is a lightweight CD / DVD / HD DVD / Blu-ray burning application that everyone should have in their toolkit!

Read - Read a disc to an image file
Build - Create an image file from files on your computer or network - or you can write the files directly to a disc
Write - Write an image file to a disc
Verify - Check a disc is 100% readable. Optionally, you can also have ImgBurn compare it against a given image file to ensure the actual data is correct

ImgBurn supports a wide range of image file formats - including BIN, CCD, CDI, CUE, DI, DVD, GI, IMG, ISO, MDS, NRG and PDI.
It can burn Audio CDs from any file type supported via DirectShow / ACM - including AAC, APE, FLAC, M4A, MP3, MP4, MPC, OGG, PCM, WAV, WMA and WV.
You can use it to build DVD Video discs (from a VIDEO_TS folder), HD DVD Video discs (from a HVDVD_TS folder) and Blu-ray Video discs (from a BDAV / BDMV folder) with ease.
It supports Unicode folder/file names, so you shouldnt run in to any problems if youre using an international character set.
ImgBurn supports all the Microsoft Windows OSs - Windows 95, Windows 98, Windows Me, Windows NT4, Windows 2000, Windows XP, Windows 2003, Windows Vista, Windows 2008, Windows 7 and Windows 8 (including all the 64-bit versions). If you use Wine, it should also run on Linux and other x86-based Unixes.
Its a very flexible application with several advanced features that are often lacking in other tools, especially when it comes to burning DVD Video discs. It supports all the latest drives without the need for updates (including booktype / bitsetting / advanced settings on many of the major ones - i.e. BenQ, LiteOn, LG, NEC, Optiarc, Pioneer, Plextor, Samsung, Sony).


SO TO DO IT? SIMPLE!!!

1. Load ImgBurn 


2. Switch to Write mode, via the Write image file to disc button on the Ez-Mode Picker screen.



or click the Mode menu at the top and then the Write option.



3. Insert blank CD/DVD/BD format is on image size!

4. Select a file to write by clicking on the Browse for file button.

If you created the image with ImgBurn, you should be looking for a *.CUE / *.MDS file initially. If you cant locate one of those with the name youre expecting, go for whatever is left! (probably a *.ISO file)



5. Click the big Write button.



6. Finished!





Durable Greenhouses made from Polycarbonate UV Protected material and Aluminum



ALSO PLEASE VISIT THIS VIDEOS AND SEE IF YOU FIND SOMETHING NEED:

Windows Registry Tools can be downloaded here: 
How to kip your PC Private by deleting DATA Permanently 
http://askpctech.blogspot.com/2016/03/kip-your-pc-privat.html


This tutorial is made up on request several  users, is well is fallowing video:
1)How to Delete Paint Recent Pictures from List in Windows 7 

2)Win 7– Fix for “Safely Remove Hardware and Eject Media” not working How To

3)Windows 10 How to Fix Black Screen After Booting

4)How To Remove Windows 10 Upgrade Notification On Windows 7 And Windows 8

5)How to Delete Face book Page Permanently - 2015

6)How to Uninstall Windows 10 and Downgrade to Windows 7 or 8.1

7)detected: not-a-virus:remoteadmin.win32

8)How to change pictures into icons for folders

9)Speed up your PC Disable System Restore on SSD

10)Speed up your PC Disable Scheduled De-fragmentation SSD

11)2015 Black screen of DEATH Windows 7 & 8 - with cursor at start-up SOLVED

12)Upon start up only wallpaper shows FIX
13)Here is video on Windows 7 & 8 - Black screen with cursor at start-up FIX 

You can also open Task Manager by pressing Ctrl+Shift+Esc.
14) I bought a windows 7 PC but it Look alike old PC FIX:

15) Windows 7 & 8 - Black screen with cursor at start-up FIX:

16) How To Fix Minecraft OpenGL Error Windows 7 xp vista 720p :

17) removing bars using regscanner regedit & file shredder 720p:

18) How to Recover windows Explorer from error 2014 720p

19) HOW TO Save on battery online 

20) Windows 7 & 8 - Black screen with cursor at start-up FIX 

Upon start up only wallpaper shows no icons
CTL+ALT+DEL then click file and new task. then type explorer.exe and press ok
Best Greenhouse system 2015 

Go to link Download

Read more »

Monday, November 7, 2016

How to Write JavaScript With HTML

How to Write JavaScript With HTML


JavaScript is the most popular scripting language in the web to improve the design, validate forms, detect browsers, create cookies and many more client side functionalities and works in all major browsers, such as Internet Explorer, Mozilla Firefox, Google Chrome, Netscape, Opera and many more.

It is a lightweight programming language consisting of lines of executable computer code and usually embedded directly into HTML pages.

To write JavaScript with HTML page, you have to use the <script> tag along with the type attribute to define the scripting language. So the <script type="text/javascript"> and </script> tells where the javascript starts and end.


Different Ways to Write JavaScript with HTML


There are different ways to write JavaScript with HTML, which are as follows.

Scripts in the HEAD Section

When scripts are placed in head section, they needs to be executed when they are called, or when an event is triggered and it will ensure that the script is loaded before anyone uses it.

You can write <script> tag in the head section as follows.

<html>
<head>
<script type="text/javascript">
javascript codes are written here
</script>
</head>
<body>
</body>
</html>

Scripts in the BODY section

As in the head section, you can also place JavaScript codes in the body section using <script> tag and it will be executed when the page loads.

You can write <script> tag in the body section as follows.

<html>
<head>
</head>
<body>
<script type="text/javascript">
javascript codes are written here
</script>
</body>
</html>

Scripts in both the HEAD and BODY section

You can write <script> tag in both the head and body section as follows.

<html>
<head>
<script type="text/javascript"> 
javascript codes are written here
</script>
</head>
<body>
<script type="text/javascript">
javascript codes are written here
</script>
</body>
</html>


Scripts Using an External JavaScript File

If you needs to write same JavaScript code on several pages, you can write it on separate external page with a .js file extension and can link it to the HTML file.

You can link external JavaScript file to HTML file as follows.

<html>
<head>
<script src="javascript.js">
</script>
</head>
<body>
</body>
</html>

Read Next: How to Write Conditional Statements in JavaScript?

Related Search Terms

  • How to link JavaScript with HTML

  • How to use JavaScript on HTML


Related Posts:

  • How To Create Simple Image Slideshow Using JavaScript ?

  • Image Slideshow with Navigation Buttons Using JavaScript 

  • How to create Changeable Date and Time Using JavaScript?

  • How to Create JavaScript Image Slideshow with LInks

  • How to Display Date Format in JavaScript?

  • How to Validate a HTML Form Using JavaScript?

  • What are the Different Ways to Redirect Page in JavaScript?

  • How to Detect Visitors Browser Using JavaScript?

  • How to make rounded corners border using CSS

  • How to Create Custom CSS Template for Printing

  • How to create a simple form using HTML?


Go to link Download

Read more »

Friday, October 21, 2016

How to Write JavaScript Function as URL in Hyperlink

How to Write JavaScript Function as URL in Hyperlink


You can write JavaScript function as like URL in hyperlink on href attribute of <a>....</a> tag. Writing JavaScript codes in a URL is another way that JavaScript code can be included in the client side using javascript: protocol specifier. This special protocol type specifies that the body of the URL is an arbitrary string of JavaScript code to be run by the JavaScript interpreter.

The "resource" identified by a javascript: URL is the return value of the executed code, converted to a string. If the code has an undefined return value, the resource has no content.

You can use a javascript: URL anywhere youd use a regular URL: on the href attribute of <a> tag, on the action attribute of a <form>, on the click event of a button, on the method like window.open() etc.

The syntax for writing JavaScript function within href attribute of <a> tag is given below.

<a href="javascript:myfunction();">JavaScript Link</a>

And the syntax for writing JavaScript function within the action attribute of a <form> tag is given below.

<form action="myfunction();" onsubmit="return validate(this);" method="post"> .......</form>

An example for getting new date using javascript function as a hyperlink is given below.

<a href="javascript:new Date().toLocaleTimeString();"> What time is it?</a>

While using such functions on a hyperlink, some browsers like Firefox and IE execute the code in the URL and use the returned string as the content of a new document to display.

Just as when following a link to an http:URL, the browser erases the current document and displays the new one. The value returned by the code above does not contain any HTML tags.

Other browsers like chrome and safari do not allow URLs like the one above to overwrite the containing document, they just ignore the return value of the code. But they support the JavaScript code to display the returned content on alert box as below.

<a href="javascript:alert(new Date().toLocaleTimeString());"> check the document without writing the docment</a>

In the above cases, the javascript:URL serves the same purpose as an on-click event handler. The link The link above would be better expressed as an on-click handler on a <button> element. The <a> element generally reserved for hyperlinks that load new documents.

If you want to open a new document using a javascript: URL which does not overwrite the document, you can use void operator with window.open method as given below.

<a href="javascript:void window.open(http://www.siteforinfotech.com/p/javascript-programming-tutorials.html);">Open link on new window</a>


If you want to open a new document using a javascript: URL which overwrite the current document, you can use location.replace method as given below.

<a href="javascript:location.replace(http://www.siteforinfotech.com/p/javascript-programming-tutorials.html);">Open window using location.replace</a>


Like HTML event handler attributes, JavaScript URLs are a holdover from the early days of the web and generally avoided in modern HTML. JavaScript: URLs are very useful if you need to test a small snippet of JavaScript code, you can type a javascript:URL directly into the location bar of your browser. And another most powerful use of Javascript:URLs is in browser bookmarks.

Read More:How to Create JavaScript Bookmarklet?

Related Search Terms

  • How to a href using JavaScript

  • How to JavaScript function in href


Related Posts:


  • How to use Round, Random, Min and Max in JavaScript

  • How to Concatenate, Join and Sort Array in JavaScript?

  • How to Loop Through JavaScript Array?

  • How to Loop using JavaScript?

  • How to Show Pop Up Boxes Using JavaScript?

  • How to Write Conditional Statements in JavaScript?

  • How to Write JavaScript With HTML?

  • How to create Changeable Date and Time Using JavaScript?

  • How to Validate a HTML Form Using JavaScript?

  • How to create a simple form using HTML?

  • How to Create JavaScript Image Sideshow with Links

  • How to Display Date Format in JavaScript?

  • How to Validate a HTML Form Using JavaScript?

  • What are the Different Ways to Redirect Page in JavaScript?

  • How to create Timer Using JavaScript?

  • How to make rounded corners border using CSS

  • How to Create Custom CSS Template for Printing

  • How to create a simple form using HTML?

     


Go to link Download

Read more »