. 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
How to make professional test report using vbscript code in UFT, which gives us complete analysis of the test.
How to scroll down a page while recording in qtp. suggest me any method apart from low level recording.
give me any information abou vb script books learn quckly
If a calulator having 3 buttons (of any number)in 3 of them one is not working properly due to which answer is wrong always. write a script to find out which button is not working properly ?
What are the properties of regexp object?
Hi Friends, I have an issue like the describe below: I'm using QTP and I'm testing on SharePoint. As you knoe, SharePoint has a customize function for user, so that, If I add an object Web Table at the first time, that object was recognized by "index" and "html tag", after that, if someone change the display of web part, the "Index" of my object was changed as well and QTP unable to select that Web Table. Can you guide me how to identify or anyway to keep that Web Table object as unique object? Thanks a lot.
Which date function is used in the vbscript language to find the difference between the 2 dates?
write a function to read the items from combobox of Flight reservation & save in excel (QTP)??
can anyone tell me the procedure of interview held in applabs
what is the differance between BYVAL,BYREF?
Explain about constants in vb script?
after medical test,when will be the police verification
How to write a VBscript for web page performance test i need a code send if any knows the code If any knows VBScript book plz send to me the link to my mail plz
Out of the different type of operators, which are evaluated first and last in the vbscript language?
How will you get the octal value of the given number in vbscript?