Saving a specific file - URGENT
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums
Results 1 to 2 of 2

Thread: Saving a specific file - URGENT

  1. #1
    Join Date
    Jan 2010

    Saving a specific file - URGENT

    Hey guys

    Need to figure this out urgently, basically I have my own file "Settings.ini" and I need it to be that when people click the "Activate" button (simple command box I've made) it will save my settings.ini that I have made to a specific location (and over writing a settings.ini that could possibly be in the directory)

    How do I import the file I have made (settings.ini) into vb and make it save and overwrite in a directory I want


  2. #2
    Join Date
    Jul 2006

    Re: Saving a specific file - URGENT

    You would not need to import it into VB.
    The statement FileCopy SourceFileName, DestinationFolderName will copy your file to the destination folder, overwriting an existing file of the same name, provided this file is not open at that time.
    You can also specify the complete destination filename if it is different to the source file name.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Windows Mobile Development Center

Click Here to Expand Forum to Full Width

This is a survey!

HTML5 Development Center