Click here to Skip to main content
15,913,091 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralIShellPropSheetExt and IShellExtInit Pin
Keder15-Jan-03 2:24
Keder15-Jan-03 2:24 
GeneralVS .NET FlexGrid Pin
segato14-Jan-03 22:52
segato14-Jan-03 22:52 
Generalbuilding n-tier app in .net. Pin
tunaktun14-Jan-03 10:45
tunaktun14-Jan-03 10:45 
GeneralVB 6.0 from VC++ 6.0, .dlls, pointers, etc Pin
Tym!14-Jan-03 6:58
Tym!14-Jan-03 6:58 
GeneralRe: VB 6.0 from VC++ 6.0, .dlls, pointers, etc Pin
Nick Seng14-Jan-03 17:28
Nick Seng14-Jan-03 17:28 
Generalpopulating a datagrid with the results of a SQL statement Pin
mcm13-Jan-03 1:19
mcm13-Jan-03 1:19 
GeneralRe: populating a datagrid with the results of a SQL statement Pin
Nick Seng13-Jan-03 15:22
Nick Seng13-Jan-03 15:22 
GeneralRe: populating a datagrid with the results of a SQL statement Pin
mcm14-Jan-03 10:09
mcm14-Jan-03 10:09 
sorry for lack of detail,and thank you for your time! its vb6, as it stands my code is:

Dim strCompany As String
Dim strLikeCompany As String
strCompany = txtCompany.Text
strLikeCompany = strCompany & "*"

Dim findSQL As String
findSQL = " Select ClientCode, Company, ContactName " & _
" from Client " & _
" Where Company LIKE '" & strLikeCompany & "'"
Set RS = Conn.Execute(findSQL)

Adodc2.RecordSource = findSQL
MsgBox ("Showing Results")
Me.Adodc2.Refresh
Me.DataGrid1.Refresh

but it displays the error "no recordset specified, command text was not set for command object." on loading and it fails to populate grid.
GeneralRe: populating a datagrid with the results of a SQL statement Pin
Hesham Amin14-Jan-03 8:33
Hesham Amin14-Jan-03 8:33 
GeneralVB.Net Pin
suresh_sathya12-Jan-03 22:38
suresh_sathya12-Jan-03 22:38 
QuestionRun windows app with parameters????? Pin
t800t812-Jan-03 16:31
t800t812-Jan-03 16:31 
AnswerRe: Run windows app with parameters????? Pin
Steven Lyons12-Jan-03 21:35
Steven Lyons12-Jan-03 21:35 
GeneralClosing All MDI Child Windows At Once Pin
Anomaly102410-Jan-03 17:12
Anomaly102410-Jan-03 17:12 
GeneralRe: Closing All MDI Child Windows At Once Pin
Jeremy Falcon14-Jan-03 6:58
professionalJeremy Falcon14-Jan-03 6:58 
General.NET Crashes Pin
A. Aluthwala10-Jan-03 15:56
sussA. Aluthwala10-Jan-03 15:56 
GeneralRe: .NET Crashes Pin
FruitBatInShades11-Jan-03 0:34
FruitBatInShades11-Jan-03 0:34 
GeneralRe: .NET Crashes Pin
Anonymous13-Jan-03 1:07
Anonymous13-Jan-03 1:07 
GeneralStupid VB glitch Pin
Kevnar10-Jan-03 4:10
Kevnar10-Jan-03 4:10 
GeneralRe: Stupid VB glitch Pin
Glenn Dawson10-Jan-03 4:48
Glenn Dawson10-Jan-03 4:48 
GeneralRe: Stupid VB glitch Pin
Kevnar10-Jan-03 5:13
Kevnar10-Jan-03 5:13 
GeneralRegarding toolbar Pin
suresh_sathya10-Jan-03 0:47
suresh_sathya10-Jan-03 0:47 
QuestionHow Can i detect <Return> in datagrid Cell Pin
intibnin9-Jan-03 20:27
intibnin9-Jan-03 20:27 
AnswerRe: How Can i detect <Return> in datagrid Cell Pin
Nick Seng9-Jan-03 21:33
Nick Seng9-Jan-03 21:33 
GeneralTimer problem... Pin
Ruca9-Jan-03 6:54
Ruca9-Jan-03 6:54 
GeneralRe: Timer problem... Pin
FruitBatInShades9-Jan-03 6:59
FruitBatInShades9-Jan-03 6:59 

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.