. 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
What is the use of the ‘open’ method to work with the database in the vbscript language and what connection string is passed in the same and what is its usage?
Give me sm ideas to write Vbscripts abt protocol testing abilash700@gmail.com.
how to check whether link is disabled in QTP??
Explain the asc function?
filter the array values without using filter function?
Write program for identifyig duplicates in flight Departing from and Arriving in mercury tours(web application).
what is diff between static and dynaic arrys?
HOw we can apply web service checkpoint in QTP 9.5? I tried it out with net connection also. But not getting success.
How regexp.execute method works?
Explain about filter expression?
What is vbscript procedures?
PLz send me the VB scripts which is having more examples my email id : hareen_11@yahoo.com
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.
By default in vbscript the arguments passed to functions and subroutines are by reference or by value?
What is difference between vbscript and vba?