199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for davecoventry

I have a client who deleted users on his database. Is there any possibility that the records have been flagged for deletion rather than physically deleted? If so how do I recover them? It's a Joomla system and there are no backups. Thanks. (Yes, I know).

Member Avatar for pritaeas
0
116
Member Avatar for joel.hahn

How do i stop a running function using a button or menu. Do I use a try catch? for some reason its boggling me.

Member Avatar for Reverend Jim
0
1K
Member Avatar for Szabi Zsoldos

Hi guys, I have a database with hundreds of persons and doing a live-search with ajax. And I have this query. The idea is that I do have the test line in the db but it has a status 0, but it is keep showing up in the results even …

Member Avatar for VR4Creativity
0
105
Member Avatar for VasquezPL

Hi guys...I have ready program which often hangs when the textBox is refreshing with content. I don't want to rewrite the code so I decided to add backgroundworker. My Code structure is like this private void startButton_Click(object sender, RoutedEventArgs e) { backgroundWorker.RunWorkerAsync(); } private void backgroundWorker_DoWork(object sender, DoWorkEventArgs e) { …

Member Avatar for VasquezPL
0
172
Member Avatar for jasonmark238

Hi friends. What are applets in java. What are the advantages of Applets over stanalone programs. Please give me the better way to learning applets easy, because dificult to remembering. Please help me. Thanks & Regards Jasonmark Rxdrugonlinestore

Member Avatar for <M/>
0
203
Member Avatar for Suzie999

background. I usually test my code in both debug and release mode each time I make changes, but forgot for half a day and now I have errors. I had gotten carried away thinking I was in the zone, and left it in release mode, when I realized and tried …

0
78
Member Avatar for yup790

I have tried looping through the text file but all it does is read the first line. I tried linefilereader but it still only reads the first line. int word_chooser = (int) (Math.random()*300); LineNumberReader r = new LineNumberReader(new FileReader("words.txt")); r.setLineNumber(word_chooser); word = r.readLine();

Member Avatar for stultuske
0
417
Member Avatar for Motifaithed

Good Day, Can anyone help me how to delete duplicate record in a dropdown list? I have a database with the column "material type" and "material model". For every material type there are a lot of model, so everytime I add record to the database, the column material type will …

Member Avatar for Motifaithed
0
1K
Member Avatar for <M/>

Is there a way to get Visual Studios for Mac without partitioning your computer and getting windows 8? If there is no way, can someone point out a tutorial in doing so? I can't find anything useful... (If i am unable to do so, i might as well get a …

Member Avatar for <M/>
0
169
Member Avatar for baabjitvk

hi i'm very much new to vb. can any body solve my smaaaall problem...? my problem is; i have a form, in that, two textboxes and a button are there. that is connected (i dont know how to connect, excuse me) with a table in ms access 2007. when i …

Member Avatar for AndreRet
0
136
Member Avatar for dospy

first of all, sorry if this thread is in the wrong section, but i think this is the most appropiate one i need clear instructions for installing AND configuring QT for my machine(i am running windows 7 on 64bit) i don't want other reference links unless they perfectly suit my …

Member Avatar for dospy
0
134
Member Avatar for vonnoy

can anybody help me with a sample code on how to add items in listbox connected in database. my item list are amount, description, and OR #.

Member Avatar for AndreRet
0
2K
Member Avatar for davy_yg

<td>Jumlah :</td> <td><input type="text" size="12" maxlength="22" name="Jumlah" value="2 box 1 pack"></td><br> <tr> <?php // use date picker to automate date ?> <td>Tanggal :</td> <td><input type="date" id="datepicker" size="12" maxlength="22" name="Tanggal" value=""></td><br> </tr> <?php if (isset($_POST['submit'])){ mysql_query("INSERT INTO Stock (Produk,Jumlah,Tanggal) VALUES ('$_POST[batch]','$_POST[Jumlah]','$_POST[Tanggal]')"); echo "<script type=\"text/javascript\"> window.location = \"print.php\"; </script>"; } ?> </table> …

