20,278 Topics
| |
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 | |
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 = … | |
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 | |
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 … | |
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 … | |
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 … | |
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 & "','" _ … | |
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. | |
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. | |
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! | |
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 … | |
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 | |
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" … | |
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 … | |
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 … | |
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 … | |
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 & "' ", … | |
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? | |
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, … | |
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 … | |
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 | |
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? | |
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 | |
hello can I ask question about syntax error in insert into statement? | |
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, … | |
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 … | |
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 … | |
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 … | |
How will i reply to an SMS automatically when they send me their orders? | |
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 :( |
The End.