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

Visual Basic

 
AnswerRe: sql server >> create view Pin
Ashfield12-Jun-08 21:13
Ashfield12-Jun-08 21:13 
GeneralRe: sql server >> create view Pin
Sebastian T Xavier12-Jun-08 22:40
Sebastian T Xavier12-Jun-08 22:40 
GeneralRe: sql server >> create view Pin
Ashfield12-Jun-08 22:46
Ashfield12-Jun-08 22:46 
Questionwindows clock Pin
Bill Lef12-Jun-08 18:10
Bill Lef12-Jun-08 18:10 
QuestionControl more than one listbox with one vscrollbar Pin
shee_dee8612-Jun-08 16:50
shee_dee8612-Jun-08 16:50 
AnswerRe: Control more than one listbox with one vscrollbar Pin
Christian Graus12-Jun-08 17:03
protectorChristian Graus12-Jun-08 17:03 
QuestionMain Thread - Dialog Form Pin
nlarson1112-Jun-08 14:24
nlarson1112-Jun-08 14:24 
QuestionPassing an Access wildcard from VB.Net 2005 Pin
CCG312-Jun-08 8:03
CCG312-Jun-08 8:03 
I am working wiht VB.Net 2005 and I am looking at an Access 2003 database. I can run a Delte query in Access and it works fine. But when I try to run the same query from my program it doesn't delete anything. Can someone tell me what I doing wrong? Thanks so much for your help with this....

Cursor = System.Windows.Forms.Cursors.WaitCursor

'Build SQL to delete this department
Dim TempDepartNum As String = Me.txtDepartNum.Text
Dim Sql As String = String.Empty

'initialize database connection
Dim Connection As New OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\Databases\Converted to 2003\C022008.mdb")


'set up SQL command to delete records
'DELETE SHACT.ActAcct, *FROM(SHACT) WHERE (((SHACT.ActAcct) Like '100*'));
Sql = "DELETE * FROM SHACT WHERE (((SHACT.ActAcct) Like '100*'));"

Try
'connect to the database and delete the records
Connection.Open()
Dim Command As New OleDbCommand(Sql, Connection)
Command.ExecuteNonQuery()

MessageBox.Show("Delete Department function completed successfully.", "Delete", MessageBoxButtons.OK)
AnswerRe: Passing an Access wildcard from VB.Net 2005 Pin
BDEz (Member 3919223)12-Jun-08 8:39
BDEz (Member 3919223)12-Jun-08 8:39 
GeneralRe: Passing an Access wildcard from VB.Net 2005 Pin
CCG312-Jun-08 9:05
CCG312-Jun-08 9:05 
Questionhow can i make my setup project start on window stratup Pin
Ebube12-Jun-08 5:06
Ebube12-Jun-08 5:06 
AnswerRe: how can i make my setup project start on window stratup Pin
Christian Graus12-Jun-08 5:13
protectorChristian Graus12-Jun-08 5:13 
QuestionHow to debug (step through) dll used by web service? Pin
A Wong12-Jun-08 4:28
A Wong12-Jun-08 4:28 
AnswerRe: How to debug (step through) dll used by web service? Pin
Christian Graus12-Jun-08 5:13
protectorChristian Graus12-Jun-08 5:13 
GeneralRe: How to debug (step through) dll used by web service? Pin
A Wong12-Jun-08 5:20
A Wong12-Jun-08 5:20 
GeneralRe: How to debug (step through) dll used by web service? Pin
Christian Graus12-Jun-08 6:07
protectorChristian Graus12-Jun-08 6:07 
Questionhow to access a link in the XML tag? Pin
Member 199886312-Jun-08 4:23
Member 199886312-Jun-08 4:23 
Questionget sql instance name Pin
taherjaorawala12-Jun-08 0:05
taherjaorawala12-Jun-08 0:05 
AnswerRe: get sql instance name Pin
jzonthemtn12-Jun-08 12:37
jzonthemtn12-Jun-08 12:37 
QuestionI am using “Vb.Net Visual Basic Datagrid” Deferent Language books Name Display in Datagrid. How to Change Font? Pin
Lenu Thomas11-Jun-08 22:48
Lenu Thomas11-Jun-08 22:48 
RantRe: I am using “Vb.Net Visual Basic Datagrid” Deferent Language books Name Display in Datagrid. How to Change Font? Pin
Smithers-Jones13-Jun-08 3:29
Smithers-Jones13-Jun-08 3:29 
QuestionI am using “Vb.Net Visual Basic Datagrid” Deferent Language books Name Display in Datagrid. How to Change Font? Pin
Lenu Thomas11-Jun-08 22:44
Lenu Thomas11-Jun-08 22:44 
Questionsqlexception Pin
monika_vasvani11-Jun-08 22:22
monika_vasvani11-Jun-08 22:22 
AnswerRe: sqlexception Pin
Tom Deketelaere11-Jun-08 23:11
professionalTom Deketelaere11-Jun-08 23:11 
Questionhow to display the numbers like 1,2,3,4...? Pin
sathyan_829411-Jun-08 19:34
sathyan_829411-Jun-08 19:34 

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.