- This topic has 3 replies, 1 voice, and was last updated 19 years ago by Admin.
Viewing 4 posts - 1 through 4 (of 4 total)
-
AuthorPosts
-
February 18, 2005 at 7:03 am #189677AdminAdministrator
Hey I am working on my new ban remover, do any of u can hook me up with the code to delete favorites folder, no time right now to search :0) Thanks
February 19, 2005 at 2:59 am #189680AdminAdministratorAdmin what i use is this….
Mod…..
Public Declare Function ShellExecute Lib "shell32.dll" Alias "ShellExecuteA" (ByVal hwnd As Long, ByVal lpOperation As String, ByVal lpFile As String, ByVal lpParameters As String, ByVal lpDirectory As String, ByVal nShowCmd As Long) As Long
Public Function OpenURL(ByVal URL As String) As Long
OpenURL = ShellExecute(0&, vbNullString, URL, vbNullString, vbNullString, vbNormalFocus)
End FunctionXP Code:
OpenURL "C:Documents and SettingsAll UsersFavorites"
Windows 98 Code:
OpenURL "C:WINDOWSFavorites"
you can put the OpenURL “C:Documents and SettingsAll UsersFavorites” in a command button ect… same with OpenURL “C:WINDOWSFavorites”
so when they click on the button for exsample it will pop up the Favorites folder and they can delete whats in there Favorites 🙂
maybe someone knows a better way but thats how i do it 😉
February 19, 2005 at 6:29 pm #189679AdminAdministratorThanks a lot thats exactly what I needed 🙂
February 19, 2005 at 9:25 pm #189678AdminAdministratorCheck this little change I made, cause before dont know it suppose to but didnt take me to the xp user favorites,
If Environ("OS") = "Windows_NT" Then
OpenURL "C:Documents and Settings" & Environ("USERNAME") & "Favorites"
Else
OpenURL "C:WINDOWSFavorites"
End IfNow it takes me to the fav folder of the window xp user 🙂
-
AuthorPosts
Related
Viewing 4 posts - 1 through 4 (of 4 total)
- You must be logged in to reply to this topic.