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

Dear All, I am geting below IE error whilie executing the QTP scripts in Batch mode "Internet Explorer has encountered a problem and needs to close. We are sorry for the inconvenience." can any one suggest me how to resolve this issue . Thanks Balaji

1739


How to pass argument by reference to a function in vbscript?

1070


How to use QTP Object in .vbs(vbscript file) file Ex: Browser().., wait(), exist() and etc...

3454


Plzzzzzzz can any one tell me which is the best institute in hyderabad for learing VBScript. plz do answer guys its urgent plzzzzzzz. thanks in advance.

2209


does anyone have qtp11.0 license key.Please sendit to my mail id-rrvv2011@gmail.com...Thanks

2948


Mention how you can call vbscript functions?

1143


How to create a cookie using vbscript?

1215


How will you get the octal value of the given number in vbscript?

963


What is sql loader? Explain the files used by sql loader to load file?

1173


Explain about arrays in vb script?

1065


How do i automate a website www.flyashx.com without having any test cases witin a week time.

1932


what is the standards used for writing the script in QTP

2341


How can you destroy an object in vbscript?

1118


Explain a few date functions in vbscript

996


What are class events?

989