Ver Mensaje Individual
  #3 (permalink)  
Antiguo 22/09/2010, 14:59
Avatar de lokoman
lokoman
 
Fecha de Ingreso: septiembre-2009
Mensajes: 502
Antigüedad: 14 años, 7 meses
Puntos: 47
Respuesta: abrir bloc de notas pero con algo escrito

Hola!
Otra forma:
Código vb:
Ver original
  1. Dim Arch
  2. Open App.Path & "\tmp.txt" For Output As #1
  3.        Print #1, txt.Text
  4. Close #1
  5.    
  6. Arch = Shell("notepad " & App.Path & "\tmp.txt", vbNormalFocus)

Si quieres eliminar el archivo temporal, pon otro boton con este codigo:
Código vb:
Ver original
  1. Kill app.path & "\tmp.txt"