199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Forikan

Hello, My question is about an HTML form using "POST" method. I'm using a simple HTML form, from which I get back my variables with this code : sLastName = Request.Form.Item("LastName") This work correctly. But when the user fill the blank field with a string containing " ' ", I …

Member Avatar for zippee
0
165
Member Avatar for raywood5

I am trying to remove a function call for a pop up window because so many people have pop up blockers. The line below shows a call to have msg.asp..... shown in a pop up. However i want it to just be a normal page. Is there a way I …

Member Avatar for zippee
0
119
Member Avatar for cb2

I used to use a web gallery on my site called iGallery by Blue Collar. Well I changed from a Windows Server to a Linux server and want to find something that was kind of like the iGallery. Can anyone recommend something? Or can they give me a few sites …

Member Avatar for cb2
0
159
Member Avatar for NewVBguy

Hi there, I want to center the caption of a form and make the caption bold. Can anyone show me how to do this... Many thanks.... Newvbguy

Member Avatar for NewVBguy
0
151
Member Avatar for tantomushi

Hi! I'm really new to all this so please excuse me if I'm not providing enough information for anyone to answer my question. I'm getting this error: [code] error C2079: 'Playlist::PLarray::playlists' uses undefined class Playlist [/code] and it's referencing a line in my PLarray.hpp file-> see *** PLarray.hpp: [code] #include …

Member Avatar for OurNation
0
438
Member Avatar for Asif_NSU

I have to write a program where the input is a Boolean Expression and the ouput is the corresponding sum of minterms for that particular expression. My idea is that i need to convert the infix boolean expression to a postfix expression. From there I need to construct the truth-table …

Member Avatar for Asif_NSU
0
751
Member Avatar for syphyr_0707

:eek: I have been working on this for hours now... I am trying to enter a string and then count the words in the string. Only problem is my book is no more than a paper weight, and other online areas are kinda confusing. Can someone point me in the …

Member Avatar for syphyr_0707
0
101
Member Avatar for AQWst

I have created a GUI Java menu using a pull down menu in which I want to have the date and time show up. I am currently getting null for my time value and I think it is because I am not refreshing this each time I calculate my time …

Member Avatar for AQWst
0
218
Member Avatar for evilsilver

(for reference i am in c++, windows, borland 3 compiler)hey guys here is what i want to do, i am trying to save a file using <fstream> but want the player to pick a name to save the file as, so to do that i have to modify the string …

Member Avatar for Narue
0
182
Member Avatar for FireNet

[code] Mode13h The Beginning of 3D/2D Graphics [/code] [B]Intro[/B] Lots of people want to know how to do graphics but find most APIs like OpenGL, DirectX etc too complex for a beginner, especially as they involve GUI code which follows a different approach from the simple dos programming Here, I …

Member Avatar for 1o0oBhP
0
2K
Member Avatar for dal4488

I'm trying to write a program that mimics a calculator where the user inputs two integers and the operation to be performed. Then I want it to output the numbers, the operator, and the result. I need to use a switch statement and I'm very confused on what to do …

Member Avatar for Narue
0
323
Member Avatar for atul

hi ppl, I was wondering why my JDK 1.4 gives error for not having any such method for dispose(); if i have button b1 on my applet it shud quit the applet when i press the button b1........but the error is shown......what would b possible solution....? my function : public …

Member Avatar for atul
0
78
Member Avatar for Stick

Can anyone help me with an if statement? My script looks like this. $results= mysql_query("SELECT * FROM customers WHERE username='$user'and password='$pass'",$db); if ($myrow = mysql_fetch_array($results)) { do { [COLOR=DarkOrange]I WANT THIS TO GO TO "details.php"[/COLOR]} while ($myrow = mysql_fetch_array($results)); } else { echo "Sorry, Incorrect Username or Password!"; } I'm …

Member Avatar for paradox814
0
88
Member Avatar for sutty8303

We have a homework problem that we had to modify. we had to make the user input their name and a radius to compute the area. The program was supposed to ask the name before it asked the radius. I have two problems i can not get the program to …

Member Avatar for Index
0
124
Member Avatar for noyz

how cand i put sound in my opengl aplication and how can i manage volume for aplication only if u have some suggestions pls write me

Member Avatar for vegaseat
0
75
Member Avatar for Stick

Can anyone help me with the script to show records on a database based on the input of a text field on a form?

Member Avatar for Stick
0
128
Member Avatar for christi

hi-i hope someone can help me.. I am creating a linked list of nodes, I am trying to insert a new node alphabetically by strcmp the name field. I keep crashing at this point... you will see in my code below, I can add to the front of the list …

Member Avatar for 1o0oBhP
0
103
Member Avatar for evilsilver

ok here is my question, i use borland c++ builder 3 and in a book i found an example for a graphics.h program which is supposed to work but i have heard that this only works in dos mode not in windows (which i am running in) is there another …

