19,729 Topics

Member Avatar for
Member Avatar for Shehab_2

I have a problem. I want to show two different value in same button. Here is the image of the report---- https://ibb.co/wrrDSDX Try If Not String.IsNullOrEmpty(ComboBox1.Text + TextBox1.Text) Then Dim keyword As String = Me.ComboBox1.Text + TextBox1.Text.Trim() Me.LeaveInfoBindingSource.Filter = "(LeaveCategory LIKE '%" & keyword & "%')" & "OR Convert(PersonalNo,'System.String') LIKE …

Member Avatar for Shehab_2
0
414
Member Avatar for VIPER5646

This application was sending out orders without errors when smtp wasn't secured. Now the clients webmail server was changed to ssl. After making the changes the server times out. I did some research and found this .ConnectType = SmtpConnectType.ConnectSSLAuto I'm anable to assign the SmtpServer.ConnectType = SmtpConnectType.ConnectSSLAuto. This is my …

Member Avatar for Daniel11
1
959
Member Avatar for faizan_7

Hello to all. I am developing software in vb.net for sales invoices. Where i need to import invoice data from excel file to vb.net Grid Data View and then save into access db. I will use db data in future for creating customer invoices. I have code that import excel …

Member Avatar for Daniel11
0
2K
Member Avatar for Edy_3

Hi all, I have a new project with vb.net. I need to always connect with older program that run in foxpro, i need to get dbf table and convert it to mysql table. Can anyone help me ?

Member Avatar for DGPickett
0
536
Member Avatar for ebenezer_2

Please i have a textbox, a button and a listview. The listview contains a list of items let's say 20 items. When i enter 3 in the textbox and click on the button, the first three items should be removed likewise if i enter 10, then the first 10 items …

Member Avatar for Reverend Jim
0
311
Member Avatar for moparman426

alright here is my issue i dont know how to even start this problem iam still new to vb so i need lil guidance and help in the right direction. here is the problem : Use a one-dimensional array to solve the following problem: Read in 20 numbers, each of …

Member Avatar for 180180
0
480
Member Avatar for bckelley

For this particular sub I type the customer id in a text box and then click the button, then I'm trying to get the relative information pertaining to that id. Not sure what I am doing wrong. Comes back with an error message of system.data.sqlclient.sqlexception Recursive common table expression '[customers]' …

Member Avatar for bckelley
0
3K
Member Avatar for hyperion0

So, I created a program in VB.Net with Windows Form and I want the user to be able to create a new user, limited to 5 user accounts only. I also want to know if it's possible to change password and delete user accounts. Can I make it so that …

Member Avatar for rproffitt
0
474
Member Avatar for hyperion0

Hi, I'm creating a project using VB.Net Windows Form and I want to create a Log-In form that can **Add New User (Limited to 5 User Accounts), Delete User Account, and Change Password**. I want to use Microsoft Access with it. What are the codes I should use to create …

Member Avatar for hyperion0
0
581
Member Avatar for bckelley

