2,438 Recommended Topics

Remove Filter
Member Avatar for
Member Avatar for Zerrin_1

Hello! *I need help * I need to calculate average of the elements of the matrix in **vb.net ** 5 2 1 2 5 5 2 -2 1 5 -1 1 1 -1 -5 -2

Programming vb.net visual-basic
Member Avatar for Schol-R-LEA
0
162
Member Avatar for nur_721

![Screenshot_2021-12-13_112253.png](https://static.daniweb.com/attachments/4/2dbd2f0854c2ff6b22c4e671497ad947.png) <?php // This page is for editing a user record. // This page is accessed through view_users.php. $page_title = 'Edit a User'; include ('includes/header.html'); echo '<h1>Edit a User</h1>'; // Check for a valid user ID, through GET or POST: if ( (isset($_GET['id'])) && (is_numeric($_GET['id'])) ) { // From view_users.php …

Programming mysql php
Member Avatar for Schol-R-LEA
0
156
Member Avatar for dimitrilc

## Introduction ## In Android development, Intents are used to request an action from an app component. There are two types of Intents: explicit and implicit. Explicit Intents are used when you know the exact package name of the component you need started. Implicit Intents, however, do not need a …

3
354
Member Avatar for dimitrilc

## Introduction ## Snackbars are great for displaying brief messages providing feedback to your users. In this tutorial, we will learn how to create Snackbars. ## Goals ## At the end of the tutorial, you would have learned: 1. How to create a Snackbar. ## Tools Required ## 1. Android …

3
223
Member Avatar for dimitrilc

## Introduction ## Notification is a great way to display information outside of your Android application. Your end users most likely already interact with notifications everyday, so knowing how to create notifications can greatly boost your user experience (*but can also backfire if used incorrectly*). In this tutorial, we will …

2
206
Member Avatar for dimitrilc

## Introduction ## Starting on API level 25, static Shortcuts can be used to quickly navigate to a specific point in your app. In this tutorial, we will learn how to create static shortcuts for an Android app. ## Goals ## At the end of the tutorial, you would have …

2
199
Member Avatar for gajen007

Hi, I'm an jQuery/Angular Developer last 5 years, and now I've planned move to ReactJS. I'm learning ReactJS by my own, as comparing the similar stuff what I did in jQuery (or Angular). My plan is, just to make a Login-Logout App, with ReactJS front-end and CodeIgniter - MySQL are …

Member Avatar for Dani
1
718
Member Avatar for mjseedsca2021
Member Avatar for HibaPro

hi everybody , my Question is , how i can get the last row in my datagridview thanx in advance :)

Member Avatar for Leonardo_13
0
4K
Member Avatar for LucianAdamson

Using: Visual Basic .NET 2012 Problem: I am using the code below to get the version information from a system dll. It returns a version number and I check the file manually by going to C:\windows\system32, right clicking, going to properties, clicking on Details and the version number that VB.NET …

Member Avatar for phinisdo
0
2K
Member Avatar for Vevo

Hello, I wrote this code in order to obtain a series of monthly weather observations at Helsinki for a period from 1960 to 2020 and then I saved the data to a local file using package pickle. I used the data available from the API provided by the Finnish Meteorological …

Member Avatar for Vevo
0
857
Member Avatar for rabbit07

