Click here to Skip to main content
15,920,438 members
Home / Discussions / Visual Basic
   

Visual Basic

 
Questionsoftwares for agriculture irrigation with the help of visual basic Pin
Member 134513307-Oct-17 4:06
Member 134513307-Oct-17 4:06 
AnswerRe: softwares for agriculture irrigation with the help of visual basic Pin
OriginalGriff7-Oct-17 4:50
mveOriginalGriff7-Oct-17 4:50 
QuestionDataGridView with Two Datatables and Combobox Lookup Pin
billsut4-Oct-17 2:19
billsut4-Oct-17 2:19 
AnswerRe: DataGridView with Two Datatables and Combobox Lookup Pin
Mycroft Holmes4-Oct-17 13:30
professionalMycroft Holmes4-Oct-17 13:30 
QuestionResizing images Pin
A_Griffin3-Oct-17 2:03
A_Griffin3-Oct-17 2:03 
AnswerRe: Resizing images Pin
Richard MacCutchan3-Oct-17 6:31
mveRichard MacCutchan3-Oct-17 6:31 
GeneralRe: Resizing images Pin
A_Griffin3-Oct-17 8:14
A_Griffin3-Oct-17 8:14 
Questiondatabase design for financial accounting Pin
Mohammad Kamil1-Oct-17 8:47
Mohammad Kamil1-Oct-17 8:47 
AnswerRe: database design for financial accounting Pin
Mycroft Holmes1-Oct-17 13:28
professionalMycroft Holmes1-Oct-17 13:28 
QuestionRetrieve data from Acess database after login form Pin
Charles9730-Sep-17 4:48
Charles9730-Sep-17 4:48 
AnswerRe: Retrieve data from Acess database after login form Pin
Richard Andrew x6430-Sep-17 5:15
professionalRichard Andrew x6430-Sep-17 5:15 
QuestionI am changing code from vb6 windows application to vb.net windows application..getting error on EOF. sAn unhandled exception of type 'System.Runtime.InteropServices.COMException' occurred in Test.exe Additional information: Operation is not allowed Pin
Member 1075459525-Sep-17 6:27
Member 1075459525-Sep-17 6:27 
SuggestionRe: I am changing code from vb6 windows application to vb.net windows application..getting error on EOF. sAn unhandled exception of type 'System.Runtime.InteropServices.COMException' occurred in Test.exe Additional information: Operation is not allo Pin
Richard Deeming25-Sep-17 6:39
mveRichard Deeming25-Sep-17 6:39 
GeneralRe: I am changing code from vb6 windows application to vb.net windows application..getting error on EOF. sAn unhandled exception of type 'System.Runtime.InteropServices.COMException' occurred in Test.exe Additional information: Operation is not allo Pin
Member 1075459525-Sep-17 7:07
Member 1075459525-Sep-17 7:07 
AnswerRe: I am changing code from vb6 windows application to vb.net windows application..getting error on EOF. sAn unhandled exception of type 'System.Runtime.InteropServices.COMException' occurred in Test.exe Additional information: Operation is not allo Pin
Wendelius25-Sep-17 10:16
mentorWendelius25-Sep-17 10:16 
QuestionUse a variable or text box in Sql WHERE clause Pin
Member 1300905323-Sep-17 9:31
Member 1300905323-Sep-17 9:31 
AnswerRe: Use a variable or text box in Sql WHERE clause Pin
Afzaal Ahmad Zeeshan23-Sep-17 10:28
professionalAfzaal Ahmad Zeeshan23-Sep-17 10:28 
What you need to look at is the SQL Parameters, to support parameterized queries. That way you can generate the SQL queries that look like this,
SQL
SELECT * FROM tble_Switches WHERE Status = @p1 ORDER BY Node
Now you will pass a parameter @p1, which comes from a user input (combobox, or anything of your choice) and then you will finally get the records for that status.

Using SQLParameters with VB.NET/C#
SqlCommand.Parameters Property (System.Data.SqlClient)

Never try to build up a query by concatenation. You will expose the query to SQL Injection and that will only hurt; badly. SQL injection - Wikipedia.
The sh*t I complain about
It's like there ain't a cloud in the sky and it's raining out - Eminem
~! Firewall !~

QuestionVLC Player User-Agent for vb6 Pin
Member 1341240517-Sep-17 17:01
Member 1341240517-Sep-17 17:01 
QuestionVB Form Search XLSX Pin
Member 24539047-Sep-17 10:41
Member 24539047-Sep-17 10:41 
AnswerRe: VB Form Search XLSX Pin
Richard MacCutchan7-Sep-17 19:21
mveRichard MacCutchan7-Sep-17 19:21 
AnswerRe: VB Form Search XLSX Pin
Chris Quinn7-Sep-17 20:39
Chris Quinn7-Sep-17 20:39 
GeneralRe: VB Form Search XLSX Pin
Member 24539048-Sep-17 5:54
Member 24539048-Sep-17 5:54 
Questionvb 2017 : opengl project setup ? Pin
bluatigro5-Sep-17 22:25
bluatigro5-Sep-17 22:25 
Questionvb 2017 : AI : Genetic Programming Pin
bluatigro4-Sep-17 1:33
bluatigro4-Sep-17 1:33 
AnswerRe: vb 2017 : AI : Genetic Programming Pin
Arthur V. Ratz4-Sep-17 1:59
professionalArthur V. Ratz4-Sep-17 1: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.