64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for SearchEngineOptimisationService

Hi im rubbish at programming, but im trying.... Im trying to get a page to display the details posted to a form. Part of it is working and part of it isnt for some reason. Ive declared a new value called "responsecode", responsecode = Request.Form("gtpay_tranx_status_code") If the value posted to …

Member Avatar for JorgeM
0
233
Member Avatar for n21115

Hi, I'm trying to execute some commands via the exec / shell_exec / system / passthru / popen PHP functions. The commands are getting executed successfully, but they're not returning any output, which they would normally do, if they are executed in a terminal/shell environment: http://i.minus.com/ipySNqCnFn5iG.png http://i.minus.com/ibmq8Cer2yOAOR.png **What I expect:** …

Member Avatar for n21115
0
1K
Member Avatar for krystosan

I hav amde this alias : test='python -m nose.core --tests $1 -s --with-coverage' this runs but gives an OS Error saying: $ test test_filterList.py nose.plugins.cover: ERROR: Coverage not available: unable to import coverage module ....E ====================================================================== ERROR: Failure: OSError (No such file /Users/sanjeevkumar/Development/python/-bash) ---------------------------------------------------------------------- Traceback (most recent call last): File …

Member Avatar for krystosan
0
563
Member Avatar for blue_Student

Hi, I'm doing an input validation of a String. The number should have a decimal pt, a whole number and a fraction part. It can have a negative sign (-) but not positive sign(+). This is what I've done but when I write --43.05, it prints false. String n = …

Member Avatar for blue_Student
0
226
Member Avatar for Tewhano

This is homework so I am not looking for a better way to do this. I am only asking for a second pair of eyes to spot my mistake. I have a function that takes a two-dimensional array and fills the first row with the elements from a one-dimensional array. …

Member Avatar for Tewhano
0
212
Member Avatar for Hanyouslayer

What I'm attempting to do is read a text document to pass in variables into an arraylist of shape objects that I will use to create shapes. I don't need any help with the actual drawing of the shapes, working with the arraylist, or the initial scanning setup. I thought …

Member Avatar for Hanyouslayer
0
816
Member Avatar for patk570

Hello, I have 2 functions that I wrote to show a hidden div, I would love to convert this to jquery but unsure how. Also, I want a function that will allow me to change the onclick function to open and close and show an arrow > and arrow down... …

Member Avatar for patk570
0
222
Member Avatar for nitin1

import sys i=0; def func1(i): print "i am in function func1" if i<5: i=i+1 func1(i) else: return return def main(): print "beginnning the function\n" func1(i) print "hello Daniweb" s='aman' print "hahha" main() it is giving me syntax error in print "hahha" statement. WHat is that ? According to me, it …

Member Avatar for nitin1
0
206
Member Avatar for illyaizevielvon.einzbern

Guys, can you help me with my project I can't see what's wrong with my program. The errors are: Line 138: Expected primary-expression before "int" Line 138: Expected ';' before "int" Line 158: Expected '}' at end of input #include<iostream> using namespace std; int telephone_bill() { int choice, min, tbill, …

Member Avatar for ikel
0
280
Member Avatar for toll_booth

Hi everyone, I just downloaded and installed numpy, and I'd like to give it a try. But I can't seem to import it. When I try, this is what happens: Python 3.3.2 (v3.3.2:d047928ae3f6, May 16 2013, 00:03:43) [MSC v.1600 32 bit (Intel)] on win32 Type "copyright", "credits" or "license()" for …

Member Avatar for vegaseat
0
340
Member Avatar for wrathofmobius

First of all, I should say I'm brand new to PyGame and am pretty new to advanced Python. I'm trying to make a side-scrolling game but just making a sprite move back and forth with keyboard input is proving to be a problem. It appears that the loop is running …

Member Avatar for vegaseat
0
893
Member Avatar for Xakzi

Hello! I am coding in windows form application c++/CLR I need help with coding a way to read everything in a folder, put the names of the files and put the names in a combobox. These files are for now images (.jpeg). And I would also like that, when I …

Member Avatar for Xakzi
0
762
Member Avatar for HunainHafeez

like answers should be technical, i know the code to fill and update everything, but i actually don't know precisely that how it does ? like i change row in GRIDVIEW and click update, it changes(updates) data in database too, some says that SQLDATA-Adapter do this but even in my …

