224 Topics

Member Avatar for
Member Avatar for m1234ike

Hello DaniWeb, I have a new idea for an app: I have an external harddrive and I usually backup my desktop with a cleanup folder which I usually move to the external harddrive. The problem is: when I search for a file (i.e. example.mp3) I will find multiple copies which …

Member Avatar for codeorder
0
274
Member Avatar for mcwebalizer

I make an image administrator with PHP / MYSQL / AJAX. I try upload image - success! After uploading image I refresh page. uploaded image has added to list. I press delete button - image removes from list. But why it doesn`t remove from mysql list??? File can be downloaded …

Member Avatar for swapy
0
124
Member Avatar for muse_squall08

[CODE]#include <iostream> //standard input and output #include <fstream> //file input and output #include <string> //for strings #include <exception> //catches exceptions #include <sstream> //stringstream comes from here #include <algorithm> #include <stack> #include <queue> using namespace std; bool writeFile(const string &data); //writes strings to file bool readFile(); //read file bool palin(const string …

Member Avatar for WaltP
0
2K
Member Avatar for csharp_user

Hi, I have tried to arrange so that when I delete a name in the listview it should also delete the name in the textfile that the listview is reading from. When I delete in the listview the name that was below the deleted name now moves up a place …

Member Avatar for LesF
0
145
Member Avatar for tom92united

I've got a university assignment and just need to know how to remove an entry from the address book and use it as a method Here's what I have so far, everything's fine apart from the removing, please make it quite simple [CODE]using System; using System.Collections.Generic; using System.Linq; using System.Text; …

Member Avatar for thines01
0
211
Member Avatar for dolfan55aj

I have a Graph that I'm making using an adjacency matrix to hold edge values. The noEdge value is zero and all edgeweights are positive integers. I have to delete a node from this graph and I'm having trouble figuring out how to update the Adjacency matrix after the deletion …

Member Avatar for mrnutty
0
950
Member Avatar for M.Waqas Aslam

Hi ! i m working on asp.net project and using c# for it , i want to place my delete button on the right most of the gridview , by default button is placed at left side of the grid , can any one please help me . as i …

Member Avatar for M.Waqas Aslam
0
120
Member Avatar for mayreeh

hre is my code for deleting a file, wats missing? $getFields($fields); $infoFile = $doc->getFileInfo($file); $title = _l("Delete a document"); if ($action == "dodelete" && $file) { if ($doc->hasRight($_SESSION["Sid_user"], "d", $dir)) { if (!$doc->deleteFile($file)) $error = $doc->errstr(); else $error = _l("Document successfully deleted !"); } else $error = _l("You cannot delete …

Member Avatar for pritaeas
0
145
Member Avatar for C++newbie chick

Hello guys, just wondering why my program crashes when I try to delete a struct from my array. I'm trying to code so that the user searches for a student via a student ID, then opt to delete the searched student's record. I thought I got it right and the …

Member Avatar for chandara
0
847
Member Avatar for eRayven38

Hey Guys, I am really trying to get into List-Implementation. Everything I wrote works fine except the "delete Element at Position" funktion. With the iterative Implementation there is no problem, everything works, but I want to do a recursive Version. This is the Task: Invent an algorithm which becomes a …

Member Avatar for deepu.sri24
0
1K
Member Avatar for aishapot

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click strsql = "delete from student_info where Student_No = " & ctrl & "" Dim sqlcmd As New SqlClient.SqlCommand sqlcmd.CommandText = strsql sqlcmd.Connection = sqlconn sqlcmd.ExecuteNonQuery() MsgBox("Student Deleted") Me.fillclasslist() When I try to delete a student in the list …

Member Avatar for aishapot
0
205
Member Avatar for juniorsilver

I was wondering if there is a code i could add to my applicatio that will delete a data entry from a database. I'm designing a voting application as my project and i want a situation where an access code is good for only one entry. i put my code …

Member Avatar for adam_k
0
138
Member Avatar for kaskoraja

Hi everyone, I have a huge data file and it goes on like this. [CODE] 62813, 61344, 68229, 68234, 61349, 61345, 68230 62814, 61345, 68230, 68235, 61350, 61346, 68231 62815, 61346, 68231, 68236, 61351, 61347, 68232 62816, 61347, 68232, 68237, 61352, 51631, 51573 *ELEMENT,TYPE=S4,ELSET=one 62817, 1, 2, 4, 3 62818, …

Member Avatar for TrustyTony
0
152
Member Avatar for sathya88

how to free memory of byte array... code[CODE]for(int j=0;j<count;j++){ buffer=null; //[COLOR="Red"]free the memory by set as a null but not working????? shows array index out of bound exception for the second time[/COLOR] buffer= new byte[size]; //byte mem alloc temp2=di.read(buffer,total,size);// read buffer total=total+temp2; fo=null; ds=null; fo= new FileOutputStream(flist[j]); ds= new DataOutputStream(fo); …

Member Avatar for masijade
0
7K
Member Avatar for patel28rajendra

plz explain complete step by step procedure to insert update and delete for asp.net2008 with c# and in built sql server. plz tell me where to make object & class. I am confused.

Member Avatar for ruchi18
0
516
Member Avatar for Capritarius21

When you are generating report in your application then everytime you run it then it will automatically create temp files. To avoid these junk files you have to kill the TEMP files. Code Syntax: KILL "Directory\Temp filename" Sample (delete all temp files): KILL "D:\OMI FILES\Project\*.TMP" Sample (specific temp file): KILL …

Member Avatar for Capritarius21
0
192
Member Avatar for suhaildawood

Hello, I am really new to PHP, so sorry if this is way too basic. I followed this tutorial: [url]http://net.tutsplus.com/tutorials/php/online-file-storage-with-php/[/url] and I created a simple online storage app for my website. How would I be able to make it so that I can delete the stored files? Thanks

Member Avatar for mathieu89
0
153
Member Avatar for sibymary

how to update single row from table by using a single sql query. here im using library system.when a book is issued to the user,it should be updated to database, only which book is issued

Member Avatar for pritaeas
0
107
Member Avatar for jackfriendstie

What I want, is for my text file to be read into the array named "CFiles()". Then once this is complete to delete the file But I get the error, The process cannot access the file 'C:\Users\Andrew\Desktop\New.txt' because it is being used by another process. On 3rd to last line. …

Member Avatar for codeorder
0
2K
Member Avatar for YMCMb

Hi Guys, I want to try and remove a Server Error in '/Program' Application. When i try to delete a record which has related sub record, it cant delete obviously because of the relationship between the entities, however the average user does not no this, and they dont need to …

0
117
Member Avatar for wachichornia

Hello Everyone, I am trying to delete some rows from a given table using mysql and php. No errors come up, the page doesn't die, however the records are not deleted! Here's the code [CODE] $delete_temp_query=("DELETE FROM temporary where contactemail='".$emailcheck."'"); $delete_temp=($delete_temp_query) or die(mysql_error()); [/CODE] The value of $emailcheck is [CODE] …

Member Avatar for wachichornia
0
221
Member Avatar for gunlock777

Hello all, Im currently doing a project which is a system that adds booking records to it it loads the database from a module [CODE]Set Db = OpenDatabase(App.Path & "\cihansol.mdb") Set RS_Staff = Db.OpenRecordset("EPHS_Staff") Set RS_Customers = Db.OpenRecordset("EPHS_Customers")[/CODE] im very new to visual basic so i dont know much anyway …

Member Avatar for shivya jain
0
164
Member Avatar for jhopwood

Having some issues figuring out how to code my add, modify, search, delete, and save buttons in my program. The buttons need to also adjust the size of the array once I add or delete the an item. Any help would be great. I may be going about this the …

Member Avatar for NormR1
0
317
Member Avatar for secretply

So I have 2 picture boxes, a textbox, and a button. One of the picture boxes adds another row with the same controls but moved down when clicked and the other picture box (should) remove the same row that it was clicked on. I have PictureBoxAdd1, PictureBoxRemove1, TextBox1, and Button1 …

Member Avatar for codeorder
0
165
Member Avatar for JoshuaBurleson

if I wanted to remove all of the strings within a given list that met a certain criteria, such as having the str'a' in them, how would I go about doing that? the only way that's intuitive to me a for/in loop, but that can't be done. any ideas? Using …

Member Avatar for Enalicho
0
237
Member Avatar for megachip04

this is the code to email confirm. The user clicks on the link in the email, passing the code through url to this page. Then the data is transferred from a tmp table to main one. I have queried in phpmyadmin and it works fine. But when i actually use …

Member Avatar for rv1990
0
187
Member Avatar for Ahmed2

Hi there, I'm currently working on a small broject which is about providing flexible download service. Basically, I read the info from a csv file and put it in the futurelist, then depending on the length of the file I will put it either in currentlist or delayedlist and after …

Member Avatar for Ahmed2
0
169
Member Avatar for bhob

hi guys! i have a problem regarding the queries i coded. my first query is to display the category name, description and maxscore: SELECT c.cat_name, g.maxscore, g.description FROM grp_performance INNER JOIN category c ON g.cat_id = c.cat_id the problem is, i don't know how to delete the row in the …

Member Avatar for Anuradha Mandal
0
113
Member Avatar for bhob

hey guys, i have a query wherein one table has the same id as the other using inner join.. SELECT c.cat_name, g.maxscore, g.description FROM grp_performance INNER JOIN category ON g.cat_id = c.cat_id Is it possible to use inner join when deleting a row? like.. DELETE FROM grp_performance INNER JOIN category …

Member Avatar for hfx642
0
283
Member Avatar for chaychie

Hi everyone, Im relatively new to PHP. Im required to create a database to store all the courses taken by a student and his/her grades. i have created the database and able to store and display all the data stored in the database. I have a problem here: Im required …

Member Avatar for chaychie
0
251

The End.