199,112 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for GlenRogers

Hi, I have a form to upload images one at a time with text to a mysql database table, but I need to resize these images before adding them to the table, I want to retain aspect ratio and I need it to always resize the longest side of the …

Member Avatar for DarkMonarch
0
203
Member Avatar for theundeadelvis

Hello Folks! New to Daniweb and programming in general! I've seen a couple other posts on this issue, but I wasn't able to sort it out with those suggestions. I'm getting the error mentioned in the subject, and I suspect it's something to do with my INSERTS/VALUES, but this is …

Member Avatar for theundeadelvis
0
256
Member Avatar for svilla

I have a Web Service I setup on the iSeries. It works when using SOAPUI and it works from the Built in test facility in the Native Web server. But when I try to access it form the following PHP program it fails to return any data. I am obviously …

0
105
Member Avatar for danpe

WORKS: [CODE] LLGroupMgrGroupData* LLGroupMgr::getGroupData(const LLUUID& id) { group_map_t::iterator gi = mGroups.find(id); if (gi != mGroups.end()) { return gi->second; } return NULL; } [/CODE] DOESN'T WORK: [CODE]// static LLGroupMgrGroupData* LLGroupMgr::getStaticGroupData(const LLUUID& id) { group_map_t::iterator gi = mGroups.find(id); if (gi != mGroups.end()) { return gi->second; } return NULL; }[/CODE] Error 1 error …

Member Avatar for neil.a.hudson
0
557
Member Avatar for sundog1

Hi guys, Currently I have a list view which is populated from a table in a Access database. It currently shows 3 columns of data which is fine. When I click on the item It populates the left hand side whith is full off text boxes such as 'Name', 'Address …

Member Avatar for Mike Askew
0
191
Member Avatar for SSagar

Hi, I am struck in accessing c functions from java. I have .lib file and 5 dll files which are interdependent. I need to access the c functions in java. Please help me. i have no idea on this. Thank You, Sagar

Member Avatar for JamesCherrill
0
217
Member Avatar for chandnigandhi
Member Avatar for I_m_rude
0
220
Member Avatar for martand

plz do suggest ne good topic for final year project in .net . Right now i am a beginner in c# .

Member Avatar for Mike Askew
0
152
Member Avatar for lj81

Hey just a question to prove me right or wrong. I am wondering what the 'this' in the following code refers to in terms of my applet. mainThread = new Thread(this); I believe that it refers to the run method which defines the thread. I was told I was wrong …

Member Avatar for JamesCherrill
0
118
Member Avatar for GTTravis

Hi Guys, i am working on a application that requires users to answer questions....what i want to do, because of the fact that the page has a lot of questions is to have some paging system on the form as well as keep page state whenever the user moves to …

Member Avatar for GTTravis
0
137
Member Avatar for daniel36

i have writeen following query in my code. $tquery="SELECT questions.id,questions.date,questions.title,users.user_name,subjects.subject FROM questions INNER JOIN users ON questions.student_id=users.id INNER JOIN topics ON questions.topic_id=topics.id INNER JOIN subjects ON topics.subject_id=subjects.id WHERE subjects.id=".$_SESSION['sub1']." OR subjects.id=".$_SESSION['sub2'].";"; but when i am trying to echoing its result it is not displaying anything.

Member Avatar for daniel36
0
189
Member Avatar for haroonrulz

Dear Gurus/Experts in C++, I am creating an automation tool, for that I have to autosave the excel with strings.I can read/write in excel, but when I try to auto-save the excel I am getiing error, the same code I tried for saving the integers,its working but for string I …

Member Avatar for Ancient Dragon
0
308
Member Avatar for baig772

I have the following table structure of my db: * tbl_project * tbl_employee * tbl_deliverable * user_to_deliverable as tbl_prjct and tbl_deliverable has 1-many relation, tbl_employee and tbl_deliverable have many-many relation so they are splited into user_to_deliverable table All i want is that a query to show project_name(from tbl_project), project's deliverables …

Member Avatar for baig772
0
123
Member Avatar for bettybarnes

