199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for RJB_Ronnie

Hi All, New to the world of PHP and such, and took on a project that I really should have farmed out, but too late now. Here is my question: the problem is the redirect for an error message in a contact us page. I have very specific standards set …

Member Avatar for RJB_Ronnie
0
126
Member Avatar for dupowdis

Thanks in advance for your help, everyone. ...So basically, for a program I have to do for this internship, I have to find a way to extract certain lines of temperature, density, and frequency data from a .txt file, and then pop them in 3 different string arrays. A typical …

Member Avatar for dupowdis
0
127
Member Avatar for ashcares

Hi there, I was hoping someone might help me edit this [URL="http://www.pcmechanix.ca/mobile_redirect.htm"]mobile redirect code[/URL] so that it includes IPhones with the redirecting process. Any suggestions? FYI - Besides this minor exception, it is quite an effective code for redirecting mobile phones. You can try it for yourself, simply enter the …

Member Avatar for mrlynn
0
163
Member Avatar for Cotillion

Hi all, I'm new to this and trying out a few projects to get started. What I want to do is get the script to search the page for keywords kept in one of three arrays and highlight the word in a colour depending on which array it is in. …

Member Avatar for fxm
0
300
Member Avatar for Amoblaze

Hi, am trying to Write a C++ program to create a data file with several attributes. Accept n person’s information and display the same. So far this is what I have tried to do. My chaalenge is how to read the command line ipnut from the user to the file …

Member Avatar for WaltP
0
207
Member Avatar for Dan08

Hey people, I've got a file, looks like this: [QUOTE]england america spain brazil germany australia[/QUOTE] now, I need to read it line by line: [CODE]country = open('languages/country.lang', 'r')[/CODE] and give a value to it, like: [QUOTE]A1 = country.readline()[/QUOTE] and then A2 for the next country and so on. So I …

Member Avatar for TrustyTony
0
185
Member Avatar for phplover

Hi, I'm new here so first i would like to say hello to everyone :) I have been learning PHP for the past year on and off and have built a fully pledged website. Since my website first launched it has progressed into a full membership system which i love …

Member Avatar for phplover
0
173
Member Avatar for bin shahid

Hello, I want to retrieve weather information of 'Chittagong' city of 'Bangladesh' country from "BBC.com/weather" from java application. but i don't understand where from i should start. Please give me suggestions. Its urgent. Thanks, Shahid

Member Avatar for NormR1
0
205
Member Avatar for kalpa23

c#, web forms, vs2003 i have this data grid view that im trying to create a shopping cart. my problem is when i data bind to each and every time if ther is previous binding that values still there how do i only bind the new value and display only …

Member Avatar for Lusiphur
0
200
Member Avatar for pancakelove

[I]<<mod edit: [URL="http://www.daniweb.com/forums/thread244248.html"]split from here[/URL]>>[/I] Probably a long shot, since this thread is long since dead, but was hoping I could get a hand. I'm trying to do pretty much the same thing here, but I'm getting an error at this line: [code]self.storeli[self.counter].append(a)[/code] Throwing a KeyError: 0 at me, referring …

Member Avatar for woooee
0
96
Member Avatar for web_master

how do i insert a image into a directory through MySQL, rename it, generate a link and upload the generated link in MySQL......??? anyhelp will be really apprietiated.... and if its a tutorial its the best way out, i'm not good at PHP..... plz its urgent for me.. thx alot..

Member Avatar for rahulsabari
0
176
Member Avatar for VBNick

I need a little help with this :icon_redface: if I use ifstream::read() and go past the end of the file, how do I tell how many chars have been read? thanks, Nick

Member Avatar for VBNick
0
253
Member Avatar for shankarz

