20,285 Topics

Member Avatar for
Member Avatar for t3cho

How can i create list of textboxes in vb2012 to be like textbox(0).text textbox(1).text

Member Avatar for oussama_1
0
249
Member Avatar for Satyam_1

Hi I have a form in vb.net that contains textbox as ID, Name, Age, Sex, Hb, BG. in database access i have 2 tables as Table1 and Table2. The Table1 contains ID,Name,Age,Sex and Hb. The Table2 contains ID,Name,Age,Sex and BG. I want to save data as ID,Name,Age,Sex, BG to table2 …

Member Avatar for cgeier
0
384
Member Avatar for striqo

Hi everybody, I''m knew with VB.Net I want to insert different value into one field value. For example: Value1: this Value2: is Value3: a Value4: test I want that Value5 become a string: This is a test. There must be space between the words. How can I achieve this? Regards, …

Member Avatar for t3cho
0
154
Member Avatar for xfrolox

Well I'm trying to make a program that have ListBox1 which when the button1 is pressed the Listbox1 will show all the open windows of notepad, like get notepad.exe and it will show Example the name: Untitled - Notepad nothing else, i have a code right now that i found …

Member Avatar for olegb
0
2K
Member Avatar for justanoob123

Hey everyone, Heres my problem. I have 2 forms. Form 1 contains a menu strip and data grid view Form 2 Contains a Button and a bunch of other controls to help create the file. How I'm doing this Private Sub BtnRecord_Click(sender As Object, e As EventArgs) Handles BtnRecord.Click Dim …

Member Avatar for cgeier
0
547
Member Avatar for Mae_1

I'm doing a system in VB.net 2012 where a user inputs a data on a textbox and then if the user clicks on the button, the data in the textbox will show on the datagridview. The problem I'm having is when I input another data, the current data shown in …

Member Avatar for Mae_1
0
15K
Member Avatar for srazi

Hello Friends, I'am an application s/w programmer, was working on Classic VB&ASP(with limited knowledge of .net and c#),now working on SSRS Reports, tasked with designing a two-form application to be deployed on Intermec CN70 device (OS-Microsoft Windows Embedded Handheld 6.5) more specifications [here](http://www.intermec.com/products/cmptrcn70a/index.aspx) The required application on successful login(username/password), provide …

0
160
Member Avatar for Satyam_1

Helllo I have a database acess (db) with column ID, Age, Sex, Name And a windows form1 (vb.net) with textbox as ID and a button "search". A second form2 having textboxes as ID, Age,Sex. Name When i enter ID no. with search buuton it should retrieve data from db to …

Member Avatar for Satyam_1
0
428
Member Avatar for ryklon

Hello! I have a remote database that will be accessed through a client program. The thing is, I want the client to auto detect the IP Address of the machine where the database is located, so that when I initialize the value of my connection string it would be like …

Member Avatar for Alosh
0
769
Member Avatar for artemix22

i try to align a line of text with vertical center on coreldraw x5 to a specific point, example point x = 0, point y = 2, this is my code : Dim a As New CorelDRAW.Application a.Visible = True Dim b As CorelDRAW.Document = a.OpenDocument("document path to open") b …

Member Avatar for artemix22
0
517
Member Avatar for babyluxe03

Hi everyone , I am doing a log in& registration form. And i am using a adodb connection. can someone pls tell me what is wrong with my code on the rst.open part, and what should i replace. Im trying to call the password from ms access and suddenly there …

Member Avatar for Reverend Jim
0
240
Member Avatar for khei007

Bute there's an error... Error: The given path's is not supported Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Try Dim FileToCopy As String Dim NewCopy As String Dim password As String = "Cyndy" Dim username As String = "Abbang" 'NewCopy = "192.168.xx.xx\c$\HS.exe" & username & …

Member Avatar for oussama_1
0
308
Member Avatar for Zulu79

This is my code, and thoughs on this error: Conversion from string "MM/yyyy" to type 'Date' is not validerror: Public Function AddNextMonthDue(ByRef OldNMD As String, ByRef MonthsToAdd As String) As String Dim dOldNMD As Date Dim dNewNMD As Date Dim sOldNMD As String If Len(OldNMD) = 4 Then ' MMDD …

Member Avatar for Reverend Jim
0
247
Member Avatar for keyontes

Cant tell what im doing wrong no matter what numbers i enter it always return as a F and I cant get the average to calculate correctly plz help i uploaded the file also Below is the assignment Create an application that allows a teacher to enter three test scores …

Member Avatar for Yolo03
0
2K
Member Avatar for Taras20

Hi, I have problem going through database (im using microsoft access) tables with BindingNavigator. Basicly I want to have BindingNavigator which goues through database tables (not the table rows) in DataGridView. For example if i press next button on BindingNavigator, I want to see next table in the database. I …

