224 Topics

Member Avatar for
Member Avatar for lasl0w

I have a case where I am not allowed to use the string class so I am using a char array. Does anyone have any idea why I am getting all the junk characters after my char array when i print? The input file is a 2 line file containing …

Member Avatar for lasl0w
0
9K
Member Avatar for dschuett

I upload pictures and allow users to log in and view them for 30 days using the following statement SELECT * FROM pictures WHERE date >= DATE_SUB(NOW(), INTERVAL 30 DAY) and email='$session_email When i upload a picture for a user the name is stored as a field in a table …

Member Avatar for dschuett
0
104
Member Avatar for aravind rao

Hello Consider this scenario: [CODE]File file;[/CODE] and later [CODE]file = new File("Hello.txt");[/CODE] [CODE]file = new File("hi.txt");[/CODE] As you all know, this will create two text files in java. How do I delete one of these files, as in if I only wanted to delete hi.txt?

Member Avatar for javaAddict
0
80
Member Avatar for marniel647

guys plss help me with this need urgent why i cannot delete row in database this my code [CODE]Try Dim dsql As String Dim connect As New OleDbConnection(conString) connect.Open() dsql = "DELETE " dsql = dsql & "FROM InventoryItem " dsql = dsql & "WHERE TransactionDate = '" & TransactionDateText.Value …

Member Avatar for lolafuertes
0
80
Member Avatar for sims6785

Hi, I am using vb.net 2008 with MySQL for my project. I have a datagridview on my form which displays records from Mysql table on form load. i want to delete the selected row in datagrid from table on 'row header mouse click' event. The 2 different codes that i …

Member Avatar for lolafuertes
0
612
Member Avatar for rcbpro

I want to let others to delete selected row in the following datagrid view, and i have written it like this. Now when i select a row and press the delete button i can remove the selected row but it will not update the database which meant it will not …

Member Avatar for nikita111
0
477
Member Avatar for alex8206

Hi, Im trying to create three pages for Inserting, deleting or viewing database contents. On my main or home page the database contents are shown. I want to create a "Delete" hyperlink in the last column of every row so that the specific record is deleted on clicking that. I …

Member Avatar for alex8206
0
1K
Member Avatar for dev.vini

help me to autodecrement a field in a table when delete any entry from table example: !-------------------------- !id name userno !-------------------------- ! 1 harry 101 !-------------------------- ! 2 abc 102 !-------------------------- ! 3 xyz 103 !-------------------------- ! 4 xyz 104 !------------------------- if we delete 3rd entry from table than 104 …

Member Avatar for peter_budo
0
127
Member Avatar for kingster113

I'm having trouble trying to update or delete records from my database. Basically, I have a datagridview(DGV) in my form and the following is what I wanna do. The user could directly change/edit the values in the DGV and just click the update button to update the database. And the …

0
106
Member Avatar for Sinaru

Take a look at this program. [CODE] #include <iostream> using namespace std; struct Node { int data; Node* link; Node() { data = 0; link = NULL; } }; void destroy(Node* &p) { Node* pre; while(p !=NULL) { pre = p; p = p->link; delete pre; // When running for …

Member Avatar for manojwali
0
582
Member Avatar for gupneha

I have a project on sports Club Management. In that, I am providing add, delete, update and search facility. Add command is working simply by : `String qry="Insert into sport values('"+s1+"')"`; `smt.executeUpdate(qry);` This is just an example where I took only s1. But in delete, I wrote: String qry="Delete from …

Member Avatar for Dupron
0
191
Member Avatar for arctushar

Hi I m using xampp latest version. I have a table created by phpmyadmin. Now I want to delete all data form the table, But dont want to drop the table. Problem is that... When I click oncheck_all it select all checkbox. but some row r yello background. When I …

Member Avatar for mwasif
0
61
Member Avatar for mike_2000_17

Hi experts! I have the following code which I use for dynamically creating objects in one module (executable or shared object (.so or .dll)) and be able to delete it from any other module while enforcing the call to the delete operator in the original module where the object was …

1
148
Member Avatar for niall_heavey

