Posts by Mateus Justino • 93 points
13 posts
-
0
votes1
answer643
viewsQ: Disable the "Close" button of a form
Does anyone know how I disable the "Close" ("X") button of a form in VB.net?…
vb.netasked Mateus Justino 93 -
0
votes1
answer50
viewsA: Printdocument (PDF) in horizontal VB
That was the missing code PrintDocument1.DefaultPageSettings.Landscape = True Now the sheet is horizontal
vb.netanswered Mateus Justino 93 -
0
votes1
answer50
viewsQ: Printdocument (PDF) in horizontal VB
I have a printDocument that makes mine PDF with the sheet upright (standing) I would like to leave the sheet horizontal (lying down). My code I use to generate the PDF: Dim ppd As New…
vb.netasked Mateus Justino 93 -
0
votes1
answer41
viewsQ: Select in the access database
I’m having a hard time getting data from the bank. I can put it in my bank with that code Dim comandosql As OleDbCommand cadastro = "Insert INTO usuarios (usuario, senha) Values ('" &…
vb.netasked Mateus Justino 93 -
1
votes1
answer140
viewsQ: Enabled false after typing
I have a textbox with a text written a standard number and with the enabled property = false, that is a textbox with a number that cannot be changed. But I created a button that leaves the enabled…
vb.netasked Mateus Justino 93 -
1
votes1
answer113
viewsQ: 2 filters on Bindingsource in Vb
I own a datagridview of employees and I can filter them through the name of each employee through this code: FuncionariosBindingSource.Filter = "nome like'%" & TextBox1.Text & "%'" In this…
vb.netasked Mateus Justino 93 -
0
votes2
answers221
viewsQ: Turn decimal into Vb minutes
Well I know that if I take for example 4.70 and turn the ".70" in minutes, I have q take the 0.70 ( number after the comma ) and multiplied by 60, that would give 42, in value of hours would be 4:42…
vb.netasked Mateus Justino 93 -
1
votes1
answer44
viewsQ: textbox with right align in VB print
I have a printdocument with the following command Dim font1 As New Font("Arial", 15, FontStyle.Regular) e.Graphics.DrawString(txtnome.Text, font1, Brushes.Black, 10, 10) And when I print the textbox…
vb.netasked Mateus Justino 93 -
1
votes1
answer95
viewsQ: vertical label in VB
How do I make the label text look like this: Upright and bottom up. I think it’s simple but I’m not getting it. Someone could help me?…
vb.netasked Mateus Justino 93 -
0
votes1
answer62
viewsQ: Error in Datagridview search
Hello, I have a Textbox in which entered a name automatically does the search in a Datagridview with employee data, for example if I type the letter "a" will appear all names starting with the…
-
1
votes1
answer89
viewsQ: Problem numbers after the comma
Hello I have this code on a button. txtresultado.Text = Math.Round(txtsalmin.Text * 0.2, 2).ToString Where it takes the value of salmin.text and multiplies poe 0.2 and appears in txtresultado.text…
vb.netasked Mateus Justino 93 -
1
votes1
answer127
viewsQ: Problem with "Else if" and "<" ">" in VB.NET
I’m setting up a small system that if the number entered in the textbox3 is less than 3, appears in the textbox4 an "8%" message, and if it is a number between 4 and 6, it appears in textbox4 "9%".…
-
0
votes1
answer69
viewsQ: Raising numbers financially
I am mounting a basic payroll system in VB.NET, and for example when I do splitting 2500 for 220 the result will be 11,363636363636363636363636363636. There is how I make a rounding for example to…