Click here to Skip to main content
15,896,730 members
Home / Discussions / Visual Basic
   

Visual Basic

 
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 
GeneralRe: vb 2017 : AI : Genetic Programming Pin
bluatigro5-Sep-17 22:10
bluatigro5-Sep-17 22:10 
GeneralRe: vb 2017 : AI : Genetic Programming Pin
Arthur V. Ratz5-Sep-17 22:40
professionalArthur V. Ratz5-Sep-17 22:40 
GeneralRe: vb 2017 : AI : Genetic Programming Pin
Arthur V. Ratz6-Sep-17 4:49
professionalArthur V. Ratz6-Sep-17 4:49 
GeneralRe: vb 2017 : AI : Genetic Programming Pin
Arthur V. Ratz6-Sep-17 4:56
professionalArthur V. Ratz6-Sep-17 4:56 
GeneralRe: vb 2017 : AI : Genetic Programming Pin
bluatigro6-Sep-17 21:56
bluatigro6-Sep-17 21:56 
GeneralRe: vb 2017 : AI : Genetic Programming Pin
bluatigro7-Sep-17 1:21
bluatigro7-Sep-17 1:21 
GeneralRe: vb 2017 : AI : Genetic Programming Pin
Arthur V. Ratz7-Sep-17 3:15
professionalArthur V. Ratz7-Sep-17 3:15 
GeneralRe: vb 2017 : AI : Genetic Programming Pin
Arthur V. Ratz7-Sep-17 7:44
professionalArthur V. Ratz7-Sep-17 7:44 
GeneralRe: vb 2017 : AI : Genetic Programming Pin
bluatigro7-Sep-17 23:26
bluatigro7-Sep-17 23:26 

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.