Member Avatar for TonyG_cyprus
0
127
Member Avatar for BigPaw

In [this thread](http://www.daniweb.com/community-center/geeks-lounge/threads/436142/which-language-is-best-suited) in the Geeks Lounge it was wisely recommended that I download an add-on for Python called Numpy. However, Numpy isn't presently available for Python 3.3. What should I do, please? How important is Numpy? Also, what would be the implications for not having wxpython available to Python …

Member Avatar for Lardmeister
0
701
Member Avatar for hwoarang69

i cant seem to create my java project into jar files so any one can run it. i have a folder with 10 java files and two folder and some images and music. take a look at my project files tree. its on a image. ![tree](/attachments/small/3/tree.jpg "align-right") i google it …

Member Avatar for hwoarang69
0
172
Member Avatar for yvrej17

Hi, I just need some help on how will I retrieve the last row ID(auto-increment) value of my database(ms acccess) and display into a textbox? thanx in advance

Member Avatar for yvrej17
0
154
Member Avatar for deadsolo

Hi there, I am having some trouble with a regex and am hoping on one of you great folks can assist me. I am very weak with regular expressions just to give you guys a heads up. Here is the text I am using a regex on: Control flow 6881 …

Member Avatar for deadsolo
0
299
Member Avatar for JoeyJes

My questions are how to find the nth prime number? I have figured out how to find a list prime numbers. I'm just stuck as for being able to change my code to only print out the, say, 15th, or 500th prime not every previous prime as well. Any help/feed …

Member Avatar for VernonDozier
0
11K
Member Avatar for anisha.silva

hi, I have a sheet name 'rate' and another sheet name "master". rate sheet has data as below EmpCol1 rateCol1 a 1 b 2 c 3 etc... and master has data as empCol2 rateCol2 c a b What i want to do is to get the rateCol1 from rate sheet …

Member Avatar for TnTinMN
0
248
Member Avatar for kindofsudden

I created a table, created a dataview, and sorted the dataview. I then populated the table with three rows of data and all was good. I then changed one of the fields (Hours) in one of the rows which SHOULD HAVE caused it to re-sort, but it did not re-sort. …

Member Avatar for TnTinMN
0
1K
Member Avatar for Jennifer84

I have a question of how it would be possible to change the IP address to a randomly new IP address. How would I go about to do this ?

Member Avatar for rubberman
0
294
Member Avatar for Julia25

I found a script but i cant make it to work to detect ie 9. need some assistance! http://www.devslide.com/labs/browser-detection

Member Avatar for Julia25
0
206
Member Avatar for JOSheaIV

So I have been working on a program lately, or actually was working on it and came back to check on it. The program is being developed for someone else, who unfortunately has not been cooperative in giving me the stuff I need to test it. The program is used …

Member Avatar for JOSheaIV
0
876
Member Avatar for sukriti1116

hiii, i am executing the following stored procedure but having errors... create procedure check_returns @salesman varchar(10),@RCV10 int,@RCV09 int,@RCV15 int,@GPRS15 int,@RCV20 int,@RCV25FTT int,@RCV25 int,@RCV31 int,@RCV30 int,@RCV35 int,@RCV50 int,@RCV55 int,@SIM int,@VTOPSIM int,@VTOPBAL int,@THREEGSIM int, @ENTRYDATE datetime AS BEGIN if exists(select * from CardsIssued where salesman=@salesman and RCV10>@RCV10 AND RCV09>@RCV09 AND RCV15>@RCV15 AND …

Member Avatar for sukriti1116
0
185
Member Avatar for Rahul47

Hie people, How can I save the items Entered in Combo Box at runtime ? So that next time i use Drop Down the entered Item is Present in it. Thanks

Member Avatar for monching
0
115
Member Avatar for fyra

Hi. Nice to meet you. I'd like to know if I'm doing the allocation of memory from data to new_data correctly and why new_data only has one value since the memory of data was copied before to new_data. set size: 10 set[000] = 000 set[001] = 001 set[002] = 002 …

Member Avatar for fyra
0
283
Member Avatar for shujat132

I am beginner in for c# Please help me for compilation of this code. Also please tell me about these error. Thanks using System; class SearchEmp { String[] Name= {"Aslam","Irfan","Afridi","Junaid"}; SearchEmp(string name){ this.name = name; } public void Search(){ name= "Afridi"; if(Name[0]==name||Name[1]==name||Name[2]==name||Name[3]==name){ Console.WriteLine("FOUND"); } } private readonly string name; public …

Member Avatar for otengkwaku
0
167
Member Avatar for ncis_sg1

I am trying to finish a program in COBOL (this is only my second program in this language) but I can not understand what I need to do in the last step. The instructions are:1. For the IDENTIFICATION DIVISION include the PROGRAM-ID, AUTHOR, INSTALLATION, DATE-WRITTEN, and DATE-COMPILED. 2. Modify the …

Member Avatar for rubberman
0
223
Member Avatar for showman13

I have a table of withdrawal requests that has a datetime field called 'create_date' I need to query that table to see if a member has submitted a withdrawal request within the past 24 hours If they have, I need just the most recent record within 24 hours that matches …

Member Avatar for showman13
0
135
Member Avatar for mc3330418

I have three funcitons that all have arrays. I need to make a print function. Here is one of the functions. void findUpperCase() { infile.open("trytext.txt"); int count = 0; char letters[MAX_LETTERS]; int upperLetters[26] = {0}; while ( infile.peek() !=EOF ) { infile >> letters[count]; count++; } infile.close(); for ( int …

Member Avatar for rubberman
0
141
Member Avatar for Forte1292

Alright so in my Data Structures class we have a program due sometime next week. I pretty much know how I'm going to do it, but I need help with one method of the program. I need a way to go through every possible order of 6 unique numbers. I …

Member Avatar for Forte1292
0
332
Member Avatar for saintjey2000

**Write a C program for an automatic teller machine that dispenses money. The user should enter the amount desired (a multiple of 1000 naria) and the machine dispenses this amount using the least number of bills. The bills dispensed are 1000s, and 500s. Write a function that determines how many …

Member Avatar for totalwar235
0
169
Member Avatar for Rod53718

How do you get an imported function to find a function in the main program? This runs fine if I put the generate_random function in with the main, but if it is in an imported function it can't find the printa function in the main. It comes up with the …

Member Avatar for Rod53718
0
270
Member Avatar for Oracle1986

Hey all, How can I change the text of a button each time a user clicks on it? For example, I have a button "Connect", if connection is successfull I want to change the text to "Disconnect" and vice versa. For now I dont have any function that checks if …

Member Avatar for Oracle1986
0
170
Member Avatar for Aditya_4

package display; import java.io.File; class display { int file=0, directory=0; void list(String path) { File root = new File(path); File[] f1 = root.listFiles(); for (File S : f1) //error { if(S.isDirectory()) { list(S.getAbsolutePath());//error directory++; } else if(S.isFile()) { file++; } } } } package display; public class displaymain { public …

Member Avatar for IIM
0
268
Member Avatar for vishalonne

Hi Every Body How I can add leading zeros in a number for example if No. is 4 it should display 0004 if No. is 41 it should display 0041 if No. is 441 it should display 0441 Please give some hint.

Member Avatar for diafol
0
182
Member Avatar for GlenRogers

I,m going through a tutorial for pagination using php mysql and ajax. I'm getting this error Warning: mysql_num_rows() expects parameter 1 to be resource, boolean given in C:\wamp\www\phpAjaxPagination\pageData.php on line 16 This is the file. <?php include_once('inc/dbConnect.inc.php'); include_once('inc/pagination.inc.php'); if(isset($_POST['pageId']) && !empty($_POST['pageId'])){ $id=$_POST['pageId']; }else{ $id='0'; } $pageLimit=PAGE_PER_NO*$id; $query="SELECT post,link from pagination …

Member Avatar for diafol
0
162
Member Avatar for ebc3142

I'm trying to use this code to populate my drop down menu from a mysql table: <select name="fileselect"> <?php $pdo = new PDO('mysql:host=localhost;dbname=contisec_portal', 'root', ''); $stmt = $pdo->prepare("SELECT dateid FROM date_header"); $stmt = $pdo->execute(); while ($row = $stmt->fetch(PDO::FETCH_ASSOC)) { echo "<option value='" . $row['dateid'] . "'>" . $row['dateid'] . "</option>"; …

Member Avatar for diafol
0
7K
Member Avatar for bradly.spicer

Hey all, Just some questions regarding queries and the logic behind what I'm trying to achieve. So basically, I have these rows of information inside a MSQL table called Customers. The columns are as follow: id customer_name customer_name_letterhead customer_notes systype status signaltype verification address postcode telephone mobile mobiletwo email mainarea …

Member Avatar for Squidge
0
130
Member Avatar for killer88

i making a list of names to be entered in 10 boxes. no i need to save this as document or text file. how do i use savefiledialog() in vb .

Member Avatar for Sahil89
0
344
Member Avatar for nivedita.datta

Hi, I am unable to run the code given in the following link https://github.com/hamilton/LocalitySensitiveHashing properly. Can anyone help me on the instructions, as in where and how to provide the data. I am facing problem in the following step : this_lsh.bin_data(data) as given in the README. I am unable to …

Member Avatar for vegaseat
0
296
Member Avatar for dashawk

Hi guys, I have a php code that displays a list of dishes where a user can check on those dishes and then save the selection to the database. My code works find when selecting and saving the data. But the problem is that when I try to uncheck one …

Member Avatar for dashawk
0
281
Member Avatar for Dman01

Hi guys. I want to write a keylogger which logs all strings I copy via <CTRL>+<C> My problem is that I loose track of interessting links or code-snippets when overdoing it. So I want a basic keylogger which notices every hotkey event and copies the content in the clipboard into …

Member Avatar for dospy
0
231
Member Avatar for LD Company

Hello programmers! I have another easy problem. I want to write code that can find a word in the string, that contains another substring. Code needs to get or just copy specific word in string. To get that word, this word need to contain some specific string (ex: "Platypus"). If …

Member Avatar for Reverend Jim
0
172
Member Avatar for dachy12

#include<iostream> #include<string> using namespace std; class student { public: void input(string name, long id, int grade1, int grade2, int grade3); void GPA(float) const; void Display() const; private: string name; int id; int grade1; int grade2; int grade3; }; int main() { string name; int id; int grade1,grade2,grade3; float gradepoint; student …

Member Avatar for dachy12
0
125
Member Avatar for soapyillusion

Hi all, Im trying to get some data from an Ajax callback and use it in another function (from a php file). I was just wondering if there was a way to pass data returned from the callback to another function. I could just do the function at success but, …

Member Avatar for soapyillusion
0
129
Member Avatar for techyworld

hi how can i implement a timer (minute-second-millisecond) using simple javascript? It will increment when click on a button.

Member Avatar for techyworld
0
110
Member Avatar for joshmac

I am using a framework, and I am having an issue with getting the results of this particular associative array. All others work except for this one and I am not sure why. This one only returns one result. Here is what I have in my model: public function listStats($id) …

Member Avatar for joshmac
0
229
Member Avatar for joshl_1995

Hello Community, I was wondering if there is a way to delete a folder and everything in the folder in ftp.

Member Avatar for cereal
0
388
Member Avatar for mrnutty

## I know we haven't been doing much of these C++ Community problems so I though I'd write one up to get it started once again.## **Problem Statement:** For some integer `v,w,x,y,z` find all solution to the following equation 1 1 1 1 1 - + - + - + …

Member Avatar for mrnutty
0
119

The End.