3,045 Recommended Topics

Remove Filter
Member Avatar for
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
330
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
757
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
907
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
206
Member Avatar for JMoran

I am struggling with this program trying to change it from structured C++ code to an object oriented code. if anyone could offer help that would be great. the code is: // C++ program to implement the program // that illustrates Online shopping #include <string> #include <iostream> #include <map> using …

Member Avatar for jwenting
0
163
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
97
Member Avatar for nextsmm

Is there anyone who have tried the Laravel framework, is it worth starting to study it?

Member Avatar for alan.davies
0
94
Member Avatar for justinb1145

I have a program that displays a list of vaccines and for each vaccine listed in the table, you can edit them. When I click on edit for the specified vaccine, one of the values allowed to be modified is the number of doses required, which can be changed from …

Member Avatar for Mr.M
0
90
Member Avatar for Kepler123

#include <stdio.h> #include <math.h> int main() float i, x; double fact=0, sum=0; printf("Enter value of x as the power of e: "); scanf("%f", &x); printf("Enter n as the number of terms: "); scanf("%d",&i); for (i = 0; i < 99999; i++) { sum = 1 + x; fact = fact …

Programming c
Member Avatar for xrjf
0
74
Member Avatar for ChrisJ

I'm trying to modify a web script. Currently, upon uploading a video, in the upload Form, among other things, the uploader chooses a sub-category and enters tags and then submits/uploads. I'd like the sub-category that is selected, to also be searchable as a keyword. Presently, the 'videos' table has a …

Programming php
Member Avatar for AndrisP
0
74
Member Avatar for ChrisJ

Can you please tell me what these lines of code do? $sub_category = 0; if (!empty($_POST['sub_category_id'])) { $is_found = $db->where('type',PT_Secure($_POST['category_id']))->where('lang_key',PT_Secure($_POST['sub_category_id']))->getValue(T_LANGS,'COUNT(*)'); if ($is_found > 0) { $sub_category = PT_Secure($_POST['sub_category_id']); } } I look forward to any assistance

Programming php
Member Avatar for Dani
0
59
Member Avatar for viksat07

Need Help i got this assignment to create a program to insert element in array, delete element in array and view elements in array by using Menu Driven Programs plz help me

Member Avatar for Govind_11
0
31K
Member Avatar for Mr.M

Hi DW. I'm trying to display a popup over an input box, but the issue is that some websites that I want to also display on have div class name that contains many classes in it which result it a div class name to have spaces in it which is …

Member Avatar for Mr.M
0
1K
Member Avatar for adoleh

I have to create a program that asks a person to enter a 2 digit number (10-99) and convert it into words. I've been working on this for days and I still don't see what I'm doing wrong! PLEASE HELP ME!!! EXAMPLE: 27 twenty-seven [CODE]#include <iostream> using namespace std; int …

Member Avatar for emsmary
0
16K
Member Avatar for yadao200011

Can someone or anybody help me on how to auto calculate total price in the table? Please see the image below: ![Please take some time to see Image.png](https://static.daniweb.com/attachments/4/cabbe5092985551aefff1784794b148e.png) Here's my code (I will included only the code that I used in the Image: HTML: <div class="col-12"> <div class="col drop"> <table …

Programming javascript jquery php
Member Avatar for k99rs
0
1K
Member Avatar for gdtraveller

I'm developing a calendar application The top level window is a frame containing a panel that displays the calendar grid and a panel that contains a "Close" button. I'm unable to obtain the size of the calendar grid panel. When I add code to get the panel size, the result …

Member Avatar for Reverend Jim
0
493
Member Avatar for eliasarximan

Can Someone help me to convert my Python Code to Java Code please? My Python Code : def import_file(file): with open(file,"r") as f: lines = f.readlines() sline = [] for line in lines: xline=line.split(" ") sline.append(xline) return sline def set_file(idf,q,sline): for i in sline: if idf in i: sline[sline.index(i)][1] = …

Programming c++ java python
Member Avatar for Srinu@231
0
281
Member Avatar for stokie-rich

Hi guys, On my website that I'm creating I would like to add a personal profile. Where each user who is logged in can change their details, upload an profile picture and change their password or username. Are there any good youtube videos or tutorials that are around to help …

Member Avatar for cpptutslv
0
265
Member Avatar for jeff79
Member Avatar for skymhine

<?php if(isset($_SESSION['id']) ) { ($_SESSION['id']) { //echo "you're login"; } echo "<form action='upload.php' enctype='multipart/form-data' method='post'> <br>Qr Code: <p><input type='file' name='file' > <p><input type='submit' value='Upload' name='submit'> </form>"; } ?> <?php $statusMsg = ''; // File upload path $targetDir = "qr_code/"; $fileName = basename($_FILES["file"]["name"]); $targetFilePath = $targetDir . $fileName; $fileType = pathinfo($targetFilePath,PATHINFO_EXTENSION); …

Programming mysql php sql
Member Avatar for skymhine
0
85
Member Avatar for SimonIoa

Hello i have a Ionic Angular project with PHP as backend. I created a search for users but in order for the project to run more faster i put a LIMIT of 20 users in the php function that calls the users and call the next 20 with an Angular …

Member Avatar for rproffitt
0
51
Member Avatar for Kiria_1

Hi guys I want to used a dialog box in vb.net to open a txt file, which contains single line of a few character like TFTFFTFT, and store it into array. Then I will open another txt file and compare it content with the first txt file.. How can I …

Programming vb.net
Member Avatar for Dani
0
45
Member Avatar for shak187

hi there i have some python coding which i need to convert to java can ne1 help me please email me back if you can help then i will show you the coding much appriciated

Member Avatar for eliasarximan
2
154K
Member Avatar for mcoliver88

Hi All I am creating a Visual Basic program for a Movie datbase, but i want to be able to play a youtube video Via the media player option. I would like the user to paste the link in from youtube into a text box, and click play and the …

Member Avatar for David_234
0
2K
Member Avatar for dimitrilc

## Introduction ## If your Android app is available to a global audience, you might have wondered how to load localized **String**s into your app. This tutorial will teach you how to do just that. There are quite a few steps involved, but once you understand the concepts, it will …

2
166
Member Avatar for dimitrilc

## Introduction ## One of the best debugging tools in Android Studio is the *live database inspector*. It allows developers to peek at the current state of the database and even run queries against it. In this tutorial, we will learn how to use it to debug a local SQLite …

2
156
Member Avatar for NALB

hello , i wanna do something as below but the problem that names and address out of the connection query are empty how can i assign them and the send them to the page? app.get('/reports', (req, res)=>{ let sql = "SELECT DISTINCT name from users_table ;"; let names; let query …

Member Avatar for jamesfilipson
1
1K
Member Avatar for wellho188

Hello I just want to ask for some help regarding with the undefined index error. The image are uploaded / stored in database but the image cant store in folder directory. Please can someone help me. This is for my project. Thank you guys in advance.

Member Avatar for rproffitt
1
47
Member Avatar for Kurosaki

Hi. I'm new to java programming and I need help with this assignment. [quote]Giving change. Implement a program that directs a cashier how to give change. The program has two inputs: the amount due and the amount received from the customer. Compute the difference, and compute the dollars, quarters, dimes, …

Member Avatar for JamesCherrill
0
7K
Member Avatar for AbstractEden

I've been having a tough time trying to figure this one out. Wrote a couple of notes on my phone and ended up with this as a result: import java.io.*; import java.util.Scanner; public class Assignment1 { //Returning if a character is a vowel or not. public static boolean isVowel(char c) …

Member Avatar for alex205
0
3K

The End.