199,114 Archived Topics
Remove Filter ![]() | |
When this news came across I only had to think of MSFT's prior acquisitions to think this may not end well. As the song goes " Should I Stay or Should I Go"? | |
Hello everyone, I am having trouble with my program its solving expressions and when I compile it I get a "Illegal start of expresson" line in my output. I am using Jgrasp as my softwear. May I ask to reveiw my code and see on what I did wrong? I … | |
Hi i have been spending the last few days deciding on an IDE that would let me program in Java, C++ and python and notepad++ looked pretty good. The only issue is i cant work out how to make the program run once i have made it. I looked in … | |
I recently had to mass insert a really large text file of strings into MySQL. Here's how I did it. | |
APLX is a very complete implementation of the APL programming language from MicroAPL. The company stopped producing it in 2016 and it has been taken over by Dyalog. While Dyalog charges for the new versions, the final version from MicroAPL is available for free at [this page](http://www.dyalog.com/aplx.htm). It comes complete … Programming pdf | |
The snippet shows how to create a menu on a windows form and test it. Original code via BCX, modified to compile with Dev C++ as a Windows Application. This approach does speed up writing of GUI programs. | |
I am currently experiencing something strange with one of my routes' responses and haven't been able to find any information elsewhere. So, let's say I make a call to a route in my controller with JQuery, like this. It's a POST action and I expect JSON data. // Send the … | |
Hi I'm just beginning to learn programming, but I have some knowledge about design and wanted to ask about design in particular. Is it important to have a certain color theme? I mean which color and shapes would be the best for a game design? In psychologty, we call it … | |
Hi, I've designed a voting system in PHP that when a user clucks on the vote button it echo a message and a link to view the result. I want to move this message and the link to a popup window | |
Hello everyone how are you doing? I wonder if there is a way i can send a notification or URL from my website to user mobile from PC browser for free, just to confirm the user is real? | |
I failed this coding challenge because my solution "does not scale for new divisors and iterations" I think it is actually a design (pattern) question, and would very much appreciate if anyone can describe a good high level solution (eg class relationships). Problem: Write a program that will iterate though … | |
Hi, I have been programming C# for some time, and i recently learned about constructors and objects, but didn't fully understand. Can anyone please help me understand this, and please spell it out. I have tried googling it, but couldn't really find anything, that made me understand it. - What … | |
hello ! i want to develop the keycounter , i mean i want to get the total no. of key pressed by the user in the specific time , i have a code of keylogger , i can use it to get the text in that time period and after … | |
I do non know how to call my getdaycode function correctly into my main function. Also, when that isn't the problem, the day showing up below header and it messes with the ordering of the days messing up the calendar. Those are my two big problems at this point, I … | |
Over the years I've seen a lot of discussion (and several implementations) of the Quicksort algorithm. Most of what I have seen, unfortunately, lacks sufficient commenting as well as meaningful variable names. Hopefully the following vbScript code will more clearly show how Quicksort actually works. A couple of incidental notes: … Programming algorithm programming-construct shell-scripting vbscript | |
An often underused control from vb.Net is the FolderWatch control. But sometimes you need to throw something together that doesn't need a fancy GUI. Or perhaps the task seems too trivial to go to the hassle of coding it up in vb.Net (or C#). Because the FolderWatcher is built on … | |
So the method remove removes only the first occurrence of an element. I am supposed to Add the method removeAll() that will remove all occurrences of a given element. I have tried many different things but nothing has worked. using System; namespace UnorderedArrayListNamespace { public class UnorderedArrayList { protected int[] … Programming | |
Hello dear forum members, I am brand new in C programming and have to program an "X" as homework[ ](https://domywriting.com/) (see attached picture). The edge length of the "X's" should be entered by the user, ie the "X" should be arbitrarily large or small. Can someone help me with the … | |
Question, I have a `$each(array, function());` and within that statement, i have a` for` loop , Is it safe to be doing this? and could this be the reason that i am getting the same values multiple times returned even though the object array length is 8, i am getting … | |
Hello, When I try to import this sql into phpmyadmin I am getting this error message: Query SQL: CREATE TABLE `customers` ( `customerNumber` int(11) NOT NULL, `customerName` varchar(50) NOT NULL, `contactLastName` varchar(50) NOT NULL, `contactFirstName` varchar(50) NOT NULL, `phone` varchar(50) NOT NULL, `addressLine1` varchar(50) NOT NULL, `addressLine2` varchar(50) DEFAULT NULL, … | |
We have built a software web-portal (POS system) in PHP language. Which is working fine when online. But when the internet goes down in the stores, the software stops completely and the managers are not able to make bills till the time internet is live again! Hence we want to … | |
I have developed a player v/s player game for tic tac toe..but can't understand the logic for AI ..can someone please include the AI segment in my code because i so much need it for my school project #include<iostream.h> #include<conio.h> #include<string.h> char grid [3][3]; void display_grid() { for(int i=0;i<3;i++) { … | |
Is there any method in java to generate random number (integer, byte or float). please tell me if any i need it in my program. if possible please give full example. thanks. | |
Hi all.. How i can make a report without using database. Data can directly from the active form. Thank you in advance | |
HI, so my code compiles but does not give the result I intended. Any help is greatly appreciated! public class SubstringCounter { public static int substringCounter(String master, String substring) { int count = 0 ; for(int pos = 0 ; pos < master.length() ; pos++) { int index = master.indexOf(substring, … | |
I have a asp.net page with the following on the page: [CODE]<asp:FileUpLoad id="FileUpLoad1" runat="server" /><br />[/CODE] but i need to get the pathname in that textbox to use with a stored procedure. Now the only thing i can get is the filename (not the path). Any ideas? This is my … | |
![]() | Hi all. Been fiddling with an idea about combining setters and getters in PHP. I really don't like magic methods (`__get` and `__set`) as they're not very flexible (IMO), but equally bore myself to distraction with set/get methods. Anyhow, having used jQuery for some time, I really liked the non-verbose … ![]() |
I'm using this snippet to calculate the sum of two table cells. var sum = 0; $('.amount').each(function(){ sum += parseFloat($(this).text()); }); $('.sum').text(sum); But when the sum is for example 40.00 it displays as 40 and as picky as I am, i want it to display as 40.00. So... what to … | |
Hi...! In Design of Algorithm. I think it is used to calculate the time complexity.... What is meant by STEP-COUNT METHOD? What is the procedure in that to calculate? I want brief explination. .... | |
I makeing a website using VB .net inside visual studio. I have a database where I am storeing names. Than I am displaying these names inside a table. here is a ex: ---------------- | dave | bob | | john | bill | ---------------- I was to add a button … | |
Using desktop push notification when the title and body written using right-to-left languages like Arabic language, the browser detect the language and change the direction even if dir and lang param not provided in the object the new notification is created for example:  The title is under the … | |
Hi. can someone help me with my problem regarding search function, i have hard time knowing where to insert my if(isset($_POST['search'])).................and so on codes within my phpfile. here is my code, (pagination working) <?php $sql = "SELECT COUNT(user_id) FROM view_onse_officers"; $query = mysqli_query($db_conx, $sql); $row = mysqli_fetch_row($query); $rows = $row[0]; … | |
Hi All, Could anyone please suggest on how to apply multiple styles to multiple elements at runtime and that too the styles should be applied at the same time on all elements. For instance, I want to animate two buttons but their styles are different. Now if I apply the … | |
Hello All, I need to develope an application to receive POP3 emails automatically at regular intervals. I am totally a newbie to this one and need your kind help. The application should fetch emails using some service that would run in the background. So basically I need 2 things (I … | |
Hi, not very familiar with mysql. I have here a mysql statement: table customer: [CODE]CREATE TABLE Customer (SID integer, Last_Name varchar(30), First_Name varchar(30), PRIMARY KEY (SID));[/CODE] table orders: [CODE]CREATE TABLE ORDERS (Order_ID integer, Order_Date date, Customer_SID integer, Amount double, Primary Key (Order_ID), Foreign Key (Customer_SID) references CUSTOMER(SID));[/CODE] My question is, … | |
Hi, I'm trying to convert the timebetween into a decimal, so i can calculate salary. `var TLogIn: TextFile; sLine, sTIn, sTOut,sUser,sTimeOut,sTimeIn,YourHMStr: string; iPosHash, iPosComma, iLength, iTimeIn,iTOut, iWage,iTimeOut:integer; TimeOut,dtDiff,TimeIn:TTime; rTime: real; d1, d2 : TDatetime; Begin //d2 := StrToTime(time()); TimeOut:= Time(); AssignFile(TLogIn,'LogInTime.txt'); reset(TLogIn); while NOT eof(TLogIn) do begin Readln(TLogIn,sLine); iPosHash:= Pos('#',sLine); … | |
This is a remake of the Simple Equation Solver snippet that is written in Java. This is an equivalent version written in C++. | |
Hello, I work at the U.S. Department of Labor. I am a maintenance prorgrammer of C code, and the configuration management of this code in the past has been very spotty. When I took over this project, a CM tool was in place I have been doing corret checkins and … | |
In C# VS2005 I embedded a picture (file in the form *.png) normal but when the rebuild was reported The "GenerateResource" task failed unexpectedly. System.Runtime.InteropServices.ExternalException: A generic error occurred in GDI +. Have you know how to fix this ? | |
Online business is not a simple environment. Because of the increasing number of online store, store owners need to compete with each other to develop their business. Indeed, it is not easy to manage an online store effectively if store owners don’t have skills and knowledge. Understanding the fact that … | |
I'm new to daniweb community.it seems to be veyr useful.hope now someone wil definetely help me solve my problem in vb6. I've a combo box that displays the name of the customers and also a text box that must display the number of the customer.. but in my project i'm … | |
I want to start a website like hippofile, cnet download, filehorse or freewarefiles in Wordpress Anyone who knows a Wordpress theme with which that I can build a website like hippofile, cnet download, filehorse or freewarefiles in Wordpress Many thanks | |
Hello, I am working on a simple timer toolbar app in swift for macOS and I am experiencing a visual bug. Basically, I should be able to add any number of timers to the main screen and they should stack on top of each other. Once the space is filled … | |
we can get a stock details in yahoo using the following url . but how can i get stock details using market cap value ,divideend value ,pe ratio ,pro rating instead of sending s=GOOG in the url http://finance.yahoo.com/d/quotes.csv?s=GOOG&f=snd1l1yr second thing i get chart data using the following url http://chartapi.finance.yahoo.com/instrument/1.0/GOOG/chartdata;type=quote;range=5d/csv/ but … | |
Hello, I was wondering if it was possible to create a software like visual studio (in addition simple, obviously). We could program in vb.net, c ++, etc. | |
i want to combine multiple rows into a single row using **DB2**. I have found this code, but I do not know how can i edit it>? CREATE FUNCTION MySchema/MyUDF ( PARCol2 CHAR(5) ) RETURNS VARCHAR(1024) LANGUAGE SQL NOT DETERMINISTIC READS SQL DATA CALLED ON NULL INPUT DISALLOW PARALLEL BEGIN … | |
I don't even know if I worded my question correctly, but here's what I have and here's what I'd like: I use an [attendance app](https://itunes.apple.com/us/app/attendance2/id536206472?mt=8) to track my basketball workout classes, and then I show the results on my site [here](http://www.50allstars.com/p/players.html). To achieve this, I send the csv provided by … | |
This code creates a sound file in Sun's simple AU audio format of a sine wave of given frequency, duration and volume. | |
Sir I have this fiddle [Click Here](https://jsfiddle.net/614ft20d/49/) I need When I enter Rate and Qty then it must display Amount automatically. Add and Remove buttons work fine already. Want to know only calculation method. Please help  ![]() | |
How to set value from code to an asp.net TextBox with TextMode=Time? i want to set current time to textbox of textMode=time.. |
The End.