199,114 Archived Topics
Remove Filter ![]() | |
Code Exercise – BIQ-001 Mr.X owns a small business in a region with poor law-and-order. Recently his warehouse has been plagued by thieves. Gangs of thieves raid over his warehouse from time to time, stealing his raw material, affecting his business. He has studied the occurrances and noticed it that … | |
<?php $username = "system"; $password = "Mwasif2001"; $connectionString = "localhost/ORCL"; $conn = oci_connect($username, $password, $connectionString); if (!$conn) { $e = oci_error(); trigger_error(htmlentities($e['message'], ENT_QUOTES), E_USER_ERROR); } // username and password sent from form $tbl_name = 'USERS'; if(isset($_POST['username']) && isset($_POST['pass'])) { $username=$_POST['username']; $password=$_POST['pass']; } else { echo ('i am here'); } // … | |
Hey guys, I am having trouble with keypress event for a button that I have. This button is programmed to do logoff operation. Now what i want is the solution or sample program in which if user is scanning the barcode of logoff then logoff event should occur.Please suggest solution … | |
Hello, This is laravel. I wonder why after pressing, Upload Image button nothing happen. I doubt that it even pass the controller. Any clue? setting.blade.php <div id="myModal" class="modal fade"> <div class="modal-dialog"> <div class="modal-content"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button> <h4 class="modal-title">Please input a new background</h4> </div> <form method="post" enctype="multipart/form-data" … ![]() | |
Hello everyone, I'm currently developing a webpage that when user input the data needed in Advance Filtering and click on the button'Search Result',the table will show the data needed,but the problem is i get the error of Uncaught TypeError: Cannot read property 'fnDraw' of undefined when the user choose the … | |
Hi, I was wondering if anybody could help me with this. I have two .csv file that I need to put it in an excel file in two different tabs using Shell Script. Thanks in advance. | |
I have a microcontroller-based widget connected to my home network that monitors some sensors and controls the garage door. I'd like for it to work one way if I'm home and a different way if I'm not home. It could determine if I'm home by looking for my cell phone … | |
In a XAML file you can add a control like a Button and start to edit its attributes like `<Button Width="200" ..`. When you type in Width you get something like `Width="|"` and is rather nice. After typing 200, you end up with `Width="200|"` Does anyone knows a way to … | |
Hi all i have listed few C tutorial resources for beginners to learn c programming online [C Tutorial](http://cprogrammingexpert.com/C-Tutorial/) [C - Resources](http://fresh2refresh.com/c-programming) | |
How to Send Email automatically without opening gmail compose box using Javascript Programming email java javascript ![]() | |
Hello, I am trying to create an upload picture pop up but how? So when someone click the following button: <button type="button">Add background</button><br><br> An upload picture pop up appearing. How to create such a thing? | |
hi So i made a simple game app, and am implementing music now i have easy and hard mode, and game over, as well as home screen homesecreen now plays music1, loops fine and all...then once player selects to play i want to stop the current music1, and start music … ![]() | |
Here is my source XML: <Chat> <Chat StartTime="2017-05-28T02:05:52"> <message userId="02A0592964A8F75F" timeShift="4"> <msgText> Hi </msgText> </message> <message userId="123458566666666B" timeShift="30"> <msgText> Hello.. How can I Help You. ? </msgText> </message </Chat> I need an XSL to trnsform the source as: <Chats> <message time="2017-05-28T02:05:56" userId="02A0592964A8F75F">Hi</message> <message time="2017-05-28T02:06:32" userId="02A0592964A8F75F">Hello.. How can I Help You. … | |
So I've been trying to make a circle class that can calculate the Area, Diameter, and Circumference of a circle. I wish to be able to do this so I can easily just input the raidus in my main and print the values out. I tried making a friend function, … | |
Php Pals, A thought just occured to me and before I delve too much into it, I need your advice. You're aware that, I have been trying to learn web scraping with cURL & Php to: 1. FIRST PROJECT: Build my own web proxy from scratch like anonymouse.org. (Thread: cUrl … | |
I currently have some code that gets the overall top 25 frame sales, which is as follows: `Dim FrameCountSelectStr As String = "SELECT TOP 25 Count(Glasses.OrderID) AS GlassesCount, Glasses.Manufacturer, Glasses.FrameName FROM(Glasses) WHERE FrameName <> '' AND OrderDate >= #" & SearchDateStart & "# AND OrderDate < #" & SearchDateEnd & … | |
Dear friends: I downloaded the C++ Mathematical Expression Library from the web, and i uploaded it in the attachment. It consists of only one head file. But the compiling process is very slow under opensuse 42.3 with gcc. Could you please give me some advices for that. Regards. | |
I've downloaded the file "qt-unified-windows-x86-3.0.0-online.exe" and installed Qt and I've also downloaded and unpacked the file "PyQt5_gpl-5.9.zip". I'm using Python 3.6 but I can't figure out where to drop the extracted PyQt5 files. I can't find a Python directory anywhere on my C: drive except for under my home directory. … | |
I'm writing a code that will save the username of a user when a button (in this case button1) gets pressed. I save it to a file called info.txt, and i use fstream in order to save it. Currently I'm running into the issue that, while i can open up … | |
am Really new in vb and this has been giving heck of worries i have a combo box with about 13 collections. i want when a user selects an option, it should open in a new form. the problem now is when a user clicks on an option, all the … Programming | |
Hello, Im building a website on Wix builder. I have a database for my customers on an xlsx file, what i need is that when a customer enters his phone number and then click "Okay", if his phone number data found in the database then he will be directed to … | |
Hi! I am an engineering student.I was exploring the conio.h file in c++ when i encountered inp(),outp() functions. I understood the basics about them but i am still not able to create a meaningful program with it.Somebody please help me ! | |
i have a logical error in my code where by i will read data into my four textboxes from sql database and the textboxes will be filled but when i click on a textbox the data will appear in the metrogrid(from metro framework) but when clicking another textbox the data … | |
![]() | hey guys I'm doing lms project. I created login page and php file. I can't find where I stucked. Here explanation of login form : * Check whether given username and password correct or not.. * If correct then check user type... * redirect to different pages according to user's … ![]() |
Hello to all, I am trying to display the images on my page through php from mysql database Problem is - Images are repeating , It always display only first image. <?php include("header.php"); include("connection.php"); $sql = "select Image from flood_light"; $result = $conn -> query($sql); if ($result->num_rows > 0) { … | |
Hello to all, I am trying to create an admin panel so that admin can insert data into database. This is my code <?php include("connection.php"); if (isset($_POST['submit'])) { $name = $_POST["name"]; $brand = $_POST['brand']; $quantity = $_POST['quantity']; $detail = $_POST['detail']; $unit = $_POST['unit']; $color = $_POST['color']; $material = $_POST['material']; $image … ![]() | |
so i tried adding a defintion for the reset command but it doesn't seemed like it works other method was moving the defintion around the localfunction which didn't work and also affects other elements # Guessing Game from tkinter import * from tkinter import ttk import random number = random.randrange … | |
Hello! I am developing a POS System. I have need to print Sales receipt. I have no physical printer to test my printing but i have print on xps document. I am facing a problem with indentation of my data on Sales receipt. Following is the code which i wrote … | |
At the moment i ahve a task where i have to make a guessing game in GUI python. So it will generate a random number and also when a certain number of tries have been reached it will stop. The problems i am having as of now is that: 1) … | |
Hello all, of late I have been using this php snippet to drive the email address of a link info@<?php echo preg_replace('/^www./','',$_SERVER["HTTP_HOST"]); ?> But now Im finding that if its used in a https (secure environment) I get an security messgae saying: The information you have entered on this page … Programming php | |
howdy folks please am working on an Annual Crop Cashflow Calculator like an Excel i have 3 text boxes. textbox22 textbox31 and textbox71 if i multiply textbox22 by textbox31 it shows in textbox71 but the problem is i need an event jus like excel after calculating and user goes back … Programming | |
Hi I am learning python and there is these two code snippets but I keep getting an error when I try to run the program. # survey.py class AnonymousSurvey(): # Collect anonymous answers to a survey question. def __init__(self, question): # Store a question, and prepare to responses. self.question = … | |
I have site using php frame work codigniter where I am using the mattdiamond/Recorderjs to record an audio file in blob content type then i am uploading it to the server but it is taking top much time to upload I want to minimize my uploading time. Max size of … | |
Greetings, I have an error when start debugging an application "Retrieving the COM class factory for component with CLSID {00853A19-BD51-419B-9269-2DABE57EB61F} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))." I'm using a DLL "Interop.zkemkeeper.dll" in my application it was working fine on windows 7 … | |
CREATE TABLE BUILDING(bname VarChar2(30) PRIMARY KEY, address VarChar2(30), phone number Number(15)); i write this code in sql command of oracle application express. but there is a error ORA-00907: missing right parenthesis anyone help me please i am new in oracle world | |
I've recently been learning on how to write Python. I'm still a beginner. I've read multiple times that creating a text based adventure game in Python is a good exercise to learn the in's and out's. I've finished the basic structure of the script. I've already run the script and … Programming python | |
Hello, I am creating a winform app in C# to store formatted text from a rich text box to MySQL database, which can be retrieved back to the rich text box. The database field is a VARCHAR and my code is something similar to below. But I'm getting "file not … | |
Hello everyone! Basically a user is able to select one or multiple rows using checkboxes in a GridView and then a delete button which deletes selected rows. The problem is, the code behind for deleting works until I started using UpdatePanel. It just broke and I have no idea what … | |
Hello Dear, i have problem to multiple two textboxs ,one is Decimal and second i didnt asign ..... Please check code.. private void textBox18_Leave(object sender, EventArgs e) { decimal first; decimal second; decimal re; var b1 = decimal.TryParse(textBox18.Text, out first); var b2 = decimal.TryParse(textBox13.Text, out second); if (b1 && b2) … | |
Hi, I have key.p12 file and password, and I have wsdl file also. But I dont know how to start with SOAP, am new to SOAP I am trying to connect When I try to connect using SoapClient am getting the error [faultstring] => Could not connect to host, [faultcode] … | |
how to split the ajax output response in different dropdown??? ![]() | |
Hi Guys, Kindy assist me to make this code work. I want the datagridview to populate data from SQL server 2012 database based on the employment number selected in the combobox. below is the code I have tried to generate. Private Sub btnRecords_Click(sender As Object, e As EventArgs) Handles btnRecords.Click … Programming vb.net | |
Hi I have a mysql tables shown below:  I need to build a query to select all groupnames a user belongs to in a single field seperated by ',' e.g. I wanted to following results id fname lname groups 1 connor Faulkner group_one,group_two 2 Maisie Yates group_four,group_three Just … | |
In my Food Tab, I wanted to achieve this [Click Here](https://sfault-image.b0.upaiyun.com/358/064/3580648794-597611aa1f701) But I only able to get this [Click Here](https://sfault-image.b0.upaiyun.com/779/111/779111227-5976120f6955a) How can I increase the width of the JTextField which are in Food Tab ? Below is my code public class FoodOrdering { static private JFrame frame; static private JTextField … | |
I've been learning and experimenting with NodeJS, and the project I'm using is to port a homemade content management system (CMS) written using the Linux/Apache/MySQL/PHP combination. One of the areas I am trying to update is protecting against spam on a contact form. The NodeJS version is based upon Linux/Mongo/Nginx/Javascript … | |
Hi All, i need to convert this Python code to C# .Tried Some online converters nothing Worked out so far.Please Help. import openpyxl from PIL import Image, ImageTk import Tkinter as tk import subprocess import time import os import RPi.GPIO as IO import sys import glob def Image_dis(img, delay): root … | |
I use the this code. showing "Update" msg but not update and if i add an item then show "Update" not "save" Please help me..... Private Sub Button14_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button14.Click Dim sql = "select Count(*) from pur_invdet where purinvid= txtpurinvid.text" Dim cmd = … | |
Since OpenGL uses the strange system of 1s and 0s to represent location on the screen, I'm trying to figure out how to switch it to standard x, y coordinates like those that are used on a graph. And so far, my searches on the rest of the internet have … | |
The End.