199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for wxflint

Hello i am trying to pull the hosted domains from my sql database i am able to pull them and see them I just cant get the links to Phrase properly the link to the working script is here [URL="http://www.a1khosting.com/test/index2.php"]http://www.a1khosting.com/test/index2.php[/URL] as you can see the links are not correct when …

Member Avatar for monica singh
0
162
Member Avatar for swathys

hi, i have problem in view the crystal report. 1 ) when i run the report its just show the 1 st page and the rest of the page is not showing at all even the record is nore than a page. 2) the alignment of the report goes bottom …

Member Avatar for AndreRet
0
88
Member Avatar for kayjenx

So I have a small database for managing stationery orders (internally with my company - I order from the stationery dept). In the orders forms i have a subform with the list of items being ordered. I have the Item_ID, description, UnitsOrdered,UnitPrice, TotalPrice. What a code that will lookup the …

Member Avatar for AndreRet
0
165
Member Avatar for mtug

Hi All, Obviously Im a newbie here. Firstly let me first make it clear that I am not really a programmer or a software developer but I have a basic background in Programming, I had 8 units of C++ in college, I am more of inclined into IT Networking. However, …

Member Avatar for AndreRet
0
128
Member Avatar for vikrant

[COLOR=DarkGreen]How to create a software project on Tours and Travels ? Please Help[/COLOR] :-|

Member Avatar for Aniketd
0
146
Member Avatar for TheMightySpud

Hi all, Hopefully someone can help me with this one as I've been trying to figure it out for the past several hours with no luck. The idea is to scan a folder of images and then let the user navigate back and forth through the images using a couple …

Member Avatar for TheMightySpud
0
120
Member Avatar for triumphost

Below has the source code to the program Im writing... anyway I want to do this... I want to be able to include a file from the project in my executable... Example: If I put the program on a different computer, I want it to able to open a file …

Member Avatar for Ancient Dragon
0
220
Member Avatar for Nemo_NIIT

