View Full Version : open file from listbox help please
melissa
08-25-2008, 05:28 PM
hi every one
i have listbox with 4 files , i would like to run any file by double click
..i mean running file from listbox on double click
thank you
Ulrich
08-25-2008, 06:17 PM
It is easier to help if you could post your project.
In this forum you will find several examples using ListBox, you could see a few of them, and adapt as necessary. For example, this post (http://www.indigorose.com/forums/showpost.php?p=126644&postcount=10) shows how to perform actions on a single click in the ListBox, all you should do is move the code from the On Select event to the On Double-Click event. This example opens a web page, and you want to run a file - the modification you have to do in the code is trivial.
Ulrich
melissa
08-25-2008, 06:37 PM
thank you upeters your post is helping a lot...thank you
DavidVR
08-25-2008, 08:09 PM
Here you have an example how to make what you want.
The codes are in the ListBox>On Double-Click
If you have any question or if the example is not clearly you can ask whatever you want (about it)
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.