Click here to Skip to main content
15,907,183 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionReading a file on a network drive Pin
rbc10252-Oct-09 4:05
rbc10252-Oct-09 4:05 
AnswerRe: Reading a file on a network drive Pin
Ian Shlasko2-Oct-09 4:17
Ian Shlasko2-Oct-09 4:17 
GeneralRe: Reading a file on a network drive Pin
rbc10252-Oct-09 16:13
rbc10252-Oct-09 16:13 
GeneralRe: Reading a file on a network drive Pin
Md. Marufuzzaman4-Oct-09 4:17
professionalMd. Marufuzzaman4-Oct-09 4:17 
AnswerRe: Reading a file on a network drive Pin
Dave Kreskowiak2-Oct-09 4:25
mveDave Kreskowiak2-Oct-09 4:25 
GeneralRe: Reading a file on a network drive Pin
rbc10252-Oct-09 16:10
rbc10252-Oct-09 16:10 
QuestionHow can I list a directory into a listBox and view its content OnClick inside the listBox? Pin
waner michaud2-Oct-09 3:35
waner michaud2-Oct-09 3:35 
AnswerRe: How can I list a directory into a listBox and view its content OnClick inside the listBox? Pin
Dave Kreskowiak2-Oct-09 4:22
mveDave Kreskowiak2-Oct-09 4:22 
Look at the Directory.GetFiles() method. It'll return an array of filenames in the directory you specify. You can then add those names to the ListBox.

When the user clicks the file, you can use the Process class to launch the file. You don't need to know what application opens the file.


A guide to posting questions on CodeProject[^]



Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic
     2006, 2007, 2008
But no longer in 2009...




GeneralRe: How can I list a directory into a listBox and view its content OnClick inside the listBox? Pin
waner michaud2-Oct-09 8:25
waner michaud2-Oct-09 8:25 
GeneralRe: How can I list a directory into a listBox and view its content OnClick inside the listBox? Pin
Luc Pattyn2-Oct-09 8:30
sitebuilderLuc Pattyn2-Oct-09 8:30 
GeneralRe: How can I list a directory into a listBox and view its content OnClick inside the listBox? Pin
waner michaud2-Oct-09 8:38
waner michaud2-Oct-09 8:38 
GeneralRe: How can I list a directory into a listBox and view its content OnClick inside the listBox? Pin
Dave Kreskowiak2-Oct-09 8:43
mveDave Kreskowiak2-Oct-09 8:43 
GeneralRe: How can I list a directory into a listBox and view its content OnClick inside the listBox? Pin
EliottA2-Oct-09 8:53
EliottA2-Oct-09 8:53 
GeneralRe: How can I list a directory into a listBox and view its content OnClick inside the listBox? Pin
Luc Pattyn2-Oct-09 8:54
sitebuilderLuc Pattyn2-Oct-09 8:54 
Questionvalue pass into textbox to javascript in asp.net Pin
paya1pa2-Oct-09 2:01
paya1pa2-Oct-09 2:01 
AnswerRe: value pass into textbox to javascript in asp.net Pin
Tom Deketelaere2-Oct-09 2:18
professionalTom Deketelaere2-Oct-09 2:18 
GeneralRe: value pass into textbox to javascript in asp.net Pin
Richard MacCutchan2-Oct-09 3:08
mveRichard MacCutchan2-Oct-09 3:08 
GeneralRe: value pass into textbox to javascript in asp.net Pin
Tom Deketelaere2-Oct-09 3:13
professionalTom Deketelaere2-Oct-09 3:13 
QuestionNeed help in reading a text file and storing in array Pin
Surej702-Oct-09 1:55
Surej702-Oct-09 1:55 
AnswerRe: Need help in reading a text file and storing in array Pin
Luc Pattyn2-Oct-09 2:11
sitebuilderLuc Pattyn2-Oct-09 2:11 
GeneralRe: Need help in reading a text file and storing in array Pin
Surej702-Oct-09 3:30
Surej702-Oct-09 3:30 
QuestionError Description [-214767259] Pin
mdrizwan_12-Oct-09 0:52
mdrizwan_12-Oct-09 0:52 
AnswerRe: Error Description [-214767259] Pin
Vimalsoft(Pty) Ltd2-Oct-09 4:03
professionalVimalsoft(Pty) Ltd2-Oct-09 4:03 
AnswerRe: Error Description [-214767259] Pin
Dave Kreskowiak2-Oct-09 4:09
mveDave Kreskowiak2-Oct-09 4:09 
QuestionProblem in IF statement Pin
vijay24821-Oct-09 23:04
vijay24821-Oct-09 23:04 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.