2,720 Recommended Topics

Remove Filter
Member Avatar for
Member Avatar for TimTheCoder

Helllo guys am trying to build my first ASP.NET application here and I have a **Models** folder and **Controllers** folder. The models folder contains the class for an entity called customer whose properties are to be read from sqlite database. Thee is also a **Pages** folder that contains a folder …

Member Avatar for pritaeas
0
76
Member Avatar for Ren_706

so we were trying to make a simple log in form and our professor simply told us to copy the codes he wrote: ![ddasdasd.png](https://static.daniweb.com/attachments/4/6e4f9f0b8c7c7538dda7592dba43ff98.png) i copied it but i got a red line under line 20 and 21 . I dont know what to do, no one is responding to …

Member Avatar for gce517
0
74
Member Avatar for Douglas_17

i installed wamp on windows 11. i tested to see if php was installed by using command phpinfo and this worked. when i attempt to use php in html document the php echo statement does not work. i simply get the line of code (shows the echo statement). i have …

Member Avatar for gce517
0
59
Member Avatar for oriakhiosamu1

Good day all, am new here, probably don't know if am doing it right. My import.java.util.Scanner is not working on my intelliJ IDEA, thanks in advance!! ![input_error_2.jpg](https://static.daniweb.com/attachments/4/a3559e4109e7b37341894da7cab56cb9.jpg) ![input_error_1.jpg](https://static.daniweb.com/attachments/4/bdf4e9756da594dd786c6d889f35d009.jpg)

Programming java
Member Avatar for JamesCherrill
0
57
Member Avatar for asdfg_8

You are provided with a text file containing randomized integers from 1-10000 called randomNum.txt. Write a program to sort these integers. You will have to create 5 separate processes for this, which will work in parallel to sort the integers. This means Process 1 will sort integers from 1-2000. Process …

Programming c
Member Avatar for rproffitt
0
30
Member Avatar for jimJohnson

I am writing an atm program for a class and will enclose the instructions. I really want to just write a section of code and make sure I am doing it right before I move on. I am starting with the main menu and was wanting to know if someone …

Member Avatar for michealadejimi
2
12K
Member Avatar for Bienvenue

I need help on this php pdo error:PHP PDO - Uncaught Error: Call to a member function prepare() on null

Member Avatar for Dani
0
85
Member Avatar for dimitrilc

## Introduction ## If your App only need a simple way to play videos on Android, then **VideoView** (`android.widget.VideoView`) might just fit the bill. In this tutorial, we will learn how to use VideoView for video playback in our App. ## Goals ## At the end of the tutorial, you …

Member Avatar for Iqra_18
3
151
Member Avatar for dimitrilc

## Introduction ## Android provides many ways to perform background tasks, such as Services, WorkManager, or even threads. In this tutorial, we will learn how to create a Service for our Android app. ## Goals ## At the end of the tutorial, you would have learned: 1. How to create …

Member Avatar for Iqra_18
2
335
Member Avatar for dsmush

[SIZE=4][FONT=Arial]Hi, I'm creating an application that makes use of the GridBagLayout as it is the most useful layout manager for what I need. I made a JPanel and added it to the frame. The result I'm currently getting during run-time is a JFrame with a JPanel placed in the center. …

Member Avatar for Toby_6
1
3K
Member Avatar for dimitrilc

## Introduction ## When using a Worker (**from the WorkManager library**), you might have wondered how to inject dependencies with Hilt. In this tutorial, we will learn how to inject dependencies into our Worker. ## Goals ## At the end of the tutorial, you would have learned: 1. How to …

1
1,000
Member Avatar for dimitrilc

## Introduction ## Finding a View in Espresso tests can be quite confusing because there are so many matchers available. In this tutorial, we will learn how to find a View based on its sibling contents. ## Goals ## At the end of the tutorial, you would have learned: 1. …

1
319
Member Avatar for sushu1209

Hi, I need to split the pdf document into two parts,like i have a pdf which consists 100 pages,i need to split the pdf into two parts where first part consits 10 pages and second part consists 1 to 100 pages?how to do that using php?

Member Avatar for Dani
0
6K
Member Avatar for Zach1188

I have a fairly simple question, which may or may not have a simple solution. How can I run the system(); command, in a win32 (not console) application, without the black command prompt window flashing on the screen? If relevant, I am using Dev-C++.

Member Avatar for Giver
0
3K
Member Avatar for SA_361

I am using intellij for the java coursework which is related to clients and databases. I am receiving the following error Exception in thread "main" java.lang.NullPointerException: Cannot invoke "java.net.URL.toExternalForm()" because "location" is null at java.desktop/javax.swing.ImageIcon.<init>(ImageIcon.java:232) at client.Interface.$$$setupUI$$$(Interface.java) at client.Interface.<init>(Interface.java:54) at client.Application.main(Application.java:317) This is the code: ` ` package client; //region …

Programming java sql
Member Avatar for JamesCherrill
0
808
Member Avatar for JModak

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 you?" Dim pattern As String = "[!""#$%&'()*+,\-./:;<=>?@[\\\]^_`{|}~\s]" Dim matches As MatchCollection = Regex.Matches(input, pattern) MessageBox.Show(String.Format("There are {0} special characters in …

Member Avatar for Minimalist
0
664
Member Avatar for Intan Farizatul

hi, i have some problem with my php code. when i run the php, the page keep loading and no output displayed. here is my code: $dayBeforeNew = $_GET['daybefore']; $dayAfterNew = $_GET['dayafter']; $sql = "SELECT reference.LOCID, reference.Region, Sitename, (SELECT `Data Total Traffic` from 4g_statistic where reference.LOCID = 4g_statistic.LOCID AND 4g_statistic.Day …

Member Avatar for Biiim
0
265
Member Avatar for RC_820

I want to make a fish shooting game, but I don't know where to start maybe here friends can give me directions please help for my learning

Member Avatar for RC_820
0
179
Member Avatar for Ashley_30

You have been contracted to develop a prototype system for the Norman Manley Airport that will assist the airline staff in processing persons who have checked in for their flights during the covid pandemic. The information being stored for each person are as follows: • ID# • Name • Gender …

Programming c++
Member Avatar for jwenting
0
78
Member Avatar for Paul_103

How do you print repeated digits from 1 to n after asking a user to enter a int8 number n.The printed digits should be random.say for example a user enters enters n=5 then the program prints randomly 11223412345.You can see the maximum is 5.Also how do you sum up these …

Programming sql
Member Avatar for rproffitt
0
78
Member Avatar for nouraaaaa

A number m is called a proper divisor of n if m<n and m divides n. A positive integer is perfect if it is the sum of its proper positive divisors. For example 28 is perfect because 1 + 2 + 4 + 7 + 14 = 28 . 1, …

Programming asp
Member Avatar for JamesCherrill
0
58
Member Avatar for Nicholas_25

Hello there. I'd like to develop a mobile app with cutting-edge functionality. A rider app, a passenger app, and an admin portal are all included. It is necessary to register and edit your profile. Can someone provide me with a cost estimate for app development? or else any other way …

Member Avatar for Iqra_18
0
56
Member Avatar for Stephcain12

Hey, I am doing some programming exercises, it is to read in a txt file and then read in a list of banned words in an array. I've managed to do this but the last step requires me to filter the original text file with the banned words and change …

Programming c++
Member Avatar for rproffitt
0
55
Member Avatar for Irfan_9

Three if condition if(isset($_POST['search']) & !empty($_POST['searchdata']) ) if(isset($_POST['search']) & !empty($_POST['searchName']) ) Else each statement have the own pagination created now confusion for example first condition is true and three page is created when i click its goes to else condition and below 10 pages is created which is true in …

Member Avatar for AdamFriska
1
129
Member Avatar for RC_820

hii all, btw i want to make login system, and check if user is multiple login and give notification in current user login, how can i make it ?? can someone please suggest/teach me to make system like that? Previously I've searched for it on google but couldn't find the …

Member Avatar for Dani
1
126
Member Avatar for dgrovespdxdgpdx

I want to create a java pane with a canvas on the left and column of other components on the right. I did this long ago but lost that code. Can anyone point me in the right direction to do this?

Member Avatar for jwenting
0
114
Member Avatar for DAVE_44

I am making a calculator in Virtual Basic for almost a week. I am encountering a problem when using the equals sign. When I type problems like 4 + 6 = 10 it answers correctly. When I press the equal again immediately after the calculator answers 10. It should enter …

Programming vb.net visual-basic
Member Avatar for Reverend Jim
0
90
Member Avatar for ASH_534

I have a problem with a DnD program, so when I add 2 or more images and apply a filter to one of the images (using a right click), it only appears on the last image added. I think i have to store the image in an Array while waiting …

0
81
Member Avatar for Bill_47

Assume a basic x86 PC (or if it is impossible due to locked access/firmware blobs etc assume the closest modern equivalent of a PC e.g an open RISC system with cpu ram hardrive and a way to interface with a keyboard mouse and a VGA/HDMI monitor) NO OS is present. …

Member Avatar for Schol-R-LEA
0
77
Member Avatar for priyamtheone

I'm broadcasting an intent in my app and receiving it with a broadcast receiver. I can handle the broadcasting and receiving. No problem with that. However, I want to register the receiver completely programmatically instead of doing it in the manifest file. Notice, that in the manifest file, there are …

Member Avatar for priyamtheone
0
72

The End.