20,278 Topics

Member Avatar for
Member Avatar for davidmr

Best regards, how I can delete a record in the DataGridView and update this table len but removing it would be activating a checkbox and pressing a button. your attention is appreciated

Member Avatar for TnTinMN
0
378
Member Avatar for Ashenvale

Hi I have a problem with my SQL UPDATE It says here: Syntax error in UPDATE statement. Here's my code: Private Sub btnEdit_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnEdit.Click Private Sub btnEdit_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnEdit.Click Dim sqlupdate As String sqlupdate = …

Member Avatar for G_Waddell
0
117
Member Avatar for innocentgee

write a program in vb.NET to generate the Premiere league table? Meaning the programme will generate the match played, win, loss, goals against, goals in favor, and the points for each team. This is a sample of how the table should do; Position|Team|MatchsPlayed|Wins|Draws|Loss|GoalsFor|GoalsAgainst|GoalDifference|Points Thanks iN Advance

Member Avatar for G_Waddell
-3
316
Member Avatar for poojavb

Hello, I am stuck with this problem.... I have few folders that contains a filename as **registration.txt** --- note the folder names are different since as and when a new user will register a folder gets created with its name and then the text file with the details of the …

Member Avatar for tinstaafl
0
378
Member Avatar for sharunkumar

Hi, I want to know how to send keys like ALT, Shift, Ctrl, Entre, etc. with the My.Computer.SendKeys() function. Also, I need a code with which i can send 2 keys together like Ctrl+C If its not possible with SendKeys(), please suggest some other function to acheive this. [I use …

Member Avatar for Cardine.Mpisane
0
27K
Member Avatar for ImZick

Hi how can i pass if my connection is false? i have a code here Dim con As New OleDbConnection Dim dt As New DataTable Dim ds As New DataSet con.ConnectionString = ("provider=Microsoft.Jet.OLEDB.4.0; Data Source='" & ConMonthEndLocation & "';Extended Properties=Excel 8.0;") con.Open() dt.Clear() ds.Tables.Add(dt) With Form_Month_End_Report .ListView_LOB.Columns.Clear() .ListView_LOB.Items.Clear() Dim da …

Member Avatar for xerohomicide
0
121
Member Avatar for godace89

Public Class Form1 Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim strsql As String = "Data Source=.ITSupport;" & _ "Initial Catalog=Information;Integrated Security=true" strsql = " insert into table_1 (name, address, age ) values ('" _ & txtname.Text & "','" _ & txtaddress.Text & "','" _ …

Member Avatar for adam_k
0
253
Member Avatar for Skipind

connecting access 2003 database from remote computer .I have a vb2005 application which uses access2003 database. I want to connect to this database via remote computer connected via internet.

Member Avatar for savedlema
0
342
Member Avatar for Unused Mass

I would like to save and load a listview and all of its contents. But, also, I want to make a combobox with all of the configurations of the listview. So you could add another one via a settings menu, or load one using the combobox. Many thanks in advance.

Member Avatar for tinstaafl
0
266
Member Avatar for Programmer629

Hi everyone. i was wondering if anyone new any good tutorials on how to make a picturebox play a video in vb.net 2010 **WITHOUT** using the windows media player component. i want this to be 100% my program. thx in advance!

Member Avatar for Ancient Dragon
0
295
Member Avatar for Grandiago

I'm trying to add a new row to my database so that i can add a new record. But it always gives this error: "Object reference not set to an instance of an object." And i can't figure out. Can you guys help me? I ahve my codee. Private Sub …

Member Avatar for adam_k
0
231
Member Avatar for Ana D.

Hi, I'm trying to sort a DataTable using the following code: [CODE=VB.NET]Private Function sortDataTable(ByVal dTable As DataTable) As DataTable Dim dView As New DataView(dTable) dView.Sort = "Field ASC" Return dTable End Function[/CODE] But it doesn't work. What is wrong? How can I sort the DataTable? Thanks, Ana

Member Avatar for navyjax2
0
606
Member Avatar for ImZick

Hi i have a form1 and form2 and also a button1 in my button1 i have this code Form2.show now when the Form2 is show and everytime i click a button Private Sub Combo_AM_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs)_ Handles Combo_AM.SelectedIndexChanged With Combo_AM If Combo_EBU.Text = "EBU 2" …

Member Avatar for Begginnerdev
0
210
Member Avatar for collin_ola