HI Friends i need to convert TCHAR to Boolean value [COLOR="Green"][B]This is what i want[/B] [/COLOR] [COLOR="Red"][CODE]_TCHAR gstrEnableproxy="false" o/p: boolean x=false[/CODE] [/COLOR] [B] and the code i have written is [/B] [CODE]void convertStringBoolean(String* TCHAR) { bool boolVal = false; try { boolVal = system::Convert::ToBoolean(TCHAR); } catch(System::FormatException*) { System::Console::WriteLine("The string TCHAR* …

Member Avatar for Ancient Dragon
0
297
Member Avatar for i.connect

I am in the process of designing a Database structure for a project. And i am stuck at a particular design decision. Ive searched quite a lot on google but not able to find a satisfactory answer. I am looking out for something like “TableSpaces” (like in Oracle) to use …

Member Avatar for smantscheff
0
164
Member Avatar for AzraelUK

Hi there, I was wondering if there was an easy way to read the first four bytes of a file. The ones in particular I'm looking for are [inlinecode]49 42 53 50[/inlinecode] ("IBSP") and [inlinecode]46 42 53 50[/inlinecode] ("FBSP"), but that bit should be easy.

Member Avatar for yasserjasem
0
157
Member Avatar for jjspikejones
Member Avatar for ccube921

I am getting an expected primary-expression before '=' token, how can I fix this? [CODE]void vldtmv() { if ( brd[opx][opy].cont[1]=='H' ) { if ( ( npx - opx !== 2 && -2 || npy - opy !== 1 && -1 ) && (npx-opx !== 1 && -1 || npy-opy !== …

Member Avatar for frogboy77
0
175
Member Avatar for merse

I think the following problem is a basic one in numerical codes: Suppose that we would like to do a for loop [CODE] for (double x = 0; x < Y; x += dx) { // numeric code } [/CODE] The problem is that if we set dx=0.1 it is …

Member Avatar for merse
0
372
Member Avatar for h0neydip

Hey, I am trying to convert an elbonian date which has a format day-year-month to a US date month-day-year in Long date format, any suggestion on how i can achieve this. Here's what it is suppose to look like: [URL=http://img201.imageshack.us/i/testwf.jpg/][IMG]http://img201.imageshack.us/img201/7435/testwf.jpg[/IMG][/URL] Uploaded with [URL=http://imageshack.us]ImageShack.us[/URL]

Member Avatar for TsadokBlok
0
101
Member Avatar for purijatin

I am facing this problem where one thread keeps adding packets which it receives from the network to linkedlist. And the other thread retrieves it from the linked list. The below is the code of the Thread which keeps receiving the packets and add's them to list. [CODE] private class …

Member Avatar for JamesCherrill
0
93
Member Avatar for Ennerdale

I would be very grateful of any insight/resolution of the following issue I need to overcome. Using VS/VB2008 Pro/SQLExpress - all running on XP, I am building a WinForm Application (a Quotation application for Landscape Designers). 48 Bound controls on my form work perfectly with DataSet and Tables when Updating …

Member Avatar for lolafuertes
0
175
Member Avatar for homeryansta

I created a piece of code that simulates a pendulum with the gravity(assuming no friction or resistance). However, it is not as smooth as I want it to be. So.. does anyone know what I can do to make it smoother? [CODE=java] import java.awt.*; import java.awt.event.*; import java.lang.Math; import java.lang.Runnable; …

Member Avatar for Eric Cute
0
311
Member Avatar for aowais

hi, how could i can connect C# with ms access 2007 as i want to use the data in a form of table in my C# program.As im creating a system to input the marks of the student and the list of student is in ms access so need to …

Member Avatar for gadflyyy
0
196
Member Avatar for krnekhelesh

Hi, I am creating a chess program. I am creating each piece on the board. But when I try to compile the bishop piece I get this error [B][I]FATAL : Out of Memory in function set.[/I][/B] What does this mean?

Member Avatar for soltanmahmoud
0
446
Member Avatar for amitbhanot

Hi I have started doing servlets. I am stuck somewhere. I have installed weblogic server and also configured it. I have also installed the J2EE SDK on my machine. But when I compile my servlet program, it says javax.serlvet.http.* and javax.serlvet.* packages are not found. Please help me out how …

Member Avatar for amitbhanot
0
112
Member Avatar for LiquidSolid

Hi I need to figure out how to make a histogram for a set of data (scores). I need it to display something like A: *** B: ** C: ****** D: * F: **** Here is my function for adding in the scores [code] int addGrades(int grades[], int num_grades) { …

Member Avatar for Adak
0
165
Member Avatar for Checkerboz

Hi, I'm reading this book about Java right now and in it was this example so I wrote it off and tested it... I get the error "Exception in thread "main" java.lang.NoSuchMethodError: main" and from what I've understood it's because I am missing a main class... Here's the deal though: …

Member Avatar for Dhruv Gairola
0
167
Member Avatar for DioRani

Okay.. Currently i already had this code for my registration form [CODE] using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using System.Data.Sql; using System.Data.SqlClient; namespace Thesis { public partial class Registration : Form { Form formParent = null; public Registration(Form par) { …

Member Avatar for muzikhera
0
162
Member Avatar for haxtor21

Hello Daniweb. I am trying to make an application for a ATM machine (class homework). This is the schematic that I followed [url]http://www.screencast.com/users/haxtor21/folders/Jing/media/303e583a-8f90-46f3-8ed1-a35dde2200bb[/url] My issue is that I'm trying to access a text file and search for a account ID. After the account ID i am doing a nextDouble and …

Member Avatar for haxtor21
0
194
Member Avatar for Ankuriet

My application uses many Activex control . which do the file handling on client machine. If the application is run on IE than it works fine but in firefox / opera it doesn't as it requires plug inns for Activex which i used. Now i want to replace these activex …

Member Avatar for Ankuriet
0
111
Member Avatar for blurX

I'm doing a phone number conversion program. I created a method to convert the letter to numbers, and a method to format the phone number(dashes after 3 and 6 numbers). Both methods return a value. I don't want to post the entire program, but the calling method in the main …

Member Avatar for group256
0
109
Member Avatar for htataw

Hi for all, I'm newer with Delphi can anybody help me to convert the following c++ code to delphi7 one's. many thanks in advance c++ code : ********************************* #include <stdio.h> #include <stdlib.h> #include <signal.h> #include <ctype.h> #include <string.h> #include <errno.h> #include <sys/param.h> #include <sys/types.h> #include <netinet/in.h> #include <sys/socket.h> #include <netdb.h> …

Member Avatar for pramudiyanto
0
740
Member Avatar for Babduberance

Hi am a noob working with Apache, mod_wsgi and python. Below is some sample code on the internet that will return "Hello World!" when i go to my local server: [url]www.localhost.com/py[/url] note: I do have WSGIScriptAlias /py "C:/Users/user/site/handler.py" in my httpd.conf [CODE] def application(environ, start_response): status = '200 OK' output …

Member Avatar for Babduberance
0
187
Member Avatar for computercoder

I am writing a program that is supposed to count the number of vowels in an inputted (by the user) body of text. [CODE] import java.util.*; public class Vowels{ public static void main(String[] args){ Scanner console = new Scanner(System.in); int counter= 0; System.out.println("\nInput a sequence of characters"); String text = …

Member Avatar for Eric Cute
0
106
Member Avatar for ssubnel

I could not get this past my editor, and am not bright enough to understand why. My TA and I do not share a common language fluency and I do not understand remotely what he is saying. Can anyone tell me why this doesn't run? [CODE]import java.util.Scanner; public class sumMatrix1 …

Member Avatar for ssubnel
0
95
Member Avatar for TankMontna

Hi, I need a little help, i found out to repeat an action/animation automatically I need to use a timer but im having troubles implementing it into my script. This is the last few part of the action... public void slowMoveVertical () { sun.slowMoveVertical(-100); } Now I what I want …

Member Avatar for Ezzaral
0
191
Member Avatar for breto

I'm new to Access 2007 need some help in regards how to build expression for the following - Product Price $: * Product Quantity - % (any number). Started with the following expression: Total Cost $: [Product $:] * [Product Quantity:] - [Discount %:]

0
86
Member Avatar for swathys

hi, can anyone assist me on this...i want to convert 100 to 1.00 for example 100 = 1.00 200 = 2.00 1000 = 10.00 How do i do that. Please help me.

Member Avatar for swathys
0
186
Member Avatar for y9john

Hi guys, I am working on a program for my c class and I was wondering anyone knows if it is possible to define a structure that has dynamic members. I think I saw a thread on this already but when I read it, it didn't quite make sense. This …

Member Avatar for y9john
0
116
Member Avatar for ryan-t

Hi, i wasn't to be able to transfer variable data on to a script that I've include()'d. I've tried passing it through the URL like "include('function.php?username=$session->username');" but it says that it cannot find that file. So I'm kinda stuck at the moment :)

Member Avatar for ryan-t
0
119
Member Avatar for wmc++

Hello; I need to develop a money class that will simulate the cash box of a register. The cash box will contain coins and currency in the following denominations: $100, $50, $20, $10, $5, $1, $0.25, $0.10, $0.05, and $0.01. I am barely new in C++. I couldn't figure out …

Member Avatar for mrnutty
0
586
Member Avatar for jmcorpse

Can someone help me figure out how to either round up or down down the numbers? The numbers are used with the asterisks in the bar graph. I'm not sure if I should be using fmod or the round function. Any help would be appreciated. [CODE] #include<iostream> #include<iomanip> #include<cmath> using …

Member Avatar for jmcorpse
0
325
Member Avatar for coco24

I have to write a code that displays a 4 x 4 grid of faces. I am stuck and this is wat i have so far: [code] import java.awt.Graphics; import java.util.Scanner; import javax.swing.JApplet; public class Program7 extends JApplet { public void init() { setSize(2000, 2000); } /** * Draw one …

Member Avatar for kramerd
0
145
Member Avatar for Bluerain

# I'm trying to extract the url's from the below text, without the added html tags. Is there anyway I can get just parts starting with ( [url]http://)[/url] and ending with (")? # <a href="http://www.gumtree.sg/?ChangeLocation=Y" rel="nofollow">Singapore</a>, <a href="http://www.gumtree.com.au/?ChangeLocation=Y" rel="nofollow">Australia</a>, <a href="http://www.gumtree.co.nz/?ChangeLocation=Y" rel="nofollow">New Zealand</a>, <a href="http://www.gumtree.com" rel="nofollow">England</a>, <a href="http://edinburgh.gumtree.com" rel="nofollow">Scotland</a>, <a …

Member Avatar for aml25
0
170
Member Avatar for fobos

Hello, well i have a problem, i was wondering if there is a way to return a query in a function? This is what i have so far, but i get an error. [CODE] <cffunction name="select_query" access="public" returntype="any"> <cfargument name="as" type="string" required="yes"> <cfargument name="status" type="string" required="yes"> <cfset var sql = …

Member Avatar for arrgh
0
94
Member Avatar for AaronLLF

Hopefully this is my LAST QUESTION!! D:< Anyway, I saw a code on lloydgoodall.com for an LWJGL FPCamera. It had SEVERAL errors, but I finally got to the (hopefully) last error. "Keyboard must be created before you can query key state" My code: [code] import org.lwjgl.Sys; import org.lwjgl.opengl.Display; import org.lwjgl.opengl.GL11; …

Member Avatar for Ezzaral
0
882
Member Avatar for Capt Spaghetti

I am allowing the user to select a city and state and presenting them with a list of organizations from a MySQL table which is formatted by the code shown below. The user then selects a particular organization by clicking on the ID for their chosen oranization at which point …

Member Avatar for Capt Spaghetti
0
158
Member Avatar for Tecnicrow

Hello, Basically I'm trying to use operator<< to display items from a linked list. coding in the header file. [CODE] template <class DataType> struct Node { DataType info; Node<DataType> *next; }; template <class DataType> class LinkedList; template <class DataType> ostream & operator<<(ostream & output, const LinkedList<DataType> & rlist); template <class …

Member Avatar for Tecnicrow
0
603
Member Avatar for mushahidh

Hi everyone, can anyone tell me what is an alternate of graphics.h in visual studio/visualc++. Graphics.h is not working on my turbo c complier.plz tell me..

Member Avatar for jonsca
0
3K
Member Avatar for Agnusmaximus

Hi guys. I'm trying to find a good open source project written in C (any kind: email, browser, chat program, communications program, music player) to download for the Mac os X preferably for Xcode. I would like to examine these open source programs' source and understand what they do (pick …

Member Avatar for Agnusmaximus
0
217
Member Avatar for jdm

I'm working on a tcp client that will send a message to the tcp sever and the tcp sever will display the message while scrolling it from left to right. I'm including my client and sever code I need help with the text scrolling left to right in a label. …

Member Avatar for jdm
0
187
Member Avatar for DioRani

i am currently work on mp3 player application, but every time the song ended, this error always pops out.. Value of '282' is not valid for 'Value'. 'Value' should be between 'Minimum' and 'Maximum'. Parameter name: Value here's my code: [CODE] using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using …

Member Avatar for Momerath
0
587
Member Avatar for jwill222

Ok so I've got this homework problem thats killing me. Here's the problem: A bank account charges $10 per month plus the following check fees for a commercial checking account: $.10 each for fewer than 20 checks $.08 each for 20-39 checks $.06 each for 40-59 checks $.04 each for …

Member Avatar for jwill222
0
4K
Member Avatar for frogboy77

in my code i have declared [CODE]typedef signed long long int slong; const slong limit=4000000; const slong limitsqr=2000;[/CODE] i then created an array [CODE]slong* array=new slong[limit];[/CODE] without any problem. when i try this [CODE]slong* newarray=new slong[limitsqr][limitsqr];[/CODE] i get the error message: in function int main() cannot convert slong(*)[2000] to slong …

Member Avatar for frogboy77
0
123
Member Avatar for SolidSora

[CODE]#include<iostream> #include<iomanip> #include<string> class Pizza{ public: std::string type; std::string size; int toppings; Pizza(){} void setType(std::string type){ type = type; } std::string getType(){ return type; } void setSize(std::string size){ size = size; } std::string getSize(){ return size; } void outputDescription(){ //cout<<"A " cout<<getType(); cout<<" pizza; } }; int main(){ Pizza large …

Member Avatar for SolidSora
0
92

The End.