Hello I'm very new to android programming. I'd like to calculate the sleep cycle of a person in Android. I found a java code from the net but I don't know how to apply it in Android. Here's the code I found: /** * Get times to wake. We add …

Member Avatar for bettybarnes
0
233
Member Avatar for dean.ong.14

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta name = "description" content = "Wellington Real Estate"/> <meta name = "keywords" content = "home, housing, Karori, Mirimar, Te Aro, Thorndon, Farcourts, Jonnys, Relax"/> <title> Agents </title> <link rel = "stylesheet" type = "text/css" href = "assessment.css"/> </head> …

Member Avatar for rpv_sen
0
261
Member Avatar for davy_yg

Hello, I am trying to install apache xampp. Get this error? #1146 - Table 'phpmyadmin.pma_recent' doesn't exist Why is it? Thanks.

Member Avatar for davy_yg
0
94
Member Avatar for rotten69

Hi everyone, I'm sure the update statement is well-written but for some reason Oracle sql command line is refusing to execute it. UPDATE myTable SET country = 'Aus' WHERE username = '"martin"'; // I know you can see single quote and double-quote as well. Well, names were inserted into the …

Member Avatar for rotten69
0
165
Member Avatar for ericjw316

I am having some issues with some code i am trying to use. Can you please take a look at the code and give me some fixes to this. The error i am getting is this: Warning: Wrong parameter count for mysql_fetch_assoc() in /home/content/33/5271833/html/cfr_forms/edit.php on line 10. What i am …

Member Avatar for diafol
0
451
Member Avatar for techberry.org

I will give an example of what I have so far but, most parts will be left out for simplicity sake: pt1) <?php echo "<img src='$path' width='400' height='400' alt="; ob_start(); echo "'$name'"; ob_end_clean(); echo "/>"; } ?> pt2) A couple of lines down from this is (where i want to …

Member Avatar for techberry.org
0
144
Member Avatar for jemsz

Greetings all, I have a noob php question i need answering if possible.. I simply want to save what ever is typed into the form field for when the page is reloaded to show again. I know it needs a new session started but im confused alot about what needs …

Member Avatar for diafol
0
227
Member Avatar for opspl_programme

Hi All, There are many articles available that describe how textbox watermark can be done with the .Net framework(C# and VB.Net) I'm working on a VB6 project. How to implement this with a VB6 textbox?

Member Avatar for AndreRet
0
2K
Member Avatar for farooq82

Hello All, I am creating a nagios that will automatically login to my website and display result in Nagios. Currenlty I am able to login using script but my PHP Curl script return full HTML code after login thourgh curl. here is my script. <?php $id = "username"; $pw = …

Member Avatar for Mona3
0
193
Member Avatar for DeHF

The error of "} expected" appears at line 5. Why is that? I have included it at line 12. The error of "Declaration missing ;" appears at line 8. Why? There is ";" at the end of the line. class PEmployee { public: PEmployee(); PEmployee(string employee_name, double initial_salary); void set_salary(double …

Member Avatar for Perry31
0
111
Member Avatar for aneeqtariq_143

Hi every one. i am facing issue regarding displaying Product by category wise. i have two table 1st, product category and 2nd product details. i have foriegn in second table. i am attaching three file 1st template so you can undersatnd what i am tring to do and other files …

Member Avatar for aneeqtariq_143
0
206
Member Avatar for Setvir

I am trying to submit to a newsoap service and keep recieving the following error *HTTP/1.1 400 Bad Request Cache-Control: private Transfer-Encoding: chunked Content-Type: text/html Server: Microsoft-IIS/7.5 X-Powered-By: ASP.NET Date: Mon, 03 Sep 2012 10:09:41 GMT* Function I have written looks like the following ($post_xml is shown below and $url …

Member Avatar for pritaeas
0
199
Member Avatar for DizaFire

I am developing a pos application with c language, What i am trying to achieve is to add, and delete users. Adding is not a problem at all. but deleting is becoming too tricky What i am doing is, i am seaching for the record using fread(), then as soon …

Member Avatar for VatooVatoo
0
157
Member Avatar for gimmeuheart

/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package buttontest; import java.awt.*; import java.awt.event.*; import javax.swing.*; /** * * @author noorulrafiedza */ public class ButtonTest extends JFrame { private JButton Button , Button1,b; private JPanel Group; private JCheckBox cek1; …

Member Avatar for harinath_2007
0
1K
Member Avatar for PinoyDev

Good day! How to move to a specific record base on the current recordset of adodc control? I have this employee_(empID, empName, EmpSalRate). I have load all employees data by using this code: dim Sql as string Sql="select * from tml_employee order by empName Asc" AdoDc.ConnectionString=Conn AdoDc.RecordSource=Sql AdoDc.Refresh Thus, I …

Member Avatar for AndreRet
0
957
Member Avatar for Mike_H

I am trying to pass the values of an array from one PHP page to another but I am not having any luck. I need someone to tell me what I am doing wrong or if there is a bettter way. Here is my code snippet for page one: <?php …

Member Avatar for Mike_H
0
222
Member Avatar for ITHope

I have to create a java program using either a regualr array or arraylist so I chose arralist and I named it horses but now have to create another method with in the programming inorder for a user to input/search for "trigger" and if it is found it shows the …

Member Avatar for javaAddict
0
321
Member Avatar for harsha.netpem

Hello, How can we reshuffle the data from database represent in table form? I want to reshuffle the data of table it means we can up and down that data for e.g if I want to that data in first row from last row then I want to drag the …

Member Avatar for harsha.netpem
0
124
Member Avatar for Jacklittle01

I developed a program I think has potential, but don't want the end user to a) have to download python and b) steal my code. How would I turn it the .py of my script into a .bat or .exe so my end user can run it?

Member Avatar for Alice25
0
3K
Member Avatar for vinnitro

This is my program for Biodata in applet using JFrame import javax.swing.*; import java.awt.*; public class Biodata extends JFrame { JLabel jlname,jladd,jlmobno,jldob,jlgender,jltab,jlhob,jllang; JTextField jtname,jtmobno; JTextArea jtadd; JComboBox jcd,jcm,jcy; JRadioButton jrm,jrf; ButtonGroup bg; JTable jtedu; JScrollPane jsp,jshob; JList jlhobby; JCheckBox jc1,jc2,jc3; JButton jb1,jb2; JPanel jpr,jpcombo,jpcheck; JFrame jf; Biodata() { jf=new JFrame("Biodata"); …

Member Avatar for vinnitro
0
1K
Member Avatar for samohtvii

Hi all, Say i have 2 nodes of a tree. struct tree{ int data; tree* left; tree* right; }; NODE1 data = 3; left = NULL; right = NULL and NODE2 data = 6; left = NULL; right = NULL How do i say Node 2 if the left link …

Member Avatar for WaltP
0
173
Member Avatar for DeHF

I need a little bit of help here. I'm new to C++ Classes. There are some errors which I do not know how to troubleshoot. The error of "Declaration terminated incorrectly" for line 6 and 7. Multiple errors of "Type name expected". Why is that? Multiple errors of "Declaration missing …

Member Avatar for WaltP
0
316
Member Avatar for lhhippie1

Hello All, First time poster, long time reader and thank you for all the previous help I have recieved from everyone. I am having trouble conneting to my access db. I think I have the bulk if this right, but I am getting an error on the newconnection.open() line. I …

Member Avatar for lhhippie1
0
159
Member Avatar for duyencaothi

I'm looking for the web online course for my learn Python Where are the best to learn python? Who know tell me, please. Thanks!

Member Avatar for Max00355
0
180
Member Avatar for jigarsangoi

![index3](/attachments/large/3/index3.jpg "index3") I want to create menu style given in image when i clicked menu it opens its content, but when i clicked to 2nd menu it closes previously opened menu and open 2nd menu. please see image so you get perfect idea what i want to say...if you have …

Member Avatar for JorgeM
0
225
Member Avatar for dantheman4

I am supposed to use this method public static void drawIndentedLine (int spaces, String begin, int n, String middle, String end) This is what I am suppsed to do **It should print a single line, terminated with a newline, that begins with the specified number of spaces, followed by the …

Member Avatar for dantheman4
0
355
Member Avatar for triumphost

Hello everyone. I have a problem with my checksum and logic. I wrote a program that downloads and read bitmaps and try to generate a checksum for each one. The checksum is used as the name to save the bitmap as so that I don't save the same bitmap every …

Member Avatar for WaltP
0
164
Member Avatar for haimz

how can i parse <tag attr="z"> <tag attr="y"> <tag attr="x"></tag> </tag> </tag> to <tag attr="z"> [tag=y] <tag attr="x"></tag> [/tag] </tag> Without using extensions ... THANKS ALLOT :)

Member Avatar for diafol
0
207
Member Avatar for navi17

HEllo Friends, I am workng on online application which my clients will use on monthly bases. I have already purchase cloud server. I will also provide hostng services as well But i am confused at one point. Lets suppose 100 uses have registered and apply for my application. So do …

Member Avatar for diafol
0
230
Member Avatar for subok

Hi, I need to search a particular string in a CSV file ("STPSTR01.134") the line that contains this string. I need to divide the 13th column by the 14th column. Any help would be very much appreciated. I'm using ActivePerl for windows /csv file allAssociationUtilizationData;V16SG;2012/07/27;10:45:00;STPSTR01.134;900;FALSE;SCANNER;10;3471;6288;11093;10419;588480;631296;0;254004;316732;0 allAssociationUtilizationData;V16SG;2012/07/27;10:45:00;STPSTR01.58;900;FALSE;SCANNER;10;20652;23514;39497;29404;4690132;3929776;0;3471992;2947904;0 allAssociationUtilizationData;V16SG;2012/07/27;10:45:00;STPSTR01.60;900;FALSE;SCANNER;10;20593;19351;36274;26039;4350820;3462084;0;3234956;2593056;0 allAssociationUtilizationData;V16SG;2012/07/27;10:45:00;STPSTR01.62;900;FALSE;SCANNER;10;24237;21229;40003;28678;5122408;3703840;0;3875508;2746088;0 allAssociationUtilizationData;V16SG;2012/07/27;10:45:00;STPSTR01.26;900;FALSE;SCANNER;10;18538;20644;35833;26421;4075280;3588768;0;2979124;2707892;0

Member Avatar for Kwetal
0
205
Member Avatar for subtlehulk

Hello, I'm starting to delve into the world of Web Development after failing to design websites at a good standard. I've had a look through the forums but I haven't found a specific answer(s) to my key problems. So if you don't mind, I will list all of my questions/dilemmas …

Member Avatar for DavidB
0
148
Member Avatar for ckarlss0n

Hello everyone. I need some help with a SELECT FROM WHERE query. Let's say I have a row named A and another row named B, and I want to select the eventual cases where values from these two rows, somewhere, match eachother. In this case, you can see, that the …

Member Avatar for diafol
0
238
Member Avatar for rakibtg

hello everyone, what is the way to replace Spaces With + icon using PHP. Suppose some text like "I Love PHP" will automatically converted like this way "I+Love+PHP" .. assuming a field has this text in a variable like> `$text = I Love PHP` so this variables text spaces will …

Member Avatar for rakibtg
0
118
Member Avatar for coreyavis

I have a .htaccess file. I have two RewriteRule's that do the same thing. This one works perfectly, and can handle a huge query: RewriteRule ^p/(.*)(/?)$ index.php?p=$1 [QSA,L] This one will only handle a query up to 255 characters. RewriteRule ^(.*)(/?)$ index.php?p=$1 [QSA,L] How do I fix this, and make …

Member Avatar for coreyavis
0
766
Member Avatar for waqas94

hey guys !! i am new at c++ so i need a bit of help .. i am trying to solve different problems but i am stuck on this problem .. write a c++ function , smallestindex that takes as parameters an int array and its size and returns the …

Member Avatar for WaltP
0
118
Member Avatar for Mike_H

I have the following code in my **PHP** program: $query = "SELECT * FROM board_members"; $result = mysql_query($query) or die(mysql_error()); $data = array(); // create a variable to hold the information while (($row = mysql_fetch_array($result, MYSQL_ASSOC)) !== false){ $data[] = $row; // add the row in to the results (data) …

Member Avatar for Mike_H
0
261
Member Avatar for qwazy

Hihi im very new to programming. Need help for this program. Im supposed to create a queue using an integer array. For input value > 0, program will insert value to queue ; input value = 0, program will remove least recently added value from queue if non empty ; …

Member Avatar for qwazy
0
2K

The End.