Results 1 to 7 of 7

Thread: Read Only 'deletion' ?

  1. #1

    Thread Starter
    Frenzied Member Jop's Avatar
    Join Date
    Mar 2000
    Location
    Amsterdam, the Netherlands
    Posts
    1,986

    *wow!* Thanks!

    *wow* thanks both of you!!!
    Thank you very much and happy vb-ing!

    Jop!

  2. #2

    Thread Starter
    Frenzied Member Jop's Avatar
    Join Date
    Mar 2000
    Location
    Amsterdam, the Netherlands
    Posts
    1,986

    Thumbs up Kedaman, can you please tell me?

    Can you please tell me how I can use your code?
    What does it return?
    when I give

    explore("c:\blabla")
    ?


    Thanks Kedaman!

    JOP

  3. #3
    transcendental analytic kedaman's Avatar
    Join Date
    Mar 2000
    Location
    0x002F2EA8
    Posts
    7,221

    Smile

    explore does not return anything, it's a sub.

    But as soon as you insert a instance of the control (name it whatever), you can doubbleclick it, it will show up the filecatch event, put your code there. The other event catches directories.

    Then put the explore("c:\blabla") in a commandbutton or whatever and see what happens!
    Use
    writing software in C++ is like driving rivets into steel beam with a toothpick.
    writing haskell makes your life easier:
    reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
    To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.

  4. #4

    Thread Starter
    Frenzied Member Jop's Avatar
    Join Date
    Mar 2000
    Location
    Amsterdam, the Netherlands
    Posts
    1,986
    Ok Kedaman
    When I'll ask you the following question, you might think I'm an absolute newbie, and yes... I am

    Can you please give detailed info?
    .I've added the control > fine so far..
    .I've copied the code you gave me in the control > fine so far..
    .I've doubleclikked the control > fine so far..

    But now..

    Wich code do I have to add in the File_Catch event?
    And.. when I add a menu with the action: explore("c:\blabla")

    it says that the sub not defined is..
    how do I get this nice control to work?
    I really apreciate (< spell check!) your help pal!

    Thanks again,
    Jop


  5. #5
    transcendental analytic kedaman's Avatar
    Join Date
    Mar 2000
    Location
    0x002F2EA8
    Posts
    7,221

    Post


    Wich code do I have to add in the File_Catch event?
    Here you need to write your own code but I give you an example:
    Code:
    Private Sub Subdirs2_Filecatch(File As String, path As String, level As Integer)
        Debug.Print "Path: " & path & "File: " & "Sub level: " & level
    End Sub

    And.. when I add a menu with the action: explore("c:\blabla")

    it says that the sub not defined is..
    explorer is a method of the usercontrol, use usercontrl.explore where usercontrol is the name of the usercontrol

    Hope you got everything now this time. Have fun!
    Use
    writing software in C++ is like driving rivets into steel beam with a toothpick.
    writing haskell makes your life easier:
    reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
    To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.

  6. #6

    Thread Starter
    Frenzied Member Jop's Avatar
    Join Date
    Mar 2000
    Location
    Amsterdam, the Netherlands
    Posts
    1,986

    Talking Thanks Kedaman!

    Thanks Kedaman!!!
    It works now, but I don't now how to retrieve all files yet, but I hope I'll can fix it myself!!!
    (not sure about that )
    But hey, thanx Kedaman, if I want to ask somethin', can I?

    Jop

  7. #7
    transcendental analytic kedaman's Avatar
    Join Date
    Mar 2000
    Location
    0x002F2EA8
    Posts
    7,221

    Wink

    Sure thing, you could also mail me: [email protected]
    Use
    writing software in C++ is like driving rivets into steel beam with a toothpick.
    writing haskell makes your life easier:
    reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
    To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.

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