199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for bkendall

I am fairly new to cf but felt this wasn't really a "getting started" question. I was thrown into this project with tons of legacy and little doc, so any help would be greatly appreciated. the trouble I am having is getting information from form fields to display in the …

Member Avatar for bkendall
0
121
Member Avatar for luisator

I wanted to know what do I have to change in the SAxparseryFactory code to make it work in an windows xp OS. It is not working and I think I have to modify something of this code to make it work....please HELP ME!!!!

Member Avatar for luisator
0
100
Member Avatar for Stanislaw

Is it possible to create a variable within a program (while its running). The problem I am trying to Solve: In school I created a cashmachine emulator. The thought then dawned on me, what If I wanted different user abilities within my cash machine program (Ie. only the manager would …

Member Avatar for tonakai
0
372
Member Avatar for cymerman

I am doing this program that has a menu of 8 items The error is: --------------------Configuration: aaaaa - Win32 Debug-------------------- Compiling... aaaaa.cpp c:\temp\test\test1\aaaaa.cpp(125) : error C2374: 'x' : redefinition; multiple initialization c:\temp\test\test1\aaaaa.cpp(120) : see declaration of 'x' Error executing cl.exe. aaaaa.exe - 1 error(s), 0 warning(s) Does anyone know where …

Member Avatar for cymerman
0
254
Member Avatar for BioTechNoob

Hi all, My first, but likely not my last post. I’m teaching myself C++ with basically no programming background. I’ve been using Borland, reading books (such as teach yourself in 21 days, etc.) and reading this website, but now I’ve run into a problem and after three days of trying …

Member Avatar for zyruz
0
132
Member Avatar for JoBe

Hello ladies and gents, Came across a program example in wich you are able to sort program-parameters in alphabetical order. The code is this:[code] #include <iostream> #include <string> using namespace std; void sort2(char* &p, char* &q) { if(strcmp(p, q)> 0) { char *h; h = p; p = q; q …

Member Avatar for JoBe
0
370
Member Avatar for Kerbrose

Here is one for you I am able to password protect an Access database. I have even been able to password protect forms and reports but I seem to be having a problem password protecting Access sub switchboard forms. I am setting up a database and I want to password …

Member Avatar for Kerbrose
0
189
Member Avatar for shre86

i am writing a program.. in that i am needed to represent an array using pointers only..(its a constraint i ve to work with).. the prob i am facing can be shown by this small program.. pls help me rectify with [code]#include <stdio.h> #include <conio.h> void main() { char a[4],*b; …

Member Avatar for Narue
0
191
Member Avatar for Java John needs

Hey to everyone out there. I am new to this and seeking assistance with a java program assignment. if anyone can help let me know. The program is completed all I have left is to produce accurate output of a students grade. Here is the code: The code is supposed …

Member Avatar for server_crash
0
308
Member Avatar for jakejacobson

[COLOR=Blue]I have the following code to initilize struct booknode in a link list.[/COLOR] [code] // Here is how I defined booknode typedef struct booknode { char *title; // char[], holds book title char *author; // char[], holds book author char *isbn; // char[], holds book isbn float price; // float, …

Member Avatar for Rashakil Fol
0
342
Member Avatar for scb10

i have this string SD125,SD478-SD478 SD147 i need to separate,but i need to know which delimeter i use becouse i did this StringTokenizer sd = new StringTokenizer(fileStringSD, ", -"); while (sd.hasMoreTokens()) { String cad = sd.nextToken(); system.out.printl (cad); } it separetes and i get SD125 SD478 SDSD147 THE TROUBLE COMES …

Member Avatar for scb10
0
118
Member Avatar for ultimate_fusion

I have two classes. block and main public Block(Stage stage) { super(stage); //fill array where[t][s]=i; i++; system.out.println(where[t][s]); } and the main. the problem is I create an instance of the class block and I know it runs because I put a system.out there and the I a list of printed …

Member Avatar for ultimate_fusion
0
150
Member Avatar for Jayakumar R

I have the following code snippet 1) Page1.aspx.cs protected void Page_Load(Object sender, EventArgs e) { if (!Page.IsPostBack) { //other code Session["scdid"] = null; //other code } } //Submit button handler for this page protected void submit_record(object sender, EventArgs e) { //other code string sschd = (string) Session["scdid"]; if (Session["scdid"] != …

Member Avatar for Jayakumar R
0
113
Member Avatar for raybristol

I can load a image file from a fold if I did like this: Bitmap myBitmap3 = new Bitmap(@"C:\HEapp\images\logo.bmp"); however, this is not convenient if I move my program, so I was try to do this: Bitmap myBitmap3 = new Bitmap(@"\images\logo.bmp"); however, it doesn't work, could anyone tell me how …

Member Avatar for r0ckbaer
0
218
Member Avatar for Knad

Hello, I have just begun recoding my site and whenever i use PHP to put data on a page via an IF statement it overlaps any cells that are below it, and it also seems to be extending my left menu to the right. The left menu works when logged …

Member Avatar for Yuki H.
0
156
Member Avatar for Bob Bamburg

Help... I have just been presented with the responsibility of supporting a JSP application. The person who was handling EVERYTHING has left us (Rest his soul) and did not leave any documentation. The first thing I need to do is create a backup server and copy the application to it. …

Member Avatar for jwenting
0
124
Member Avatar for benjamins

-------------------------------------------------------------------------------- This is my table structrue Tbl1 -----Record1-----Record2----- Record3 Tbl1_id --------1------------2-------------3 Tbl2 -----Record1-----Record2----- Record3 Tbl2_id --------1------------2-------------3 Tbl1_id --------1------------1-------------1 Tbl3 -----Record1-----Record2----- Record3 Tbl3_id -------1-------------2-------------3 Tbl2_id -------1-------------2-------------3 Tbl3_Name ---Test1---------Test2--------Test3 Tbl3_Flag ----N-------------Y-------------Y Tbl4 -----Record1-----Record2----- Record3 Tbl4_id -------1-------------2-------------3 Tbl2_id -------1-------------2-------------3 Tbl4_Name ---Temp1--------Temp2--------Temp3 Tbl4_Flag ----N-------------Y-------------Y I wanted the result as Tbl3_Name--Tbl4_Name--Tbl3_Flag--Tbl4_Flag Test1 -----------Temp2--------Y-----------Y The rule …

Member Avatar for Kate Albany
0
161
Member Avatar for red_evolve

Greetings. I encountered this little problem and am stuck. I don't know what should I google. I am developing a webpage with Coldfusion and I need to use some Javascript also. I have a component, and onclick of that component, I would like to call a Javascript function and pass …

Member Avatar for alpha_foobar
0
132
Member Avatar for mina1984

Hi, im lost and i need help writing a function gcd that returns the greatest common divisor of two integers and has to allow five sets of numbers to be input by the user. this is what i have so far where i put /* is where i need help …

Member Avatar for mina1984
0
392
Member Avatar for gmrod

[B]To the following program I need to:[/B] Homework 2.b /* crypto.c. Program that encrypts a letter by shifting the value by k*/ #include <stdio.h> #define BASE 65 #define RANGE 26 main() { char originalLetter; char encryptedLetter; int k; printf("Input a Capital letter:\n"); scanf("%c", &originalLetter); printf("Input an integer that is less …

Member Avatar for Narue
0
504
Member Avatar for M Tritt

I'm building a tic tac toe game with a variable board size using class GameBoard and class GamePiece. The GamePieces have a char array, pName, for the player's name and a char pType for the piece (X or O). the board is set up using a pointer to an array …

Member Avatar for Narue
0
274
Member Avatar for bennetjosem

This one isnt working! [code]function insertpath($num){ echo " <td colspan=\"3\" align=\"left\"> <br>\n"; echo " <b>Date Published</b>:",$Date_Added[$num] ,"<br>\n"; echo " <b>Sample</b>:",$Sample_Views[$num],"</td>\n"; } insertpath(0); [/code] But this one Works [code] echo " <td colspan=\"3\" align=\"left\"> <br>\n"; echo " <b>Date Published</b>:",$Date_Added[$num] ,"<br>\n"; echo " <b>Sample</b>:",$Sample_Views[$num],"</td>\n";[/code] Well not woking in the sense the values …

Member Avatar for senexom
0
136
Member Avatar for somer2412

Can someone please help? My assignment is to display a chart using loops, not allowed to hard code any numeric values below the headings. The user is given three options if someone could help me get started with the first chart, I can get the rest. I have included my …

Member Avatar for zyruz
0
141
Member Avatar for moosigal

I'm in need of a PHP tutor/instructor. Does anyone have any recommendations? My background is in front end (HTML, JavaScript, CSS), and I'm having a change in my job at work and need to get up to speed quickly. I'm not even sure what book(s) to pick up. I do …

Member Avatar for Atomical
0
361
Member Avatar for marion sterling

:rolleyes: Good Day all. I am new to This forum and VB Programming. I am trying to set up a database for use with my hobbies. Perfin collecting (stamps). I want just the perfin pattern stored in the database, so i can do searches by cat number OR the perfin …

Member Avatar for marion sterling
0
205
Member Avatar for cpp noob

i have jut started learning cpp need help : is their any way i can make a char statement conatining spaces too. if yes plz tell me. :rolleyes:

Member Avatar for cpp noob
0
306
Member Avatar for mina1984

hi im kind of confused about how to change a for loop into a while loop and how to change a recursive into a for loop and for loop into a recursive, i read books and searched online but it all seems confusing could somebody please simplify it for me? …

Member Avatar for Rashakil Fol
0
205
Member Avatar for djbsabkcb

Below is my code for a class car efficiency program but I have some errors with the get_gas function. if you can help would appreciate it. [code] #include <iostream> #include <cmath> #include <cstdlib> using namespace std; class Car { public: Car(); Car(double); ~Car(); void add_gas(double); double get_gas(double); void drive(double); private: …

Member Avatar for djbsabkcb
0
169
Member Avatar for bandm

Hello All, I posted this over in the Software Forum, but I realized that maybe it belongs over here. I have both VS 6.0 and VS .Net 2003 available to me. I am just starting to learn programming and wanted to know the difference and which one would be the …

Member Avatar for Narue
0
207
Member Avatar for shanenin

I am slowly absorbing these python class concepts(kinda) this fails with an error [php] class Critter(object): def __init__(self): print "I am born" def talk(self,name): self.test = name print self.test crit = Critter('ralph') crit.talk()[/php] this one works [php] class Critter(object): def __init__(self,name): print "I am born" self.test = name print self.test …

Member Avatar for vegaseat
0
213
Member Avatar for Lalo1985

Hi, I do a lot of VB programming on my own, and have gotten pretty decent at it. From time to time, a couple of people have asked me how much I would charge them for a specific program. Has anyone done this before, where they take "jobs" on their …

Member Avatar for Lalo1985
0
148
Member Avatar for Phat !

Hi, I need some help on a school project regarding visual basic. mind giving me some ideas on what mini project we can do ? Actually i got a ideas of making a pop3 portal because my school pop3 cilent looks sucky so our group intend to revamp them Cheers …

Member Avatar for Comatose
0
144
Member Avatar for JEt3L

Hiya everyone. Just thought that maybe someone could help me out on this one. I'm making a client on perl using IO::Socket and it works for most of my apps. But i came upon a bit of a challenge here. Everything works fine. I'm sending the login packet to YCHT …

Member Avatar for JEt3L
0
253
Member Avatar for stupidenator

Hey all, Does anyone know if it is possible to send email through a java applet? Thanks in advance. Nick

Member Avatar for stupidenator
0
145
Member Avatar for 001

Hello, I am newbie in perl. I am currently working on a project to access the parallel port of a pc in perl on a linux operating system. I really do not know where to start. Could anyone help me with useful links, books, resources..etc that could be of explicit …

Member Avatar for 001
0
192
Member Avatar for cpp noob

this program contains everything even leap year: :idea: i am a beginner in cpp (we have this in school so i am learning this age 15 ) [code]# include<iostream.h> # include<conio.h> void main (void) { clrscr(); int years1, months1, days1; int monthdays1[12] = {31, 59, 90, 120, 151, 181, 212, …

Member Avatar for cpp noob
0
139
Member Avatar for M Tritt

Can anyone lead me in the right direction to get this to work??? my << overload compiles fine... ofstream& operator<<(ofstream& ofs, const GameBoard& b) //overloaded ofstream operator to save board & piece { for (int row=0; row < b.size; row++) { for (int col; col < b.size; col++) { ofs …

Member Avatar for M Tritt
0
131
Member Avatar for Atomical

I've been coding php for about four years now on and off. I'm attempting to write a script that will replace links on a page with another link. I'm debating whether it's even worth it to try to code something with strpos. I was of the opinion that preg_match would …

Member Avatar for Atomical
0
210
Member Avatar for sparkette

Hey guys. I was told to do an assignment, to demonstrate how a high priority thread gives a low priority thread a chance to run using the sleep function. The assignment has already been submitted and already graded. The following code when compiled not only creates a ThreadSleep.class file, but …

Member Avatar for sparkette
0
109
Member Avatar for stevoo

basicly i have a vbulletin forum and i am trying to create a simple web page , now the thing that i do not now is how can i obtain the current Members that are registered in the forum and show it in my web page

Member Avatar for Gary King
0
209
Member Avatar for nephish

Hey there all, i have a question about how to point my python install to my sql database. when i enter this:[CODE] db = MySQLdb.connect(user="user", passwd="pass", db="myDB")[/CODE] i get this: [CODE]Traceback (most recent call last): File "<pyshell#1>", line 1, in -toplevel- db = MySQLdb.connect(user="user", passwd="pass", db="MyDB") File "/usr/lib/python2.4/site-packages/MySQLdb/__init__.py", line 66, …

Member Avatar for nephish
0
151
Member Avatar for drako900

Is there a way to drop a PK from a table by selecting the name into a variable from all_constraints, I need to run this script on multi databases that the actual name of the PK could possibly be different. I can get the name in a variable but don't …

Member Avatar for drako900
0
175
Member Avatar for Walyer

Hey, I've been trying to setup a search page for the last week with no luck. I've been reading books (maybe not the right ones) and searching the web for examples, also with no luck. I'm using Microsoft Access for my database and Coldfusion 6.1 for my server. What I've …

Member Avatar for Torch7
0
277
Member Avatar for Letscode

[B]PURPOSE [/B] I'm trying to adjust the styles of buttons,textbox ....(More like height,width,text size) so that it looks good for each and every resolution,window size.. [B]ISSUE [/B] Whenever I change the attributes like background and size,While using Internet Explorer its working fine but in Mozilla its not working at all …

Member Avatar for tgreer
0
247
Member Avatar for hisrichness

Hey, I have to write a Java program that implements a sorted linked list to be able to count the number of chars and words in an input file. would any1 be able to help me please? Thanks

Member Avatar for jwenting
0
122
Member Avatar for razibcse

Hi, I have a project on peer-to-peer file transferring...Now I don't have any clue how I can use just the IP address of a computer to search for files in different drives...I have used socket object to create clients...now I have the info of only IP address and port number …

Member Avatar for jwenting
0
96
Member Avatar for bennetjosem

How can i display result of a single cell query? my query is [code]$author=$_POST["authorname"]; $q="Select authorid from authors where AuthorName=$author"; $resultauthor=mysql_query($q,$connect); $num=mysql_num_fields($resultauthor); [B]<<Error coming here![/B] :( mysql_num_fields(): supplied argument is not a valid MySQL result resource in[/code]

Member Avatar for bennetjosem
0
172
Member Avatar for ashneet

Hi All I need help and i am new to php so bare wih me :confused: what i m tryin 2 do is that add poduct shipping handeling togther to get an avraged rate so this is the part of code Troubling me: [CODE] $nrow = mysql_num_rows($result); if ($Vh4 == …

Member Avatar for ashneet
0
285
Member Avatar for jerMAn

I've made a web-crawler in VB6. I'd like to port it to .NET so I can make it accesible to the public over the web. Basically my own version of Poodle. Porting most of the code will be very easy, BUT, I haven't found any way via .NET to read …

Member Avatar for jerMAn
0
127
Member Avatar for sharp_edges

Example : [url]http://rpol.net[/url] I am trying to create a site of the same nature and trying to avoid "Cgi". A Few questions: The example above allows users to create threads in allowed areas only. Further in some areas user can only post.. In others they can Admin thier threads.. I …

Member Avatar for Troy
0
255

The End.