[CODE]while((fgets(receiving array,50,file_ptr)!=EOF);[/CODE] How this while is executed?

Member Avatar for Ancient Dragon
0
82
Member Avatar for TrustyTony

As I was student, the bracketed plurals were absolute 'NO, NO'. With this simple function you can cleanly avoid putting bracket plural(s) after your numbers. If the number deciding singular/plural should not be automatically included, you can make version with [icode]str(n)+' '+[/icode] eliminated. If you want to put automatically space …

Member Avatar for TrustyTony
0
771
Member Avatar for jtltgl

I am making a password genarator and having trouble with this part of code. I am trying to loop until length is meet but it only creates one char and I am trying to when it gets to certain char to skip and do nothing but loop until length is …

Member Avatar for jtltgl
0
98
Member Avatar for keval_hack

Hi, I Want to Send HTML mail with Image and logo. pls some one help me how i can do it. Thanks -keval

Member Avatar for almostbob
0
120
Member Avatar for MARKAND911

I have two forms named form1 and form2 respectively. And a MDI form named mdi1. I want to open form2 as a child of mdi1 when a button on form1 is clicked. How can I do this please help me.

Member Avatar for k.d.m
0
107
Member Avatar for madlan

I'm writing a small search tool that searches a SQL Server database using Full Text Indexing. I have two text boxes with four radio buttons between (NEAR, OR, AND, AND NOT) Ex. CONTAINSTABLE(jobs, *, ‘computer NEAR California’) This works fine but if I start adding more text boxes\radio buttons (As …

Member Avatar for GeekByChoiCe
0
73
Member Avatar for Jothe

Hi guyz i am getting an error on my header information..the warnig is displayed when this part of code Runs echo '<a href="' . 'ecomm_catalogue_view.php?product_code=' . $product_code .'" >'; '</a>'; header("location: ecomm_catalogue_view.php?' . 'product_code=' . $product_code . '"); the warning displayed on top of each page is: Warning: Cannot modify …

Member Avatar for metalix
0
96
Member Avatar for stark025

Hi. I am a student, and I have an report to do for our Computer Programming Fundamentals class. We are required to demonstrate the use and function of constructors and the JOptionPane class. I have implemented a simple age calculator using Java as my demo, and I intend to go …

Member Avatar for NormR1
0
222
Member Avatar for jefferlyn92

create a method sumOfDigit(String str) compute and display the sum of the digits found in str Example: String str = "1234hello12678"; sumOfDigit(str) -> returns 34 ---need some codes guys! can you HELP me?!

Member Avatar for ANDIEniable
0
648
Member Avatar for seanvitalaim

Can someone please explain to me why I cannot move variables from object to object. I've been getting no sleep and burning myself out learning java and it is driving me crazy here is the example. [CODE]import static java.lang.System.out; class ONE { public static void main(String[] args) { TWO addition …

Member Avatar for NormR1
0
99
Member Avatar for aditya027

public class Sorting { public static void main(String[] args) { int j=10; int[] arr=new int[10]; for(int i=0;i<arr.length;i++) { arr[i]=j; j+=10; } int num=Integer.parseInt(args[0]); bsearch(arr,0,10,num); } static void bsearch(int[] arr2,int first,int last,int key) { while(first<=last) { int mid=(first+last)/2; if(key==arr2[mid]) { System.out.println("Found the key"); } else if(key<arr2[mid]) { last=mid-1; } else if(key>arr2[mid]) …

Member Avatar for NormR1
0
75
Member Avatar for ASardinia1

Well, I'm a college student with a dread C++ online class and now my (insert explicative) professor wants us to write a program for a diamond. The actual assignment is... Write a program that displays a diamond of given the odd length (an odd integer size less than or equal …

Member Avatar for regnerz
0
423
Member Avatar for sneekula
Member Avatar for TrustyTony
0
6K
Member Avatar for cproud21

Hi, I am attempting to connect a form in Dreamweaver to an email account via a ftp webspace. I have the following generic code, (HTML form and PHP mail file) but I am not receiving emails... Would anyone have an idea of what I have done wrong and/or provide any …

Member Avatar for metalix
0
242
Member Avatar for Sarkahn

Hello. Could someone please help me understand what's going on with this code? What I'm trying to do is read each line of a file into a vector<char const *>. I feel like the answer is probably extremely obvious but I just can't figure it out. [CODE]int main( int argc, …

Member Avatar for Sarkahn
0
1K
Member Avatar for surfgrommett

Hey guys. This is driving me crazy. I can't see any code problems and I had another friend look and neither can he. EVERYTHING works PERFECTLY...all echos work right and everything and no errors get returned..the problem is $query4 and $query5 appear to do nothing..though i get no error..i get …

Member Avatar for metalix
0
313
Member Avatar for metalix

Hi there I am having some trouble with a script. What it does is uses the http request (similar to googles search suggestions) to replace the entire page content div, this works fine but some of these pages use javascript. one has a lightbox, another has contact form verification. is …

0
185
Member Avatar for arc64

hii.... this is my first thread..hope i return satisfied.. i am a newbie in asp ,net...i want urgent help... the following snippet i am going to present was copied from some where though it works perfectly fine...i jst want to change its functionality a bit..............its basically a drop down box...i …

Member Avatar for arc64
0
139
Member Avatar for iqra123

hello! i have to find time in nanosecond of a particular process and for that i am using clock_gettime() function. i tried different codes i got from net but getting same error [QUOTE] error: ‘CLOCK_PROCESS_CPUTIME_ID’ undeclared (first use in this function)[/QUOTE] i have included relavent header file of time also. …

Member Avatar for Banfa
0
2K
Member Avatar for kaydee123

Hello, I defined a list in a class and want to do a class containing get/set functions. How can I set or get a data struct (list element) that has variables of different type and each variable is taken separably as an input from the user (I do the input …

Member Avatar for jonsca
0
137
Member Avatar for khunmato

Hello! I have constucted a code for the card game 21. The code uses inputDialogs to "talk" the the player. I thought my shool assigment was over by doing just that...I was wrong, our teacher dumped a new bomb on us. With these kind words; [I]Develop task 5 (Twenty-one card …

Member Avatar for JamesCherrill
0
2K
Member Avatar for aravind s

Hi. I'm new to daniweb and i am also a novice programmer. I have this assignment to get a shape, then a shape inside that one, and then another inside the second one, and then fill each shape in with different patterns. Here is an example. if the user enters …

Member Avatar for hinduengg
0
291
Member Avatar for mark88211

this is what i have so far, i need to combine 2 c strings, print them backwards and figure out whether they are a palindrome or not. (the for loop is where i stopped, it could be wrong) [CODE]#include<iostream> #include<cstring> using namespace std; int main( ) { char s1[15], s2[8]; …

Member Avatar for bagi.padhu
0
425
Member Avatar for madzam

someone please help me do the loop .....thanks ... ..here is the problem ...the user will enter integer values until 0 is entered. The program will find the lowest and highest values entered.It will also calculate the total number of value entered..... [code]#include <iostream> #include <iomanip> using std::cout; using std::cin; …

Member Avatar for mahmud.2345
0
95
Member Avatar for adams161

i have a class, [code=java] class myapp // for example { // some variables used by UI and telnet class // i.e. my edit text controls and telnet object oncreate() { // initiate UI elements like 2 edittext controls and ascroller and a button // start telnet thread } class …

Member Avatar for adams161
0
128
Member Avatar for Guest51

I am a student working on an inventory app. Until this current assignment I felt I half way knew what I was doing. What is required is the following: [B]~Modify the program to handle multiple items:[/B] should work with this code added - it worked on another program [CODE]//Prompt user …

Member Avatar for JamesCherrill
0
207
Member Avatar for john butler

here is one program which has 1 abstract class without abstract method. its also works fine. Then what the use of abstract class, any how it does not allow to create objects, we can use this with concrete class to implement method defined in abstract class which we have to …

Member Avatar for musthafa.aj
0
114
Member Avatar for Member 785216

Okay so i have to get my VB programme to connect to an access database which i did, just dragged and dropped and clicked. My data base has 3 tables,products, customers and orders. I have to be able to edit, update and delete customers and products. People also have to …

Member Avatar for jhai_salvador
0
91
Member Avatar for anuj6928

hello there... acctually i m creating a desktop application in vb.net so on the data insertaton page i had got an error that is "the ConnectionString property not initilized".. so i m posting all my code here... kindly help me.. [code] Public Class Registration Private Sub Button1_Click(ByVal sender As System.Object, …

Member Avatar for anuj6928
0
175
Member Avatar for Joe Shmoe

I am a VB programmer, so I know a lot about programming. I am just new to C and want to ask a simple question. How can I read a file and use strtok with space as the delimiter and have access to all tokens in memory? The example provided …

Member Avatar for Ancient Dragon
0
128
Member Avatar for cotrac

Hi again! I have a db table named "users" . Within that table, a column named "havechildren". When a client registers on my site, they will choose whether they have children or not by a simple yes or no drop down. That information is stored in my table in the …

Member Avatar for cotrac
0
60
Member Avatar for GAME

Hello, I am trying to use this code: [code] PictureBox1.ImageLocation = "http://avatar.xboxlive.com/avatar/" & TextBox1.Text & "/avatar-body.png".Replace(" ", "%20%"); [/code] The error I get is: [code]Error 2 Operator '&' cannot be applied to operands of type 'string' and 'string' C:\Documents and Settings\Administrator\My Documents\Visual Studio 2008\Projects\Lucky Se7en\Lucky Se7en\GamercardViewer.cs 27 37 Lucky Se7en …

Member Avatar for Lusiphur
0
332
Member Avatar for mitch9654

How could I [CODE]print();[/CODE] the '<' and '>' signs? You can't escape character them ('') Say, for example, I wanted to Print(); "The <font> tag is awesome" It would print out: "The tag is awesome" Thanks, Mitch

Member Avatar for mitch9654
0
102
Member Avatar for phaedrusGhost

Hi all, I have a cities table in MySQL with 3 rows in it. Table 'cities' row 1 'city' row 2 'statename' row 3 'stateabbreviation' With 52,593 cities in the DB. I would like to create an auto search form so that while typing a city in it will show …

Member Avatar for griswolf
0
132
Member Avatar for Member 785160

So hopefully I am aloud to post this here. I am doing great in class but this chapter and especially this programming challenge has got me stumped. So I am in need of help. Heres the question: Create an application that when a user enters a positive integer value in …

Member Avatar for wolfrain63
0
1K
Member Avatar for theemerchant

Can anyone please help me on this? The server is supposed to see which computers are online and which are not. if the workstation are not online the computer should not be seen on the server's list but if it open again the computer name should appear on the list. …

Member Avatar for Teme64
0
119
Member Avatar for arete

I'm trying Euler problem 3 on [url]http://projecteuler.net/[/url] for fun. I think I have a program that works (with very small numbers), but it takes too long. Can anyone give me some hints to improve speed? [CODE] /** * The prime factors of 13195 are 5, 7, 13 and 29. * …

Member Avatar for Taywin
0
153
Member Avatar for Dennis M.

Hey guys, Today I find myself stuck working on a small project. I am reading information from a pipe and want to output that information to a HWND. The HWND is already created and I'm using ::SetDlgItemTextA() to properly append the data within the multi-line "edit" box. This kind of …

Member Avatar for Dennis M.
0
109

The End.