64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for fingerpainting

[B]Context[/B] I'm retrieving data from Google Analytics (via the python-googleanalytics library, as Google's API is way too complex for me right now) and putting that data into a table using an HTML library. Python experience: very low. [B]Problem[/B] I have this: [u'string', u'string'] [integer] [u'string', u'string'] [integer] [u'string', u'string'] [integer] …

Member Avatar for fingerpainting
0
254
Member Avatar for mpc123

I have this code part of a bigger table with different field names being echoed. [code=php] echo "<tr><td>"; echo $row['car']; echo "</td><td>"; echo $row['caravan']; echo "</td><td>"; [/code] I need 2 pieces of help please. I want to add an image of that car, the image is in a folder on …

Member Avatar for MooGeek
0
124
Member Avatar for Axelro

Hi. I want to sort the keys of my dictionary. The keys are consisted of list of 3 different numbers, for instance - (0, 5, 0) So I want to sort them first over key[2], then over key[1] and then over key[0] Then to print the value accorfing to the …

Member Avatar for Axelro
0
87
Member Avatar for gerard4143

Please check the line(s) of code after the comments '//this is the line of code in question... '. I want to know if this is the proper way to use the std::ostream operator<< in multi-inheritance? Basically I want the derived object(dog) to call the base object's std::ostream operators without hard-coding …

Member Avatar for gerard4143
0
2K
Member Avatar for flyblackbox

I followed this tutorial and set up comments on my website: [url]http://www.ruhanirabin.com/easy-steps-to-facebook-connect-comment-box-how-to/[/url] Our site received hundreds of "Like's" and Comments. I changed the URL for my root directory and got a SSL certificate. The Facebook app is broken now, can anyone lend some insight?

Member Avatar for flyblackbox
0
147
Member Avatar for ceeandcee

I am working on a Hockey Pool stat project. My PPG column is a calculation that divides PTS by GP. This works fine for anyone that has played a game. However, in the case of Rookies or the very beginning of the season the GP number is 0. As such, …

Member Avatar for ceeandcee
0
197
Member Avatar for Naveed_786

Hi guys, I want to search a customer when i press an alphabet 'a' it should search and show drop down list of all customer those name start with 'a'. Please please help thanks in advance.

Member Avatar for Naveed_786
0
127
Member Avatar for timb89

I am looking to allow the user to submit a polynomial such as +3x^6 +2x^2 +9x^0 into a set of variables which would be sent to a linked list. What is the best way to separate the variables to allow them to be looked at individually. So that: C E …

Member Avatar for timb89
0
90
Member Avatar for titan5

I have been given a program to write in java but inspite of thinking hard I have not been albe to get the logic for doing it. Here's the problem- I am given n dice which are rolled simultaneously and one of the possible sum of the dice. The program …

Member Avatar for JamesCherrill
0
1K
Member Avatar for Jaydenn

I'm not sure about what I did, but........ [url]http://i33.tinypic.com/2vjr87b.png[/url] How do I get rid of those green arrows?

Member Avatar for rico078
0
88
Member Avatar for Bigbrain99

