199,113 Archived Topics
Remove Filter ![]() | |
I recently used a cfmail tag to process a email form on a coldfusion server. This actually processes my email request and sends the email to the right address but I am getting the following error on the initial form page: Why would this error appear if the form works? … | |
hi all, i have problem creating queries in access.this is because i do not know how to call the value from a variable in vb into the query in access. let say in vb i've created : [code] Public booking_date As Date Public fac_type As Integer . . . . … | |
I want help. [B]what i do[/B]:I creat three pages 1. login.php, 2. welcome.php, 3.change password.php. when we login(right Id & P/W) welcome.php will open,On that page i have put two option i. Logout, ii.change password.,[U]on clicking on Logout we will logout to enter again we have to enter password.As session … | |
I have devised a html page questionaire, There are 10 questions, 9 of which require Y/N or A/B answers in checkboxes to give a total score and analysis, 1 which is personal notation and which requires an extra point for specific wording (e.g. a certain word[s] disqualifies the point award) … | |
i need to redirect to other page with out using header if it is not possible tell me how can i use header with relative url plz n 10q | |
What im wondering, is because im making a little text adventure game, and i have to write lots of descriptive writing and i would like it all to stay together in a paragraph. But the only way of getting that on output that i know of is to just have … | |
here's my printing code: [code] Private Sub PrintDocument1_PrintPage(ByVal sender As System.Object, ByVal e As System.Drawing.Printing.PrintPageEventArgs) Handles PrintDocument1.PrintPage Dim printlinestring As String Dim horizontalPrintLocationSingle As Single Dim verticalPrintLocationSingle As Single Dim printfont As New Font("arial", 12) Dim lineheightsingle As Single = printfont.GetHeight horizontalPrintLocationSingle = e.MarginBounds.Left verticalPrintLocationSingle = e.MarginBounds.Top PrintPreviewDialog1.Document = PrintDocument1 … | |
ok, so I have read some tutorials on file streams, but i am still confused. I have made a program that edits a .txt (inputted by user) file, but my goal is to search an entire file for a string, and every time the string its found, I want it … | |
I've got a real stupid question. I haven't used vb in a while and am a little rusty. I want to lock a panel to a window so when the window grows so does the panel etc. or image whatever where can this be found..im using 2005...I'm sure it used … | |
Hello everyone, I have an issue that I can't seem to resolve with integrating phpBB into the rest of my site so that login and session can be intact. Well, for the most part, the whole scheme seems to work at first glance. I noticed that pages that have the … | |
I have been working on this assignment for couple weks (aling with my other classwork) and I couldn't get it anywhere, can any one help me doing it. Or can you at least tell me hints and tips toward resolving the program: the question is: The element selection problem is … | |
I need some help here I am trying to figure out to set a php file to go to different URLS based on the request it receives. eg this code might make no sense at all I want to code for 6 different referrers. <?php if (($_GET['PID']) != '097641342sjherjy') {header.location … | |
Hey everyone, I have an assignment to work on and it's a bit confusing. Here's the problem: [quote]Using dynamic arrays, implement a polynomial calss with polynomial additions, subtraction, and multiplication. Discussion: A variable in a polynomial does nothing but act as a placeholder for the coefficients. Hence, the only interesting … ![]() | |
How do you incorperate sound files into a C++ program? | |
Hi all, I have a project thats was given to me in school but the problem is I don't know anything about PHP but i know a very little about MySQL. I was given three options to use. Two of which are PHP and the other JSC. I hate anything … | |
i want to pass 3 parameters to my data report in VB 6. [code] Private Sub DataReport_Initialize() DataEnvironment1.Command1 (Form1.txtregno.Text,form1.cstd.Text,form1.cinstlno.text) End Sub [/code] i am getting compile error. expected '=' plz help.. | |
hi, can anybody give me an example of a memory resident program using assembly.I'm going to make it a reference for our project that is to produce a sound out from the pc's built-in speaker.please... | |
I've seen tons of examples, but I can't seem to find what I need. I'm pretty new to programming, only been doing it for 9 months. Here's what I'm trying to do. I'm loading a file with the below info. 12 Item1 15 1 Item2 10 1 Item3 1 2 … ![]() | |
#include <iostream> #include <cmath> using namespace std; int main() { // Declare constants and variables const double ACCURACY = 0.00001; double x, factorial, ex_approx, ex_funct, curr_term; int terms, i; // Read value of x for exp(x) calculation cout << "Enter the value of x you wish to use for exp(x) … ![]() | |
hello all, I'm new to c++ and am currently reading the book "C++ how to program" by Deitel. I'm working on exercise 7.15 from his book and am just stuck with the problem. Use a one-dimensional array to solve the following problem. Read in 20 numbers, each of which is … | |
[code=c] #include <stdio.h> #include <string.h> typedef struct { char item[50]; int date[15]; float price[5]; int amount[10]; float total[10]; }EXPENSES; EXPENSES aExpenses; int getOption(); void input(); void viewAll(); void del(); void edit(); int main (void) { int done = 0; int option; //while (!done) option = getOption(); if (option == 5) … | |
for my c++ class we are writing a simon program (the game where you have to remember and follow the pattern given to you). each turn the program outputs either r, b, g or y to the current pattern (output should look like this: turn1: y 2: yg 3:ygy 4:ygyr … | |
I've been tring unsuccessfully to find information on what each language, C and PHP, have to offer in terms of working with MySQL. Just wondering if anyone out there has preference for one or the other and why. I understand that PHP is supposed to have alot of built-in functionality … ![]() | |
Hey friends I've a doubt regarding my password authentication code given below If we use `session _start` function one need not use the `cookies` as $_SESSION['user'] = $username; $_SESSION['password'] = $password; functions do the same job that cookies would have done so my cookies code is just a clutter?? Here's … | |
I'm working on a database install/configuration page where the page asks the user for the database credentials, his software credentials, and a few other options and then proceeds to attempt to create and/or populate the database. There are four main sections: Data entry, database table creation, database population (for certain … | |
I have several drop lists on my form, with either numbers or names on them. I want to change it so each item on the drop list has a certain "value" to it. For example, if a was "1" on my first drop list and hello was "23", wen I … | |
Hi, Can anyone help me with this..!!! I found an error stating that "Unrecognized database format" How can I solved this..I am currently using VB to link my MS access 2000 database using DATA object, Please help me..Thanks.. | |
Urgent help needed regarding executing Scripts in AJAX response. If possible, please post the code snippet also as soon as possible. Thanks in advance. | |
Hi Everyone. I am fairly new to javascript and wanted to do a small site that basically has a form where you select your name from a drop down menu, insert your password in the password box and press log in, the page then quickly checks if the inputed password … | |
got simple litttle problem and i am totally green when it comes to java. script at this link [url]http://www.javascriptkit.com/script/script2/simpleimagetrail.shtml[/url] is what i need to modify. probably simple for people in this forum. the popup image flips from the right of cursor to the left depending on the location of cursor. … | |
Hi! I have an image of a radio button on my page (there are reasons why I'm not using a real one). I want to make the image change from one image (radio_button.gif) to another (radio_button_selected.gif) and vice-vera. I'm trying to create logic that will toggle the variable and change … | |
i am creating chat application .can anybody tell me how can i know who is on line on the server and how can i communicate with on line members. thanks for help | |
How can I get the difference of two time values using javascript? | |
I need to extract links from a given page to be displayed in a new window, however, the particular page im wanting to extract links from, I dont have direct access to that pages html. this below code extracts all links on any page its on..... [code] <script language="JavaScript1.2"> <!-- … | |
Hello there in my html page i use the following link <LINK href=c:\"Calendar.css" type=text/css rel=stylesheet> i would like to avoid rediracting to the file css ,so my question where i should put all the information in my htmal page after? the <body> ?before the <body>? which tag to use? Thanks … | |
why this script is not running on my php files but its running on other computers. <script type="text/javascript">window.opener.location.reload(); </script>"; thanks in advance. - tagz017 | |
I'm trying to write a program for my c++ class that takes binary numbers and converts them to decimal. I have programmed this all fine and dandy, but I'm having trouble with my EOF statement. The program requires that I use 3 functions, the first being to prompt user for … | |
Could someone help with this question, how to create some PHP code for this, What I want to do is to copy/manage data across from one applications database to another application's database. For example, to copy across the Username Password Address Phone email fields from one to the other. Is … | |
I'm working on a simple program. It will compile,but whenever I press the delete button a message pops up and says it needs to close. I looked at the error details and It's error code was 0xc0000005. This is where I think the problem is: [CODE] for(i= 0; i < … | |
[COLOR=Green][B]need help with my java calculator, about the key listener. its allows me to input using keyboard. but the answers are always "ERROR".. but when i try to use the mouse. it works fine. having problem with the keylistener. please help CALC [/B][/COLOR][code] import java.awt.*; import java.awt.event.*; import javax.swing.*; import … | |
NEED help please. here's our code. We wanted to print its output file. what function will we use? how will we do it? .We wanted to add printing in the menu.thanks [code] #include<iostream.h> #include<stdlib.h> #include<conio.h> #include<stdio.h> struct node{ int x; char h[50]; //last name char fn[10]; struct node *next; }; … | |
Hiii all, I am sanhita Bhide form australia and doing Graduation In Information Technology. I am doing Vb.Net as one of my subject I am having a project in relation with windows application in Vb.Net in which we are required to build a windows based application for a "Car Auction … | |
[code] import java.io.*; public class myFLAMES { public static void main(String args[]) throws Exception { DataInputStream input=new DataInputStream(System.in); int ctr=0; /* ask for inputs */ System.out.println("Input your name: "); String name = input.readLine(); System.out.println("Input her name: "); String sname = input.readLine(); /* hard part -PROCESSING!!!! */ /* we need to … | |
I am now taking Java classes and I have worked this program out, but it is giving me a "illegal start of type" on my code and I do not know why please help. Thanks for your help. [code] // Displaying multiple strings import javax.swing.*; // to use JOptionPane.show InputDialog … | |
Hello All, I have a text file that I am trying to query. The text file is as follows: Billy Bob, Manager, 23453, 76789 Sharon Smith, Supervisor, 33789, 98098 Sue Johnson, Supervisor, 33790, 98095 John clover, Director, 33791, 99876 Desie Arnaz, Worker, 40078, 97656... I am wondering how can I … | |
I have a list view and I'm trying to get all of the text out of it. This is my code so far: [CODE] for(i= 0; i < NumOfItems; i++) { char *text = new char[256]; char *text2 = new char[256]; // mask ListView_GetItemText(hWndListView, 0, 0, text, 256); ListView_GetItemText(hWndListView, 0, … | |
[code=C++]#include <fstream> #include <iostream> using namespace std; char * buffer; long size; int main () { ifstream infile ("d2gfx.dll",ifstream::in); ofstream outfile ("d2gfx.dll",ofstream::out); infile.seekg(0xBD30,ifstream::beg); size=infile.tellg(); infile.seekg(0xBD30); buffer = new char [size]; infile.read (buffer,size); cout << buffer << "\n"; system("pause"); outfile.seekp(0xBD30,ifstream::beg); size=outfile.tellp(); outfile.seekp(0xBD30); outfile.write ("D2Mad.dll",10); delete[] buffer; outfile.close(); infile.close(); return 0; }[/code] … | |
I have written some coding to add a new row to an existing data table. After clicking the submit button I get following error. "Update requires a valid InsertCommand when passed DataRow collection with new rows." Please tell me what the additional code I should add. The "add" method is … | |
Hello...can someone just give me a hint or steps how to trap numbers in String Like in names.I have to make my project in java with traping numbers in names.. | |
I've got a project to design a chat client in java applets....I've got a way around to implement it but that may be bit an inefficient I've got a client code that communicates with a server program (both in java).Only one client can communicate with server that one time and … |
The End.