224 Topics
|
|
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 … |
|
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 … |
|
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? |
|
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 … |
|
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 … |
|
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 … |
|
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 … |
|
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 … |
|
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 … |
|
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 … |
|
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 … |
|
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 … |
|
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 … |
|
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. … |
|
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, … |
|
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 … |
|
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 |
|
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 … |
|
|
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 … |
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 … |
|
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 … |
|
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 … |
|
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 … |
|
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. |
|
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++) { … |
|
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 … |
|
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 ) … |
|
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 … |
|
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 … |
|
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 … |
The End.