199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for rproffitt

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"?

Member Avatar for happygeek
1
760
Member Avatar for Nightocoder201

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 …

Member Avatar for JamesCherrill
1
2K
Member Avatar for lllllIllIlllI

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 …

Member Avatar for Kuldeep_8
1
3K
Member Avatar for Dani

I recently had to mass insert a really large text file of strings into MySQL. Here's how I did it.

Member Avatar for PARDEEP_2
1
1K
Member Avatar for Reverend Jim

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
Member Avatar for Reverend Jim
1
984
Member Avatar for vegaseat

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.

Member Avatar for iman_1
1
5K
Member Avatar for jmvazq

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 …

Member Avatar for pty
1
409
Member Avatar for clairrayray

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 …

Member Avatar for jmvazq
1
370
Member Avatar for Owusu_1

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

Member Avatar for Bachu
1
604
Member Avatar for Stefce

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?

Member Avatar for ryantroop
1
728
Member Avatar for Tom_33

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 …

Member Avatar for Reverend Jim
1
637
Member Avatar for zzmrzz

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 …

Member Avatar for Lucaci Andrew
1
531
Member Avatar for M.Waqas Aslam

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 …

Member Avatar for Shyam_7
1
2K
Member Avatar for John_189

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 …

Member Avatar for Reverend Jim
1
440
Member Avatar for Reverend Jim

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: …

Member Avatar for Reverend Jim
1
2K
Member Avatar for Reverend Jim

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 …

Programming gui vbscript
1
1K
Member Avatar for Chad_4

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
Member Avatar for rproffitt
1
345
Member Avatar for Marcus_5

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 …

Member Avatar for Reverend Jim
1
3K
Member Avatar for patk570

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 …

Member Avatar for Kannu_2
1
455
Member Avatar for davy_yg

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, …

Member Avatar for davy_yg
1
2K
Member Avatar for Saif_5

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 …

Member Avatar for Ashraful_2
1
2K
Member Avatar for Harish_8

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++) { …

Member Avatar for JamesCherrill
1
565
Member Avatar for aman rathi

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.

Member Avatar for stultuske
1
1K
Member Avatar for Naruse

Hi all.. How i can make a report without using database. Data can directly from the active form. Thank you in advance

Member Avatar for Ami_Tech
1
2K
Member Avatar for Dietrich_1

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, …

Member Avatar for JamesCherrill
1
361
Member Avatar for phoenix_dwarf

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 …

Member Avatar for Ibrahim_16
1
4K
Member Avatar for diafol

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 …

Member Avatar for diafol
1
409
Member Avatar for gentlemedia

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 …

Member Avatar for gentlemedia
1
298
Member Avatar for Anil2447

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. ....

Member Avatar for arina_1
1
15K
Member Avatar for Link_1

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 …

Member Avatar for RobinR
1
393
Member Avatar for Hadeel_2

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: ![bug.png](/attachments/large/4/205e6cd409e97bf2495c59adfc2e5477.png "align-center") The title is under the …

Member Avatar for cereal
1
285
Member Avatar for calvinyow

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]; …

Member Avatar for Gugun_1
1
5K
Member Avatar for KushMishra

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 …

Member Avatar for rproffitt
1
831
Member Avatar for KushMishra

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 …

Member Avatar for Elpat14
1
2K
Member Avatar for JerieLsky

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, …

Member Avatar for Inderjeet_2
1
8K
Member Avatar for Lebohang_1

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); …

Member Avatar for Bhavik_3
1
205
Member Avatar for Alex Edwards

This is a remake of the Simple Equation Solver snippet that is written in Java. This is an equivalent version written in C++.

Member Avatar for hassan_24
1
8K
Member Avatar for JohnMcPherson

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 …

Member Avatar for JohnMcPherson
1
325
Member Avatar for dongtrien

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 ?

Member Avatar for dongtrien
1
205
Member Avatar for MageHit

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 …

Member Avatar for john_111
1
315
Member Avatar for jaai

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 …

Member Avatar for santhanakrishnan
1
795
Member Avatar for TheHau

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

Member Avatar for Damhart
1
864
Member Avatar for sirlink99

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 …

Programming gui macos
1
278
Member Avatar for saravananosiz

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 …

Member Avatar for cereal
1
2K
Member Avatar for Alexandre_2

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.

Member Avatar for Reverend Jim
1
550
Member Avatar for xuexue

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 …

Member Avatar for Nate_3
1
2K
Member Avatar for Jon_7

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 …

Member Avatar for Ella_3
1
859
Member Avatar for vegaseat

This code creates a sound file in Sun's simple AU audio format of a sine wave of given frequency, duration and volume.

Member Avatar for samson.dadson.3_1
1
2K
Member Avatar for phphp

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 ![Untitled1.png](/attachments/large/4/4a843885355a413d03ba1992611095ed.png "align-center")

Member Avatar for diafol
1
156
Member Avatar for HaxNain

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..

Programming asp asp.net
Member Avatar for rproffitt
1
230

The End.