Posts by Abd Domingos • 87 points
12 posts
-
-1
votes3
answers537
viewsA: What is Hermes for?
Hermes is an open source Javascript engine designed to run React Native applications on Android. The use of Hermes will probably be the most widely adopted method of running React Native…
-
0
votes1
answer17
viewsA: Convert Year to two digits
Okay, I managed to solve the problem the easy way. Dim TimeFormat As String = "yy" Sub Yearget() yearprint.Text = Convert.ToDateTime(voyagedate.Value).ToString(TimeFormat) End Sub…
-
0
votes1
answer17
viewsQ: Convert Year to two digits
How to convert Datetime.now.year to two digits? Ex: 2021 to 21 My code: Dim ok As String = DateTime.Now.Year.ToString("yy") shortyear.text = ok Prints "yy"…
-
-2
votes2
answers498
viewsA: Do you have an HTML command that leaves one way on your phone and another on your computer? And do you also have a universal code for the size of the elements?
I don’t understand very well, but try adding on each HTML page: <meta name=”viewport” content=”width=device-width, initial-scale=1″> CSS @viewport { width: device-width ; zoom: 1.0 ; }…
-
0
votes0
answers42
viewsQ: Problems with Php and Mysqli
I recently uploaded an old code for Mysqli and it’s giving errors. Erro: Notice: Undefined variable: connection in /var/www/public_html/includes/functions.php on line 8 Warning:…
-
2
votes2
answers3764
viewsQ: mysqli_select_db() expects Parameter 1 to be mysqli, string Given
I have a problem here with Mysql, is giving errors, I’ve made all kinds of changes. I’ve tried to change the Mysql function to Mysqli and only increase errors. Code: <?php $sql["host"] =…
-
0
votes1
answer299
viewsQ: Contact Form HTML + PHP
Someone helps me to solve this small problem, I have a Contact Form to send messages through the web-site, I have tried to configure anyway but keeps giving the error "Message not sent". HTML code:…
-
0
votes1
answer327
viewsQ: How to compare two dates in Datagridview and change color when VB.Net expires
My code Private Sub CadastroDataGridView_CellFormatting(sender As Object, e As DataGridViewCellFormattingEventArgs) Handles CadastroDataGridView.CellFormatting If…
-
0
votes1
answer60
viewsQ: Getdata VB.NET function
I’m trying to create a function to update Datagridview. I added the following code but gave an error "Unable to clear the list" Code: Private Sub GetData() Try con = New SqlConnection(cs) con.Open()…
-
1
votes1
answer308
viewsA: Incorrect syntax near '-' in Insert
Solution Private Sub btnSave_Click(sender As Object, e As EventArgs) Handles btnSave.Click Try con = New SqlConnection(cs) con.Open() Dim ct As String = "select id from Clientes where id='" &…
-
0
votes1
answer308
viewsQ: Incorrect syntax near '-' in Insert
I developed an application for registration of Clients "Transport" linked to a database "MDF", when trying to save to the database gives error: "Incorrect syntax near '-'" I tried everything,…
-
3
votes1
answer174
viewsQ: Change color of a Row when VB expires . Net
I have a database with the following tables: Data Emissão and Data Expira. So I want that when the date of Data expira is equal to or greater than Data Emissao, to row change color to Vermelho and…