Member Avatar for HunainHafeez
0
93
Member Avatar for Dili1234

I want to retrive data from table to combobox I used this coding though I didn't get an error the outpiut(data) is not displaing in the combobox Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click MessageBox.Show("Please Insert the Sample note no", "Information", MessageBoxButtons.OK, MessageBoxIcon.Information) Try myConnection …

Member Avatar for sharls
1
599
Member Avatar for gahhon

![1c1818c0424f995161e5d67c0832ee62](/attachments/large/3/1c1818c0424f995161e5d67c0832ee62.jpg "1c1818c0424f995161e5d67c0832ee62") i want to create a dynamic data by showing the particular category details. Example, if i mouse hover the area of clothes/the word of clothes, it pop out a new small window that showing another pie chart, how can i archieve that? or showing the details in the …

Member Avatar for gahhon
0
186
Member Avatar for gahhon

My webpage is allow to scroll up and down but not left and right. Assume my webpage left is contain something and right is used to display the some information. Of curse, the information might be extremly long but how can i to auto break to new line instead of …

Member Avatar for gahhon
0
213
Member Avatar for drsnet41

I'm trying to pass a .txt file as a paramater into my java program. The line that reads in the file is: Scanner in = new Scanner(System.in); My program is titled SetTest and the file I'm trying to read is Ted.txt. If I go to a Windows 7 command prompt …

Member Avatar for sepp2k
0
12K
Member Avatar for somjit{}

