199,114 Archived Topics
Remove Filter ![]() | |
The reverse program shown in the slides of chapter 13-1 (also present in the book) reads from a file/command line using system calls and outputs the lines in reverse order on the terminal. The last line is swapped with the first line , the second last is swaped with the … | |
Hello! I have a question and I don’t know whether the title is actually descriptive. For some background on the matter, we use Sage 50 as our merchandise information system and for our reporting and controlling tools we run Access queries. Since our database had been reset at some point … | |
Hello, i'd like to capture the content of an ext:panel or a screenshot of the whole browser from a client, but i'm having troubles. In localhost, i can do it with CopyfromScreen method, but since the system is in a server and the user acessing it via web, it gives … | |
i want to remove a card from a randomly shuffled deck. so that each time a card is picked from the again shuffled deck. that card is eliminated from further play until all 52 cards are drawn. in python3.7 | |
hi everyone. been a while since i have been on here, alot has changed. I am in the middle of amending/adding features to an installer using python. I have the dropbox API (for business) set up and working, upload and downloading without issue. The potential issue i see is during … | |
Above program takes input of coefficient and power separately of 2 different polynomials add them up to a new polynomial.It is successfully compiled and executed in DEV CPP as C file.It Turbo C compiler add void before main function to avoid warning messages. | |
Hi, I have a form which consists a dynamic dependent dropdown and I want to maintain the entered data into the fields after the form is saved or edited. For an example: <input type="text" name="serial" value="<?php echo $serial;?>"> Similary i need to get the value in my dropdown as well. … | |
In this case I display values into datagridview from Projects table which it has only 2 columns: PROJECT_NAME VARCHAR ID INT // Which is hidden in datagridview, and as AUTOINCREMENT I have already done with editing values in this table and it works fine: `private void dataGridView4_CellEndEdit(object sender, DataGridViewCellEventArgs e) … | |
What is JDBC? What are different types of JDBC drivers? Programming php | |
the below code is to list the running exe files in the windows task manager. but i need only the running applications in windows task manager. if aybody knows pls help me by sending code for this. i am awaiting pls. import java.io.*; import java.util.*; public class GetProcess { public … | |
Hello Brothers and sisters, I'v got a problem,may it look like simple,but it shakes me off,let me state this. 1.I need to enter some details such as name,address and a photo in an html form. 2.On clicking submit button,I should get an html page with the contents I'v entered. 3.The … | |
I´m need to parse a json object into a c# class, my problem is that json object has a nested array and it´s throwing some errors when parsing. I have tried a couple of options: a) do foreach in the elements of nested array, and add them to a new … | |
I have storing major data in mysql and logs are stored in cassandra. Cassandra db getting heavier and difficult to do queries. So I want to migrate all my cassandra's table in mysql is it possible? | |
Hello, I wanted to ask about web hosting. I am new here and I want to know what is the best virtual server for it? | |
my connection to **WebSocket** is getting Disconnected continuously. I'm working in folder `realtime` on `localhost`. How to keep WebSocket connection live? How to use WebSocket in javascript? **Link:** http://localhost/realtime/ <script language="javascript" type="text/javascript"> var myWebSocket = new WebSocket("ws://localhost/realtime"); myWebSocket.onopen = function(evt) { alert("Connection open ..."); }; myWebSocket.onmessage = function(evt) { alert( … | |
Can anyone help me with my search engine. I need filter search in the system using PHP. The problem with the code: All the provided fields must be filled up..unless it will not work There were 6 fields such as Remark Status: Industry: Position: Location: Age Range: Min and Max … | |
In mysql database i created "leave" table: CREATE TABLE `leave` ( `ID_LEAVE` int(11) NOT NULL, `ID_WORKER` int(11) NOT NULL, `BEGIN_DATE` datetime DEFAULT NULL, `END_DATE` datetime DEFAULT NULL ); INSERT INTO `leave` (`ID_LEAVE`, `ID_WORKER`, `BEGIN_DATE`, `END_DATE`) VALUES (1, 26, '2019-03-19 07:00:00', '2019-03-19 15:00:00'), (6, 26, '2019-03-22 07:00:00', '2019-03-25 15:00:00'); "Sickness" table: … | |
How can I write a C++ program that lists all students whose CUMMULATIVE SCORE is K or higher? | |
So I have this for a sound crew to select jobs for workers based on the training they have recieved. My code allows you to add workers to the list and set what jobs they are allowed to do through use of inputs. The second Function then randomly creates job … Programming python | |
I making an android app which need to display data analysis in Gantt Chart. I implement this library from https://github.com/PhilJay/MPAndroidChart and it runs smoothly in my app. But what I'm worrying is if this library has been removed from github repo, will my app get effected? Programming android android-development github | |
I have a 2D array of characters (m x n) and i am trying to find all possible pattern that have a fixed length (example 5 characters) I have no clue how to start this if anyone could point me in the right direction that would be great! | |
Hit upon [this thing](https://hcaptcha.com/) recently. Seems like a good alternative to Google's reCaptcha. Website users solve the captcha, website owners get paid and AI companies get their data labeled. What do you think guys? | |
No matter what the visitor types www.example.net or http://www.example.net or http://example.net i want all of the requests to be redirected to https://example.net currently i have managed to redirected requests that are coming from www.example.net and https://www.example.net to https://example.net but i can't find a solution for http://example.net to https://example.net Current config … | |
I have a python script which extracts unique ip addresses from snort log but how to modify or use regex to extract IPs only if they are logged more than 10 times per second? more specific: using "regex", if the second (i.e 41 in this scenario) doesn't change for more … | |
I am working on a project for drag and drop items in a shopping cart. For an item dropped into the cart, I am trying to implement jQuery $.ajax. The result back from the PHP is pre-pended with '`' and I can not figure out why. This is the javascript: … | |
I have multiple HTML tables which is generated by PHP, Each table has a dynamic ID assigned to it What i would like is a total of the time in the "Worked Time" column for each table. [![enter image description here][1]][1] <script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta … | |
Hi all, Please review my web development social media web application site. Link: [Click Here](https://truconnexionm.iijobz.com) Regards, | |
Hi guys, I have the following code that I just cannot get to work! Can you please let me know where I have gone wrong? <?php //db_connect.php $con=mysqli_connect("localhost","root","password","database"); if (mysqli_connect_errno()) { echo "Failed to connect to MySQL: " . mysqli_connect_error(); } function get_file_extension($file_name) { return end(explode('.',$file_name)); } function errors($error){ if … | |
#include "StdAfx.h" #include "CanonCamera.h" int CanonCamera::numOfCameras = 0; CanonCamera::CanonCamera(void) { liveView = false; camID = numOfCameras; numOfCameras++; windowName = "Camera "; windowName += '1' + camID; windowName += " Window"; EdsCameraListRef cameraList = NULL; EdsGetCameraList(&cameraList); EdsUInt32 camCount = 0; EdsGetChildCount(cameraList, &camCount); if(camCount==0) { std::cout<<"No Camera Found"<<". Press Any Key to … Programming c++ | |
I need help.. someone please provide some suggestions where to start.. I'm trying so hard to become a Fullstack .Net developer.. I'm currently learning MVC using C# | |
Hi DW. If you check [this](https://iwpe.000webhostapp.com/iwpe/) you will notice that at the bottom right hand side there's an added image which is also a link for the hosting site, note that I own the site you will see and I'm not the one who added that image but it was … | |
i need some helps about **app Downloads**. How to increase my app downloads please help me. | |
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/botomul/public_html/whatsnew.php on line 130 [CODE]<?php error_reporting (E_ALL ^ E_NOTICE); ?> <?php $item=$_GET['id']; include ("header.php"); $mark = mysql_query("select * from product order by product_id DESC"); $counter=0; ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Welcome … | |
in sql server there is a group problem statement: DENSE_RANK() OVER (ORDER BY TABLUONGNV3.HOVATEN) AS STT How to write in sql access issues in groups? I'm not writing well: (Select Count (*) FROM [TABLUONGNV3] as Temp WHERE [Temp].[MANHANVIEN] < [TABLUONGNV3].[MANHANVIEN]) + 1 AS STT SELECT (Select Count (*) FROM [TABLUONGNV3] … | |
I need an answer for this question ( write 2 program that takes grade as input and display the range of marks use the select case and if() A. 90 to 100 B+ 80 to 89 B. 70 to 79 C 60 to 69 D 50 to 50 F. F | |
I created a calculator only using the scripting commands in the video game Counter-Strike, bind (for input) echo (for output) and alias (for the logic). Bind is to connect keys to a command or string of specified commands, echo is to output text to the console, and alias is a … | |
In desktop application used in technologies like C#, .Net and MySQL I import data from large file (which is about 37 MB) to datagridview. The table from Excel file is in below:  After loading data from Excel to datagridview I'm inserting that data to MySQL database. Later when I … | |
In MySQL Database i have a worker who has 1 year of leave days (about 360 days): +--------+---------+---------+-------------+---------+-----------+ |ID_LEAVE|ID_WORKER| BEGIN_DATE | END_DATE | +--------+---------+---------+---------+------------+------------+ | 4 | 26 |2019-03-19 07:00:00 |2020-03-19 15:00:00 | +--------+---------+---------+----------------------+------------+ When i I'm going to run below Mysql Command which calculates leave time without weekends and … | |
Show error when I login to the SQL server management. First, I change the server name. Second restart the server/1st stop services the start services. Then I check the server name SELECT @@servername AS 'ServerName' using this line the show new change server name. Then I closed the window of … | |
Design a function named max that accepts two integer values as arguments and returns the value that is the greater of the two. For example, if 7 and 12 are passed as arguments to the function, the function should return 12. Use the function in a program that prompts the … | |
i have a problem in displaying the values of a cookie dynamically code goes as... <?php $x=array(); include("connect.php");//database connection file $temp=$_GET['id']; setcookie(count($x)+1,$temp); echo $_COOKIE['$x[1]']; ?> // how do i display the value of cookie every time... it is over written.... i have tried it with using array.. in short i … | |
I aleady created a program counter number(v1) once your click the button it will show in label at Form 1 by using visual basic 2015. ( program counter number (v2): So I did some experiment like I have a button in form1 while in form I add some label where … Programming vb.net visual-basic | |
i have define code File selectedFile = new File(selectedFilePath); when run and test is it file or not if (!selectedFile.isFile()){ runOnUiThread(new Runnable() { @Override public void run() { tvFileName.setText("Source File Doesn't Exist: " + selectedFilePath); } }); return 0; it give message source file does't exist; why give this message, … | |
I have a C# project that creates a COM object for use with a POS terminal. Before I give it to the customer, I want to make sure that it will work as a COM dll. The RegAsm says it works. using System; using System.Runtime.InteropServices; namespace POS { [Guid( "0135bc5c-b248-444c-94b9-b0b4577f5a1a" … | |
TITLE: Connect to Server ------------------------------ Cannot connect to (LocalDb)\MSSQLLocalDB. ------------------------------ ADDITIONAL INFORMATION: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote … | |
Hello friends I would love to have your help with a blocking for hours. In summary, I have to read an XML file and retrieve information with the VB.Net language. I would like to recover the "name", the "checkvalue" and the "compositekey" That's the structure of my xml file: <supercollection … | |
I have been trying to get Lat Lng from this code using the same call to Google Geocoding API, but I have not found a way. Any suggestion would be greatly appreciated! /*! * geotext v1.0 * * https://github.com/Frizzled/geotext * * Copyright (c) 2014 Vladimir Loscutoff * Released under the … Programming api javascript seo | |
hello dear experts here at Daniweb, first of all i am pretty new to this site - to daniweb. I am new to this site. My interests are Programming in PHP, Python and running websites - with WordPress. Well - i am running webadmin - a Apache and MySQL-Server-frontend- for … | |
I have an sql database names SubJobs with a column named Date. The data type is Time(7). I have a datagridview named DataGridView1. I want it to display a time like 04:30 PM. I’ve tried the following command to format the column but it gives me an error saying that … |
The End.