<?php if (isset($_POST['submit'])) { session_start(); include('connection.php'); $email = mysqli_real_escape_string($conn, $_POST['email']); $password = mysqli_real_escape_string($conn, $_POST['password']); $hash_password = md5($password); $sql = "SELECT * FROM users WHERE email = '$email' AND password = '$hash_password' "; $result = mysqli_query($conn, $sql); $row = mysqli_fetch_array($result); if ($row['email'] == $email && $row['password'] == $hash_password) { echo '<script …

Member Avatar for Biiim
0
448
Member Avatar for infinit44

Hello, could anyone help me how can I make so the user could only enter numbers between 0...9 and letters a...f (A...F) on input? I have a code like this already #MAKE_EXE# DSEG SEGMENT 'DATA' MSG DB 'Enter double digit hex number: $' DSEG ENDS SSEG SEGMENT STACK 'STACK' DW …

Programming assembly
Member Avatar for Schol-R-LEA
0
316
Member Avatar for london-G

Hello, I am not sure if this is the correct place to post this... I would like your general opinions on this: When testing a software with different functionalities, is it a good thing to state the number of test case to be prepared initially for each functions? Like we …

Member Avatar for phinisdo
0
233
Member Avatar for Khoa_2

Hi everyone, i want to solve the problem below with dynamic programming but i dont know where to start. Can anyone suggest me something? So the problem is about the find the minimum path with maximums golds. This is the code i have tried so far but it gets me …

Member Avatar for rproffitt
0
194
Member Avatar for SimonIoa

Does anyone now if google requires parameters on .htaccess file for php function calls? I used to have a different .htaccess file and my google sign in used to work. Now i changed it and it doesnt. htaccess RewriteEngine On #RewriteBase /api/ Header add Access-Control-Allow-Headers "origin, x-requested-with, content-type" Header add …

Member Avatar for Dani
0
55
Member Avatar for rajesanthu

[B][COLOR="Red"]Simple C++ program for age calculation[/COLOR][/B] [COLOR="Green"][B]NB:Excuse me experts,,this is only for beginners.........[/B][/COLOR] Instructions//// 1.Copy the code 2.paste it in a text file 3.save the text file as agecalc.cpp and select file type all with in the text file. 4.paste this file inside your bin folder where the Turbo C …

Member Avatar for Youssef Faisal
-4
44K
Member Avatar for nextsmm

Is it necessary to have computer or laptop to test the code? Did you ever seen anyone who can be perfect or master in coding whit cell phone?

Member Avatar for DGPickett
3
234
Member Avatar for dimitrilc

## Introduction ## All TextView objects have a special attribute called `textAppearance`. This attribute can be used to set the style for text content in a TextView without affecting other styling attributes on the same TextView object. In this tutorial, we will learn how to apply `textAppearance` to TextView objects. …

2
983
Member Avatar for dimitrilc

## Introduction ## With OLED screens becoming more and more common on smartphones, adapting a dark theme to your app can provide a boost to battery life. In this tutorial, we will learn how to add a dark theme to your native Android app. ## Goals ## At the end …

2
222
Member Avatar for asfghjkl

Hi everyone, I just want to ask if how i am able to make an if else statement inside a switch case. i want to execute something wherein the user may be able to choose again if he/she would like to do another transaction. for example, the user choose Yes …

Member Avatar for kasmar45
0
273
Member Avatar for Tom_380

I'm trying to create buttons with a for, but I want every button to have a different name, so I can later differenciate them and use them easily. As you can see on the screenshot, python doesn't accept the names for the button. There's probably an easy way to do …

Programming python
Member Avatar for Schol-R-LEA
0
224
Member Avatar for manasrathore43

21 year old female here. Just wondering if anyone can tell me their experiences please and hopefully provide some tips. I'm currently in cc right now and never heard of this major until now. I heard it is challenging, but I'm up for it! Coding definitely sounds interesting (and it …

Member Avatar for Lisa_20
0
134
Member Avatar for Paul_98

Can someone help me with this as I am having problems. My problem is that after i click button 2 for placing the order the data from the checkout form should go to the database but it does not work, there is no sign of that. I don't know if …

Programming vb.net
0
86
Member Avatar for oninchan

Parse error: syntax error, unexpected variable "$sql" in C:\xampp\htdocs\ProjectIT12\LR\controller.php on line 38 <?php include_once ("connection.php"); // connection created succesfullly session_start(); //store all erros $errors=[]; //When sign up button clicked if(isset($_POST['signup'])){ $fname = mysqli_real_escape_string($conn , $_POST['fname']); $mname = mysqli_real_escape_string($conn , $_POST['mname']); $lname = mysqli_real_escape_string($conn , $_POST['lname']); $street = mysqli_real_escape_string($conn , $_POST['street']); …

Programming mysql php sql
Member Avatar for pritaeas
0
73
Member Avatar for skymhine

<?php if (count($_FILES) > 0) { if (is_uploaded_file($_FILES['userImage']['tmp_name'])) { $imgData = addslashes(file_get_contents($_FILES['userImage']['tmp_name'])); $imageProperties = getimageSize($_FILES['userImage']['tmp_name']); $sql = "INSERT INTO qr(user_id,file_name ,QrCode) VALUES('".$_SESSION['id']."','{$imageProperties['mime']}', '{$imgData}')"; $current_id = mysqli_query($db, $sql) or die("<b>Error:</b> Problem on Image Insert<br/>" . mysqli_error($db)); if (isset($current_id)) { header("Location: preview.php"); } } } ?> <form name="frmImage" enctype="multipart/form-data" action="" method="post" class="frmImageUpload"> …

Programming mysql php sql
Member Avatar for Dani
0
98
Member Avatar for dimitrilc

## Introduction ## Complex Views can use up RAM and reduce the performance of your Android apps. If a View is rarely used, you should consider delaying its rendering until it is needed by your app. One way to do that is to use the ViewStub View. ViewStub is very …

2
809
Member Avatar for sarman.boyslo

hi all, newbie wanna ask again... i have build gui with VB6, my gui that i designed has a big size, fullscreen when i run, so in normal mode (not running) if i want to see the form i have to scroll it, if i want to save the design …

Member Avatar for Junjie_1
0
991
Member Avatar for Nicksen

Good day everyone. My assignment is to create a point of sale system for a bakery shop. I have done all the coding up to the part when i have to do a 'order summary details' means i have to put all the user inputs into the order summary details. …

Member Avatar for Schol-R-LEA
0
342
Member Avatar for shane1961

Hi all. I have this code and it is correct. Dim logDayName As String = WeekdayName(Weekday(LogDateTextBox.Text)) Dim logMonthName As String = MonthName(Month(LogDateTextBox.Text)) The following code is an error on the Day function. Dim logMonthDay As Integer = Day(LogDateTextBox.Text) Please offer assistance. Thank you, Shane.

Programming vb.net
Member Avatar for shane1961
0
304

The End.