64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for HelenLF

I have a page which displays images for products whose product IDs are stored in a database table. The images are named by the product IDs. I have constructed a basic CMS so that my client can upload product prices etc and she then uploads files using FTP software. The …

Member Avatar for Josh Connerty
0
89
Member Avatar for rtwister

whenever i run the below program it asks me to type in a password and it should go through all that could possibly be the password but if i type in a password of 2 or more digits it only displays the first letter of the password. [CODE] #include <iostream> …

Member Avatar for tux4life
0
104
Member Avatar for Aestter

I've been trying all day to make an executable from python file using pygame too. I was doing okay until it got to the mixer module which is where it failed quite epically. I then searched the web a bit and came up with this as it was on the …

Member Avatar for Aestter
0
596
Member Avatar for killdude69

Dear DaniWeb, I am working on a source code editor using Scintilla and am currently having some issues with the CreateFile() function. It does not return an error when I am saving as a new file, but when I am saving changes to the current file, it returns INVALID_HANDLE_VALUE. I …

Member Avatar for Yiuca
0
4K
Member Avatar for killdude69

This is a very simple problem, but for some reason I can't get it to work. I need to empty a variable ( char fileName[MAX_PATH] =""; ). It needs to be to where when I use this that it sees if it equals "", this wont work if it equals …

Member Avatar for killdude69
0
383
Member Avatar for SergioQ

Does anyone know of a decent Geo Ip Tool locator? I used to use GEOIPTOOL.com. It appears to no longer work. Have tried some others, but nothing was as close as the one above. Not even sure where to ask this, this was my best guess. Sorry if I'm in …

Member Avatar for wilson2
0
188
Member Avatar for adaykin

Hello, I am trying to completely remove everything from a table. I want to delete all of the rows which I am able to do. But when I delete all of the rows and add rows in again there is whitespace at the top of the table and I can't …

Member Avatar for adaykin
0
221
Member Avatar for VernonDozier

I have what I thought was a straightforward program. [code=Perl] #!/usr/bin/perl -w use strict; $a = 6; $b = 9; $c = 7; print $a . "\n"; print $b . "\n"; print $c . "\n"; [/code] I assumed this would display: [code] 6 9 7 [/code] and it does when …

Member Avatar for VernonDozier
0
219
Member Avatar for gstang95gt

I am new to Java, I am six weeks through a nine week class. I am having problems extending a class in my program. My assignment is as follows: Modify the Inventory Program by creating a subclass of the product class that uses one additional unique feature of the product …

Member Avatar for gstang95gt
0
161
Member Avatar for rtwister

it keeps saying theres an error on line 17, it says: "no match for 'operator!=' in 'a != password'" [CODE] #include <iostream> #include <cstdio> #include <cstdlib> using namespace std; int main() { string password; cout << "Type in a password: "; cin >> password; char a; a = 'A'; cout …

Member Avatar for tux4life
0
135
Member Avatar for sonia sardana

hey frnds, I want to add all the favorite names & its URL in litsview.I m able to get favorite names but not its urls. Can somebody know how to get URLs. Code below gets the favorite names- [code] Private Sub GetFavorites() Dim di As DirectoryInfo Dim lPos As Integer …

Member Avatar for sonia sardana
0
202
Member Avatar for Abderian

I made a program in Visual Studio that reads an End-Of-File signal. When you run in the debug mode, sending the signal closes the program. Running without debugging with ctrl + F5 means you can send the signal. However, when I compile in release mode and run the exe it …

Member Avatar for Abderian
0
203
Member Avatar for daviddoria

I'm just starting python and it seemed reasonable to go ahead and learn the new version. I read that numpy wont be available for python3 until at least 2010. All I need is a basic "vector", "matrix", and some basic functions like matrix/vector multiplication. Is anything like this available for …

Member Avatar for sneekula
0
136
Member Avatar for Daria Shmaria

I am writing a program to compute the fastest/shortest path between locations (stored in a directed graph represented by an adjacency list). I am trying to create this adjacency list ("al") as an array of pointers to Vertex class objects, but I get the error " 'al' was not declared …

Member Avatar for Daria Shmaria
0
155
Member Avatar for thumizee

could anyone tell me if the last lines of the following are true or false? 1) int arrA[3] = {1,2,3}; int *ptrToarrA = arrA; int *anotherptrToarrA = arrA[0]; 2) int arrB[2] = {1,2}; int *ptrToarrB = arrB; int *anotherptrToarrB = *ptrToarrB;

Member Avatar for tux4life
0
87
Member Avatar for polo_coins

Need you help. I want to use [COLOR="Red"]List [/COLOR] and I don"t know how I make definition and fill it Thanks Sergey

Member Avatar for polo_coins
0
91
Member Avatar for thornside

Hi, I need to know how to continue execution of code after throwing an exception. Has it got to do with where I place the throw statement? Thanks in advance.

