20,279 Topics

Member Avatar for
Member Avatar for iriah

Can Somebody help me? i have an error whenever i want to save the data i have retrieved from different table in mysql. my system is doorlock system. im going to choose an item in the combobox and when i click the button, the data i'd chose from the combo …

Member Avatar for Mr.M
0
5K
Member Avatar for AndreRet

Hi to all the old familiar faces, have not been here for a while... I have read up on tons of samples and answers (and even more on how cryptography works) but none answers my scenario. I am creating a new user from desktop app in VB.Net. User need to …

Member Avatar for AndreRet
0
572
Member Avatar for Ruchi224

Hiya !! M pretty new to VB.Net and need an expertise guidance in making of my project named Loan Management system... I got a form named 'emicalculator' and the details are as follows : TextBox1 named LOAN AMOUNT TextBox2 named TENURE TextBox3 named INTEREST RATE a button named CALCULATE TextBox4 …

Member Avatar for Schol-R-LEA
-1
201
Member Avatar for Alana_1

Hi every one :) I've been doing a project and it seems hard for me to finish it, because i dont have an idea with the code. i have a code for looping picturebox . several picture box during runtime had been done, but how do i can give them …

Member Avatar for Reverend Jim
0
214
Member Avatar for SaaDwTk

Well this script is working partially, when the script submit the login a MsgBox("The login is wrong!") appeared, but when the page load a MsgBox("The login is ok!") appears. Why the "The login is wrong!" is appearing? Can someone fix for me or tell me another way to do that? …

Member Avatar for Janzs
0
2K
Member Avatar for Justin Kent

