Loading ...
Sorry, an error occurred while loading the content.
 

RE: [indoprog-vb] membuka file txt

Expand Messages
  • SUSETYAWAN Endri
    *** Bgm jika saya tidak ingin menampilkan secara maximized, tapi dlm bentuk window saja? Jawab: Private Sub Command1_Click() Call Shell( C: WINDOWS Notepad.exe
    Message 1 of 6 , Feb 28, 2002
      *** Bgm jika saya tidak ingin menampilkan secara maximized, tapi dlm bentuk
      window saja?
      Jawab:
      Private Sub Command1_Click()
      Call Shell("C:\WINDOWS\Notepad.exe D:\Temp\Readme.txt", vbNormalFocus)
      End Sub

      *** Bgm cara mengambil properti suatu file (misal file.txt), yaitu "modified
      time"-nya?
      Jawab:
      Yang ini saya tdk ada ide....

      *** Bgm cara menampilkan jam di form (yang real time, berubah setiap
      detik/menit)?
      Gunakan Timer Control dgn Property Interval=60 sampai 120 (Baca MSDN untuk
      lebih Rincinya)

      Private Sub Timer1_Timer()
      Text1.Text = Format(Time, "HH:MM:SS")
      End Sub

      Ingat untuk Set Property Timer ===> Timer.interval = 60

      Sorry agak telat mereplynya .....

      Endri Susetyawan

      > -----Original Message-----
      > From: Enrico [SMTP:enrico@...]
      > Sent: Friday, March 01, 2002 9:21 AM
      > To: 'SUSETYAWAN Endri'
      > Cc: indoprog-vb@yahoogroups.com
      > Subject: RE: [indoprog-vb] membuka file txt
      >
      > Thanx Bung Endri,
      > Bgm jika saya tidak ingin menampilkan secara maximized, tapi dlm bentuk
      > window saja?
      > Kemudian pertanyaan selanjutnya:
      > - Bgm cara mengambil properti suatu file (misal file.txt), yaitu "modified
      > time"-nya?
      > - Bgm cara menampilkan jam di form (yang real time, berubah setiap
      > detik/menit)?
      > Terima kasih
      > Enrico
      >
      > -----Original Message-----
      > From: SUSETYAWAN Endri [mailto:ESUSETYAWAN@...]
      > Sent: Friday, March 01, 2002 10:04 AM
      > To: 'enrico@...'
      > Subject: FW: [indoprog-vb] membuka file txt
      >
      >
      >
      > Fyi
      >
      > -----Original Message-----
      > From: SUSETYAWAN Endri [SMTP:esusetyawan@...]
      > Sent: Thursday, February 28, 2002 6:26 PM
      > To: 'indoprog-vb@yahoogroups.com'
      > Subject: RE: [indoprog-vb] membuka file txt
      >
      > Call Shell("C:\WINDOWS\Notepad.exe " & string_Nama_File,
      > vbMaximizedFocus)
      >
      > Thank's
      > Endri S.
      >
      > > -----Original Message-----
      > > From: Enrico [SMTP:enrico@...]
      > > Sent: Thursday, February 28, 2002 4:48 PM
      > > To: indoprog-vb@yahoogroups.com
      > > Subject: [indoprog-vb] membuka file txt
      > >
      > > Halo,
      > > Saya ingin tanya ttg VB 6. Bgm script utk membuka/menampilkan file
      > txt
      > > (misalnya dgn notepad) melalui sebuah button?
      > > Please help, thanx.
      > > Enrico
      > >
      > >
      >
      >
      >
      >
      >
      This message and any attachments are confidential and intended solely for
      the addressees. If you receive this message in error, please delete it and
      immediately notify the sender. If the reader of this message is not the
      intended recipient, you are hereby notified that any unauthorized use,
      copying or dissemination is prohibited. E-mails are susceptible to
      alteration. Neither L'OREAL nor any of its subsidiaries or affiliates shall
      be liable for the message if altered, changed or falsified.


      [Non-text portions of this message have been removed]
    Your message has been successfully submitted and would be delivered to recipients shortly.