Click here to Skip to main content
15,888,579 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionGraph implementation Pin
maisa.sh2-Jan-07 10:47
maisa.sh2-Jan-07 10:47 
AnswerRe: Graph implementation Pin
Colin Angus Mackay2-Jan-07 11:33
Colin Angus Mackay2-Jan-07 11:33 
Questionwhat is the problem about this code Pin
nbulut2-Jan-07 10:00
nbulut2-Jan-07 10:00 
AnswerRe: what is the problem about this code Pin
Colin Angus Mackay2-Jan-07 11:28
Colin Angus Mackay2-Jan-07 11:28 
GeneralRe: what is the problem about this code Pin
nbulut2-Jan-07 12:02
nbulut2-Jan-07 12:02 
GeneralRe: what is the problem about this code Pin
Colin Angus Mackay2-Jan-07 12:08
Colin Angus Mackay2-Jan-07 12:08 
GeneralRe: what is the problem about this code Pin
nbulut2-Jan-07 12:26
nbulut2-Jan-07 12:26 
GeneralRe: what is the problem about this code Pin
Colin Angus Mackay2-Jan-07 12:44
Colin Angus Mackay2-Jan-07 12:44 
I'm typing this directly so there may be some minor errors:

Dim someValue As String;
someValue = "%" & theTextBox.Text & "%"
myCommand.CommandText = "SELECT * FROM MyTable WHERE someColumn LIKE ?"
myCommand.Parameters.Add("?", someValue)


You may also wish to validate that the information the user has put in the text box is no longer than the length of the column, or check for any other conditions that make the value invalid before sending it to the database.


Upcoming Scottish Developers events:
* Glasgow: Tell us what you want to see in 2007


My: Website | Blog | Photos

Questionhow to resolve the over-writing problem of items in the list in vb.net Pin
sushantsprajan2-Jan-07 7:55
sushantsprajan2-Jan-07 7:55 
AnswerRe: how to resolve the over-writing problem of items in the list in vb.net Pin
Dave Kreskowiak2-Jan-07 9:13
mveDave Kreskowiak2-Jan-07 9:13 
AnswerRe: MySql connection Pin
Dave Kreskowiak2-Jan-07 9:09
mveDave Kreskowiak2-Jan-07 9:09 
QuestionPicture Box Control Pin
bjeverett2-Jan-07 6:24
bjeverett2-Jan-07 6:24 
AnswerRe: Picture Box Control Pin
Christian Graus2-Jan-07 15:56
protectorChristian Graus2-Jan-07 15:56 
Questionntgraph in Access Pin
bakerjw2-Jan-07 6:04
bakerjw2-Jan-07 6:04 
Questionhow to change data source and keep queries Pin
Eric Georgiades2-Jan-07 4:53
Eric Georgiades2-Jan-07 4:53 
Questionhow can i use LineGetCountry() TAPI function in my Visual Basic project Pin
hihsh2-Jan-07 4:44
hihsh2-Jan-07 4:44 
AnswerRe: how can i use LineGetCountry() TAPI function in my Visual Basic project Pin
Dave Kreskowiak2-Jan-07 5:43
mveDave Kreskowiak2-Jan-07 5:43 
QuestionI need a source code that view installed applications and run them. Pin
MjRazzaghi2-Jan-07 4:33
MjRazzaghi2-Jan-07 4:33 
AnswerRe: I need a source code that view installed applications and run them. Pin
Dave Kreskowiak2-Jan-07 5:38
mveDave Kreskowiak2-Jan-07 5:38 
QuestionDatagrid format Pin
SilentBob1012-Jan-07 4:26
SilentBob1012-Jan-07 4:26 
AnswerRe: Datagrid format Pin
Dave Kreskowiak2-Jan-07 5:37
mveDave Kreskowiak2-Jan-07 5:37 
QuestionVB2005 documentation generator Pin
Marc Soleda2-Jan-07 4:12
Marc Soleda2-Jan-07 4:12 
AnswerRe: VB2005 documentation generator Pin
Martin.Smith3-Jan-07 23:52
Martin.Smith3-Jan-07 23:52 
GeneralRe: VB2005 documentation generator Pin
Marc Soleda4-Jan-07 3:13
Marc Soleda4-Jan-07 3:13 
QuestionComparing pixels of an image Pin
Zaegra2-Jan-07 1:15
Zaegra2-Jan-07 1:15 

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.