Click here to Skip to main content
15,885,216 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: update query ? Pin
BHBAD200217-Sep-02 8:12
sussBHBAD200217-Sep-02 8:12 
GeneralCOMException Pin
devvvy16-Sep-02 10:50
devvvy16-Sep-02 10:50 
Questionhow to create ActiveX controls Pin
diya16-Sep-02 9:32
diya16-Sep-02 9:32 
GeneralStrange Form.Load problem Pin
Member 13074716-Sep-02 5:45
Member 13074716-Sep-02 5:45 
GeneralRe: Strange Form.Load problem Pin
Ray Cassick16-Sep-02 6:19
Ray Cassick16-Sep-02 6:19 
QuestionVB 6.0 How do I read from a .txt file? Pin
BHBAD200216-Sep-02 4:32
sussBHBAD200216-Sep-02 4:32 
AnswerRe: VB 6.0 How do I read from a .txt file? Pin
Ray Cassick16-Sep-02 5:31
Ray Cassick16-Sep-02 5:31 
AnswerRe: VB 6.0 How do I read from a .txt file? Pin
Zyxil19-Sep-02 10:38
Zyxil19-Sep-02 10:38 
ray's ini file reader is the preferred method for working with application config stuff, but if you want to work with text files, use the FileSystemObject

where: scrrun.dll,
register dialog: Microsoft Scripting Runtime
progid: scripting.filesystemobject

i'm typing this code in manually, so it might not be syntactful
<br />
<br />
dim fso as scripting.filesystemobject<br />
set fso = new scripting.filesystemobject<br />
<br />
dim txt as scripting.textstream<br />
set txt = fso.opentextfile("c:\mytextfile.txt")<br />
<br />
do while not txt.atendofstream<br />
   msgbox txt.readline<br />
loop<br />
<br />
txt.close<br />
set txt = nothing<br />
set fso = nothing<br />
<br />


-John
GeneralIN VBS how do I check if some software is installed using registry Pin
SPGV15-Sep-02 23:17
SPGV15-Sep-02 23:17 
GeneralRe: IN VBS how do I check if some software is installed using registry Pin
Ray Cassick16-Sep-02 5:33
Ray Cassick16-Sep-02 5:33 
GeneralDataenviroment Pin
Maryam15-Sep-02 21:49
Maryam15-Sep-02 21:49 
GeneralIn VB (automation) I want to make Powerpoint run in the invisible mode Pin
SPGV15-Sep-02 21:18
SPGV15-Sep-02 21:18 
GeneralIdentifying DesignTime Mode for Forms Pin
Firoz15-Sep-02 19:58
Firoz15-Sep-02 19:58 
QuestionHow to reset an AudioStream in VB? Pin
DengJW15-Sep-02 19:52
DengJW15-Sep-02 19:52 
Generalproblems with removing menu added to Word97 Pin
Mariusz Popiolek15-Sep-02 8:54
sussMariusz Popiolek15-Sep-02 8:54 
Generalchanging icon in toolbar(from file) Pin
Mariusz Popiolek15-Sep-02 8:48
sussMariusz Popiolek15-Sep-02 8:48 
GeneralReproduce Win Form Pin
AB31383813-Sep-02 9:05
AB31383813-Sep-02 9:05 
GeneralIDE Pin
Nnamdi Onyeyiri13-Sep-02 6:58
Nnamdi Onyeyiri13-Sep-02 6:58 
GeneralRe: IDE Pin
Ray Cassick13-Sep-02 7:22
Ray Cassick13-Sep-02 7:22 
Generalextracting safearray from a variant Pin
Anonymous12-Sep-02 11:14
Anonymous12-Sep-02 11:14 
GeneralRe: extracting safearray from a variant Pin
Vi213-Sep-02 3:48
Vi213-Sep-02 3:48 
GeneralRe: extracting safearray from a variant Pin
Anonymous13-Sep-02 8:32
Anonymous13-Sep-02 8:32 
Generalproblem with passing array parameter to the procedure Pin
Mariusz Popiolek12-Sep-02 10:37
sussMariusz Popiolek12-Sep-02 10:37 
GeneralRe: problem with passing array parameter to the procedure Pin
Nick Parker12-Sep-02 10:55
protectorNick Parker12-Sep-02 10:55 
GeneralRe: problem with passing array parameter to the procedure Pin
Mariusz Popiolek12-Sep-02 11:29
sussMariusz Popiolek12-Sep-02 11:29 

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.