Click here to Skip to main content
16,005,080 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionHOw to save and scan an image Pin
praveed28-Jan-04 19:02
praveed28-Jan-04 19:02 
GeneralNotify Icon Question Pin
Anonymous28-Jan-04 12:57
Anonymous28-Jan-04 12:57 
GeneralRe: Notify Icon Question Pin
gpa200028-Jan-04 20:45
gpa200028-Jan-04 20:45 
GeneralKilling a process in VB Pin
blaze197828-Jan-04 12:09
blaze197828-Jan-04 12:09 
GeneralRe: Killing a process in VB Pin
Dave Kreskowiak28-Jan-04 17:20
mveDave Kreskowiak28-Jan-04 17:20 
GeneralRe: Killing a process in VB Pin
Anonymous28-Jan-04 19:58
Anonymous28-Jan-04 19:58 
QuestionQuery as input for my array? Pin
Anonymous28-Jan-04 10:55
Anonymous28-Jan-04 10:55 
AnswerRe: Query as input for my array? Pin
DannyB793-Feb-04 6:25
DannyB793-Feb-04 6:25 
Dim conn As New SqlConnection(''''YourConnectionStringHere)
Dim cmd As New SqlCommand
Dim dr As SqlClient.SqlDataReader

With cmd
.Connection = conn
.CommandType = CommandType.Text
.CommandText = "SELECT ExeName FROM tProcessNames"
.Connection.Open()
dr = .ExecuteReader(CommandBehavior.CloseConnection)
While dr.Read
buildProcess(dr.Item("ExeName").ToString)
End While
End With
dr.Close()

If I understand you right that should do it. Hope it helps

GeneralExcel, VB and Column formatting Pin
RichardGrimmer28-Jan-04 5:37
RichardGrimmer28-Jan-04 5:37 
GeneralRe: Excel, VB and Column formatting Pin
jimpar28-Jan-04 8:53
jimpar28-Jan-04 8:53 
GeneralRe: Excel, VB and Column formatting Pin
RichardGrimmer29-Jan-04 22:47
RichardGrimmer29-Jan-04 22:47 
GeneralDeployment Pin
Anonymous28-Jan-04 4:03
Anonymous28-Jan-04 4:03 
GeneralStupid question about Automation Pin
Bash28-Jan-04 0:12
Bash28-Jan-04 0:12 
GeneralRe: Stupid question about Automation Pin
Daniel Turini28-Jan-04 1:09
Daniel Turini28-Jan-04 1:09 
GeneralRe: Stupid question about Automation Pin
Vi229-Jan-04 2:32
Vi229-Jan-04 2:32 
GeneralRe: Stupid question about Automation Pin
Anonymous2-Feb-04 4:58
Anonymous2-Feb-04 4:58 
GeneralRe: Stupid question about Automation Pin
Anonymous28-Jan-04 8:57
Anonymous28-Jan-04 8:57 
Generalwhere to find the dialup info Pin
h43k4z27-Jan-04 19:40
h43k4z27-Jan-04 19:40 
GeneralEntering Feet/Inches in Textbox Pin
Dooglo27-Jan-04 17:09
Dooglo27-Jan-04 17:09 
Generalhandle open documents Pin
acecase27-Jan-04 16:07
acecase27-Jan-04 16:07 
GeneralRe: handle open documents Pin
Dave Kreskowiak28-Jan-04 3:55
mveDave Kreskowiak28-Jan-04 3:55 
GeneralRe: handle open documents Pin
acecase31-Jan-04 15:47
acecase31-Jan-04 15:47 
Generaldata extraction problem. Pin
LokmanHakim27-Jan-04 15:31
LokmanHakim27-Jan-04 15:31 
GeneralRe: data extraction problem. Pin
gpa200028-Jan-04 6:38
gpa200028-Jan-04 6:38 
GeneralRe: data extraction problem. Pin
LokmanHakim28-Jan-04 12:57
LokmanHakim28-Jan-04 12:57 

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.