maidinhdan > 15-04-15, 09:00 PM
![[Hình: 1-Nenfile.jpg]](https://sites.google.com/site/congthucassecc/home/hinh-linh-tinh/1-Nenfile.jpg)
tronghieu9792 > 16-04-15, 04:44 PM
maidinhdan > 17-07-15, 08:23 PM
(17-07-15, 11:09 AM)tronghieu9792 Đã viết: Ý mình là từ thư mục D:\QTBH\Database, sau khi nén file từ chương trình của maidinhdan thì file Database nó sẽ lưu ở D:\Database (file đã nén không nắm trong thư mục D:\QTBH\Database nữa). cảm ơn maidinhdan.
Private Sub txtIn_AfterUpdate()
   Dim strZipFile       As String
   Dim intDot           As Integer
 
   strZipFile = Me.txtIn
   intDot = InStr(strZipFile, ".")
   If intDot <> 0 Then
      strZipFile = Left(strZipFile, intDot) & "zip"
      Me.txtOut = strZipFile
   End If
 End Sub 
Private Sub txtIn_AfterUpdate()
      Me.txtOut = "D:\Database" & "Tên file se đặt" & ".zip"
End sub 
tronghieu9792 > 31-07-15, 02:12 PM
conmeocon > 20-09-15, 11:57 AM