20,278 Topics

Member Avatar for
Member Avatar for a.wamzo

i am creating a form in vb.net, the aim is to be able to insert data to the sql server from the form interface. the form's textboxes fields include Name, DateofBirth, Address, Telephone, PostalCode, Nationality, DateofRegistration Sex (ComboBox), plus two buttons names, Submit and Cancel. kindly assist with a code …

Member Avatar for Reverend Jim
0
98
Member Avatar for roryok

I'm using: Windows 7 Word 2010 Visual Studio 2013 Express for Desktop An Access database with one table As this project is for proof of concept I'm keeping things very simple until I can get the VB working correctly. The project consists of one form (Audit.vb) which contains one textbox …

0
94
Member Avatar for Khyxz

![ff8496abfb91bf20a23a64db591fa997](/attachments/small/4/ff8496abfb91bf20a23a64db591fa997.jpg "align-left") Hello there! Newbie here! It is my first time to post something here! Can somebody help me please with my problem on my codes. I have already build/created a **Log In Form** but my problem is I created an **On-Screen Keyboard** which must be use for that **Log …

Member Avatar for Khyxz
0
1K
Member Avatar for DGianni

Hello, i've been searching quite a while but haven't found the solution i'm after. I have a project where I need to show clients in a listbox imported from a XML file so far that is what I have but I also need to able to show the related data …

Member Avatar for cgeier
0
303
Member Avatar for GagaCode

hey all once again i have a little issue ... i'am really having a hard time with this issue i have a datagridview that contain one column as a text and another column as a combobox i would like to populate the combobox from MS Access Table and as a …

Member Avatar for GagaCode
0
294
Member Avatar for rathiikk

hi good afternoon, hi good afternoon, am creating one point of sale software in vb.net ,today only i realize that i need a backup for the database i have attached with this project,after change my project as executable file how can i or my clients can take the backup for …

Member Avatar for Minimalist
0
330
Member Avatar for skyscraper11

im creating a voting system that add votes to the database but it seems that my update/submit button don't add numbers(INT) in my database. what could be the problem here?help my database schema: | cid | cpos | cfname | cmname | clname | cyr | cparty | votes | …

Member Avatar for cxzei
0
700
Member Avatar for johmolan

I have a Form with a Datagridview, beneeth this I have Textboxex who shows data from a few columns but restricted to row nr 0. The problem is when I enter data into the datagridview in other rows than 0 or changes the focus inthe datagridvew from row 0 the …

Member Avatar for cxzei
0
80
Member Avatar for ignnniter

Im always getting Invalid Column, check the database and it's all correct. Dim borrowed As String = "Yes" dataopen() comm.Connection = conn comm.CommandText = "UPDATE Equipment SET Borrowed = '" & borrowed & "' WHERE EQID = '" & eid & "'" comm.ExecuteNonQueryAsync() comm.Dispose() conn.Close()

Member Avatar for cxzei
0
121
Member Avatar for saintrenz

The scenario was there should be any or multiple TextBox that is not empty and display it on the DataGridView. I think my SQL is incorrect. Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim Command1 As New OleDbCommand Dim i2 As Integer Dim sql1 As …

Member Avatar for cxzei
0
271
Member Avatar for Yassine_1
Member Avatar for zinnqu

Using the Load and Unload events of the Forms add these subs to handle a simple fade in and out effect. This is not limited to just one form. The subroutine definition can be added to any global class allowing the use on any form or sub-form.

Member Avatar for vaibhav.garg.9484
3
5K
Member Avatar for ignnniter

Hello Im trying to display a label when my program starts, to check the server status.. For example if the user is successfully connected to the server it should say on the label "Connected" and if not the label should say "Not Connected" , my Database is located on a …

Member Avatar for ryanjayson
0
209
Member Avatar for Srinivas_2

Hi All, I need help in displaying a list (Sl.no) from a database to combo box. Please help me....

Member Avatar for ryanjayson
0
225
Member Avatar for Niveatha

hai.... i am doing inventory project. if sell a product it should afffect the stock. so i need a coding to retrieve the stock quantity and i have to change the value according to sales then i have to update the values into the stock table and also if no …

Member Avatar for Niveatha
0
101
Member Avatar for Kent55

I am making a quiz for my computer science class and the basic concept is that you have 15 keywords and 15 definitions. All need to be randomly displayed and the correct answer has to appear. The user has to match the correct definition to the keyword twice and then …