Member Avatar for thornside
0
10K
Member Avatar for gretty

Hi I have a bool function that should find whether a year was a leap year or not. But the function is not returning the correct years as a leap year. [CODE]#include <iostream> #include <fstream> #include <string> using namespace std; bool is_leapyear(int year); int main () { int a = …

Member Avatar for gretty
0
117
Member Avatar for gujjar19

Hi, I am new to python. I am working on parsing text from a smi file . I want to extract only dialogues and want to ignore the timestamps (lines starting with <SYNC) for one case, e.g. Below is part of smi file <SAMI> <HEAD> <Title>ÁŠžñÀ» ÀûŸî ÁÖŒŒ¿ä.</Title> <Style TYPE="text/css"> …

Member Avatar for gujjar19
0
3K
Member Avatar for monkey_king

Hi I stumpled upon some c-code, which syntactically is different from what I've seen before. [LIST=1] [*]first [CODE=c] void strreverse(char* begin, char* end) { char aux; while(end>begin) aux=*end, *end--=*begin, *begin++=aux; } [/CODE] Would this be the same as [CODE=c] void strreverse(char* begin, char* end) { char aux; while(end>begin){ aux=*end; *end--=*begin; …

Member Avatar for monkey_king
0
217
Member Avatar for SoulMazer

So, I had a quick question about having multiple arguments being read into a bash script. In the following script, if I type "./myscript -h", it returns "Hippo.". However, if I type "./myscript -h -k", the script returns only "Hippo." I would like to know how to have the script …

Member Avatar for SoulMazer
0
110
Member Avatar for sarithak

Hi frnds.. i want to split a string into two parts.. example: $string="hyderabad,india"; i want to divide this based on , ... $string1= "hyderabad"; $string2="india"; plz help me asap...how can i get the output above...

Member Avatar for Merlin33069
0
3K
Member Avatar for mrclark

I Am Using VB.NET 2008 Express Edition, and am trying to make a program that controls the mouse position with a joystick on the a nintendo classic controller, which returns a value between [ -.54 ] and [ +.54 ]. I wanted so that the position vertically of the mouse …

Member Avatar for Teme64
0
141
Member Avatar for pydude94

im a first time programmer learning python from books and so far ive learnt how to create and define functions but once ive saved them, im not sure how to call them so that i can use them. it works fine when i type in the function name but only …

Member Avatar for pydude94
0
266
Member Avatar for rafaelbrizu

I have that funtion for generate sequence to the style 'hqhzaw', 'ebcpm', 'qtch', etc. (only letters) and according to 'lenght' [code=cplusplus] string random_letter(int length) { string s; for (int i = 0; i < length; i++) { s += char(rand() % 26 + 97); } return s; } [/code] I …

Member Avatar for rafaelbrizu
0
105
Member Avatar for MrNoob

I m trying to find the biggest number in the array but problem is that it keeps returning one [code] #include <stdio.h> int FindBiggest(int *arr,int choice) { int i; int num=0; for(i=0;arr[i]<=sizeof arr;i++) { if(num<arr[i]) num=arr[i]; } return num; } int main(void) { int arr[]={0,5,3}; int result; result=FIND_NUM(arr,BIGGEST); printf("%d\n",result); getchar(); …

Member Avatar for jephthah
0
139
Member Avatar for thecodingbee

[B]If you have seen igoogle,[/B] you will know what i am doing! The idea is that it [B]saves the co-ordinates of the box [/B]that you can move [B]into two text files :[/B] usercoord.txt-x axis & usercoord2.txt-y axis! can anyone tell me [B]how i can load the coordinates back, from the …

Member Avatar for diafol
0
118
Member Avatar for Podge

Hello, I am writing an app to read in an old file structure. It C++ this is how the code looks. I am trying to rewrite it in C# and can’t find any that will do it the same way. Here is how it should work. [code] // This is …

Member Avatar for ddanbe
0
118
Member Avatar for mg0959

I have written a program that is supposed to take a string via a socket connection and echo it back. This program is also run as a service. I can get a client program to connect to the service if the client program is on the same machine as the …

Member Avatar for mg0959
0
153
Member Avatar for serkan sendur
Member Avatar for DarthPJB

Hello once again, I've continued my engine somewhat and the rendering functions are now working fine thanks to Stinomus (feel free to applaud). However to enable it to load data I must use files containing strings describing objects in the game world. That in turn works perfectly and passes the …

Member Avatar for DarthPJB
0
237
Member Avatar for toddsmith

Greetings, I'm new here and new to php. I've always just written in basic html but now want to utilize global header, footer, and left nav bar. From what I've seen I should be able to accomplish that with php. (My contact with siteaction suggested that I use Frames, but …

