20,285 Topics
![]() | |
Hi. so this is actually a continuation from another question of mine[Here](https://www.daniweb.com/programming/software-development/threads/506795/dynamically-add-values-into-datagridview-cell-from-listbox-vb2010) but i was advised to start a new thread as the original question was already answered. This is the result of previous question answered : code for the listbox - datagridview interaction At the top of the code … | |
Hi. I have a form with list box : lst_product, datagridview : grd_order and button: btn_addline. lst_product has a list of product ids selected from database (MS Acess 2013) , grd_order is by default empty except for 2 headers and btn_addline adds rows to grd_order. btn_addline : Private Sub btn_addline_Click(ByVal … | |
How to display picture stored in MS access to PictureBox in vb.net I make a login form that require your username and password and picture to login successfuly | |
Hello i had a datagridview with data in it and i wanted to display the selected row in textboxes here's the code i tried by i think its totaly wrong [code=vb.net] Private Sub DataGridView_CellClick(ByVal sender As System.Object, ByVal e As System.Windows.Forms.DataGridViewCellEventArgs) Handles DataGridView1.CellClick Dim i As Integer i = DataGridView.CurrentRow.Index … | |
Hello everyone.. pls I'm new to programming. I'm trying to develop a dictionary application with voice recording for each word in VB 2010 which should have a database probably Mysql. I've started with the interface. I want it to be something similar to Cambridge Advanced Learner's Dictionary. Will appreciate your … | |
Hello All ... Iam Getting An Error With try to excecute the stored procedure . I have Have Sql database , the stored procedure like so : USE [MPRS] GO /****** Object: StoredProcedure [dbo].[Search_Licenses_By_Number] Script Date: 26-Nov-16 8:06:52 AM ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO ALTER PROCEDURE … | |
Hi. Im using vb 2010. I want to dynamically add textboxes to my form by clicking on a button. I've google searched and so far this code worked: Private Sub btn_addline_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btn_addline.Click Dim txtB1 As New TextBox Dim i For i = … | |
I had face dificult problem. So I'm hoping your help. First I would like to discribe my form. Then You can understand my problem. This form had Comboboxes and textboxes and datetime pickers. We need to focus only few ones. So I'll type my form items below accendently. 1. ComboBox … | |
Hello dear memebers, after searching for a multiple chat client i have come across a multithreading chat system which i have attached the code .I have taken the code of the server class and added it to my application form as well as the gui.My question is(well i know it … | |
How to get values from listview and display it to textbox using sql database ? and then i can update the items in listview using a button..then refresh the listview after i click the button... tnx for the help in advance..im just a newbie in vb.net  | |
Hi guys. I'm looking for develop right click menu for data grid view control. I mean When I right click on data grid view I want to show right click menu. I find a way. But I need aditional help. I know How to add right click menu. But I … | |
Hi guys. Im trying to delete a row from a table in DataGridView (**VB 2010**) and my database (**MS Access 2013**) but on "Delete" it shows that it doesnt get the ID of that data row, so it wouldnt actually know what data to "Delete" delete btn: Private Sub btn_dlt_Click(ByVal … | |
Hi, can some one please help? I want to double-click on a "customer name" in form1 datagridview and then see "customer details" of selected customer on form2.. (in ms access it called "linked forms") I use VS2012 (vb.net) and SQL database.. Thanks, Michelle | |
Hi DW. How can one read a file or change a file bits without reading the entire file. But first of all how can I read a file in such a way that I get it's bits. I want to read MP3 file and change it bits but I don't … | |
I want to retrive data from two tables. I used below code : (SELECT sum(total_amount) as tr from loan where loan_status = 'not finish') union (SELECT sum(amount) as tt from settlement where sett_status = 'Active') But It load data by one column and these two values load under the another … | |
Help me... I want to sent picture with socket programming, from client to server. client : get picture from OpenFileDialog, after get the picture , I send it to server. server : after get the picture from client, the picture is saved in a destination folder. I try my best, … | |
I am testing my program "Pats Auto Repair shop" that includes the mainform with menustrips for file, process and help, Splash form, About, Job information form and summary form. The process has two subs, job information with a separator for "summary", and summary form. I written all coding solutions for … | |
Hi, I have a form (FrmOverView) that’s based on a dataset containing a number of related tables, one of which is named TblCustomer. This form shows, amongst other things, Tblcustomer details in a gridview. What I want is to open another form (FrmCustomerDetails), that shows individual customer details in greater … | |
Hi! So, I have a dataset which is filled with data after a mysql SELECT Statement, I'll call the dataset dsResults.Tables("Results") Inside the dataset is data that I want to be filled into their respective text boxes. The columns in the dataset are expected to vary, for example, sometimes it … | |
First of all-I will guarantee I will mark the thread as solved when you kind people have helped me to solve the problem. Ok well Ive got a project which is to make a Quizzing System for my school using a database. It is a multiple choice quiz (so only … | |
I want to convert this VB 6 code If Len(Text1.text) <> 0 Then Text1.text = Left(Text1.text, Len(Text1.text) - 1) To visual basic.net 2010 pro This code is used for making textbox delete only one number when you click on button . | |
I wonder if anyone has solved this problem already. I have a fully populated datatable (ado.net datatable) containing about 3000 rows of data with 53 fields. I want to copy the contents of the data table into an access database table ready prepared and empty which has the identical structure … | |
I'm a bit stuck. I've tried googling but my google-fu appears to be lacking I've finished almost everything I need to do in this program, I'm just stuck and don't know the formula/code for this one thing three forms. form1 is the parent form, form2 and form3 are child forms … | |
Below are my current codes that will run a .VBS file. When I run the code it will open an CMD app to show the process. Now how can I run the .VBS file and the process will be shown in Textbox/Richtextbox. Private Sub Button1_Click(sender As Object, e As EventArgs) … | |
I find something related to this topic and found. But I can't satisfie with this. The code is below. Imports System.Runtime.InteropServices Public Class Form1 Private Const SB_BOTH As Integer = 3 Private Const WM_NCCALCSIZE As Integer = &H83 <DllImport("user32.dll")> _ Private Shared Function ShowScrollBar(ByVal hWnd As IntPtr, ByVal wBar As … | |
Hi! I have two tables, I will call them first-half and second-half (of the year) Table: first id jan feb mar apr ----------------------- 2 80 90 70 60 3 50 40 60 30 Table: second id jan feb mar apr ----------------------- 2 50 70 60 90 3 80 60 50 … | |
hey guys i am trying to create a library management system which is supposed to be used to store/keep infp for the library and the library members( book title, author, name and picture for borrower and other stuffs). The app has 6 buttons, delete, save, add,previsous,next, and upload( for upload … | |
I'm using vb.net with mysql,sql,oracle. Now I want some advice. My questions I'll bold it after described situation(my need). I used some accounting packages. From that I know behind exe file there is database. From all accounting packages we create new company file. At that moment we input some time … | |
Hi all! I need help with Visual Basic..  Write a program that reads 3 integers numbers, then the program prints the square and cube of each. i want a one button and one label in form and the result i want in label . and thank you all | |
Hi I have 60 picture boxes on a form, I want to update these images using a for loop. I have tried Dim PCB as Image For i = 1 to 60 PCB(i).Image = mySampleProject.My.Resources.TestPCB1 next but get an error "Class 'System.Drawing.Image' cannot be indexed because it has no default … |
The End.