Member Avatar for cgeier
0
265
Member Avatar for moketemelton

Imports DemoExcelFileHandling.DataSet1 Imports DemoExcelFileHandling.DataSet1TableAdapters Public Class ReadFromExcel Private dt As New dtMonthDataTable Private ta As New taMonth Private bs As New BindingSource Private Sub BindUI() dgvExcelData.AutoGenerateColumns = False colYear.DataPropertyName = "Year1" colMonth.DataPropertyName = "Month1" colFacility.DataPropertyName = "Facility" colProductCode.DataPropertyName = "ProductCode" colProductDesc.DataPropertyName = "ProductDesc" colUnit.DataPropertyName = "UnitOfIssue" colBegBalance.DataPropertyName = "Beginning_Balance" colQtyReceived.DataPropertyName …

Member Avatar for G_Waddell
0
214
Member Avatar for tran.duy.77
Member Avatar for N.Raghavendran

I've developed an application in vb 2010 and my back-end is sql server 2008. What are all the softwares i need to install in the client machine ?

Member Avatar for oussama_1
0
245
Member Avatar for rjanelli

There are many examples of reading an xml file and populating a datagridview. I would like to pull the xml from a string instead. Dim myXMLfile As String = "C:\tmp\accountlist.xml" Dim ds As New DataSet() ds.ReadXml(myXMLfile) DataGrid1.DataSource = ds DataGrid1.DataMember = "account" The above code works when the xml data …

Member Avatar for cgeier
0
795
Member Avatar for اشرف_1

this prog for database to edit and search database using sql by vb I want the search results appear in DataGridView only Dim winclass As New Class1 btnsearch.Enabled = True 'btnsearch.Enabled = True btnnsearch.Enabled = True If txtsearch.Text.Trim = "" Then MsgBox("enter value of search", MsgBoxStyle.Information) txtsearch.Focus() ' Lablerror.Text = …

Member Avatar for اشرف_1
0
240
Member Avatar for kingsonprisonic

First thing is this is a long question. So please first read it then give me your suggestion. currently i am working on a banking projects for my degree. Where i am implementing a simple bank savings account. Where account holder can deposit and withdraw money. The account starts with …

Member Avatar for Mr.M
0
360
Member Avatar for RoseB

I a sorry to come back with the same question. 2014 $5500 $5000.00 28% (10/12) x (5/15) $1389 $1389 $4111 2015 $4,111 $5,000.00 28% [(2/12) x (5/15)] + [(10/12) x (4/15)] $1,389 $2,778 $2,722 below is the code i use to calculate for the sum of years digit depreciation which …

Member Avatar for Mr.M
0
457
Member Avatar for R.M.

Hi I need help with something, I really don't know how to do this, but how would I add these questions in to VBA? could somebody tell me for atleast one. The net take-home income and other values are calculated as follows: 1) Calculate CPP and EI If annual income …

Member Avatar for Mr.M
0
277
Member Avatar for Mr.M

Hi Dw Well I know this kind of question has been asked over and over again but with not straight to the point question, so since I'm also creating a program that require it I've decided to break this down and ask a straight to the point question to get …

Member Avatar for Minimalist
0
311
Member Avatar for Satyam_1

I a form with textbox as age. A database with 2 tables as- Accessonbook and Report. So when enter into value in Age textbox it should copy in age column in both tables. Please tell me the code.

Member Avatar for oussama_1
0
286
Member Avatar for printf.me
Member Avatar for Minimalist
0
134
Member Avatar for Putri Alvionia

hi..... i want to show data i datagridview... ![587c270accc1bbf443a3cc1f9d9ddf30](/attachments/large/4/587c270accc1bbf443a3cc1f9d9ddf30.PNG "587c270accc1bbf443a3cc1f9d9ddf30") This is my function codes : Public Function AutoNumber() As String Dim cnn As New SqlConnection(StrConn) Dim cmmd As New SqlCommand Dim dreader As SqlDataReader Dim KODE As String Dim TAMPUNG As String Dim KONTER As String Dim SQL As …

Member Avatar for xrjf
0
138
Member Avatar for Halkawt.Papula
Member Avatar for 2292.dana

hi i was try to setup my app in visual basic .net but my app have text file ho can i hide the text file while we set up the application ? thanks

Member Avatar for oussama_1
0
148
Member Avatar for mavtcr

Friends , I have a database in sql server named "Deposit" with a table "Receipts" .I want to display the data in a list box.My code is given below Imports System.Data.SqlClient Public Class Form1 Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click Dim cnn As New SqlConnection("Data Source …

Member Avatar for cgeier
0
184

The End.