-
Liked / Shared How to get special characters from a string in VB.Net
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 … -
Replied To a Post in How to get special characters from a string in VB.Net
Public Class Form1 Dim myarr() As Char 'create an array to hold the specil characters' Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load TextBox1.Text = "Hi! Hello, How … -
Began Watching How to get special characters from a string in VB.Net
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 … -
Replied To a Post in countdown with 3 label, (hh:mm:ss) when reach 1 minute timer freeze
You need to make sure that you do understand the difference between a string and a number. Label5.Text = 0 should be Label5.Text = "0" . You are mixing this … -
Began Watching countdown with 3 label, (hh:mm:ss) when reach 1 minute timer freeze
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 … -
Replied To a Post in why the exception
maybe: dim box as new mult -
Began Watching why the exception
This code causes an exception: dim box as new mult() box.show <-------- cannot access a disposed object -
Created Settings in VB.net 2019 community
So I got a problem with the settings Tab in VB.Net. The settings are not displaying properly. There is a gap in the middle of the display.  The second … -
Began Watching Settings in VB.net 2019 community
So I got a problem with the settings Tab in VB.Net. The settings are not displaying properly. There is a gap in the middle of the display.  The second … -
Replied To a Post in How to bring Windows form on top
Maybe using show and hide is abetter way to deal with the issue. Public Class Form1 Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click Form2.Show() Me.Hide() End Sub … -
Began Watching How to bring Windows form on top
Hi, I have form1, and second form2 When I call second form2, form1 is disabled for any interaction. customer.Show() Me.Enabled = False Close button on form2 code is Private Sub … -
Replied To a Post in Controlling other form using the first form in Visual Basic
Mybe try to assign a string to lblcs.Text like: lblcs.Text = cstr(Val(lblcs.Text) + 1) -
Began Watching Controlling other form using the first form in Visual Basic
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): … -
Replied To a Post in Adding two text box to sum text box
well just use a timer: Private Sub Timer1_Tick(sender As Object, e As EventArgs) Handles Timer1.Tick If IsNumeric(TextBox1.Text) And IsNumeric(TextBox2.Text) Then Dim num1 As Double Dim num2 As Double Dim num3 … -
Replied To a Post in Adding two text box to sum text box
Tis is a solution for vb.net Private Sub Button3_Click(sender As Object, e As EventArgs) Handles Button3.Click Dim num1 As Double Dim num2 As Double Dim num3 As Double num1 = … -
Began Watching Adding two text box to sum text box
Hello, Can someone help me adding two text box. example: textbox1 = (1) textbox2 =(50) textboxsum = (51) i have already values on textbox1 and textbox2, I want the two … -
Replied To a Post in VB.NET printing Multi-page?
In cases where I need to check my printouts I have installed a virtuel pdf printer and print to this one before committing to paper. I use Cute PDF Writer … -
Began Watching VB.NET printing Multi-page?
i'm trying to make price lable printer and i was able to print a single page for a single id, but my problem is when i'm trying to print more … -
Replied To a Post in How to count words greater than 6?
So o.k ifyou want to stick with vb6 then you could do the following; Dim txtlen As Integer ' the length ofwords Dim lencount As Integer ' the integer to … -
Began Watching How to count words greater than 6?
Can anyone help me to create a code to count how many words that are greater than 6? I am creating a readability test to calculate number of words etc. … -
Replied To a Post in How to Format TextBox Value into two Decimal Places Visual Basic 2010
You are assigning a double to a string. Should probably be like: dim num as double num=CDbl(txtMonthly.Text) / CDbl(txtdr.Text) -
Began Watching How to Format TextBox Value into two Decimal Places Visual Basic 2010
i need to format my textbox result into two decimal places after i divide two textbox here is my code. If String.IsNullOrEmpty(txtMonthly.Text) OrElse String.IsNullOrEmpty(txtdr.Text) Then Exit Sub If Not IsNumeric(txtMonthly.Text) … -
Replied To a Post in How to search first similar items before adding new items in listbox
You should check first if the list contains the item you want to add and then decide what to do. You might want to exit the sub after line 37. … -
Began Watching How to search first similar items before adding new items in listbox
i somehow got the gist of adding items and filtering the already inputted ones but i cant seem to know how to start a loop where the code searches for … -
Replied To a Post in Grand Total of one text box in Vb.net
O.K. I assume that you have added a totalsum row to your database which will give you a field that contains the total. If not then check this out: https://www.gcflearnfree.org/access2016/how-to-create-calculated-fields-and-totals-rows/1/ … -
Began Watching Grand Total of one text box in Vb.net
i have a simple database where i want to sum Amount of one one text box at the footer of my form textbox. Am using access as the database -
Replied To a Post in Probability and Coin Tossing
O.K. if came across of being rude I do apologize as this was not the intention. -
Replied To a Post in Probability and Coin Tossing
O.K than we go back to part of the initial statement: "You get challenged to a game of coin toss. Both players pick a sequence of coin toss results (heads … -
Replied To a Post in Probability and Coin Tossing
Teme64 was correct in his first explanation of the probabilty, so one mark up. The theory has been proven an can be assumed to be true. What then follows is … -
Began Watching Probability and Coin Tossing
Here's an interesting little scenario. You get challenged to a game of coin toss. Both players pick a sequence of coin toss results (heads or tails). The coin is repeatedly … -
Replied To a Post in How to Assign a value taken from LastName Text box to a Modular Variable.
First of all set options to strict on and infer to off. You find these by clicken on myproject in solution explorer and the compile option. To set a variable … -
Began Watching How to Assign a value taken from LastName Text box to a Modular Variable.
Hi, I have to create a modular variable (string with no value) set as LN (txtLastName.Text) which takes its value once the user enters his Last Name and hits the … -
Marked Solved Status for Swapping columns in a datagridview
Good day guys, here is another question I have, working with vb.net community 15. I have a large datagridview to display all lessons for my school timetabling program. There could … -
Replied To a Post in Swapping columns in a datagridview
Well, the displayindex is indeed the problem as to my original question. The DataGridViewColumnCollection also refers to the indexes as the datagridview was originally created as to my understanding. At … -
Replied To a Post in Swapping columns in a datagridview
So here is some more explanation: This would be the method I would like to use if can figure out how to change the indexes. This is the code to … -
Replied To a Post in Swapping columns in a datagridview
Thank you or your interest. So there is nothing special in the save method: Friend Sub savemytimetable() Dim j, i As Integer, str As String str = "" myfileaction(303) 'delete … -
Replied To a Post in Swapping columns in a datagridview
endedit method didn't help. After saving and reloading the data came back as was saved previously. -
Replied To a Post in Swapping columns in a datagridview
The datagridview is saved as a plain text file. -
Created Swapping columns in a datagridview
Good day guys, here is another question I have, working with vb.net community 15. I have a large datagridview to display all lessons for my school timetabling program. There could … -
Began Watching Swapping columns in a datagridview
Good day guys, here is another question I have, working with vb.net community 15. I have a large datagridview to display all lessons for my school timetabling program. There could … -
Replied To a Post in Embed text into clickonce application
Thanks guys, will look at any of the suggestions. -
Marked Solved Status for Embed text into clickonce application
Good day community, I have completed vb.net program (a school timetabling program) and I am in the process to create a website. At the moment word -press on wamp server … -
Replied To a Post in Embed text into clickonce application
Thanks for your thoughts on this and I marked you up a point. I just wonder how large companies are doing this but haven't found anything on the web. I … -
Replied To a Post in Embed text into clickonce application
Thanks for the reply. I read the articel in the link. What I don't want is to hard code into the program. So what I think of is this: Customer … -
Marked Solved Status for "Download Protect"
Had anyone else problems with this add on. Seems to be almost impossible to get rid of it -
Created Embed text into clickonce application
Good day community, I have completed vb.net program (a school timetabling program) and I am in the process to create a website. At the moment word -press on wamp server … -
Began Watching Embed text into clickonce application
Good day community, I have completed vb.net program (a school timetabling program) and I am in the process to create a website. At the moment word -press on wamp server … -
Replied To a Post in Excel Workbooks are not being completely Closed via VB.net
@ ddanbe and @ rproffitt Thanks guys. -
Replied To a Post in how to get result by using variable
You want to try it this way: dim a, b, res as integer dim c as string a=10 b=5 res= a+b c= res.tostring Debug.Print(c) -
Began Watching how to get result by using variable
dim a, b, res as integer dim c as string a=10 b=5 c= "a+b" res= '" & c & "' how do i get the result value 15 ?
The End.