Through Web Search I found [this link](https://www.daniweb.com/posts/jump/1740388) but I want to know is there a way to do it so the sub items in the dropdown would be colored?

0
313
Member Avatar for Neaj

The panel has controls like labels, text boxes, list view and pictures boxes. which is probably more than four pages. I have tried all my best still i cant print all the pages. i surf online for help and found this code. the code works perfect by printing all the …

0
296
Member Avatar for Schematicsman

Hi there I’m learning vb.net and my main outcome is to be able to find out how to create from scratch custom GUI controls like 7 Segment displays in vb.net mind you and once I have accomplished that to be able to connect the hardware to a serial port like …

Member Avatar for Reverend Jim
0
276
Member Avatar for kje999

I am trying to apply an automatic scrolling down and up in Datagridview Scrollbar. I've seen a related topic (using scrollbar panel) but I dont know how to convert for datagridview auto scrolling up and down. I'll be using Timer for autoscrolling. Here is the code from another topics forum. …

0
182
Member Avatar for Thaakirah

I have to Create an application that enables the user to create a file named grades.txt in which to store grades. The app should allow the user to write to grades.txt file: student number, student name, surname, subject, individual assignment grade, group assignment grade, test grade. When you click Create …

0
159
Member Avatar for Prahlad4145
Member Avatar for Carding_1

hi, I have a vb program that wants to retrieve data from MySQL dbase. this code is working fine : Dim vDATE As String vDATE = mDATE.ToString("yyyy/MM/dd", System.Globalization.CultureInfo.InvariantCulture) Dim connstring As String = "server=xxx.xxx.x.xx;database=dbname;uid=idko;Pwd=passko" Using con As New MySqlConnection(connstring) con.Open() Dim query As String = "SELECT issue_date, inc_date, exp_date, total …

Member Avatar for Carding_1
0
378
Member Avatar for JModak

How can I get internal HDD_DETLAIS = SerialNumber, Model, Manufacturer,TotalHeads ...... etc. Please help me.. Now my problem is my code run ok, but when I insert external HDD or pen drive then showing the last counting device Details please help .... i want to show only internal HHD device …

Member Avatar for JamesCherrill
0
892
Member Avatar for chris_58

My program fail to generate the auto ID on my text can help me. Private Sub getNextNumber() If Not app.State = ConnectionState.Open Then 'open connection app.Open() End If Dim da As New OleDb.OleDbDataAdapter("select top 1 ID from ADMIN ORDER BY ID desc;", app) Dim dt As New DataTable 'fill data …

Member Avatar for AndreRet
0
290
Member Avatar for unearthed13

Hello all, I've actually seen a few posts floating around the web (most of which are rather old and none of which were solved) about the same question that I'm having which is this: I have a combobox that is populated with movies with a number corresponding to where it …

Member Avatar for jiiinaguipo
0
424
Member Avatar for shayacov

Hello, I have a ComboBox in my WinForm which has data from SQL server (used LINQ to bring up the data). I'd like to have an option just like AutoComplete in VB.NET but not only by the first letter but for a search LIKE. For Example: My ComboBox has there …

Member Avatar for jiiinaguipo
0
2K
Member Avatar for Dragomir_1

I have looked on the web for a solution to print scrollable panel larger than can be fitted on the screen but couldn't find any solution and it looks like that many people has this problem! PrintForm (printform powerpack component) can not do this because it only capture that part …

Member Avatar for Neaj
0
1K
Member Avatar for wilsonchama

Hi guys, Am developing a clinical management system in VB.net and using Microsoft Access for the database. Everything else is working very well. But the login code is not working. It's throing an error message "Object reference not set to an instance of an object" on line 12. Below is …

Member Avatar for AndreRet
0
443
Member Avatar for vbacoder1962

This was a query raised by one of a forum members at another site, where he had a worksheet filled with random numbers, and I have already answered that query [at my post here](https://vbacoder1962.wordpress.com/2019/07/15/extracting-cell-phone-numbers-from-random-strings-of-variable-length/). You may go through that post and read the logic behind the code. ![vbacoder_Code_20190715.jpg](/attachments/large/4/160efbe4e4d0a8400d04653a6e420c7b.jpg)

2
1K
Member Avatar for shanahunts

i cant filter no transaction in 30 days for ex. select * from tblmasterlist where re_order_level = '-1', interval (30) " how?

Member Avatar for rproffitt
0
228
Member Avatar for joshi1984

Hey community, how can i show the connected USB-Device like keyboard, mouse, webcam and so on? Or how can i search in the connected USB-Devices, if I know the name or only a part of the name? I am looking for some examples since 2 days, but no one doesn´t …

Member Avatar for Andrei_7
1
19K
Member Avatar for Harold_8

Hello. So I had to make this program that: 1. User enters a value (say, ID number) in a textbox, presses search, then the program searches for that particular item on a table and then copies all the row data where that ID number is. 2. Then pastes those copied …

0
169
Member Avatar for shraddha_patel
Member Avatar for Mujahid_2

please i want to be able to move down and up my textboxes in vb.net with the arrow keys and i want to also use the enter key to move to the next textbox and with that i did and it has been working but i recently place a group …

0
230
Member Avatar for Paturo.po

I aleady created a program counter number(v1) once your click the button it will show in label at Form 1 by using visual basic 2015. ( program counter number (v2): So I did some experiment like I have a button in form1 while in form I add some label where …

Member Avatar for Minimalist
0
384
Member Avatar for Aina_1

Hi. Im doing a login form with decryption. So i did a modification to my login code for decryption. Before i did the decryption, the login form is functioning well. But after i edit it to insert decryption code it suddenly cannot connect to database. Im still a begginer in …

Member Avatar for tinstaafl
1
1K

The End.