I 'm not quite sure if i did the right way but i just couldn't get the right value for my codes....can anyone figure out the problem? [CODE]for(int x = 0; x<myvector.size();x++) { if(number.compare(0,2,myvector[x],0,2)==0) //compare number(user's input) to the line read from getline { checknumber = true; cout<<"passing compare++"<<endl;//if same …

Member Avatar for Bigbrain99
0
85
Member Avatar for kazkikay12

i want to make a program that used to enter 7-digit number and determine the largest , smallest and the median and average of the seven number and as for know i tink i got it but there something wrong again in my program can you chek it out and …

Member Avatar for kazkikay12
0
140
Member Avatar for Mike516

I have a pagination script but currently it echos out all the page numbers which is well over 1000, Can anyone tell me how I would make it like 1 2 3 .... 1000.. Like vb has it.

Member Avatar for Mike516
0
136
Member Avatar for Loony064

Hey all! I'm working on a project at the moment that uses WPF with C#. It has 4 tab pages (view, add, edit, delete records). On the view tab page, there is a listview that displays the database (SQL using linq-to-sql) records from a particular table (lets call it 'customers'). …

Member Avatar for Loony064
0
2K
Member Avatar for g(valve)

Visual Basic 2008 Hey i was wondering if it was possilbe to change the colour of text in a textbox through a button in a simple text editor that i am working on any help would be appreciated. cheers

Member Avatar for g(valve)
0
128
Member Avatar for sbrohee

Hi everybody, In standard C++, two pair objects (pair <int, int>) are equal when the first and the second member of the pair are equal. Would it be possible to redifine the pair so that to pairs would be equal when only the second terms are equal? Thanks a lot …

Member Avatar for sbrohee
0
209
Member Avatar for daudiam

I compiled a HelloWorld example using QtJambi. But on running it, it said "[B]failed to unpack native libraries[/B]. The complete error was : [CODE]daud@daud-laptop:~$ java -d32 com.trolltech.examples.tutorial.HelloWorld Exception in thread "main" java.lang.ExceptionInInitializerError at com.trolltech.qt.QtJambiObject.<clinit>(QtJambiObject.java:60) at com.trolltech.examples.tutorial.HelloWorld.main(HelloWorld.java:58) Caused by: java.lang.RuntimeException: Loading library failed, progress so far: Unpacking .jar file: 'qtjambi-linux32-gcc-4.6.3.jar' Checking …

Member Avatar for daudiam
0
251
Member Avatar for letheredge

Hello, I am having trouble getting my c:param working. I've looked all around the web for a solution. Here's some of the code that I have: test.jsp <%@ page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8" language="java" errorPage="" %> <%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %> <html> <head> </head> <body> <c:import url="test2.jsp" > <c:param name="testVar" value="0" …

Member Avatar for ~s.o.s~
0
352
Member Avatar for sportinguista

Hi, I have a project which calls an internal jar included in it´s classpath. At a certain moment my code makes this call: [CODE] Runtime.getRuntime().exec("java -jar ./jars/myJar.jar"); [/CODE] It works when running from Netbeans, but when I make "clean and build" and then execute the new jar ( outside of …

Member Avatar for ~s.o.s~
0
153
Member Avatar for Archenemie

im trying to make it so that the discount box will only accept numeric input to 2dp, and i know the code is roughly solid, but when i run the code, it says CashTransaction has no attribute discount input, and i have been tinkering with this code for the better …

Member Avatar for Archenemie
0
101
Member Avatar for Dinnerfortwo

My assignment is to use pointers to point at the highest and lowest temperatures in the array. I need to have 3 pointer variables and start them at the beginning of the array. Step the pCur through the array using a for loop and pCur++. Loop through the array looking …

Member Avatar for xuancong
0
202
Member Avatar for lwaterfo

Hi, I have a php code that lists the contents of one of the tables in my database. At the bottom of the listing, there is code that takes you to the next 10 results. Problem is, when I test it out, I am being redirected to a comcast search …

Member Avatar for MooGeek
0
117
Member Avatar for george61

I'm working on a site and I want to give the users option to change the background image. Of course client-side. My default background-image is put in CSS file. [CODE]body { background-image: url(images/back.jpg); overflow: visible; width: 1260px; }[/CODE] I've tried to make some javascript trigering the change [CODE]var img = …

Member Avatar for Airshow
0
455
Member Avatar for ndeniche

Hello mates I've got a database with tables for Job Department and Job position. Every Positions has a respective Department assigned by the id. So, when the user selects a Department, the program deploys into the combobox the values of the Positions assigned to that department. The thing is, the …

0
119
Member Avatar for itsmeisuru

Hi [code] #include "cv.h" #include "cxcore.h" #include "cxtypes.h" #include "highgui.h" int main() { CvCapture* capture = cvCreateFileCapture("RosewellBst.mp4"); cvNamedWindow( "Example2", 1 ); cvMoveWindow( "Example2", 100, 100); IplImage* frame; while(1) { frame = cvQueryFrame( capture ); if( !frame ) break; [COLOR="Red"]cvShowImage( “Example2”, frame );[/COLOR] char c = cvWaitKey(33); if( c == 27 …

0
61
Member Avatar for nv136

Hello everyone. I really don't know where to post this, but, anyways.... here is my problem.... I have built a program that generates a waveform for a .wav or .wave file.... but the music clip can only go in through the "file, open, and blah blah blah" I really want …

Member Avatar for nv136
0
755
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
164
Member Avatar for Umee001

Hello all im new to prgramming and ive gotten to a dead end where im hoping some of you people can help me! Basically i am trying to make a media player that opens pictures audio and video into seperate forms, so i have 4 forms main form where i …

Member Avatar for Umee001
0
187
Member Avatar for OldManStarting

Having found the following post on datareaders [URL="http://www.daniweb.com/forums/thread278415.html"]Topic Posted On DaniWeb[/URL] i have managed to successfully create a datareader in a class that updates a listbox on the calling form with entries retrieved from a SQL server database. I was wondering if it is possible to achieve the same thing …

Member Avatar for OldManStarting
0
163
Member Avatar for eagled2

Hello. I am currently working on a website to post some articles I write for my friends. The problem I am currently having is with a dynamic redirect. I have a dropdown list that is populated dynamically from a mysql database. That part is working fine but I can't get …

Member Avatar for MooGeek
0
213
Member Avatar for naxysch

Hello, ok I have a problem with JFileChooser.When I save a file with a name that exists already, It replaces the older file and saves the new one but I want make it show a confirmation message to the user to ask if they want to replace the file or …

Member Avatar for naxysch
0
207
Member Avatar for ITStrawberry

Hello guys, I have a question. In one form i have a treeview. I get the value by doing treeview.selectednode.text; But in the same project i have another form. I want to send the value of the selectednode to the other form. How can i do this?

Member Avatar for Geekitygeek
0
107
Member Avatar for becky007

hey guys. i get an error "Could not find a part of the path" for inputStream = File.OpenText(textBox1.Text). The idea is to enter a folders path then in another textbox enter word to search. all the files in the folder have to be searched then the word,filename and path are …

Member Avatar for becky007
0
88
Member Avatar for normmy

Hi all, sorry if this post is a duplicate, I had a search and couldn't find what I was looking for. In simplest terms I need to use the string split method using a sting as the seed i.e. [code] string[] sections = line.Split("><"); [/code] Sorry if this is a …

Member Avatar for Geekitygeek
0
258
Member Avatar for benjaminFowl87

Hi there, i'm currently having trouble re-sorting an array based on a letter that a user has submitted. this is the associative array I want to sort. [CODE] $people = array( 0 => array( 'id' => 12345, 'name' => 'abi', ), 1 => array( 'id' => 12346, 'name' => 'ben', …

Member Avatar for benjaminFowl87
0
274
Member Avatar for wilch

Hi All, Can anyone please help me. I am trying to connect to a Pervasive SQL v9 database using a PHP script. I have been trying for hours to make a connection but all my browsers keep loading with no response from the server. The PHP code is as follows: …

Member Avatar for wilch
0
933
Member Avatar for Pinchanzee

Using py2exe I've made an exe file which processes a file then creates a new file which details the errors found in the original file. However, at the moment I have to change the file allocation in the code each time I want to do it on a different file …

Member Avatar for Pinchanzee
0
575
Member Avatar for Animal Mother

Hi everyone Could someone please help me, I need to loop through all the records in a column in my access database, Currently my program only views the first record in the column and does not go any further, I tried a While loop but I get a NullException error …

Member Avatar for Animal Mother
0
1K
Member Avatar for 21KristianN

Dear SQL sharks.... Please somebody help me with this struggle. I have been searching the web for hours now. I have a table with sales data. In this table i have a columne called SalesAmount, CustomerName and SalesDate(the format i smalldatetime) Now I would like to retreive all the records …

Member Avatar for kplcjl
0
5K
Member Avatar for hari.sarvothama

I have a drop-down list box which has to be populated from a database in mysql. I implemented the following code: [CODE] //DB Conn done here.. <td>College Name,id :</td> <td><select><option selected="selected">Choose a college...</option> <?php $query="SELECT nameid from college"; $result=mysql_query($query); while ($line = mysql_fetch_array($result)) { foreach ($line as $value) { echo …

Member Avatar for ﻼim
0
222
Member Avatar for vponnoju

Hello All, I am not sure, if this is the right place to post this query. If not, please redirect me. Here is the brief explanation of I have a web application (GWT application) project in Eclipse. I have a server side code which interacts with LDAP directory for some …

Member Avatar for vponnoju
0
279
Member Avatar for Krs13

Hi, I want to update records in the access table which is connected to vb. Can somebody give code for that please. (ie)when i click add button the entered fields should get updated in the tables and the form should be refreshed again to enter datas.

Member Avatar for kinwang2009
0
164
Member Avatar for Victor C.

I am trying to find a tutorial to lean how to use a JFileChooser in order to read a file and convert it into a tick mark chart. I seen it on a demonstration video on sun.com and I thought it looked awesome. Sadly, I tried to google for tutorials …

Member Avatar for Victor C.
0
75
Member Avatar for levsha

I'm trying to pass a value from a select input control on an HTML form. Here is the PHP of page1.php: session_start(); $_SESSION['invtype'] = $invtype; header("location: offerform_switch.php"); Here is the HTML: <select id="invtype" name="invtype"> <option value="0" selected="selected">Select type</option> <option value="product">PRODUCT</option> <option value="software">SOFTWARE</option> </select> This is offerform_switch.php: session_start(); echo $_SESSION['invtype']; switch …

Member Avatar for levsha
0
583
Member Avatar for Ranx

Hoping someone out there can help. I have a fairly simple piece of code for viewing files [code] System.Diagnostics.Process.Start(tFileInfo.FullName) [/Code] Basically passes the path of a file to the process and let Windows deal with how to open it. Have also tried [code] Dim myProcess As New System.Diagnostics.Process With myProcess …

Member Avatar for Ranx
0
181
Member Avatar for doctorphp

Hi everyone. I am trying to make an if statment that will show text saying create an album if the user has no albums but if they have one or more albums then it will show their albums. Now I have sorted out everything but when I get to the …

Member Avatar for ﻼim
0
128
Member Avatar for rockstar0384

It might already be posted but i was just wondering what the open and save code was that you would put into a VB5 form. I would appreciate it if someone informed me. Thanks.

Member Avatar for Maestro12
-3
1K
Member Avatar for RicardoE

Hello all, I'm having some problems, see I'm making an API in php to my web app comunicate to a desktop app. Anyways, when I try to post some data to the site I need a url to go in that data, example: name=product[B]&[/B]description=something[B]&[/B]site=mysite.com?name=a[B][I]&[/I][/B]desc=b this is how the post is …

Member Avatar for ﻼim
0
113
Member Avatar for nv136

Hello everyone, I am not a professional at vb.net so help me out. I have made a small program and a want to add a serial control to it.... here is my code.... Public Class Form1 Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click If TextBox1.Text …

Member Avatar for nv136
0
537
Member Avatar for zack_falcon

I am doing a Quiz Generator / Viewer project, which requries the use of a database for the numerous questions the teacher has to put in, as well as the user names, passwords, etc. I used Microsoft Access (2000, I think) because I found it easier to use. For the …

Member Avatar for zack_falcon
0
143

The End.