Member Avatar
Hello i have list of football teams on every line is a new team but there are countries in brackets i want to remove all of them, here is a example of the list: Águila (El Salvador) Águilas (Costa Rica) Águilas Doradas (Colombia) Árabe Unido (Panama) Åtvidaberg (Sweden) Ñublense (Chile) …
by Stefan_1 -3 in Computer Science ()
Member Avatar
I have a `List<double> MyList` something looking like this: 4.75/1.01/5.66/NaN/42.42/3.33 I’d like to get the minimum value of 1.01 out of it, but I get d = NaN when doing `double d = MyList.Min();` Tried, after some long internet strolls, something with LINQ to no avail. Some LINQ afictionados around …
by ddanbe 2,429 in Software Development ()
Member Avatar
Please , help me. I could not find crystal report view control in my toolbox. I am using visual basic 2010. I don't know if I need to add something. Thanks
by opman234 in Software Development ()
Member Avatar
I recently noticed that while it is possible to access the [Recently Updated Articles](https://www.daniweb.com/articles/latest) page, there doesn't seem to be a specific link for it anywhere.
by tinstaafl 776 in DaniWeb Community Feedback ()
Member Avatar
I have an xml file that looks like this <?xml version="1.0" encoding="UTF-8" ?> <dates> <date> <Item Name="History" Type="List"> <Item Name="received" Type="Date">2015/12/18 00:00</Item> <Item Name="accepted" Type="Date">2016/03/31 00:00</Item> <Item Name="aheadofprint" Type="Date">2016/04/14 00:00</Item> <Item Name="entrez" Type="Date">2016/04/15 06:00</Item> <Item Name="pubmed" Type="Date">2016/04/15 06:00</Item> <Item Name="medline" Type="Date">2016/04/15 06:00</Item> </Item> </date> <date> <Item Name="History" Type="List"> <Item Name="epublish" …
by Amaina in Web Development ()
Member Avatar
The recently active list for admins and mods (team) appears broken, at least regarding myself. Currently it says I was last active 4 days ago, yet I've been on and active every day for the last 4 days (including posting and admin duties - the infractions list even shows my …
by happygeek 1,669 in DaniWeb Community Feedback ()
Member Avatar
Okay, I'm trying to make a python game (not with pygame), I want it to use the arrow keys. But the thing is, I don't know how to get it to respond to the arrow keys. So here's what I want to do. If the user presses the up arrow …
by AutoPython 5 in Software Development ()
Member Avatar
I am trying to follow the steps in an example on fpdfmakes webiste. However I am using sql server instead of mysql. Could someone give me some pointers so I can get this to work correctly? thanks <?php require('fpdf.php'); //Connect to your database $serverName = "myserver"; $connectionOptions = array("Database"=>"mydb"); $conn …
by Joe_10 in Web Development ()
php
Member Avatar
I am using visual basic, javascript, and html. I am trying to use google hierarchy chart api. I works fine on localhost but when I try to move the same code to the server than I get the following error: Error: Object doesn't support this action <%@ Page Language="VB" AutoEventWireup="false" …
by Link_1 in Web Development ()
Member Avatar
Hello, I'm trying to use md5 in python3 using the attached code from hashlib import md5 password = 'pa$$w0rd' h = hashlib.md5() print(h.hexdigest()) put it gives me this error (cannot import name 'md5') and when i try to import hashlib only it gives this error (module 'hashlib' has no attribute …
by <HHH> in Web Development ()
Member Avatar
I've always been bad with regular expressions syntax. I am converting text into Bezier curves, polygons, etc. Part of that is identifying points in the form `(x,y)` where x and y are coordinates in a graph. I am extracting x and y as doubles and creating Point objects with those …
by AssertNull 356 in Software Development ()
Member Avatar
Good afternoon, Currently, I’m trying to consolidate all my financial information into one place so that I can see (the solution I’m currently using is Excel – see attached): 1. Valuation at a particular date 2 .Breakdown by investment product 3. Various other analytics (Allocation by class etc.) I’ve tried …
by ShortYute in Databases ()
Member Avatar
I am a member of another forum and forgot my password, so I clicked the "Forgot password" link and was told "fill this form out and we'll send you your lost password" or words to that effect. It occurred to me that I had never seen language like this and …
by AssertNull 356 in Web Development ()
Member Avatar
In Andrioid OS mobile, if you drag from top there will be many unread notifications, it is said that they are called push notifications. But in my mobile i am getting many such spam notifications every hour like movie updates etc, which are not required for me. How to disable …
by panduranga_1 in Hardware ()
Member Avatar
Hi, I have a project which runs on 'dual monitor' PC's. I only want to use one monitor at a time, but I want the user to pick which monitor they want to use (Primary or Secondary). I have set form1 to have a manual start position, and the user …
by Tim_8 in Software Development ()
Member Avatar
Hi all, I have a web application written in ASP.NET. All is working ok, except that I would like to compress the data being returned. The data is basically a List of custom models. Currently I do something like: `HttpResponseMessage json = Request.CreateResponse(HttpStatusCode.OK, my_models_list);` and return this from the method. …
by RudyM 46 in Web Development ()
Member Avatar
Hi, All Presently I am working on a MLM (Multi Level Marketing) Software using PHP & MySQL. But I am not being able to display the Down line Tree of any particular member. I am using Pre order Tree. But my product should support Spill Over Binary Tree. Please Help …
by anirban1087 in Web Development ()
php
Member Avatar
Hello, i want to make a categories menu which each will have its own sub-categories and that category will have own sub-categories im trying to make with arrays but i'm not really good at it.. im trying right now with bunch if statements but is there any other method of …
by Stefan_1 -3 in Web Development ()
Member Avatar
I am using ms sql and php. What I am trying to do is display all the records that have the same incident number. I can get the first one to load, but im stuck how to get the rest of them. <?php $serverName = "myserver"; $connectionOptions = array("Database"=>"mydb"); $conn …
by Joe_10 in Programming ()
Member Avatar
[CODE]<?php header('Content-type: image/JPG'); $username = "root"; $password = ""; $host = "localhost"; $database = "image"; @mysql_connect($host, $username, $password) or die("Can not connect to database: ".mysql_error()); @mysql_select_db($database) or die("Can not select the database: ".mysql_error()); $query = mysql_query("SELECT * FROM img"); while($row = mysql_fetch_array($query)){ echo $row['image']; } ?> [/CODE] that code display …
by wad -1 in Web Development ()
php
Member Avatar
Q.Write a program using 2D array. A company manufactures three products P1, P2 and P3. Company has hired five salesman. Each salesman sell all three products. Accept from user number of each product sold by each salesman. Find the product whose sale was largest.Also find the salesman whose sales were …
by sumod in Software Development ()
Member Avatar
How to read properties file in Python? I found ConfigParser() but it has a 'section' limitation, so looking for other alternatives. Thanks, Harsh
by hpoddar in Software Development ()
Member Avatar
I have been trying to get my PHP script return two different pages namely: get2015 and get2016. The aim is to have these two pages have pagination links below them. To achieve this i have written two scripts in two different files that look like this: file 1 = functions.php …
by Amaina in Web Development ()
Member Avatar
Hi im trying to Scrape a **table** of a website and list it in a **datagridview** wich has a column **Name** and a **Url Link** Please Help!!!! Heres the source.. <div class="text"><table class="links"> <thead> <tr class="thblue"><td style="width: 105px"></td><td style="width: 85px">Time</td><td style="width: 540px">Teams</td><td>Broadcast</td></tr> </thead> <tbody><img src='/img/nowplay.gif'><tr> <td colspan='5' class='accordion greybg'><span class='icon'><img …
by TheGuy831 in Software Development ()
Member Avatar
Hi guys after fixing my previous bug this one has resulted. What I am trying to do: 1. Make getchar() read only one character per input 2. Make the while loop not accept numbers 3. When the user enters duplicate characters the program should only accept the first character. code: …
by Kevin_1 in Software Development ()
c
Member Avatar
Why wont the if look for both Peter and John? #include <iostream> #include <string> using namespace std; int main() { string Name, Mood; // obvious string cout << "Whats your name?" << endl; cin >> Name; if (Name == "Peter"|| "John") { cout << "Hello, master! How are we feeling …
by Peter_36 in Software Development ()
c++
Member Avatar
Hi, I am trying to create something which you can type into entry boxes, then save that information to a .txt file. I have got this to work however I wish to name the file as what is stored in one of the entry boxes and cannot figure out how …
by Blair_2 in Programming ()
Member Avatar
1. Log In 2. Click Inbox 3. I see the PM page 4. Click "Log Out" from "AssertNull" dropdown menu to the left of "Finder" dropdown menu. 5. Directed to Dazah permissions page: "DaniWeb uses Dazah to power its social features and requests the ability to: Manage your Dazah user …
by AssertNull 356 in DaniWeb Community Feedback ()
Member Avatar
Hi guys I am looking to go through C then transition to C++ later this year. I am having a minor problem with switch statement and I am not in a position to ask anyone as there are no tech savvy that I know. So I thought it was better …
by Kevin_1 in Software Development ()
c
Member Avatar
I need an idea for cloud computing graduation project. I was thinking about security and encryption , but most of the ideas are more suitable for a research rather than an application, so I am thinking of making a cloud-based embedded system. What kind of embedded systems can benefit from …
by A.M.H in Computer Science ()