
Si tienes una aplicación llamada myapp.exe y un fichero de registro llamado myapp.reg,
el siguiente código añadirá ese fichero al registro.
Dim strFile As String
strFile = App.Path & "\" & opts.AppExeName & ".reg"
If Len(Dir$(strFile)) > 1 Then
lngRet = Shell("Regedit.exe /s " & strFile, vbNormalFocus)
End If
Dan Newsome, D&D Information Professionals, [newsomed@earthlink.net]