Member Avatar for 1o0oBhP
0
123
Member Avatar for Paramaribo

Hi, I don't want anyone to do my assignment for me, I just want some help. I'm a student in Suriname, formerly Dutch-Guiana. My teacher decided that we should learn how to write basic programs in Turbo Pascal to improve our "problemsolving skills" and for so far things have gone …

Member Avatar for Jackrabbit
0
131
Member Avatar for billy-student

I am new at programming and need help: #include <iostream> #include <cmath> using namespace std; int main() { int a, b, c, area, tri_area; area = tri_area(a, b, c); if area (area>0); cout << "Area is "<<area<<"!"<<endl; cout << " Those values tri_angle " <<endl; } double tri_area (double a, …

Member Avatar for Fasola
0
189
Member Avatar for JoBe

Hello ladies and gents, I'm starting on the next exercise, but I'm puzzled a bit and was wondering if any of you might help me with this. I have to enter four integer numbers, non negative and smaller then 16 into ONE variable int x, now, the thing I was …

Member Avatar for Fasola
0
443
Member Avatar for jonnie83

I am having a problem with inputs. I can get the input using the cin command but i want to use the input to open a file with the inputs name ie the user types in FRED. cin>>name i want to open a file called fred.txt ifstream in("name.txt"); the above …

Member Avatar for vegaseat
0
109
Member Avatar for Foxtildawn

i keep getting error messages when i try to build my program: EmpType.obj : error LNK2001: unresolved external symbol "public: __thiscall SortedType::SortedType(void)" (??0SortedType@@QAE@XZ) EmpType.obj : error LNK2001: unresolved external symbol "public: void __thiscall SortedType::ResetList(void)" (?ResetList@SortedType@@QAEXXZ) I also get the same error for InsertItem,GetNextItem,DeleteItem,RetrieveItem,LengthIs any help in understanding this would be …

Member Avatar for Narue
0
165
Member Avatar for Crazyike
Member Avatar for Narue
0
94
Member Avatar for ianwaters

Hello all, im writing a c++ program to interact with an SQLServer database. my code will run a query and retrieve data fine. for example SELECT data FROM TestTable returns all strings from the data column. but when i run the following statement INSERT INTO TestTable (data) VALUES ('HELP') i …

Member Avatar for ianwaters
0
279
Member Avatar for tenoran

The assignment is to read and keep records and perform statistical analysis for a class of students. This is what I have done so far,then the codes can show the information(Id,4quizes,exam) of each students on screen. But I need to show 3 more things (The Highest ,The Lowest,The Average of …

Member Avatar for tenoran
0
136
Member Avatar for kpfannenstein

I have a fairly simple C++ program problem. This program is suppose to read in two sets of coordinates (x,y) and report the magnitude, distance, and where on the plane the points lies. Here is my code so far the whole thing works except for the location function. We haven't …

Member Avatar for Dave Sinkula
0
141
Member Avatar for Letscode

After days of searching in the web i found out that One cannot create menu and tabs in VB... You need to use a Java script or HTML to do this task.I got some examples to start with and in couple of these examples i got something like user controls... …

Member Avatar for Letscode
0
162
Member Avatar for higherGround574

I would appreciate any input anyone might have for the following problem: Describe the worst-case time complexity, measured in terms of comparisons, of the following searching algorithm: (x: increasing integer a1, a2, a3.... an) i=1//left end point j=n//right end point while (i<j) t=[ (i+j/3) ] begin if ( x < …

Member Avatar for higherGround574
0
271
Member Avatar for Foxtildawn

I keep getting this error message and I cant figure out how to fix it. Im not sure whether I have been trying to fix it for to long or somehting that maybe im not seeing the problem: ItemType::ItemType' : error in function definition or declaration; function not called it …

Member Avatar for Narue
0
166
Member Avatar for matt_5104

Hi, I'm developing a GUI with several forms, one of which contains a jLabel that displays a JPEG image of a graph as it's icon. How do I go about plotting a simple 2d curve on that image from a set of data? I know of drawLine etc, but how …

Member Avatar for server_crash
0
113
Member Avatar for JonEdangerousli

Uber newbie here. Have downloaded three different form scripts but none of them will actually send the email. Using yahoo small business standard hosting which says they support php. The form appears to work, it refers to the correct page, but no email. I don't know how to enable logs …

Member Avatar for 1andyw
0
325
Member Avatar for compshooter

I have a couple of questions about the main function. Do you need to put the ; after the last }? Do you need to put a return statement before the last }? If so, what number do you put in the (), i.e. return (0), return (1), etc. What …

Member Avatar for vegaseat
0
153
Member Avatar for jengels

I understand I can write a statement like: if==12 or if <12 but how do you write an if statement for something like, A = 90-100 B = 80-89 How do you write the if statement for that? My java book doesnt tell you how to write an if statement …

