How to zip a file using visual basic 6.0 ?
Here is a piece of code which can compress the file without third party involved.
Open visual basic 6.0 program
On form simply draw one Command button.
Double Click on it and copy the below code and paste it under Command Button.
Private Sub Command1_Click()
Function zCompressFile(sFile As String)
Dim oFSO, arrHex, sBin, i, Zip
Set oFSO = CreateObject(“Scripting.FileSystemObject”)
arrHex = Array(80, 75, 5, 6, 0, 0, 0, _
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
For i = 0 To UBound(arrHex)
sBin = sBin & Chr(arrHex(i))
With oFSO.CreateTextFile(sFile & “.zip”, True)
Dim oApp As Object
Set oApp = CreateObject(“Shell.Application”)
oApp.Namespace(sFile & “.zip”).CopyHere (sFile)
Set oApp = Nothing
Note:-”Please Change the above black colored code with your own.
If you get any problem on this code kindly post your comment below.
Acquire the most preferred membership wordpress plugin available today, you'll find both free and exceptional plugins listed here. We have actually checked the whole internet, reviewed hundreds of recommended Wordpress plugins and chosen the best.
Discover tech news the most recent modern technology news, featuring new product launches, sales figures and tech market efficiency info. Read guides on new gadgets and models for future technology.
google seo that you should and should not be doing on your Web pages to make them rate higher in online search engine. In a regularly changing Search Engine Optimization garden, it is necessary to continue to be current about the transforming techniques and strategies of optimization.
Right here is a list of software managing multiple WordPress from a central area. There are WordPress dash panels, as well as multisite devices to manage domains, themes, projects, and much more. consists of one-click accessibility, monitoring, backup, implementation, publishing, and security attributes. Review which of your sites have themes and plugins that require focus. Along with one click, update every one of your plugins, motifs or core WordPress software.