Click here to Skip to main content
15,903,362 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 
I'm a newbie to VB.NET and I' m trying to write a small Windows forms app that searches a network drive for a folder and reads the specified file. It seems like the best approach would be to use the System.IO classes to search the directory and open the files. My question is do I need to open a socket and use the Network Stream object to access this network file? If the computer is just a terminal already connected to the network is this required or do I simply need file permissions on that machine to access the file?
Any advice would be greatly appreciated!!
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 
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.