Click here to Skip to main content
15,925,528 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: how to position a form off the screen? Pin
Nick Parker27-Sep-02 9:15
protectorNick Parker27-Sep-02 9:15 
GeneralRe: how to position a form off the screen? Pin
ns27-Sep-02 9:40
ns27-Sep-02 9:40 
Questionhandle to child window...how to? Pin
ns26-Sep-02 4:28
ns26-Sep-02 4:28 
GeneralCollection of my own type Pin
Jerome Conus26-Sep-02 3:40
Jerome Conus26-Sep-02 3:40 
GeneralRe: Collection of my own type Pin
mikasa26-Sep-02 6:03
mikasa26-Sep-02 6:03 
Generalsending message from a VC dll to VB - user defined Pin
ns26-Sep-02 3:20
ns26-Sep-02 3:20 
QuestionZoomable image overlaid with drawing possible? Pin
Bodie25-Sep-02 13:58
Bodie25-Sep-02 13:58 
Questionhow to bind data with textbox after executing search query thru code? Pin
drmzunlimited25-Sep-02 11:43
drmzunlimited25-Sep-02 11:43 
can anybody please tell me how to bind data with textbox after executing search query thru code?

here is what i did to execute select query thru code and now i dont know how to display those results ( how to bind them to textbox)

Dim str, str2 As String
str = "SELECT completelist.* FROM completelist, shortlist WHERE (@keycode=completelist.keycode) And (@startframe=completelist.frame) And (@stoffset=completelist.offset)"
str2 = str & "UNION SELECT completelist.* FROM completelist, shortlist WHERE(@keycode=completelist.keycode) And (@endframe=completelist.frame) And (@enoffset=completelist.offset)"
Dim selcom As New OleDbCommand(str2, OleDbConnection1)
OleDbDataAdapter1.SelectCommand = selcom
OleDbDataAdapter1.SelectCommand.Parameters.Add(New OleDbParameter("@keycode", OleDbType.Char, 10))
OleDbDataAdapter1.SelectCommand.Parameters("@keycode").Value = keycode.Text
OleDbDataAdapter1.SelectCommand.Parameters.Add(New OleDbParameter("@startframe", OleDbType.Integer, 4))
OleDbDataAdapter1.SelectCommand.Parameters("@startframe").Value = startframe.Text
OleDbDataAdapter1.SelectCommand.Parameters.Add(New OleDbParameter("@stoffset", OleDbType.Integer, 2))
OleDbDataAdapter1.SelectCommand.Parameters("@stoffset").Value = stoffset.Text
OleDbDataAdapter1.SelectCommand.Parameters.Add(New OleDbParameter("@endframe", OleDbType.Integer, 4))
OleDbDataAdapter1.SelectCommand.Parameters("@endframe").Value = endframe.Text
OleDbDataAdapter1.SelectCommand.Parameters.Add(New OleDbParameter("@enoffset", OleDbType.Integer, 2))
OleDbDataAdapter1.SelectCommand.Parameters("@enoffset").Value = enoffset.Text
OleDbConnection1.Open()
OleDbDataAdapter1.SelectCommand.ExecuteNonQuery()
OleDbConnection1.Close()
OleDbDataAdapter1.Fill(DataSet1)


please help me getting the results from the query ..!!

AnswerRe: how to bind data with textbox after executing search query thru code? Pin
Peet Schultz26-Sep-02 0:39
Peet Schultz26-Sep-02 0:39 
GeneralHELP! Looking for Coyote Software ActiveX Control - MC ComboBox Pin
Throttles25-Sep-02 10:36
Throttles25-Sep-02 10:36 
Generalproblem with disabling button in toolbar (VBA in Word97) Pin
Mariusz Popiolek25-Sep-02 8:26
sussMariusz Popiolek25-Sep-02 8:26 
GeneralTransparent Child Forms in VB.NET Pin
mikasa25-Sep-02 7:32
mikasa25-Sep-02 7:32 
Questionwhich files to distribute for COM dll? Pin
ns25-Sep-02 5:35
ns25-Sep-02 5:35 
GeneralDatagrid Copy/Paste Rows Pin
b376724-Sep-02 15:16
b376724-Sep-02 15:16 
Generalsendmessage woes..... Pin
ns24-Sep-02 10:32
ns24-Sep-02 10:32 
GeneralRe: sendmessage woes..... Pin
Nick Parker24-Sep-02 11:42
protectorNick Parker24-Sep-02 11:42 
GeneralRe: sendmessage woes..... Pin
ns25-Sep-02 0:55
ns25-Sep-02 0:55 
General3rd Party Components Pin
Anonymous24-Sep-02 5:02
Anonymous24-Sep-02 5:02 
QuestionVB runtime - how to distribute? Pin
ns24-Sep-02 1:33
ns24-Sep-02 1:33 
AnswerRe: VB runtime - how to distribute? Pin
Nick Parker24-Sep-02 2:46
protectorNick Parker24-Sep-02 2:46 
GeneralInternet Pin
Anonymous23-Sep-02 19:24
Anonymous23-Sep-02 19:24 
GeneralRe: Internet Pin
Nick Parker24-Sep-02 1:30
protectorNick Parker24-Sep-02 1:30 
GeneralPlease help Pin
Member 103967023-Sep-02 15:57
Member 103967023-Sep-02 15:57 
GeneralRe: Please help Pin
Nick Parker24-Sep-02 2:46
protectorNick Parker24-Sep-02 2:46 
GeneralBackcolour in VB6 Pin
Sas2808198623-Sep-02 9:52
Sas2808198623-Sep-02 9:52 

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.