Bienvenido: ( Identificarse | Registrarse )      
Foros de Trucos Windows
Closed TopicStart new topicStart Poll

Outline · [ Estándar ] · Lineal+

> notepad desde basic

xepo
post Jan 1 2005, 07:36 PM
Publicado: #1


Newbie
*

Grupo: Members
Mensajes: 18
Registrado: 20-November 04
Miembro nº: 35.914



hola compañeros el problema lo tengo:

como puedo hacer que se habre un fichero *.txt con el bloc de notas desde visual basic 6

con el shell se habre el notepad.exe perocomo el archivo de texto *.txt


gracias..



User is offlineProfile CardPM
Go to the top of the page
+Quote Post
alnitak
post Jan 3 2005, 04:49 AM
Publicado: #2


Carpe Diem
Group Icon

Grupo: Webmaster
Mensajes: 6.398
Registrado: 28-August 03
Desde: Valencia, Venezuela
Miembro nº: 25



De Visual Basic 6 no tengo ni zorra idea pero creo que aqui se explica como hacerlo:

http://www.codecomments.com/Visual_Basic/message352012.html


User is offlineProfile CardPM
Go to the top of the page
+Quote Post
xepo
post Jan 3 2005, 02:27 PM
Publicado: #3


Newbie
*

Grupo: Members
Mensajes: 18
Registrado: 20-November 04
Miembro nº: 35.914



OK garcias alnitak a la primera segun este ejemplo:

For example:

Dim FilePath As String
Dim CommandText As String

FilePath = "D:\TEMP\KB Test.txt" ' Has spaces in name
CommandText = "notepad.exe """ & FilePath & """"
Shell CommandText, vbNormalFocus


buen foro si señor.....

saludos.


User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
Closed TopicTopic OptionsStart new topic

Collapse

> Topicos similares

AYUDA URGENTE ! No quiere iniciar desde el CD. lost666 154 11 Ayer, 10:08 PM
By: Aitor_sp
AYUDA URGENTE ! No quiere iniciar desde el CD. lost666 0 0 Ayer, 09:32 AM
By: Kbite
Quick Basic sneal_hh 121 5 Nov 28 2008, 01:15 AM
By: sneal_hh