Hi, I seem to be having a problem when attempting to insert a new record into my database through vb.net. From what I can gather, there seems to be an error in the code that the command builder (cBuilder) is creating for me. Here's a copy of the code for …

Member Avatar for Reverend Jim
0
5K
Member Avatar for l3ights

Hi guys, I am building a program which has 5 forms, 1 mainmenuform with 4 buttons and each of them buttons have a form corrisponding to that button and this program is connected to my access database. The problem I have is I've put all my code into my first …

Member Avatar for l3ights
0
138
Member Avatar for xHellghostx

So I am working on a program and it has two seperate classes.. One of them contain the forum layout and the other contain some calculations and totals.. The problem is that the class with the calculations contain a constructor and other functions that I need to pass from this …

Member Avatar for tinstaafl
0
306
Member Avatar for zarulhamdi

Public Class LoginForm1 Private Sub OK_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles OK.Click Dim con As New SqlConnection("Data Source=.\SQLEXPRESS;AttachDbFilename=C:\Users\ahamdi2\Documents\Visual Studio 2008\Projects\sistemPengesanan\sistemPengesanan\admin.mdf;Integrated Security=True;User Instance=True") Dim cmd As New SqlCommand("SELECT * FROM info WHERE username = '" & UsernameTextBox.Text & "' AND [password] = '" & PasswordTextBox.Text & "' ", …

Member Avatar for godace89
0
1K
Member Avatar for IsaacMessi10

How do you link to a Database in VB.NET? Say you need to record Name, Password and Email Address. What shall I write in the db?

Member Avatar for IsaacMessi10
0
164
Member Avatar for rony001

hi friends I am trying to search a table with last and first name and update table after changes .I can retrieve rows and display in datagridview, I would like to know how do I update table after changes, i would appreciate any help Private Sub TextBox1_TextChanged(ByVal sender As System.Object, …

Member Avatar for rony001
0
134
Member Avatar for Gus_19

I'm trying to specify that multiple conditional statements need to be met before saving. If either of the statements are not met, then their respective error messages will pop up. The problem I'm having is I cannot get the error messages to show independantly. Am I on the right track …

Member Avatar for fuerer_g
0
218
Member Avatar for zoraster01

hello daniwebscoders.. can you help me with my project?? i want to save a finger print file to a sql server table and then i also wanted to read it when you tap the finger print reader and it will input a time in :) sry for my grammar

Member Avatar for jake0813
0
1K
Member Avatar for Grandiago

How come when i update my database using access(I forgot to add something) I need to add another data source to my program to make it show. It floods my Data Sources window. Is there an alternative way to do this?

Member Avatar for Grandiago
0
152
Member Avatar for BleepyE

Is there a way to see if the user is using Windows 7. If yes, can we change their theme when the Form loads, and change it back when it closes? Thanks

Member Avatar for nilesh7136
0
203
Member Avatar for misheng
Member Avatar for nilesh7136

Hellow,,, Problem in DevComponents, Im using devcomponent in my vb.net application, my form look like wonderful in the project, but when i debug the project, at that time its look like normal form, You Can See Snapshot of My Projoct in Link:[Here](http://s9.postimage.org/54fmj74sv/nnn.jpg) Please help, what's wrong there??? Thanks in Advance, …

Member Avatar for Ancient Dragon
0
72
Member Avatar for John-Ellis

Hi, I have started my new college course this week and received my first assignment, it is to create a simple noughts and crosses game. So far all is well, I have created all of my procedures for checking for winners, reseting the game board and so on, the only …

Member Avatar for adam_k
0
217
Member Avatar for Reverend Jim

One of the things I have been steadfastly avoiding is writing code to print stuff. Most of what I want to print is from withing apps like Outlook or Word that already provide that functionality. But I finally ended up having to bite the bullet. What I ended up with …

Member Avatar for tinstaafl
2
3K
Member Avatar for dbalas

Hi! I just started using LightSwitch and i am amazed how great this tool is! However, i worked with php up until a week ago so im really new in vb programming language. I started making an application for warehouse management and got stuck with reducing part quantity after placed …

Member Avatar for dbalas
0
949
Member Avatar for jecjess.apostol
Member Avatar for tinstaafl
0
64
Member Avatar for anshul13

How to create a program which can save data of your form and then retrieve it whenever we open its .exe file:( or whenever we open that project? plz tell me as fast as you can :(

Member Avatar for G_Waddell
-2
139

The End.