Questo sito utilizza cookies solo per scopi di autenticazione sul sito e nient'altro. Nessuna informazione personale viene tracciata. Leggi l'informativa sui cookies.
Username: Password: oppure
Visual Basic 6 - aggiungere
Forum - Visual Basic 6 - aggiungere

Avatar
striscia (Normal User)
Newbie


Messaggi: 5
Iscritto: 20/11/2009

Segnala al moderatore
Postato alle 16:01
Lunedì, 23/11/2009
Codice sorgente - presumibilmente VB.NET

  1. Private Sub Command1_Click()
  2. Timer1.Enabled = True
  3. Timer2.Enabled = True
  4. Timer3.Enabled = True
  5. Timer4.Enabled = True
  6. End Sub
  7.  
  8. Private Sub Command2_Click()
  9. Timer1.Enabled = False
  10. Timer2.Enabled = False
  11. Timer3.Enabled = False
  12. Timer4.Enabled = False
  13. End Sub
  14.  
  15. Private Sub Form_Load()
  16.  
  17. End Sub
  18.  
  19. Private Sub Timer1_Timer()
  20. Timer1.Interval = (Text3.Text)
  21. SendKeys (Text1.Text)
  22. SendKeys ("{ENTER}")
  23. End Sub
  24.  
  25. Private Sub Timer2_Timer()
  26. Timer2.Enabled = True
  27. SendKeys (Text2.Text)
  28. SendKeys ("{ENTER}")
  29. Timer2.Enabled = False
  30. End Sub
  31.  
  32. Private Sub Timer3_Timer()
  33. Timer3.Interval = (Text5.Text)
  34. SendKeys (Text4.Text)
  35. SendKeys ("{ENTER}")
  36. End Sub
  37.  
  38. Private Sub Timer4_Timer()
  39. Timer4.Interval = (Text3.Text)
  40. SendKeys (Text6.Text)
  41. SendKeys ("{ENTER}")
  42. End Sub



volevo sapere se si poteva aggiungere un bottone ke può caricare i file di txt all'interno dei text grazie

PM Quote
Avatar
GrG (Member)
Guru^2


Messaggi: 3430
Iscritto: 21/08/2007

Segnala al moderatore
Postato alle 20:23
Lunedì, 23/11/2009
non ho capito...

comunque se vuoi sapere come "pulire" un textbox basta scrivere:
text1.text = ""

PM Quote
Avatar
striscia (Normal User)
Newbie


Messaggi: 5
Iscritto: 20/11/2009

Segnala al moderatore
Postato alle 22:40
Lunedì, 23/11/2009
scusa se nn mi sono spiegato bene comunque voglio aggiungere un bottone ke mi carica i file txt nel programma

PM Quote
Avatar
GrG (Member)
Guru^2


Messaggi: 3430
Iscritto: 21/08/2007

Segnala al moderatore
Postato alle 13:44
Martedì, 24/11/2009

PM Quote
Avatar
striscia (Normal User)
Newbie


Messaggi: 5
Iscritto: 20/11/2009

Segnala al moderatore
Postato alle 13:50
Martedì, 24/11/2009
grazie va benissimo

PM Quote