Hi, I am trying to delete all files that end in .csv within a directory. I'm not sure how to go about this, I am using bash and the command I used was; [CODE]rm '/home/eeng/ME_project/Big_Users/*.csv'[/CODE] New to this scripting so not too sure where i'm going wrong. Any ideas? Thanks. …

Member Avatar for cfajohnson
0
160
Member Avatar for kiryoku

I need to delete duplicating input.. for example. in a list box I input a a a b b then I want to delete all 'a' the listbox must show: b b i hope there is someone who can help me..thanks!! Public Class Form1 Private Sub btnadd_Click(ByVal sender As System.Object, …

Member Avatar for kiryoku
0
124
Member Avatar for digitalsindhx

Dear Friends I have Developed a Successful Database Software, it include Datagrid, First, Last, Next, Previous, Add, Delete, Edit, Update, Search just Every Thing is Working Nice, But I need help from one of expert from you. my problem is that every time when i Start program its all functions …

Member Avatar for lanitooot
0
235
Member Avatar for sw22

Hello, What is the right way to delete an object I do not need to use anymore ? is the next line right only in VB6 ? myObj = nothing thank you

Member Avatar for rkmasternet
0
52
Member Avatar for NH1

Im looking to Delete a row of information in my datagrid, but also from my database. im not even really sure where to start. I want to use a button to do this. so that when i highlight a row, then click the button it brings up a message box …

Member Avatar for ious
0
355
Member Avatar for doctorphp

Hi All. I am currently designing a photo sharing website. I need to make a script that deletes the image from the folder it is stored in and also from the database. I have done the database bit but i cannot work out the deleting from the folder bit. Any …

Member Avatar for kumiyare
0
121
Member Avatar for fodor_dask

I have to make a folder listing, which I've created:[code=php]$dirPath = '.'; if ($handle = opendir($dirPath)) { while (false !== ($file = readdir($handle))) { if ($file != "." && $file != "..") { if (is_dir("$dirPath/$file")) { echo "<div style='background-color:#0ccccc;'><a href='$file'>$file(directory)</a></div>"; } else { echo "<div style='background-color:#0ccccc;'><a href='$file'>$file</a></div>" . filesize($file); echo …

Member Avatar for diafol
0
130
Member Avatar for aay

Write a program that reads in a sentence of up to 100 characters and outputs the sentence with spacing corrected and with letters corrected for capitalization. In other words, in the output sentence, all strings of two or more blanks should be compressed to a single blank. I don't know …

Member Avatar for aay
0
681
Member Avatar for pellenj

Last night I was trying to install a new vista theme to my computer. Not really know what I was doing I think I deleted something important. After I rebooted and logged on this pop-up shows up: dwm.exe - Unable To Locate Component This applicatoin has failed to start because …

Member Avatar for Xlphos
0
152
Member Avatar for codecx

I'm almost done making a 2D game (and yes I'm sorta a newb) and I still haven't figured out how to delete an entity. Instead, as a place holder, I set the texture path to "" and all the variables to 0. I am using a class and here is …

Member Avatar for codecx
0
151
Member Avatar for TrustyTony

Edit/delete button (during 30 min after post) seems to have gotten problems after site change. It doubles the post instead of editing it and does not still allow cancelling the post.

Member Avatar for TrustyTony
0
235
Member Avatar for green_frog

When ever to run the following piece of code in my game it crashes. I have narrowed down the problem to being initiating mEnemies[i] = NULL and mSpaceship.mBullets[c] = NULL. Got no idea why. Please help for(int i=0; i<mEnemies.size(); i++) { // cycle of bullets for(int c=0; c<mSpaceship.mBullets.size(); c++) { …

Member Avatar for mitrmkar
0
147
Member Avatar for replax

Hey guys, after compiling my program I get the following error [code]Windows has triggered a breakpoint in *.exe. This may be due to a corruption of the heap, which indicates a bug in *.exe or any of the DLLs it has loaded. This may also be due to the user …

0
111
Member Avatar for g2gayan

Hello .. :) Im on ma way completing my C# project,, but i have a small issue .. let me tell you what it is /// since its complicated to send the whole image to a db i only the send the image name to the database ( table ) …

Member Avatar for g2gayan
0
199
Member Avatar for NickBomb

Hello there! Recently, I tried deleting some symbolic links in VB, but it turns out their targets were wiped out as well. More specifically, I'm looking for a way to purge an entire directory from all the files/symlinks it contains, without doing anything to the targets. Any help is much …

Member Avatar for NickBomb
0
371
Member Avatar for pwk064

I am using access database but I keep getting this error message when I try to delete a record from a gridview. The tables are fine **Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error …

Member Avatar for kvprajapati
0
75
Member Avatar for emilo35

Okay, this might become a monstous post, and I apologize for that. I recently switched from programming Java to C++ like a week ago, and can't seem to get all the pointers right it seems. Maybe all code provided in this post might seem a little overkill for the size …

Member Avatar for emilo35
0
156

The End.