199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Violet_82

Hi, since I've spectacularly failed to build a simple MVC application (for now at least ) https://www.daniweb.com/web-development/aspnet/threads/496278/building-first-mvc-application, I've decided to do even a simpler one, modelled on this one http://www.codeproject.com/Articles/683942/An-Absolute-Beginners-Tutorial-for-understanding-E , which is supposed to create a few books and their associated reviews I don't think it gets simpler than …

Member Avatar for Violet_82
0
329
Member Avatar for wawammm

Hi All, i'm having difficulties downloading about 4000 images from my php script from individual http locations. It works as follows, every object is an xml file, and each xml file has an unknown number of attachments (images) i loop through the xml files and then through the attachments where …

Member Avatar for cereal
0
210
Member Avatar for sasikrishnasamy

Hello All, I want to sort my list order by sno. This is my code, List<Employee>list=new ArrayList<Employee>(); Employee class has fields, one of field is sno (its String type); this field values are like this format 1.2.1 1.2.3 1.5.5 1.5.3 I want to sort this serial no. I used comparator …

Member Avatar for 2teez
0
432
Member Avatar for Manikanta Sharma

I have a requirement to generate an auto ticket/email when it's time for a scheduled task to be done and it should repeat again when it's time for performing the task. Could you please help me with the script/how this can be done I'm gathering the information to a table …

Member Avatar for Nutster
0
472
Member Avatar for Nur_4

hi i am working on school assignment which is due real soon. but i seem to have an error that ssays sytax error near '=' at line 39. here's my code. i hope someone would point out whats not right with it. using System; using System.Collections.Generic; using System.Linq; using System.Web; …

Member Avatar for pritaeas
0
410
Member Avatar for nunntb473

So I've always toyed around with C# code with the idea of gaming. Lately I've been dabbling in communication. Initially I tried sockets and TcpClient and that was hit and miss. So I decided to give pipes a go. Frankly I dont have much of a preference of one of …

0
227
Member Avatar for samantha2015

I have a class that implement all my workflow method. At some pointing time, when the request is approved by the workflow, I need to update status in database. For this I need to call the respective service class to save the status. The following method is saving the status …

Member Avatar for samantha2015
0
285
Member Avatar for TObannion

I'm working on a project for a tic tac toe game. I'm working on this with a partner (assigned) but he has kind of fallen by the wayside. Here is the assignment: Filenames: ttt.h, ttt.cpp, tttmain.cpp Your second project will be completed with a partner. For this project, you will …

Member Avatar for tinstaafl
0
2K
Member Avatar for SimonIoa

Hello i have formatted my pc with Windows 7 and installed wamp server. My local project doesnt work. I am familiar with the difference between mysql and mysqli? Do i need to install a most recent version of Mysql than the one provided by Wamp Server?

Member Avatar for diafol
0
319
Member Avatar for smart2007

I was writing a X-server display code to show movement of balls from one pixel location to next location, which can be visible at the new window opened up after execution of this code. While running the below code, I can get 5 red color filled circles (considered as balls). …

Member Avatar for Moschops
0
151
Member Avatar for Sarkurd

Hello. I have a few Qs about Hash tables. how does `std::hash` return a `std::size_t`? for example how does it convert a `std::string("Hello")` to `std::size_t`? How do these functions work? i have no idea what's `hash_combine` and `seed` do in `hashval.hpp` This is from STL 2nd edition. hashval.hpp #include <functional> …

0
138
Member Avatar for Saran_1

I am currently troubleshooting a utility that I have been working on. The main file of the utility is below. Please not that `flatten_dict` and `makerows` are seperate files and functions, respectively. My objectives are to: * Recursively traverse a directory - done * Find XML and text files only …

Member Avatar for Saran_1
0
417
Member Avatar for Mark54

Hello, again, people. You helped me to install Python on my Desktop, and now I cannot get it running on my Laptop… same as the Desktop… Win 7, 32-bit, SP1. I think I did the same procedures, but it wouldn’t work. So, I UN-installed Python. Then re-installed it. Same problems… …

