19,728 Topics

Member Avatar for
Member Avatar for Bhavi_1

Unable to execute the VB.Net code even can't view in Print Preview after clicked. Anyone there to help me. I'm new to VB.Net. Imports System.Drawing.Imaging 'Imports IDAutomation.Windows.Forms.LinearBarCode Imports System.Drawing.Printing Imports System.Configuration 'Imports GenCode128 Imports System.Data.SqlClient Public Class Form1 Dim table2 As New DataTable Dim dte = Date.Now() Dim PrintDoc As …

Member Avatar for Bhavi_1
0
172
Member Avatar for Safa_2

Hello I create project based on c# , and i make roles like admin and users , so that i want to give special premission to users to perfom tasks . if anyone know how i can make or write this code , please help me . and in advance …

Member Avatar for pritaeas
0
41
Member Avatar for Logang

I am using the code below to populate the DataGridView. I need help in that the Barcode Image is not being generated according to the txtLab.text amd the alphamumeric value. Please see attached image. Thanks Private Sub btnAdd_Click(sender As System.Object, e As System.EventArgs) Handles btnAdd.Click Dim alphaNumeric As String = …

Member Avatar for rproffitt
1
56
Member Avatar for a_165

Does anybody know a good way to parse JSON strings in vb.net .net6? Newtonsoft is obsolete for .net6. Thx

Member Avatar for pritaeas
0
25
Member Avatar for LDBx

I want to pick whats best starting out that will help me move to better language in the future. Preferably something to benefit me in employment/University. Im not the quickest of learners. Thank you

Member Avatar for Reverend Jim
0
32
Member Avatar for joshi1984

Hi, I had a longer break, but now I want to continue working on my little project to make my work easier. I have an Excel file which I converted to CSV because there is no Excel on the target system. I would like to search for a number or …

Member Avatar for jamesfilipson
3
742
Member Avatar for nurman_1

I want to insert the deleted data into another table (Like table history) in sql server database using visual basic 2008 by scanning QR Code data. What I have done in my source code program is like this; Private Sub btnDel_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnDel.Click …

Member Avatar for pritaeas
0
55
Member Avatar for Android Oyunlar

how to use splitter to resize container (splitter is inside of it and docked to left,container is toolstripcontainer) in vb.net

Member Avatar for pritaeas
0
113
Member Avatar for JModak

