Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

. Program for sorting of numbers in vb script?

Answer Posted / abc

Const FOF_CREATEPROGRESSDLG = &H0&

Const MyZip ="C:Documents and SettingsabcdDesktopWIPMyZipFile.zip"

Const File1 = "C:Documents and SettingsabcdDesktopWIPABCD.xml"

'-------------- create empty zip file ---------

'Create the basis of a zip file.
CreateObject("Scripting.FileSystemObject") _
.CreateTextFile(MyZip, True) _
.Write "PK" & Chr(5) & Chr(6) & String(18, vbNullChar)


'-------------- zip ---------------------------

'get ready to add files to zip
With CreateObject("Shell.Application")

'add files
.NameSpace(MyZip).CopyHere File1, FOF_CREATEPROGRESSDLG

End With
wScript.Sleep 1000

wscript.echo "Done!"

'-------end adding files to zip folder------------------------------

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Hi Friends Rajendra this is bhavani prasad, iam working Hyderabad. i faced one problem with qtp recording mode i.e in my application there is 100 records first we click the first record that record will be jumped to next session and 99 records will there stop the recording and run the same script .Run this script qtp does not identify the records. So plz tell me what is the solution.

2063


after medical test,when will be the police verification

2128


why variable name should not exceed 255 characters?

2184


How to declare an array in vbscript?

1243


why do u choose to go for testing why cant for devoloping

2043


How will you get the natural logarithm of the given number in vbscript?

1006


How to Enter Values on the Command promt using VB script

2021


1. How to handle object implementation change in DP for Ex: i have login page with username,pasword (editboxes),login,cancel(buttons). Here i written DP code for login page with the help properties. My questions: 1.If properites are changing dynamically i will do (i want code for that) 2.if objects are changed dynamcally i will do (i wnat code for that)

2077


By default in vbscript the arguments passed to functions and subroutines are by reference or by value?

1044


If we take 2 strings as “good” and “bad” then what will ‘+’ and ‘&’ operators return?

961


what is resorceallocation

2177


What purpose does ‘on error resume next’ serves?

1027


How can the spaces from the string be removed?

981


How will you get the exponent of the given number in vbscript?

989


Could Anybody Please tell me What is the script for Find 3rd Largest element in the Array without using a SORT function int Find(int arr[], int size); Thanks in Advance..

2413