Click here to Skip to main content
15,880,796 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: VB 2005 include a .exe file Pin
svanwass22-Oct-07 11:18
svanwass22-Oct-07 11:18 
GeneralRe: VB 2005 include a .exe file Pin
FloridaHillBilly22-Oct-07 13:15
FloridaHillBilly22-Oct-07 13:15 
GeneralRe: VB 2005 include a .exe file Pin
Tom Deketelaere22-Oct-07 22:39
professionalTom Deketelaere22-Oct-07 22:39 
QuestionCanceling background worker Pin
svanwass22-Oct-07 9:58
svanwass22-Oct-07 9:58 
AnswerRe: Canceling background worker Pin
Dave Kreskowiak23-Oct-07 2:08
mveDave Kreskowiak23-Oct-07 2:08 
QuestionConnection string in VB.Net 2003 Pin
kendo1722-Oct-07 7:12
kendo1722-Oct-07 7:12 
AnswerRe: Connection string in VB.Net 2003 Pin
Dave Kreskowiak22-Oct-07 8:41
mveDave Kreskowiak22-Oct-07 8:41 
GeneralRe: Connection string in VB.Net 2003 Pin
kendo1722-Oct-07 11:54
kendo1722-Oct-07 11:54 
the code is
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click<br />
Dim ctoracleConnection As OleDbConnection<br />
Dim ctoracleCommand As OleDbCommand<br />
Dim dataRow As OleDbDataReader<br />
'MSDORA is the provider when working with Oracle<br />
ctoracleConnection = New OleDbConnection("Provider=MSDAORA.1;User ID=oracle username;password=orac le password; data source=ctoracle")<br />
'opens the connection<br />
ctoracleConnection.Open()<br />
'executes the command and assigns it to the connection<br />
ctoracleCommand = New OleDbCommand("Select EName from emp", ctoracleConnection)<br />
dataRow = ctoracleCommand.ExecuteReader()<br />
While dataRow.Read()<br />
'displays data from the table<br />
MessageBox.Show("Employee Name" & " " & dataRow(0))<br />
End While<br />
dataRow.Close()<br />
ctoracleConnection.Close()<br />
End Sub<br />
End Class<br />
_______________________________________________________________________________________________________________________________

GeneralRe: Connection string in VB.Net 2003 Pin
Dave Kreskowiak22-Oct-07 12:06
mveDave Kreskowiak22-Oct-07 12:06 
GeneralRe: Connection string in VB.Net 2003 Pin
kendo1722-Oct-07 12:25
kendo1722-Oct-07 12:25 
GeneralRe: Connection string in VB.Net 2003 Pin
Dave Kreskowiak23-Oct-07 2:06
mveDave Kreskowiak23-Oct-07 2:06 
GeneralRe: Connection string in VB.Net 2003 Pin
kendo1723-Oct-07 2:30
kendo1723-Oct-07 2:30 
GeneralRe: Connection string in VB.Net 2003 Pin
Dave Kreskowiak23-Oct-07 3:45
mveDave Kreskowiak23-Oct-07 3:45 
GeneralRe: Connection string in VB.Net 2003 Pin
aransiola23-Oct-07 23:04
aransiola23-Oct-07 23:04 
GeneralRe: Connection string in VB.Net 2003 Pin
Dave Kreskowiak24-Oct-07 1:13
mveDave Kreskowiak24-Oct-07 1:13 
AnswerRe: Connection string in VB.Net 2003 Pin
AliAmjad22-Oct-07 23:14
AliAmjad22-Oct-07 23:14 
QuestionAbout the the .dll version I include in my application Pin
albeeeta22-Oct-07 6:31
albeeeta22-Oct-07 6:31 
AnswerRe: About the the .dll version I include in my application Pin
Dave Kreskowiak22-Oct-07 8:50
mveDave Kreskowiak22-Oct-07 8:50 
QuestionRe: About the the .dll version I include in my application Pin
albeeeta22-Oct-07 20:24
albeeeta22-Oct-07 20:24 
AnswerRe: About the the .dll version I include in my application Pin
Dave Kreskowiak23-Oct-07 1:50
mveDave Kreskowiak23-Oct-07 1:50 
AnswerRe: About the the .dll version I include in my application Pin
Dave Kreskowiak23-Oct-07 2:02
mveDave Kreskowiak23-Oct-07 2:02 
AnswerRe: About the the .dll version I include in my application Pin
AliAmjad22-Oct-07 23:09
AliAmjad22-Oct-07 23:09 
QuestionRe: About the the .dll version I include in my application Pin
albeeeta23-Oct-07 0:49
albeeeta23-Oct-07 0:49 
AnswerRe: About the the .dll version I include in my application Pin
AliAmjad23-Oct-07 1:16
AliAmjad23-Oct-07 1:16 
AnswerRe: About the the .dll version I include in my application Pin
albeeeta24-Oct-07 20:37
albeeeta24-Oct-07 20:37 

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.