Member Avatar for DragonMastur
0
283
Member Avatar for Riya_2

Write a function named repeatCount(). The function repeatCount() takes two string parameters: --> the name of an input file and the name of an output file. The function repeatCount() should read each line of the input file, identify the number of words on the line that occur more than once, …

Member Avatar for DragonMastur
0
312
Member Avatar for James_47

Hello I am tring to write a code to generate random numbers into an array, I don't understand why this isn't working. please help #include <iostream> #include <ctime> #include <cstdlib> const int NRows = 5; const int Ncols = 5; using namespace std; int main() { //declare variables int num[NRows][Ncols]; …

Member Avatar for StuXYZ
0
118
Member Avatar for Henry_5

I am implementing the last feature of my Python Checkers Game, which is to require the user to make multiple jumps. For captures, I do the following: 1 Check if the move is valid: 2 self.validatedMove = True (The move that has been made is valid.) 3 self.capture() (Captures the …

Member Avatar for DragonMastur
0
801
Member Avatar for no123

Imports System.Windows.Threading Imports System.Threading Imports System.Net Imports System.Drawing Imports System.IO Imports Microsoft.Win32 Class Window1 #Region "Fields" Private geoDoc As XDocument Private location As String Private zoom As Integer Private saveDialog As New SaveFileDialog Private mapType As String Private lat As Double Private lng As Double #End Region Private Sub GetGeocodeData() …

Member Avatar for G_Waddell
0
207
Member Avatar for Satyam_1

I have vb.net application and have a richtextbox.. I want set the lines limit to 12 and after 12 lines the user will not allow to enter text. How can i do this?

Member Avatar for Satyam_1
0
1K
Member Avatar for Lindsey_2

I am using -PHP 5.3.3 (cgi-fcgi) -Apache Web Server 2.1.6 -5.1.73-community -MediaWiki (1.22.0) I need to implement auto login for the mediawiki users by using ldap authetication. However, php_ldap.dll is not found in the /ext file so I went to download and enter the extension=php_ldap.dll in the php.ini file. I …

Member Avatar for andrevanzuydam
0
450
Member Avatar for blueguy777

How to fix the following SQL error? 1You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '`Sent`, `handler` varchar(20) NOT NULL, PRIMARY KEY (`id`) )' at line 5 Code: $create_q = 'CREATE TABLE IF …

Member Avatar for andrevanzuydam
0
186
Member Avatar for UK-1991

Hello, I have created an ecommerce website can anyone help me out and let me know that how do i ake a product flter or refine search what ever we say using checkboxees or anyone could sugest any tutorial please. Thank You in advance

Member Avatar for diafol
0
603
Member Avatar for Tcll

ok, so if you know me well, this gets a little complex... what I'm trying to do is execute a function from a script that requires 2 arguments where the names varry depending on the script. but I'd like that function to be executed in a namespace where I can …

Member Avatar for Gribouillis
0
315
Member Avatar for sachin19

find /home/scott/xyz -name "*.log*" -not -name 'access.log' -not -name 'server1.log'-exec cp -i {} /home/scott/zxc/. \; I want to run this command but It doesn't seem to work for two files.How can I achieve this?

Member Avatar for sachin19
0
201
Member Avatar for HuePig

Hi, I have three classes `public class Player` , `public class Computer : Player`, and `public class Game`. In `Game` I have a List: `public List<Player> PlayerList` and a variable `Player CurrentPlayer`. Heres what happens: when I create a `new Computer()` I add it to the `PlayerList`, the `CurrentPlayer` acts …

Member Avatar for HuePig
0
147
Member Avatar for mwenyenia07

Hi Guys. I have the following scenario: 1. I have build abig management database at our HQ and it is to be fed from several databases spread across regions. 2.I only want to have records of specific tables from those distributed databases be sent to my central database.Changes in Those …

Member Avatar for diafol
0
161
Member Avatar for Alok_5

I want to remove the specific nodes from xml file under song tag whose id =2 from the following file in Android (Java): <music> <song> <id>1</id> <albums_id>1</albums_id> <title>Someone Like You</title> <artist>Adele</artist> <duration>4:47</duration> </song> <song> <id>2</id> <albums_id>1</albums_id> <title>Space Bound</title> <artist>Eminem</artist> <duration>4:38</duration> </song> <song> <id>3</id> <albums_id>1</albums_id> <title>Stranger In Moscow</title> <artist>Michael Jackson</artist> <duration>5:44</duration> …

Member Avatar for Karan_8
0
290
Member Avatar for ramsiva

when i am clicking on button, page is refreshing and share popup displayed and immediately hiding any body help me <?php /* Command Center Settings: Fill these out before you use the tool. */ $googleApiClientId = "xxx"; // Your API client ID from https://code.google.com/apis/console/ $inputSize = "70"; //How wide do …

Member Avatar for ramsiva
0
756
Member Avatar for nitos

Converting mysql to mysqli. i need help av been scratching my head how to make necessary changes but its like am making more errors. please help or give direction what to change.. <?php session_start(); include("php/class.user.php"); $msg = ""; $msg2 = ""; //$submit = $_POST['btnaddnew']; if(isset($_POST['btnaddnew'])){ if(empty($_POST['txtUserId']) || empty($_POST['txtFname']) || empty($_POST['txtMname']) …

Member Avatar for diafol
0
280
Member Avatar for basit_3

how can i select a particular child node for example when i click on a node it is selected so that if selected node= TreeView1.Nodes(0).Nodes(1).Nodes(4) then messagebox.show("node selected") end if

Member Avatar for Reverend Jim
0
1K
Member Avatar for Papa_Don

Group, I need to insert an "If/Then" statement that will require the command to check the string for multiple variables. In other words it needs to say something like this: If Microsoft.VisualBasic.Mid(txtLine, 18, 1) = "C" or "T" or "G" or "W" Then Go do something End If After doing …

Member Avatar for Reverend Jim
0
254
Member Avatar for elexender

Hi all, I have a question about file path in lunix. Since i pretty new to linux (im running ubuntu) i dont know how to give a correct file path to fopen command. I want to write some data to a usb drive. Let me show you how i would …

Member Avatar for Erkan_1
0
2K
Member Avatar for Ahmed_62

i have these buttons what i wanna do is when i press any of them change the button name to "Ouch!" import java.applet.Applet; import java.awt.Button; import java.awt.Color; import java.awt.Graphics; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; public class sudokou extends Applet { Button num[] = new Button[9]; int x, y, i, j, n …

Member Avatar for JamesCherrill
0
226
Member Avatar for Papa_Don

Group, In VB.net, I use the following to return the actual name of a folder where data is kept. Is there an equivalent in VBA? I sure hope so. It would solve some problems for me. foldernameGD = CStr(getFolderNameGD("O:\Revenue Management\Centralized Revenue Management Service\CRMS Hotels", propertyNo2 & "*")) In advance, thanks …

Member Avatar for Papa_Don
0
309
Member Avatar for Papa_Don

Hi group, I'm getting an "single-row subquery returns more than one row" error when running my routine. Looking through the table I'm querying, it is listing a date twice for some reason. Since I'm not able to remove this one row, is there a way to return the first instance …

Member Avatar for Papa_Don
0
667
Member Avatar for Feras_1

Binary file for cars of a certain city Each car of the record containing the following information: Car number - Year - color - figures the identities of the owners of the agenda this car. (Through the matrix at most 5 because of possible car owned by more than one …

Member Avatar for mack1
0
150
Member Avatar for Yahia Farghaly

Does compound literals techinque reserve a memory ? if i say int x; x=(int){1}+(int){2}; or total_sum=sum_arr((int[]){1,2,3}); and what's the best situation to use this techinque ?

Member Avatar for Yahia Farghaly
0
86
Member Avatar for razree

Hi, I've ran into a problem when publishing/updating the clickonce project. I publish project to network share and what hapenes is that app doesn't update on startup as it should. Just old version openes, no update hapenes, seems like it doesn't see the update waiting. I've done this update a …

Member Avatar for G_Waddell
0
255
Member Avatar for k_manimuthu

Hi all, I am not able to get correct count, if col1 (percentage with respect to product) and col2 have uniq value. Below I post my sample table data and expect output and which i query I tried. Please help me to get in to right direction. CREATE TABLE mysample …

Member Avatar for k_manimuthu
0
239
Member Avatar for JerrimePatient
Member Avatar for JerrimePatient
0
219
Member Avatar for ronjacob

Hello Guys, My problem here is I want to check every row of the data if it's in the range of 2 days before today. and will send the email of it's name who fit the condition of 2days before. <?php //******************************************************** //2008/07/16 Yoshifumi Tagawa //******************************************************** $date_today = date("Y/m/d H:i:s"); …

Member Avatar for lps
0
232
Member Avatar for harinagarjuna

Hello, I have created a dropdown lists using javascript dynamically. But i am not able to get the selected option values of that dropdown lists. could anyone please help.

Member Avatar for diafol
0
237
Member Avatar for Ritesh_4

Hi Anyone can pls help me with a unique random number generator of length 3, prefixed with values from DDMMYYYY (e.g. for today's date 25062015001)?

Member Avatar for Ritesh_4
0
174
Member Avatar for AntonyRayan

I am retrieving from table based on standard and date. For first standard It, has two sections A & B. A has one subject and B has two subject. While displaying I want to display in a table like this: section | Description A | English B | French,English My …

Member Avatar for cereal
0
181
Member Avatar for jorwill.harion

Hello! I am new in java and I have this code that will throw an exception if the numerator input is not an integer and will stop the loop process when the user input 'e' as its numerator. Thank you for your help in advance. package org.alibata.training.codes.exceptions; import java.util.InputMismatchException; import …

Member Avatar for JamesCherrill
0
446
Member Avatar for Baradaran

Dear community, today I am facing a new problem, maybe due to a black out. I am trying to select from a table based on the results from a select statement, however, the result only contains the first few characters of the field. The main table has the field "category" …

Member Avatar for Baradaran
0
609
Member Avatar for Kritika_1

Hi, I am trying to create form having field textbox. I typed a variable say $a = 10 in the textbox.What I want is to print the value of the variable. Let me know the steps. Thanks

Member Avatar for diafol
0
1K
Member Avatar for Brandon500

Hi, I'm taking an online Python class. This is the first time I have used Python. I need Help with an assignment. For the assignment I have to **Write a program that counts the number of words and the number of characters of each word in a sentence entered by …

Member Avatar for Brandon500
0
364
Member Avatar for mohammed_22

<script> function showUser(str) { if (str == "") { document.getElementById("txtHint").innerHTML = ""; return; } else { if (window.XMLHttpRequest) { // code for IE7+, Firefox, Chrome, Opera, Safari xmlhttp = new XMLHttpRequest(); } else { // code for IE6, IE5 xmlhttp = new ActiveXObject("Microsoft.XMLHTTP"); } xmlhttp.onreadystatechange = function() { if (xmlhttp.readyState …

Member Avatar for mohammed_22
0
188
Member Avatar for Krs13

Hi, I have an access database and connected to vb.net through oledb. Am trying to filter the datagridview based on the combobox selection in the form. The combobox(emp id) is being loaded from the table called Employee. When the user selects an employee id from the combox i want the …

Member Avatar for Krs13
0
480
Member Avatar for mohammed_22

haii....i had lot of different school datas and when i want to login into the data i want to get only the specified data according to the username and password..username and password is different for different schools can you please help me thanks in advance and iam waiting for your …

Member Avatar for mohammed_22
0
180

The End.