Click here to Skip to main content
15,887,442 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: listview Pin
johnny196311-Jan-07 6:58
johnny196311-Jan-07 6:58 
Questionglobalization/localization Pin
tawiskid099-Jan-07 19:50
tawiskid099-Jan-07 19:50 
AnswerRe: globalization/localization Pin
testy_proconsul9-Jan-07 21:24
testy_proconsul9-Jan-07 21:24 
QuestionGet and Set property in vb.net Pin
amaneet9-Jan-07 19:24
amaneet9-Jan-07 19:24 
AnswerRe: Get and Set property in vb.net Pin
Christian Graus9-Jan-07 20:24
protectorChristian Graus9-Jan-07 20:24 
AnswerRe: Get and Set property in vb.net Pin
Guffa9-Jan-07 22:51
Guffa9-Jan-07 22:51 
AnswerRe: Get and Set property in vb.net Pin
Dave Kreskowiak10-Jan-07 5:09
mveDave Kreskowiak10-Jan-07 5:09 
QuestionI want to get the .txt and .Doc file's contents. Pin
somagunasekaran9-Jan-07 19:08
somagunasekaran9-Jan-07 19:08 
I want to get the .txt and .Doc files. but i wrote the code only displaying the txt file.But it wont display the .Doc files.

I select the Doc and txt fileNames in Listbox.but File's Contents has to display in Richtextbox.

so I've written the code for(.txt) files only.But i need (.Doc) file's contents also.So How to get the (.Doc files Contents).So pls some one Help me......

Private Sub ListBox3_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ListBox3.SelectedIndexChanged

Dim myFile As System.IO.FileInfo
Dim fileInfo As String
Dim myFileName As String
Dim stream As StreamReader
Dim input As String

myFileName = ListBox3.SelectedItem.ToString
myFile = New System.IO.FileInfo(fileName:=myFileName)
fileInfo = myFileName.Length.ToString
stream = File.OpenText(myFileName)
input = stream.ReadLine()
Console.WriteLine(input)
RichTextBox1.Text = input
stream.Close()
End Sub

Pls Some one Help me.....Sniff | :^)
Thanking you
somasundarak


Thanking You,
somasundaram
AnswerRe: I want to get the .txt and .Doc file's contents. Pin
Christian Graus9-Jan-07 20:27
protectorChristian Graus9-Jan-07 20:27 
GeneralRe: I want to get the .txt and .Doc file's contents. Pin
somagunasekaran9-Jan-07 23:33
somagunasekaran9-Jan-07 23:33 
GeneralRe: I want to get the .txt and .Doc file's contents. Pin
Christian Graus10-Jan-07 0:22
protectorChristian Graus10-Jan-07 0:22 
QuestionMy.Settings question Pin
sa_runner9-Jan-07 19:06
sa_runner9-Jan-07 19:06 
AnswerRe: My.Settings question Pin
Johan Hakkesteegt11-Jan-07 3:37
Johan Hakkesteegt11-Jan-07 3:37 
Questiondatabase tables search in vb.net Pin
amaneet9-Jan-07 18:42
amaneet9-Jan-07 18:42 
AnswerRe: database tables search in vb.net Pin
testy_proconsul10-Jan-07 0:00
testy_proconsul10-Jan-07 0:00 
GeneralRe: database tables search in vb.net Pin
amaneet10-Jan-07 0:35
amaneet10-Jan-07 0:35 
GeneralRe: database tables search in vb.net Pin
testy_proconsul10-Jan-07 1:25
testy_proconsul10-Jan-07 1:25 
QuestionStrange FileWatch problem? Pin
rudemusik9-Jan-07 18:00
rudemusik9-Jan-07 18:00 
AnswerRe: Strange FileWatch problem? Pin
Johan Hakkesteegt11-Jan-07 3:28
Johan Hakkesteegt11-Jan-07 3:28 
GeneralRe: Strange FileWatch problem? Pin
rudemusik11-Jan-07 7:05
rudemusik11-Jan-07 7:05 
QuestionHow to redirect IP..? Pin
stupix9-Jan-07 16:45
stupix9-Jan-07 16:45 
AnswerRe: How to redirect IP..? Pin
Dave Kreskowiak9-Jan-07 17:25
mveDave Kreskowiak9-Jan-07 17:25 
GeneralRe: How to redirect IP..? Pin
stupix9-Jan-07 18:07
stupix9-Jan-07 18:07 
QuestionHiding a column in a datagridview Pin
steve_rm9-Jan-07 16:02
steve_rm9-Jan-07 16:02 
AnswerRe: Hiding a column in a datagridview Pin
Dave Kreskowiak9-Jan-07 17:27
mveDave Kreskowiak9-Jan-07 17:27 

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.