Member Avatar for jengels
0
70
Member Avatar for steosaur(oWn)

i can't for the life of me figure out how to write int num; num = rand() %. ... i need a range of 0 to 1 I want to store either zero or one to num. That is my goal. plz help (i'm a noob obviously)

Member Avatar for steosaur(oWn)
0
85
Member Avatar for anchi

I want to draw a surface in Java3D and I need to set bounds (using BoundingBox, BoundingSphere, BoundinLeaf or something else) because I'm working with infinite surface (in some cases I devide with number that is very close to 0). Computer automaticly sets bounds, but I need something else (for …

Member Avatar for server_crash
0
151
Member Avatar for evilsilver

hey i am making a game and decided that i want to put a load/save option in it and was wondering if anyone here knew how to do this, (the program has to be able to close, open again and load the progress from before). I am running in windows …

Member Avatar for vegaseat
0
187
Member Avatar for junvalasek

I want to install my own php script into my server (shared) but the moment I test my page, the following errors occurs. [CODE]Warning: main(): Unable to access ../includes/global.php in /home/linkme2u/public_html/paidmail/site/index.php on line 3 Warning: main(../includes/global.php): failed to open stream: Permission denied in /home/linkme2u/public_html/paidmail/site/index.php on line 3 Warning: main(): Unable …

Member Avatar for DanceInstructor
0
167
Member Avatar for SquirrelProdigy

Is it neccesary to ever define more than one output or input handle in a Win32 Console program?

Member Avatar for Narue
0
257
Member Avatar for Narue

Just for fun, I threw this together by modifying and adding to a simple language definition posted here recently. Since everyone hates me, I'll give you a chance to snipe at my first draft. :D The code is long enough to be an uncomfortable post, so I'll attach a zip …

Member Avatar for Narue
0
546
Member Avatar for shortd81

I'm getting ready to make a database of my baseball cards and wanted to know how would I go about making a searchable database of my cards?

Member Avatar for Gary King
0
133
Member Avatar for pmorones

My homework assignment is to implement a class that represents a set of integers. Each set object may contain up to 100 integers. The main program will allow the user to create up to 10 different Set objects and perform actions on them. Actions such as return the interaction, union, …

Member Avatar for Fasola
0
172
Member Avatar for maizen

Okay, I'm trying to do my homework, but my code isn't doing what I want it to. What I'm trying to do is have the user enter a file name and then the program will output the number of words in the file. It works fine the first time through …

Member Avatar for Dave Sinkula
0
349
Member Avatar for hopeolicious

[CODE][#include <iostream.h> void initialize(int& coke, int& pepsi, int& dry, int& hires); void sales_type(char& sale_type, int& brand, int& quantity, int& coke, int& pepsi, int& dry, int& hires); //void clearline(); void purchased(int& brand, int& quantity, int& coke, int& pepsi, int& dry, int& hires); void sell(int& brand, int& quantity, int& coke, int& pepsi, …

Member Avatar for Narue
0
129
Member Avatar for phragix

I declared mNodes as a String Array and try to assign a value to it with sTemp which is a String as well...but there's an error occurred as: "array required, but java.lang.String found". I don't understand why. I need some suggestion please. Thank you. String sTemp; String mNodes[][] = new …

Member Avatar for phragix
0
539
Member Avatar for scrapper777

Hi, I am having problem with the following code.This is on a 32 bit system. The problem statement is: /* isLess - if x < y then return 1, else return 0 * Example: isLess(4,5) = 1. * Legal ops: ! ~ & ^ | + << >> * Max …

Member Avatar for Tight_Coder_Ex
0
174
Member Avatar for RonR

I am ready to start using MSDE. When I run the setup for MSDE it tells me I need to set the password. I have read the "help" on the MS web site but it is still not clear to me how I setup the password or anything else so …

Member Avatar for RonR
0
118
Member Avatar for Dani

[b]Declaring Objects[/b] When one works with classes, each instance of the class which is defined is known as an object. C++ is an extremely object oriented language (perhaps not so much so as Java, however). In OOP, or Object Oriented Programming, one can easily perform multiple tasks on objects which …

Member Avatar for Pmaster
0
149
Member Avatar for computerages

Hello everyone! I am planning to build a database application for my school to maintain school lockers. However, I have a few questions regarding that application: [list=1] [*]Is it possible to use access databse with C++? [*]Is there anyway to authenicate a user with C++? [*]How shoud I go about …

Member Avatar for Narue
0
161
Member Avatar for tricia

Hi, I have 2 variables defined in a code module as public which are used in the same 3 sub procedures. While the first variable is ok, when I debug, the second variables comes up "variable not defined"! Can anyone help? PS I'm a researcher using VB to design experiments …

Member Avatar for tricia
0
178

The End.