Connecting Tech Pros Worldwide Forums | Help | Site Map

Back and Forward Button

Newbie
 
Join Date: Oct 2008
Posts: 1
#1: Oct 8 '08
Hi Guys,

I used VB.net 2005. In my project I used Drivelistbox, Dirlistbox and Filelistbox so that I can access the drives that I have.

I have these problem about the back and forward button, I don't have any idea on how to do it. To make my problem clearer:

Example, the first path of the Dirlistbox was C:\My documents, then as the user wants to open their files inside. The path goes C:\My documents\MyFile then again open other file, C:\My documents\MyFil\Example.

What I'm trying to do is how can I record all the action that the user do. In that example the current path was in C:\My documents\MyFil\Example then if the user clicks the Back button it will go to C:\My documents\MyFile then clicks again it will go to C:\My document then if the user clicks the Forward button the directory goes to C:\My documents\MyFile.

Do you have any idea on this one on how can code the BACK and FORWARD Button? Maybe I can use the stack, I know the logic of the stack but I really don't know honestly how to use stack.

Thanks a lot.

Hope for your reply.

annir

Needs Regular Fix
 
Join Date: Mar 2008
Posts: 283
#2: Oct 8 '08

re: Back and Forward Button


I am not completely sure on this but I would image that you would have to eithercreate a class that would inherit the dirlist and then overwrite the code for back and forward which does not sound like an easy thing to do or create your own dirlist style form and then use that instead which may be an easier option

I may be incorrect on this as it is not something I have tried to do !
Reply