Jump to content

Recommended Posts

Posted

Caros,

Bom dia.

tenho a seguinte duvida:

Tenho um campo em PHC onde coloco manualmente o caminho completo de um determinado ficheiro.

por exemplo:

\\meu_server\docs\meu_doc.txt

Pretendia agora criar um botão que ao clicar, abrisse o documento do diretorio acima.

Conseguem ajudar?

Obrigado.

  • 3 months later...
Posted
m_file=Getfile("XLS","Ficheiro","Escolher",0,"Seleccione o Ficheiro a Importar")

    If Type("m_file")<>"C" Or Not File(m_file)
        Messagebox("Ficheiro Não Encontrado",16,"Erro",360)
        Return .f.
    Endif

César Faria

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site you accept our Terms of Use and Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.