BARGAR05 de Febrero del 2004
Pregunta
HOLA A TODOS NECESITO QUE ALGUIEN ME DIGA COMO HE DE HACER PARA:
CERRAR UN FORMULARIO DESDE OTRO FORMULARIO
Y OTRA POR EL MISMO PRECIO
COMO ABRIR UN ARCHIVO .PDF
GRACIAS DE ANTEMANO.-
sdemingo05 de Febrero del 2004
- Para cerrar el formulario
Unload nombreFormulario
- PDF
2 Métodos...
a) Visulizarlo con el explorer:
Dim ie As Object
Set ie = CreateObject("InternetExplorer.Application")
ie.Visible = True
ie.Navigate ("D:corolla.pdf")
b) Abrirlo normal:
Private Declare Function ShellExecute Lib "shell32.dll" Alias "ShellExecuteA" (ByVal hwnd As Long, ByVal lpOperation As String, ByVal lpFile As String, ByVal lpParameters As String, ByVal lpDirectory As String, ByVal nShowCmd As Long) As Long
Dim RetVal As Long
RetVal = ShellExecute(Me.hwnd, "Open", "d:corolla.pdf", "", "", 1)
Salu2
sdemingo
http://boards.melodysoft.com/sdemingo