Member Avatar for plantf7**344
0
150
Member Avatar for seemant_sun
Member Avatar for jephthah
0
67
Member Avatar for serkan sendur

i need to install 3 different cabs for my pocket pc application; .net framework, device specific SDK, application it self, respectively. i want to create a single cab and i want to install these three with that single cab. i know it is possible but i couldnt do it. please …

0
76
Member Avatar for serkan sendur

is it possible to use windows application as a custom action for setup project? All the custom action examples i have seen so far were class library applications. i wonder if windows application is also possible?

Member Avatar for serkan sendur
0
73
Member Avatar for blackrobe

Hey all, I have a dumb question to ask :(.. I want to know how to create a shell script that reads input from the STDIN as default, but when [-o inputFile] is entered as an option, it will read the input from the inputFile. I want to do this …

Member Avatar for blackrobe
0
121
Member Avatar for blackrobe

Hey all, I have a problem with using the grep command... Im trying to parse lines in a file and read only characters t,c,a,g lower or upper case...but i keep getting trouble in the outcome: for example axxxxtc should return atc but it doesnt... heres my code: result=`echo $line | …

Member Avatar for blackrobe
0
153
Member Avatar for ddanbe

Hi all, I know how to drag and drop an image from one control to another. Code enough out there. It works fine, but I find the user interface a bit poor:'( I want my image to follow the mouse while held down. Found nothing that serves my needs on …

Member Avatar for Diamonddrake
0
743
Member Avatar for Eager_Beever

I am designing a website using ASP.Net 2.0 and C#2005. I have used a stylesheet for the background and the horizontal menu bar. I am dsplaying 4 menu items horizontally and below that I am displaying a Flash (.swf) banner. The page is being correctly rendered & displayed in IE8, …

Member Avatar for Eager_Beever
0
119
Member Avatar for brandongood

I am getting the error in the title of this post when I try to run my ColorFactory class. Can someone tell me where Im going wrong? Heres my code: [CODE] import javax.swing.*; import java.awt.*; import java.awt.event.*; public class ColorFactory extends JFrame { //Fields of the class private JLabel messageLabel; …

Member Avatar for brandongood
0
415
Member Avatar for deathlemon

hi, my form combo box has a problem. the textbox in my combo box dropdown-textbox list does not validate any error at all. when i am pressing the submit button. when the fields have no given value the script that i embed does not validate the error at all. please …

Member Avatar for aashishn86
0
122
Member Avatar for bokz06

im having problem setting values into a String array.. it must be with a setter method (yes this is homework). i have created a Person class which u can set name, age, gender and then i created a Teacher class which extends person and further allows you to set ( …

Member Avatar for bokz06
0
7K
Member Avatar for dinilkarun

Hi All, I am using the .search function. [code=python] strValue="XXX" strTemp1="YYYXXX" strTemp= strTemp1.search(strValue) [/code] Python is not able to recognise the .search function. AttributeError: 'str' object has no attribute 'search' What should I import for this? Please help!

Member Avatar for scru
0
2K
Member Avatar for abu taher

I made a database project. when I run it another pc it was run. but when I see the report (in my project) it show a error msg. it is : error number: 713 application defined or object defined errro. another thing it is exe when i run it another …

Member Avatar for Jupiter 2
0
89
Member Avatar for mrcniceguy

i have a code which Send updates to members in my site to their email Address. it working all the time,Suddenly i noticed its no longer working.. what might be the Course of this.... i used the function to send different updates to members and in all the sectors its …

Member Avatar for kvprajapati
0
195
Member Avatar for Bhoot

Inorder to list all the workstations on a LAN, i have used NetServerEnum() after importing it. On running the program, it seemed to work fine. The two existing machines were detected correctly. However, i want the list to be refreshed whenever required (some refresh button). So i detached the wire …

0
101
Member Avatar for mamatachaudhari

hii.. I want to use a scriplet variable in javascript. i used <%! int i;> <% i=0; %> <input type="text" id="itemValue" onchange=changeValue('<%i%>')> it works fine if i give alert(i) in changeValue function. Otherwise it gives error i is undefined. Plz help me. I don't want to bother user by increasing …

Member Avatar for mamatachaudhari
0
4K
Member Avatar for stewie griffin

Hi I am using jmf to build some music player and im want to add some equalizer that will "jump" up and down according to the music, how can I do it?

Member Avatar for kvprajapati
0
124
Member Avatar for theashman88

Hey I'm working on this program that tests you on a few questions. I enter the answer to one and it comes back and displays correct. For some reason though when the next question comes on it already comes back with a response saying the answer was incorrect. Here's the …

Member Avatar for theashman88
0
105
Member Avatar for hi.meral

my basic question is that can i use the jquery insted of php syntax ? For example i developed a site in simple php, now i want to change the code for security perpose in jQuery.. Can I ??

Member Avatar for hi.meral
0
118

The End.