|
-
Apr 19th, 2000, 03:49 AM
#1
Thread Starter
Frenzied Member
*wow!* Thanks!
*wow* thanks both of you!!!
Thank you very much and happy vb-ing!
Jop!
-
Apr 19th, 2000, 07:31 PM
#2
Thread Starter
Frenzied Member
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
-
Apr 19th, 2000, 09:30 PM
#3
transcendental analytic
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.
-
Apr 19th, 2000, 10:16 PM
#4
Thread Starter
Frenzied Member
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
-
Apr 19th, 2000, 10:37 PM
#5
transcendental analytic
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.
-
Apr 19th, 2000, 10:52 PM
#6
Thread Starter
Frenzied Member
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
-
Apr 19th, 2000, 10:59 PM
#7
transcendental analytic
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|