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

Visual Basic

 
GeneralRe: arrays Pin
Colin Angus Mackay6-Dec-04 14:03
Colin Angus Mackay6-Dec-04 14:03 
GeneralRe: arrays Pin
Colin Angus Mackay6-Dec-04 14:01
Colin Angus Mackay6-Dec-04 14:01 
GeneralRe: arrays Pin
Anonymous6-Dec-04 14:24
Anonymous6-Dec-04 14:24 
GeneralRe: arrays Pin
WartHog0006-Dec-04 14:28
WartHog0006-Dec-04 14:28 
Generaltext files Pin
WartHog0006-Dec-04 11:12
WartHog0006-Dec-04 11:12 
GeneralRe: text files Pin
Jim Matthews6-Dec-04 11:37
Jim Matthews6-Dec-04 11:37 
GeneralRe: text files Pin
WartHog0006-Dec-04 13:34
WartHog0006-Dec-04 13:34 
GeneralRe: text files Pin
Jim Matthews7-Dec-04 3:23
Jim Matthews7-Dec-04 3:23 
WartHog000 wrote:
clearer??

much, thanks. typically you would use a textbox to display the contents of a text file. you use a filestream to get a handle for the actual file you want to open, then use a streamreader object to extract it's contents. something like below...

Dim fileSelector As FileDialog
If (fileSelector.ShowDialog = DialogResult.OK) Then
   Dim strmSelectedFile As New    IO.FileStream(fileSelector.FileName, IO.FileMode.Open)
   Dim strmReadFile As New IO.StreamReader(strmSelectedFile)
   Me.txtFindItem.Text = strmReadFile.ReadToEnd
End If


of course you can set the filter and initialdirectory properties of the fileDialog in order to determine where to look and what to look for.

WartHog000 wrote:
also do u know how to Run a flash animation in a VB form?

you would need some sort of a flash host control for development. i would think if you have flash installed (a developer version, not the flash player) there would be some sort of .net or com component for hosting flash files, but i'll let someone with more flash experience handle giving you advice on that...

hope this helps.



-jim
GeneralRe: text files Pin
WartHog0007-Dec-04 9:48
WartHog0007-Dec-04 9:48 
GeneralRe: text files Pin
WartHog0007-Dec-04 11:26
WartHog0007-Dec-04 11:26 
GeneralRe: text files Pin
WartHog0007-Dec-04 12:39
WartHog0007-Dec-04 12:39 
GeneralRe: text files Pin
The Man from U.N.C.L.E.8-Dec-04 3:14
The Man from U.N.C.L.E.8-Dec-04 3:14 
GeneralRe: text files Pin
WartHog0008-Dec-04 4:10
WartHog0008-Dec-04 4:10 
Generalnested repeaters in vb.net Pin
bigtone786-Dec-04 6:42
bigtone786-Dec-04 6:42 
GeneralRe: nested repeaters in vb.net Pin
bigtone786-Dec-04 6:48
bigtone786-Dec-04 6:48 
GeneralRe: nested repeaters in vb.net Pin
Dave Kreskowiak6-Dec-04 7:46
mveDave Kreskowiak6-Dec-04 7:46 
GeneralRe: nested repeaters in vb.net Pin
bigtone786-Dec-04 8:31
bigtone786-Dec-04 8:31 
GeneralRe: nested repeaters in vb.net Pin
Dave Kreskowiak6-Dec-04 8:50
mveDave Kreskowiak6-Dec-04 8:50 
GeneralFor next loop with DB GRID Pin
Paps26-Dec-04 5:50
Paps26-Dec-04 5:50 
GeneralRe: For next loop with DB GRID Pin
jlawren76-Dec-04 11:29
jlawren76-Dec-04 11:29 
GeneralRe: For next loop with DB GRID Pin
Paps27-Dec-04 3:05
Paps27-Dec-04 3:05 
GeneralTab control ... Pin
AbuFahed6-Dec-04 1:22
AbuFahed6-Dec-04 1:22 
GeneralRe: Tab control ... Pin
Pablo.ar7-Dec-04 0:45
Pablo.ar7-Dec-04 0:45 
QuestionHow do you create a transparent label on a gradient colored form? Pin
David M J6-Dec-04 0:24
David M J6-Dec-04 0:24 
AnswerRe: How do you create a transparent label on a gradient colored form? Pin
The Man from U.N.C.L.E.8-Dec-04 3:31
The Man from U.N.C.L.E.8-Dec-04 3:31 

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.