I think i have understood the basic locks , synchronized statements and methods etc etc . I would like to actually program something that used all this. Something that is prone to breaking if one is not careful , also would love if there is swing involved ( i read …

Member Avatar for JamesCherrill
0
146
Member Avatar for KushMishra

Hello All, I want to add a functionality to my WPF usercontrol in the Head section like the image below :- ![f4418c3ccc7f9a4d7f30aee9903987c6](/attachments/large/3/f4418c3ccc7f9a4d7f30aee9903987c6.JPG "f4418c3ccc7f9a4d7f30aee9903987c6") Could someone please suggest some approach on how to achieve the same ?

Member Avatar for KushMishra
1
170
Member Avatar for dean.ong.14

Notice: Undefined variable: result in C:\Users\User\Desktop\Desktop\htdocs\trip1.php on line 67 Warning: mysqli_fetch_array() expects parameter 1 to be mysqli_result, null given in C:\Users\User\Desktop\Desktop\htdocs\trip1.php on line 67 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <!-- --> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta name="keywords" content="" /> <meta name="description" content="" /> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> …

Member Avatar for Assembly Guy
-1
8K
Member Avatar for bullet_1

I can search and find text in word doc through vba but I dont understand how to search images Its a big problem to me Can anybody help me thanks in advance

Member Avatar for Zephaniah
0
126
Member Avatar for alina.nazchowdhury

i made on screen keyboard program with visual basic 2008, i run it, its working great, i save it and then i wanted to open it again to review it, but its only showing me the code, i can not run it anymore. Anybody give me an answer to my …

0
108
Member Avatar for Krontical

Hello everybody~! I'm trying to install the latest version of pyHook for my Python 3.3.2 shell. I am a new coder in Python, all though I am rather experienced in lua. Unfortunately, after multiple attempts of trying to install pyHook (1.5.1), I am unable to do so as I get …

Member Avatar for snippsat
0
730
Member Avatar for HunainHafeez

one thing that i have been searching since many days that confuses me is that the difference between ONCOMMNAD and ONROWCOMMAND, Oncommand methid use parameters like "DELTEROW" EDITROW while ONROWCOMMAND uses DELETE, EDIT etc and both send different kinda objects like one send GridviewEventargs type object while another sends commandeventargs, …

Member Avatar for JorgeM
0
651
Member Avatar for ikel

I have built a simulation of real space rovers. My current implementation for the first rover looks like this // a 6 wheel-rover public class Rover1 { private Joint joint1; // discrete rotation -- for steering private Joint joint2; // continous rotation -- for wheel private Joint joint3; // discrete …

Member Avatar for ikel
0
237
Member Avatar for Triryche

I am trying to use the values from numericUpDown boxes. With the execptoin of totalRunTime, all variables in this sample of code are from numericUpDown boxes. I have tried declaring totalRunTime as an int, decimal, double, ect... Am I missing something simple here? private void button1_Click(object sender, EventArgs e) { …

Member Avatar for Triryche
0
1,000
Member Avatar for castajiz_2

private void Form1_Paint(object sender, PaintEventArgs e) { String theString = "A"; SizeF sz = e.Graphics.VisibleClipBounds.Size; e.Graphics.TranslateTransform(sz.Width / 2 ,sz.Height / 2); e.Graphics.RotateTransform(angle); angle++; sz = e.Graphics.MeasureString(theString, this.Font); e.Graphics.DrawString(theString, this.Font, Brushes.Black,-(sz.Width/2),-(sz.Height/2)); } I dont understand the last part with the DrawString(). The 2 last arguments of the method specify the location …

Member Avatar for castajiz_2
0
598
Member Avatar for younes.keraressi

when i uncoment this line 144; i have error , and i debug and it was good, can anybody help me why i got this kind of error mybe should i declare List<employ>* list2, but it must wrok good like normale way List<employ> list2 #include<iostream> #include<fstream> #include<string> using namespace std; …

Member Avatar for younes.keraressi
0
180
Member Avatar for yaragalla_mural

Hi before adding `<!DOCTYPE html >` to my html, my javascript code is working fine. But by adding this to my html, the below part of the code is not working div.style.left=x; div.style.top=y; i am not able to set left and top values to an element. What could be the …

Member Avatar for yaragalla_mural
0
114
Member Avatar for sasikrishnasamy

Hi, I have code like this, public void method1(){ ArrayList<String> list=new ArrayList<String>(); list.add("A"); list.add("C"); list.add("D"); for(int i=0;i<list.size();i++){ if(i==0){ new Test().addB(list); } } System.out.println(list) } public void addB(ArrayList<String> list1) { list1.add(1,"B"); System.out.println(list1); } output: List1: A,B,C,D List : A,B,C,D I Expected this Result: List1: A,B,C,D List : A,C,D Why List1 is …

Member Avatar for JamesCherrill
0
307
Member Avatar for gahhon

i am using MYSQL as my database. Due to i have multiple selection of categories one of them is `Others` Once the user selected the `Others` it will shown a textbox which let the user to input a new category. But now i have problem is how can i add …

Member Avatar for gahhon
0
186
Member Avatar for gahhon

![732d22f08a80a7b16757c3d9f59f5454](/attachments/large/3/732d22f08a80a7b16757c3d9f59f5454.jpg "732d22f08a80a7b16757c3d9f59f5454") Recently i'm just created a new gmail account just for my project purpose. But when i performing there is a feedback from end-users.. the email address of the sender is my new gmail account? According to MailMessage `MailMessage(SENDER, RECEIVER)` am i right? but how come i am can't …

Member Avatar for gahhon
0
132
Member Avatar for lewashby

delete hash from users where email='emailaddress@hotmail.com'; Why is the above line not working? I want to delete the value in the hash column in the row the contains the specified email.

Member Avatar for pritaeas
0
100
Member Avatar for toxicandy

I have started a program that should be able to do basic cryptography functions such as reassigning letters to different letters. How I did this was by coverting each letter to an ASCii value and then storing them in an array. I am working with only the lower case letters …

0
72
Member Avatar for urbanthistleuk

Good Morning, I am after some help, I am still fairly new to php development so apologies if this one has been answered before, I have been tasked to build an email migration tracker that automates emails, this part I think I have covered, one part I am not sure …

Member Avatar for urbanthistleuk
0
220
Member Avatar for Hanyouslayer

Okay, I feel like I busted something in my head because I can't figure out anything in Java anymore! I just confused the crap out of myself, and I can't seem to get back on the horse. What I'm trying to do is read from a text file to create …

Member Avatar for JamesCherrill
0
346
Member Avatar for Pyler

This method is supposed to reverse a stack by making a new stack and pushing popped items from this stack to the revertStack and then returning the reverted stack. When I run some tests, it returns an empty stack in stead. Any clues? public LinkedStack<E> reversed() { LinkedStack<E> revertStack = …

Member Avatar for JamesCherrill
0
223
Member Avatar for andrew.mendonca.967

CSCI 15 Assignment #3, introduction to classes/objects. 100 points, due 10/21/13 A mixed expression is an expression of the form a + b/c, where a, b, and c are integers, b >= 0 and c > 0. By convention, b/c is always non-negative, and has the property that 0 <= …

Member Avatar for tinstaafl
0
249
Member Avatar for ehpratah

Good Day everyone I have 3 forms index.html , parent.html and popup.html just wondering how can i close parent.html and redirect it to index.html when the popup.html submit button is click? i already tried searching on google but i cant get any clear solution on how to achieved it. i …

Member Avatar for ehpratah
0
84
Member Avatar for iFrolox

Hello, How can I search for specific proccesses example "abc.exe" and add it to a listView and read values in it like an specific labels to add the processes on a specific group in the listView. Any articles would be nice.

Member Avatar for iFrolox
0
225
Member Avatar for ReyJEnriquez

Hi Guys, I hope everyone is doing great:-) I have a question... How To check if datatable is empty or no data is inside a datatable yet? Can you provide me with just code snippet?.. Thanks:)

Member Avatar for ReyJEnriquez
0
2K
Member Avatar for JOSheaIV

Hey everyone, So awhile back I built a program that contained a function to merge two databases (well SQLite ones that are read in as Lists). When the first database is read in, well the file, it's read into a Binary Search Tree, while the second is read into a …

Member Avatar for JOSheaIV
0
214
Member Avatar for HunainHafeez

like i am setting a button i gridview which when i click then shoulf turn row into editable mode, i could use Automatic EDIT button of Gridview but i didn't on purpose, it went good when i developed a delete button, +1, but stuck with this edit , it throws …

Member Avatar for JorgeM
0
766
Member Avatar for Abhishek_12

I am trying to add a List(Of T) to a Listview in Windows form application.But not able to do it. I have made a form and took the value of textboxes in a list and trying to bind the list to ListView

Member Avatar for tinstaafl
0
193
Member Avatar for Spider_14

I made a button "yes". If the button is clicked, how do I insert "5" into an entrybox (aldready existing).

Member Avatar for woooee
0
127
Member Avatar for cambalinho

class test { virtual void created(){}; //i must do these. //or when i call the function the compiler give me an error test() { void created(); } }test; void test::created() { cout << "hello world"; } these code have 1 error. but how can overrride the created function?

Member Avatar for cambalinho
0
412
Member Avatar for 2mhzbrain

Is it posible to connect my vb6.0 program to a wamp(mysql, myphpadmin) server on my pc. If i use my program to other part of our country, can i still connect to the wamp server? This is my challenge for a job, the IT personel from a company i am …

Member Avatar for ikocrush
0
928
Member Avatar for TheCodeCrimson

Hello! Pretty new to Python but I'm kind of loving it. Already involved in illustration, design, and creating web content for clients, but I'm hoping to expand beyond that into full-fledged web development as well. I know a fair amount of html/css, and was looking for advice on other languages …

Member Avatar for TheCodeCrimson
0
283
Member Avatar for ibpet11

Good Day All, I like to seek assistance for reading a file that has header and trailer information. I want the application to ignore the header lines (say the first 6 lines of the file) and also ignore the trailer which is always the last 2 lines of the file. …

Member Avatar for ibpet11
0
154
Member Avatar for Benjamin_4

<?php $connect = mysql_connect("localhost","root","bank1991"); $select_it = mysql_select_db("shalom presbyterian church",$connect); ?> <html> <head> </head> <body> <?php $full_name = mysql_real_escape_string($_POST['fullname']); $Phone_number = mysql_real_escape_string($_POST['pnumber']); $Email_address = mysql_real_escape_string($_POST['emailAddress']); $Comment_Questions = mysql_real_escape_string($_POST['feedback']); $addquery = "INSERT INTO contact_feedback(full_name,Phone_number,Email_address,Comment_Questions) VALUES('{$full_name}','{$Phone_number}','{$Email_address}','{$Comment_Questions}"; if($addStaff = mysql_query($addquery,$connect)){ echo "Feedback have been successfully sent <br>"; echo "<a href = \"contact.html\">Back to admin …

Member Avatar for Benjamin_4
0
113

The End.