Jump to content

Recommended Posts

Posted

Boa tarde!

estou quebrando a cabeça com isso :wallbash:, quero saber como eu obtenho o caminho escolhido do savefiledialog.Por exemplo: o usuário salva um arquivo .jpg com o meu savefiledialog na pasta "C:\\Imagens", e eu quero obter esse texto para colocar em uma msgbox para dizer "você salvou sua imagem em: (caminho"... não sei porque não consigo...

Posted
SFD.AddExtension = True
        SFD.SupportMultiDottedExtensions = True
        SFD.OverwritePrompt = True
        SFD.ValidateNames = True
        SFD.Filter = "Ficheiro JPG|*.jpg|Ficheiro BMP|*.bmp"
        SFD.Title = "Guardar ficheiro de imagem... "
        SFD.ShowDialog()

       MsgBox(SFD.FileName)

Vê se te ajuda

Cumps. J.Viana

Learning

  • VB.Net
  • HTML
  • C/C++

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.