hello i have a code in vb.net and my logic is if i will input 13973.88 the nearest number is 10000 but the output was 15833 can you please help me solving this code please? Dim data(,) = { {0.0, 0, 1}, {0.0, 0.05, 4167}, {41.67, 0.1, 5000}, {208.33, 0.15, …

Member Avatar for tinstaafl
0
517
Member Avatar for kindofsudden

I have an existing table in an Access DB that I want my user to be able to copy by pressing a button. When the user presses the button, they should be prompted for what is to be the name of the table. The program should then copy the existing …

Member Avatar for JohnTheGrateful
0
2K
Member Avatar for Justin Kent

hi i am using vb.net multidimensional arrays and i am getting the nearest or closest number i just want to ask if my code was correct or not ? for example i have an input of 13000 and nearest number should be on col 6 can you please help me …

Member Avatar for tinstaafl
0
449
Member Avatar for Paul_51

Good morning, I've been around a number different sites trying proposed solutions both in C and VB but have not been successful. Most solutions give only those devices connected to my computer. Am I missing something, my router can do (but it's a pain to extract all the MACs and …

Member Avatar for Paul_51
0
3K
Member Avatar for Michael_63

Friend Module Program Public Declare Function SetConsoleTitle Lib "kernel32" Alias "SetConsoleTitleA" (ByVal lpConsoleTitle As String) As Long Declare Function ShellExecuteA Lib "shell32.dll" ( _ ByVal hWnd As IntPtr, _ ByVal lpOperation As String, _ ByVal lpFile As String, _ ByVal lpParameters As String, _ ByVal lpDirectory As String, _ ByVal …

Member Avatar for Reverend Jim
0
385
Member Avatar for xrjf

Have you ever wanted to develop a math parser and evaluator? Are you in such a quandary or just have curiosity or interest in the matter? If so, you may download the complete source version 8.3.48 or later, but be warned there is almost no comment; or instead, follow versions …

Member Avatar for Xavier_5
0
2K
Member Avatar for සශික

I'm just trying to insert some more informations to mysql table. I used recently methods. But it won't help me. so if you can help me ? my code is below : Try Dim mstream1 As New System.IO.MemoryStream() Add_House.pic1.Image.Save(mstream1, System.Drawing.Imaging.ImageFormat.Jpeg) Dim arrImage1() As Byte = mstream1.GetBuffer() mstream1.Close() Dim mstream2 As …

Member Avatar for lolafuertes
0
627
Member Avatar for Sharadha_1

From below html code I need to get text between tr,th,td tags and display it in datagridview using vb.net <div id="flArrTime"><table class="table table-striped arr_dep_table_parent"><thead class="arr_dep_table_head_landing font_panton_bold"><tr><th>FLIGHT NO</th><th>ORIGIN</th><th>VIA</th> <th>STA</th><th>TERMINAL</th><th>ETA</th><th>STATUS</th></tr></thead><tbody class="arr_dep_table_body"><tr><td>AI 216 D</td><td>Kathmandu</td><td></td><td>16:50<br>02/01/17</td><td>T3&nbsp;</td><td>&nbsp;16:10<br>03/01/17</td><td>Delayed</td></tr><tr><td>9W 567 </td><td>Dammam</td><td></td><td>05:40<br>03/01/17</td><td>T3&nbsp;</td><td>&nbsp;19:25<br>03/01/17</td><td>Delayed</td></tr><tr><td>ET 686 </td><td>Addis Ababa</td><td></td><td>08:05<br>03/01/17</td><td>T3&nbsp;</td><td>&nbsp;11:29<br>03/01/17</td><td>Arrived</td></tr><tr><td>AI 156 </td><td>Moscow</td><td></td><td>08:55<br>03/01/17</td><td>T3&nbsp;</td><td>&nbsp;11:18<br>03/01/17</td><td>Arrived</td></tr><tr><td>WY 241 </td><td>Muscat</td><td></td><td>09:25<br>03/01/17</td><td>T3&nbsp;</td><td>&nbsp;12:03<br>03/01/17</td><td>Arrived</td></tr><tr><td>AI 120 D</td><td>Frankfurt</td><td>Jaipur</td><td>09:35<br>03/01/17</td><td>T3&nbsp;</td><td>&nbsp;12:19<br>03/01/17</td><td>Arrived</td></tr><tr><td>RA 205 </td><td>Kathmandu</td><td></td><td>09:40<br>03/01/17</td><td>T3&nbsp;</td><td>&nbsp;14:10<br>03/01/17</td><td>Delayed</td></tr><tr><td>ZM 1025 </td><td>Bishkek</td><td></td><td>09:50<br>03/01/17</td><td>T3&nbsp;</td><td>&nbsp;15:25<br>03/01/17</td><td>Delayed</td></tr><tr><td>AI 142 </td><td>Paris</td><td></td><td>10:00<br>03/01/17</td><td>T3&nbsp;</td><td>&nbsp;11:32<br>03/01/17</td><td>Arrived</td></tr><tr><td>AI 348 </td><td>Mumbai</td><td></td><td>10:30<br>03/01/17</td><td>T3&nbsp;</td><td>&nbsp;11:58<br>03/01/17</td><td>Arrived</td></tr><tr><td>9W …

Member Avatar for pty
0
347
Member Avatar for Ammar_8

Hello, I have this error "Arithmetic operation resulted in an overflow." I have no mathematical operations in my code. Why would that error come up? This is code: Public Sub Check_Record() Try SQLCon.ConnectionString = "Data Source=10.138.26.38; Initial Catalog = Safety_Database; User ID=sa; Password=spd" SQLCon.Open() 'change the data fields names and …

Member Avatar for chriswelborn
0
855
Member Avatar for HibaPro

i have this line in my Web.Config <add key="localhost2" value="http:\\0.0.0.0\export\" /> in vb Code: <a href='" & ConfigurationSettings.AppSettings("localhost2") & TransactionNo & "\" & fi.Name & "' target='_blank' >" & fi.Name & "</a>" the Publish URL : http://0.0.0.0/export/803/SingleResult.pdf How i can encrypt the 803 value or prevent the user from change …

Member Avatar for HibaPro
0
242
Member Avatar for John_141

Hi hope someone can help me Read sqlite datatable is verry slow I have a listview in detail mode with 45 columns. and a datatable to add, read, delete and update datarows with 45 colums. Only i have a problem to read the datatable and show it all in the …

Member Avatar for Lee_15
0
1K
Member Avatar for sganandhsg

Hi All, We are using zetta cube with asp.net and vb.net (coding) in 3.5 framework / VS 2008 from 2010. Its working fine. Just 3 months back we are upgraded to IE11 (Edge mode) at the time of upgrading we faced some of UI issues and resolved the same. The …

Member Avatar for rproffitt
0
438
Member Avatar for Sashika_1

I export datagrid to excel file using this below code. But it doesn't export datagrid header. I'm just change values at for loop. But it doesn't help me. Please help me. Dim xlApp As Excel.Application Dim xlWorkBook As Excel.Workbook Dim xlWorkSheet As Excel.Worksheet Dim misValue As Object = System.Reflection.Missing.Value Dim …

Member Avatar for rproffitt
0
828
Member Avatar for Reymark_1

Validate student id,username if already exist in database table . Using VB.Net 2012 and SQL database on windows10 system. Thanks for your help.this is my first post so thank you for your help guys. Private Sub InsertSutdent() SQL.AddParam("@stud_name", txtFirstname.Text) SQL.AddParam("@stud_lastname", txtlastname.Text) SQL.AddParam("@stud_id", txtStudentId.Text) SQL.AddParam("@stud_username", txtUsername.Text) SQL.AddParam("@stud_course", cbxCourse.Text) SQL.AddParam("@stud_password", txtpassword.Text) SQL.AddParam("@active", …

Member Avatar for thines01
0
315
Member Avatar for Sashika_1

hey, I need help :) Now I realized that this problem. In my software there are many reports. I used report viewer (defualt comes with visual studio) control for reporting. All the other forms loaded to MDI paren form. I run one of report. Then I run another report then …

0
142
Member Avatar for justine_1

HEY GUYS, i need your knowledge thanks! Super newbie here 1. How to specify database path on deployment, when installing the app to a different machine without encountering error. In this case i have MS access as database 3.How to reflect changes on the database to other machines

Member Avatar for rproffitt
0
204
Member Avatar for nadiam

Hi, i have a datagridview : grd_ol and i added a button to it: Dim btnColumn As New DataGridViewButtonColumn() btnColumn.HeaderText = "Invoice" btnColumn.Text = "View Invoice" btnColumn.UseColumnTextForButtonValue = True grd_ol.Columns.Add(btnColumn) the table sort of looks like this: | ORDER_ID | CUSTOMER_ID | STAFF_ID | ORDER_DATE | TOTAL(RM) | INVOICE | …

Member Avatar for tinstaafl
0
416
Member Avatar for nadiam

Hi. im trying to get data from table TBL_ORDERITEM FLD_ORDERITEM_ID | FLD_ORDER_ID | FLD_PRODUCT_ID | FLD_QTY | FLD_SUBTOTAL grd_productlist.DataSource = ("SELECT FLD_ORDER_ID,FLD_PRODUCT_ID,FLD_QTY,FLD_SUBTOTAL FROM TBL_ORDERITEM_A15428 WHERE FLD_ORDER_ID = '" & id & "' IN (SELECT '" & id & "' FROM TBL_ORDERITEM_A15428 GROUP BY '" & id & "' HAVING COUNT(*) …

Member Avatar for nadiam
0
360
Member Avatar for nadiam

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 …

Member Avatar for nadiam
0
611
Member Avatar for nadiam

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 …

Member Avatar for nadiam
0
627
Member Avatar for درة

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

0
166
Member Avatar for manutd4life

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 …

Member Avatar for Muhammad Nauman_1
0
14K
Member Avatar for rahimrazak

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 …

Member Avatar for Reverend Jim
0
184
Member Avatar for Salem_2

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 …

Member Avatar for Xavier_5
0
319
Member Avatar for nadiam

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 = …

Member Avatar for Xavier_5
0
555

The End.