How can I check special characters are there (String) or Display on label? I Use this but it is only count Dim input As String = "Hi! Hello, How are you?" Dim pattern As String = "[!""#$%&'()*+,\-./:;<=>?@[\\\]^_`{|}~\s]" Dim matches As MatchCollection = Regex.Matches(input, pattern) MessageBox.Show(String.Format("There are {0} special characters in …

Member Avatar for Minimalist
0
542
Member Avatar for DAVE_44

I am making a calculator in Virtual Basic for almost a week. I am encountering a problem when using the equals sign. When I type problems like 4 + 6 = 10 it answers correctly. When I press the equal again immediately after the calculator answers 10. It should enter …

Member Avatar for Reverend Jim
0
76
Member Avatar for Jeremiah_5

It's running but it deosn't read any data from the access(blank grid view), what's wrong please help me Private Sub rrrrr(sender As Object, e As EventArgs) Handles r1.Click, MyBase.Click, Button9.Click, Button8.Click, Button7.Click, Button6.Click, Button5.Click, Button4.Click, Button35.Click, Button34.Click, Button33.Click, Button32.Click, Button31.Click, Button30.Click, Button3.Click, Button29.Click, Button28.Click, Button27.Click, Button26.Click, Button25.Click, Button24.Click, Button23.Click, Button22.Click, …

0
39
Member Avatar for fx.eko

hi everyone can you give an example of coding in vb.net vs2010 how to make a report in crystal report 2013 with sub report thanks for advanced

Member Avatar for xrjf
0
283
Member Avatar for Arkilem

Hi ! I'm using Visual Studio 2017 to do a windows form app, and I have an issue with labels and images. I'm trying to create a label that contains an arrow image (left arrow), but when the label is clicked on the arrow image has to change for the …

Member Avatar for Reverend Jim
0
222
Member Avatar for Charan_2

Hello All, I want to get the values of checkboxes and pass them to another page in vb.net. Below I attached a file with that checkbox list. Kindly let me know how to loop through it. TThank in advance!

Member Avatar for Mr.M
0
45
Member Avatar for pmworlds

Discussion on Cybercafe Managment System - Project. I am in student in IT Eng. and i am woking on project for developing a Cybercafe Managment System. So, i am taking a reference of "handycafe" software. But i need more details on this concept. About which features i can add,what type …

Member Avatar for mr_865
1
683
Member Avatar for Micheal87

Hi, I'm searching for a way that let run a event without need, that specific form to be open, and also save thing. I explain better, the performclick will only fire if that specific form it's open, I'm searching a way to do this on background. This is the code …

Member Avatar for xrjf
0
160
Member Avatar for Micheal87

Hi, I try to show up a notification when an if statement is true, but it doesn't show up also I checked the win 11 notification is something was on, but all things is off. In case I can only create a custom one. S.O = Win 11 Version of …

Member Avatar for Micheal87
0
107
Member Avatar for UKnod

I am using visual studio / basic 2019. using the windows media to play sounds (WMPLib.WindowsMediaPlayer). It works great, I can play multiple sounds etc. However what I realy want to do is play some sounds on sound card A. And other sounds in sound card B. I am thinking …

Member Avatar for UKnod
2
641
Member Avatar for Micheal87

Hi, I like to ask for a clarification about it. I have combobox.items(i) that go trough a for next loop for each index I need to check if its content (number) will be >=1 or <=10. Now I tried this one, but I know where the error might be, the …

Member Avatar for Micheal87
1
225
Member Avatar for Micheal87

Hi, like title, I have a timer, that when reach 0 will fire event on another form, then timer restart but when reach 0 nothing happen. how can I achieve this? Private Sub Timer1_Tick(sender As Object, e As EventArgs) Handles Timer1.Tick Dim value = CInt(Label10.Text) If value >= 1 And …

Member Avatar for xrjf
0
352
Member Avatar for Micheal87

Hi, how can I make sure that all the datetime stored previously by user input will be updated in a cycle for? I explain better the structure Combobox2 <----- is where list of datatime are previously stored Combobox3 <------- is where remaining time is given by a substraction of two …

Member Avatar for xrjf
0
161
Member Avatar for Micheal87

Hi, I have a little issues, while auto-refresh all values (remaing time), in summary the program pick the datatime stored in a combobox then subtract it with current time (datetime.now) and return the value (remaining time) stored in another one combobox. The issues is that when I click the refresh …

Member Avatar for Micheal87
0
48
Member Avatar for JakeRivett

how to pause VB.net code until the user clicks a button I want my code to pause while the user makes a decision on the form by clicking a button on the form. How would I go about doing this. I have tried using Doevents with a do unitl loop …

Member Avatar for jake_20
0
1K
Member Avatar for Micheal87

Hi, how can I clean all saved settings in my.settings ? Do I need only to put my.settings.[name].clear() or a My.settings.reset() can do a good job for all the user setting added into the program? Also how can I add an exception if there is nothing in that setting or …

Member Avatar for xrjf
0
576
Member Avatar for Micheal87

Hi, I have a issues, in this code I have a countdown with function declared, the issues now is that, if starting the time with only seconds timer go well but if the timer go to one minute if button is clicked timer suddently stop. Is there anything wrong with …

Member Avatar for Minimalist
0
56
Member Avatar for Micheal87

Like title, more particulary, I have two textbox when user put links when finished the result will be on the second one with some default string in the 0 index of the counter and after the exiting of the loop. My question is how I can make that even the …

Member Avatar for Micheal87
1
77
Member Avatar for Micheal87

Hi all, I have created an Event handler to a function for clicking a generated button, now when this button is clicked need to paste in a textbox the Combobox.seleteditem (that it's a string. Each generated one (Combobox, textbox, button) will have a selected index of the Combobox that it's …

Member Avatar for xrjf
0
96
Member Avatar for Micheal87

Hi, I have a question, how can I achieve this, like I have declared 3 variable as string, each checkbox has a variable that will be created if clicked also when checked it will put the corresponding textbox.text into it. Now the problem is I need to make sure that …

Member Avatar for xrjf
0
161
Member Avatar for Micheal87

Hi, I have a issues, I have to load again the listbox, after filtering trought a textbox if a string is the same. I tried this code, but doesn't work at the is null or empthy, how can I reload it by a cicle for? Private Sub TextBox3_TextChanged(sender As Object, …

Member Avatar for xrjf
0
96
Member Avatar for David_239

Hi may i ask if someone can help us about where we can create a token payment system for our gaming system in vb. I want to create a payment system in vb using token in registration through online payment and user can set the token they wanted after playing …

Member Avatar for Hemangi_2
1
64

The End.