adsense


Showing posts with label ADVANCE VB SCRIPT REMOVE ALL METHODS. Show all posts
Showing posts with label ADVANCE VB SCRIPT REMOVE ALL METHODS. Show all posts

Thursday, 12 November 2015

ADVANCE VB SCRIPT REMOVE ALL METHODS PAGE 117

COMPUTER LANGUAGES HTML,C,C++.JAVA,.NET AND MULTIMEDIA basics and programs click home button




ADVANCE VB SCRIPT REMOVE ALL METHODS






Remove All Method 



object.RemoveAll()  
Parameter Description 

• Object, a Mandatory Parameter. This represents the name of the Dictionary Object. 

Example 
<!DOCTYPE html> 
<html> 
<body> 
<script language="vbscript" type="text/vbscript"> 
 
   Dim obj_datadict   ' Create a variable. 
   Set obj_datadict = CreateObject("Scripting.Dictionary") 
   obj_datadict.Add "a", "Apple"   ' Add some keys and items. 
   obj_datadict.Add "b", "Bluetooth" 
   obj_datadict.Add "c", "C++" 
   a=obj_datadict.Keys 
    
   msgbox a(0) 
   msgbox a(2) 
 
   obj_datadict.removeall 
 
</script> 
</body> 
</html>