Member Avatar for Reverend Jim
0
409
Member Avatar for virupax

I would like to draw a graph (on a PictureBox) using Graphics in VB.net The input values are added over some time which need to be presented as graph. But the problem I am facing is, I need to draw the entire graph from scratch every time a new point …

Member Avatar for xrjf
0
447
Member Avatar for babyluxe03

i connect my access to vb2010 using adodb. but i cant display the datas in my listview. can someone help me to solve my problem. i would really appreaciate any help. what i need is to get the column per column datas.. like how it is shown in the access. …

Member Avatar for cgeier
0
128
Member Avatar for mavtcr

Friends please help me... I have Three text boxes 1.Bank 2.Acno 3.Name I am selecting record from database where Bank and Acno are =(txtbank.text and txtacno.text) If any record found, the focus should go to the third textbox-'Name' else message "Record not found" should be displayed.I tried the following code …

Member Avatar for mavtcr
0
405
Member Avatar for frontier6444

I am trying to figure out how when a name typed in textbox1 on Form2 and a date is selected in the DateTimePicker box on Form2 that the name will show in textbox3 on Form1 when the date in MonthCalendar is pressed. I.E. Form2 opens and I enter the name …

Member Avatar for cgeier
0
304
Member Avatar for xpzy1912

![97b9ab32445018ea1f489e9dee2120fa](/attachments/large/4/97b9ab32445018ea1f489e9dee2120fa.png "97b9ab32445018ea1f489e9dee2120fa") The combobox should be able to display the distinct value from the access database but is able to show all the record on the listbox. I tried to select distinct value through wizard but it is not working. So i need some help

Member Avatar for xpzy1912
0
196
Member Avatar for DeepKiran
Member Avatar for ryanjayson
0
200
Member Avatar for netisland

i have 2 database (access,SQL) with 2 different connection string i want to select a table from the first database insert it to the second database any help

Member Avatar for ryanjayson
0
180
Member Avatar for Shodow

how to make this print fit to page my listview data doesn't fit in the page help please Private Sub PrintDetails(ByRef e As System.Drawing.Printing.PrintPageEventArgs) Static LastIndex As Integer = 0 Static CurrentPage As Integer = 0 'Getting the current dpi so the textleftpad 'will be the same on a different …

Member Avatar for oussama_1
0
357
Member Avatar for julie.macfarlane.73

I am building a support application (VB.net 2010) for a device that will attach via USB. Most of the end users will not be geeks. In starting the app I need to discover available ports on the machine, which I can do with this code. myPort = IO.Ports.SerialPort.GetPortNames() 'Get all …

Member Avatar for julie.macfarlane.73
0
306
Member Avatar for uDevv

So i have small problem. Idk how to explain so we will go like this. I have 2 projects. 1. MyLib its compiled .dll 2. MyApp its compiled .exe Okay now Mylib has form, and MyApp has form. So there are 2 forms. Mylib form is login form with 2 …

Member Avatar for tinstaafl
0
240
Member Avatar for Junz_1

Hi guys, need help here. I would like to check the registry key is exist for this code: Sub main() Dim regKey As Object = Registry.LocalMachine.OpenSubKey("SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{D75F38ED-E49A-48F3-9B72-D4BC5FE73B44}", True) ' Check if it exists If regKey Is Nothing Then MsgBox("Registry key does not exist!") Else MsgBox("Registry key is exists.") End If End …

Member Avatar for Junz_1
0
1K
Member Avatar for Reverend Jim

If your Excel spreadsheet is laid out as regular columns and rows with a header row that identifies the columns then this code will allow you to read the data using ADODB the same way you would read records from a database table. To try this code 1. Create a …

Member Avatar for Reverend Jim
1
4K
Member Avatar for Gen_2

I'm wondering if there's a way to cut the long statement and make it shorter as possible. the case is i have 5 radiobuttons each questions. thanks in advance.. =) If Q1.Visible = True Then If q111.Checked = True Or q112.Checked = True Or q113.Checked = True Or q114.Checked = …

Member Avatar for Reverend Jim
0
169
Member Avatar for Srinivas_2

Hi All, I am trying to create a VB application where I will have to upload the Excel data into MS access automatically, can anyone suggest me a method as how to do it? Regards, Srinivas

Member Avatar for Reverend Jim
0
141

The End.