Click here to Skip to main content
15,910,661 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: how to keep the drawing on picturebox when new drawing is added?VB.Net Pin
Dave Kreskowiak16-Dec-03 16:22
mveDave Kreskowiak16-Dec-03 16:22 
AnswerRe: how to keep the drawing on picturebox when new drawing is added?VB.Net Pin
steff kamush16-Dec-03 20:24
steff kamush16-Dec-03 20:24 
GeneralRe: how to keep the drawing on picturebox when new drawing is added?VB.Net Pin
MJay16-Dec-03 20:49
MJay16-Dec-03 20:49 
Generalnewbie - Help! Pin
cawe16-Dec-03 7:22
cawe16-Dec-03 7:22 
GeneralRe: newbie - Help! Pin
steff kamush16-Dec-03 20:49
steff kamush16-Dec-03 20:49 
GeneralOpen file attached to Excel as OLEObject Pin
Member 77096916-Dec-03 7:19
Member 77096916-Dec-03 7:19 
Questionhow to read the value from a text file? Pin
ESJY16-Dec-03 4:17
ESJY16-Dec-03 4:17 
AnswerRe: how to read the value from a text file? Pin
steff kamush16-Dec-03 22:04
steff kamush16-Dec-03 22:04 
ESJY, b sure include a button (Command1) on your form. not sure wat step 3 is about..

Option Explicit
Option Base 1 '//start array at index 1
Option Compare Text

Private vArray() As Variant '//array of variants - can b specified

Private Sub Command1_Click()

Dim vVariable1 As Variant
'Dim iFile As Integer
Dim i As Integer
Open "c:\sample.txt" For Input As #1 'iFile

While Not EOF(1)
Input #1, vVariable1

If (vVariable1 Like "*Entities*") Then
i = i + 1
ReDim Preserve vArray(i) As Variant
vArray(i) = vVariable1
MsgBox vArray(i)
End If

Wend

Close #1 'iFile

End Sub

Rose | [Rose] Rose | [Rose]
GeneralRe: how to read the value from a text file? Pin
ESJY19-Dec-03 4:32
ESJY19-Dec-03 4:32 
GeneralRe: how to read the value from a text file? Pin
steff kamush21-Dec-03 20:11
steff kamush21-Dec-03 20:11 
GeneralRe: how to read the value from a text file? Pin
ESJY22-Dec-03 4:32
ESJY22-Dec-03 4:32 
GeneralValidate User/Password Pin
16-Dec-03 4:01
suss16-Dec-03 4:01 
GeneralRe: Validate User/Password Pin
Colin Angus Mackay16-Dec-03 11:19
Colin Angus Mackay16-Dec-03 11:19 
GeneralRe: Validate User/Password Pin
vincent.reynolds16-Dec-03 11:43
vincent.reynolds16-Dec-03 11:43 
GeneralRe: Validate User/Password Pin
johnkotlarik29-Mar-04 10:26
johnkotlarik29-Mar-04 10:26 
QuestionHow to make a form on the top of all forms? Pin
MJay16-Dec-03 2:11
MJay16-Dec-03 2:11 
AnswerRe: How to make a form on the top of all forms? Pin
Anonymous16-Dec-03 7:21
Anonymous16-Dec-03 7:21 
GeneralRe: How to make a form on the top of all forms? Pin
Zipadie Doodah18-Dec-03 5:17
Zipadie Doodah18-Dec-03 5:17 
GeneralExport to Excel Pin
helia16-Dec-03 1:26
helia16-Dec-03 1:26 
GeneralRe: Export to Excel Pin
Manoj Madhavan16-Dec-03 23:00
Manoj Madhavan16-Dec-03 23:00 
Generaldatagrid Pin
coolerbob16-Dec-03 0:01
coolerbob16-Dec-03 0:01 
GeneralODBC Information (answer it soon) Pin
xprtguro15-Dec-03 23:14
xprtguro15-Dec-03 23:14 
Generalproblem in activexcontrol.... Pin
Vipin Bokariya15-Dec-03 20:27
Vipin Bokariya15-Dec-03 20:27 
GeneralRe: problem in activexcontrol.... Pin
steff kamush16-Dec-03 21:31
steff kamush16-Dec-03 21:31 
GeneralRe: problem in activexcontrol.... Pin
R Sharma17-Dec-03 6:18
R Sharma17-Dec-03 6:18 

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.