Results 1 to 2 of 2

Thread: can i put backgroung image in a listbox? how can i copy folders?

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Sep 1999
    Location
    mousafah,abu-dhabi,UAE
    Posts
    29

    Wink

    hi man,
    PLZ, answer the above questions
    NOTE that i tried the filecopy function but it didn't work
    waiting for ur answers
    bye
    Ahmed Walid

  2. #2
    Guest
    I don't think putting a picture in a listbox is possible but I may be wrong. To copy a folder, try using this:

    Code:
    'ooooops
    Dim fs As Object
    Set fs = CreateObject("Scripting.FileSystemObject")
    'CopyFolder "C:\This", "C:\That"   ' Doesn't Work...
    fs.CopyFolder "C:\This", "C:\That"
    
    'Or for files, just use
    
    CopyFile "C:\This\this.txt", "C:\That\that.txt"
    I'm using the API call FileCopy and FileMove etc, and am experiencing no problems?!??!

    -----

    Ooops, sorry I just realised that the CopyFolder is for a FileSystemObject...

    [Edited by Dreamlax on 08-17-2000 at 04:03 AM]

Posting Permissions

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



Click Here to Expand Forum to Full Width