224 Topics
|
|
Hi. I'm trying to delete a line from a Db file that I've created. I'll explain: I'm making a Db of people, which is consisted of id, first and last names - each one in a different line. When I want to delete a record, I wanted to copy the … |
|
Hi! Is there any way to remove a file from a directory when a session ends? (Like when a user closes the webbrowser) |
|
Hi all. I have detected something that I can't explain, and hope someone can help me. I have 2 functions for allocating and de-allocating arrays: [CODE]char **c; void allocate() { char **c = new char*[1000]; for(int i = 0; i < 1000; i++) { char *g = new char[10000]; for(int … |
|
Hi. I'm having a problem on deleting a record using a function on SQL. DELETE FROM tblServices GROUP BY ServiceID HAVING MID(ServiceID,1,2)='SG' This query shows and error saying: Cannot group on fields selected with '*'. I tried adding a specific field, like this: DELETE ServiceID FROM tblServices GROUP BY ServiceID … |
|
I'm working on a task for a client that I thought would be simple. A remote computer uploads a file upon some event. My site needs to display a flag/statement if that file exists. So, upon page load it checks if the file exists. That all works fine and dandy. … |
|
Hi, I am new to ASP.NET and i have been thrown into the deep end on a project, the person who created this code is no longer available. The website allows an Admin to login and edit, update or delete information in an SQL database referring to PDFs located on … |
|
Hello, I have a php code that can find a child node in my xml file, And my problem is that I want to delete the specific user when I find the child node. How can I implement it here? [B]mail-list.xml:[/B] [CODE]<maillist><user><time>2011</time><email>MUBnLmNvbQ==</email></user><user><time>2011</time><email>M0BnLmNvbQ==</email></user></maillist>[/CODE] [B]And here is the php:[/B] [CODE]$xml = simplexml_load_file('mail-list.xml'); … |
|
hi friends.. i need to know that is there any method to allow someone to access a file just one time,and delete that file itself.I just wanted to send some audio file to my friend and doesn't want to keep evidence of it..Is there anyway.... thanx in advance. |
|
What is the fasted way to delete rows based on a condition in Column A using VBA? Anybody have an example? Thanks. |
|
I'm taking an advanced C++ class now, and everything up to now has been pretty simple (mostly review stuff), but now we got to binary file io and it's kicking my butt. This program is supposed to read from a file called "Hardware.dat" (or create it if it doesn't exist), … |
|
How to do a HTTP PUT/DELETE? (Using jquery) . Im making a REST-ful twitter-type aplication using Java Servlets etc... and i have the methods for handling PUT and DELETE, i just need to be able to perform these e.g. when a user submits a form (with the id of the … |
|
i have a program that would display the productName,productPrice,productCode. each is a separate array. the program would prompt user to add,delete,or search a productName,productPrice,productCode. here's what i tried to do: [CODE]string productName[100]={"milk","beef"}; int productPrice[100]={10,11}; string productCode[100]={"a1","a2"}; int x,y,z; char choice; string search,name,price,code; cout<<"what do you want to do?"; <<"[S]earch."; <<"[A]dd."; … |
|
Delete selected record on Button click. I am using MS Access as a Database in C#. How it can be done ?? |
|
I have read many different threads about how it is not possible to delete values from an array, but I need to find some way to do this. I am making a program that involves a bottom up approach algorithm where it pairs off data segments, finds the best segments … |
|
I am very new to Python and scripting and am trying to write script to delete any point feature classes in my .gdb. I have found an example, but can't get it to run. Your help is greatly appreciated. [CODE] import arcpy arcpy.env.workspace = r"E:\GIS_255\Week5\Harmon_Wk5_GIS255\KingCounty.gdb" import string try: fcList = … |
|
Hey everybody. So I am just trying to write a script to delete a row in a MySQL database. Unfortunately I seem to have something wrong...even though I don't get any errors. Here is a snippet of the code on the page to send the request: [CODE] echo "<tr><td width='138px' … |
|
Hi all, I write because I am struggling with a very strange thing. I have this class: [CODE] static const long POINTS_VERY_FEW = 100; class Bin2DSphere { /*! Class for 2-dimensional binning on a sphere */ public: string Name; double PhiMin; /* Minimum value of Phi */ double PhiMax; /* … |
|
hi .. im trying to terminate a process so in python i used os.system("taskkill /IM notepad.exe/T" and os.popen("taskkill /IM notepad.exe /f") neither have worked since the process does close but start up again !! on SOME computers it did work, the process was terminated but on others it did not … |
|
I have a fresh installed w7 64bit(previously 32bit) for my laptop. At first I can download any files for both firefox 3.6.13 and ie 8. However, with a couple of w7 updates I was unable to download any files from both browsers. What I did is go to system restore … |
|
Hi! I've got this structure struct *cell{int row,int column,int distance, struct cell *next}. By calling a function, I fill a linked list . The problem is that I cannot find how to delete the nodes that have the same row and column.Let me provide an example. Let's say that the … |
|
Hi Guys need a bit of help. I right a c# program that connects to a database and do various things. One of them is to delete a record. currently I can delete a record that i specify but i want it to delete a selected row in the dataset. … |
|
OK so I have this homework assignment for a java class that I am taking. with the exception of a couple things not working right(search, delete) ive pretty much got it. The problem I am having now is that I need to implement a controlled break so that my report … |
|
Hi Everyone, Ive been messing around the OLEDB in C#, What im trying to do is create a program that would read from a Access Database, and then the user has the right to add,edit and delete a records. So far i can get the Database to display and are … |
|
Hi friends, Please guide me how to create a batch file to fit this scenario, "I have a Folder Named [B]Addons[/B] which has 110 Folders which themselves has many sub folders and files of differnet extentions for eg(C:\Program Files\OpenERP\Addons). In this i have to leave around 15 decided Folders and … |
|
|
Hi, After a user has registered, if they do not respond to the email sent to activate their account: then what is responsible for deleting the pending registration? Is it a database script? Thanks, Ashton. |
Hi! Have some problems with my code again... I have a list "playerCardList" containing six elements where you pick out three of these. The three elements you pick should be removed from the bigger list "cardList" containing 81 elements. And after that three new elements from "cardList" would be put … |
|
Anyone know a snippet of this? I need to delete all files in a folder but not jpg,gif or png files. :sweat: |
|
This is probably very simple but i'm not seeing how to do it. My GUI for a project reads objects from a flat file (substitution for database) and puts each object as an item in a jComboBox. Then if the user wants to delete one of the objects, he selects … |
|
I'm using a JTable with a DefaultTableModel. I use the Load Button for populating the JTable. Anyway, the problem I have is with the Delete row button. (defaulttablemodel.removeRow). This is the whole project: [code=java] package proiect1; import javax.swing.table.DefaultTableModel; import javax.swing.table.TableColumn; import java.io.*; import javax.swing.event.*; import javax.swing.table.TableModel; import java.util.ArrayList; import javax.swing.table.AbstractTableModel; … |
|
Im sure this has been posted a billion times, but ive followed steps on other threads and still no look. What im wanting to do is to be able to delete a record from a form that is echoed..get me? Heres the steps: - Post update news, insterts it into … |
The End.