199,125 Archived Topics
Remove Filter ![]() | |
Hello, I need to access the database when a session unexpectedly ends or session times out. This is just for telling the database to update a field for when the user last logged in. The reason I need this is that it saves me tons of coding for other stuff … | |
I am trying to relearn C by going through the K&R exercises (I have the first, non-ANSI, edition...that's how long it's been since I last programmed in C under Unix as a software engineer). I have Visual C++.net version 2003 on a Windos XP computer. I would prefer to continue … | |
Hi all... My first post in this forum... The problem is that of the String.Split method... I cant seem to get the String.Split method to work as I wanted... My objective is to try to read the data which are three columns of numbers and try to array them so … | |
I don't know if I am the only one having trouble with StretchBlt or if my symtom is a normal situation. StrechBlt works fine as I zoom the picture larger. I expect the pic to loose quality if I zoom out too far. My problem is: As I zoom smaller, … | |
ok the goal of the project is to define a class called DateCS212 and use an array of DateCS212 objects to store a sequence of dates. The main program, Project2.java, will read the dates from a file and will instantiate a DateCS212 object for each date read from a line … ![]() | |
Hello there, Im writing a small VB application that has a lot of IO with Excel. I search through xl sheets and read cells etc. reading and writing individual cells from/to excel is very slow from VB. In order to WRITE an array to EXCEL I use a syntax that … | |
im having a problem with this one, any help out there?? In this assignment you will use a sentinel controlled while loop to determine gross pay for any number of employees. The company pays "straight time" for the first 40 hours worked by each employee and pays "time and a … | |
Howdy, I need to pull database information into an XML defined form. One of the db fields has to be contained in a CDATA node. This line of code returns data, no errors [code] <HTMLCONTENT type="html" width="400"><![CDATA[<body><p>]]><%=aContent%><![CDATA[</p></body>]]></HTMLCONTENT>[/code] It works until I try to use it within an application which uses … | |
[code=javascript] // this is actually defined somewhere else var strDivHeight = "95%"; // create object, div var d = document.createElement("DIV"); d.style.height = eval ('"' + strDivHeight + '"'); [/code] Works. But... eval() is evil, so the saying goes. Am I also able to get rid of eval() in *this* case? … | |
Alright, I am back and I have a new program that I have been working on all day. It's funny because I'm sure most of you guys could do this in 1 minute. But as I said before I am 49 years old and do not use computers, just trying … | |
I have to write five function which i do not have to put in "main" but have to call inside main. i hade come up with a code which did not work and was incomplete but i was futher told i have to use global variables and not local variable … | |
hello .. please i need ur help in this .. i have this exercise .. 1. Define the following data member: a. fahrenheit_temp of type float. b. celsius_temp of type float. 2. Define a constructor that: a. Set the default value for the data member to zero. b. Call set … | |
hi cany anyone help me how to upload and download an audio file using jsp | |
Ok, so my goal is to draw a rectangular spiral in java. So far, I've created the Spiral Viewer class and the SpiralComponent but I'm not quite sure how I would implement the SpiralGenerator class. Here's what I have: SpiralViewer: [CODE]import javax.swing.JFrame; /** Test driver for Spiral class. */ public … | |
![]() | i wanna put 1st row in action with 2nd row... then 2nd with 3rd and go on... i did this three records i got correct result but when i add more records... everything is involved... i tried many different combinations but no success.. i want to solve this in sql … ![]() |
I posted a similar question in MySQL section before but i think this one might be more general/easier to understand (hopefully): I'm doing a database (in MySQL) of different plants which is gonna store various (somewhat detailed) information about them. Here's a sample of two tables: Families (Plant Family) [code] … | |
suppose when user click on edit button, he should not be allowed to go any of hyperlinks or tabs or any other other page. after clicking save or close buttons he shold be allowed to move. even though if tries to click on any hyperlinks or tabs he shold get … | |
Hi Guys, I am developing a Web based database for a company for my year work placement for university. As I am still a student I am still learning and finding this difficult. I am looking at designing a login page using ASP, the code I have is:- [I]<%= sErrorMessage … | |
i have been working on this game for now about 27 days i was wondering if you could rate it for me out of of ten and tell me what you think [URL="http://criminal-ghetto.com"]criminal-ghetto[/URL] thats is the link =]=] | |
Hi everyone, this is my first post. I'll try to be concise. It's been a while since I've worked with C++, since I usually work in Java. I'm writing a program that I want to have run in the background while the system (Windows XP) starts up. But I want … | |
To get an ascii value of a char we have the ascii(c) function in curses.ascii module... but in the curses module _curses module is imported... which is not there in the library hence exception is being generated... can anyone kindly help.. or suggest any other method for conversion... | |
Hi I would like to know if it's possible to delete a row from a database by selecting it from a drop-down list and hitting the submit("Delete") button. If it is could you help me out with a bit of "code and description" or a link please. Much appreciated ;) | |
Hi all, I create a database on SQL 2005 Express edition and link it to a C++/MFC application as follows. It wont gives any compile time errors. But at run time, it gives an error. Here are details. Link the database in OnInitDialog() here is the code [code=c++] BOOL CSRFDBDlg::OnInitDialog() … | |
I need help to understand what I'm supposed to do in this question I'm not asking for a code what I need is explanation thanks a lot write a function template that returns the range of values stored in a vector <T>that is the difference between the largest value and … | |
![]() | I'm doing image processing. To make the computation faster, I found fork command. With fork command, I can make the computations run parallelI. The problem is the result only exists inside child process. int main(int argc, char **argv){ int n, num, pid; double hist[num][n]; for(i=0; i<num; i++){ if((pid = fork()) … |
[B]Hi How can I add Forum by using PHP in my website…I only want to add one section as test. Please advice in details Thanks[/B] | |
// sorry i accidentally posted this in VB.Net earlier.. in case you saw it before. thought i'd make a program for fun.. although to be safe im cutting it up into many forms to save room. Anyway doing this means im going to have to get alot of the variables … | |
I am trying to use the function cmpfile of the cmp module which returns true or false if filepaths passed are same or not... But the interpreter flashes an error "undefined global name false"... Also it doesnt accept true or false in other functions also.. what might be the problem??? … | |
I'm trying to code a Wordpress theme, and I'm getting this error message - "Parse error: syntax error, unexpected T_STRING in /home/xxxxxx/public_html/wp-content/themes/xxxxxxx/index.php on line 27" The thing is, I can't figure out what's wrong :/ Here's the code - 1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 2"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 3<html xmlns="http://www.w3.org/1999/xhtml"> 4<head … | |
Where we need to enter all type of symbols and contents in RTF (Windows application) some of the key issues to be addressed are easy entry of equations, mathematical formulas, diagrams and multi language support (UNICODE) Previously Visual basic 6, we had solved it thru OLE call but .NET version … | |
>I disagree. You have to have all kinds of special code to get scanf() to work properly. Only if you aren't using scanf for what it was designed in the first place. When you have to write workaround code to get a function to work, you're using the wrong tool … | |
hi all, i m new in c#. I dont know how to convert hexadecimal value of a character into its charcter equivalent. please help me in solving my problem. thanx in advance. | |
Hi All I am trying to connect to my database from the front end in VB.NET 2003, the connection strings that i have tried are not working at present. I have VB.NET 2003 program from last year but that was using access as the back end and VB.NET 2003 as … | |
HI, Can someone tell me if two static hashtables declared with the same name in two different classes will cause ambiguity while acessing in each other classes without refering them with class Name. | |
So far this is what I have: [CODE] #include <iomanip> #include <cmath> #include <fstream> #include<string> #include<iostream> using namespace std; int main() { ifstream infile; ofstream outfile; infile.open ("Wordcalc.txt"); outfile.open ("WOutput"); char A = (1*2.0);//value for letter A char C = (3 - 20.4); char D = ((4/12.0) *3.09); char E … | |
Just a question on database setup and application. If I have one database, with multiple tables within it, at what point does it become prohibitive. 50 tables? 100 tables? Is it a memory thing? How can I check? Thanks, -JP | |
Is this an example of a recursive function?? Somebody on another forum helped me put this together, as I am trying to make a diamond shape out of asterisks. But he did not know if this was a correct way of using recursion. Can somebody just tell me yes or … | |
Question : Phonebook Write a phonebook program that can be used to save your contact list (like what you have in your mobile phone). The program should have the following features : •Displaying all the contact records •Save new contact into the list •Delete contact from the list •Search for … | |
I had this for classwork and was able to get it to work.. is there a better way to do the right alignments for the cost columns?? When I turned this in, the output returns right, but I was told there was an easier way to get them to align … | |
I'm trying to send an email from my contact form using gmail, but i get a runtime error when try to send it. Heres the code: [CODE] MailMessage email = new MailMessage(); email.From = new MailAddress(from); email.To.Add(new MailAddress(to)); email.Subject = subject; email.Body = body; email.IsBodyHtml = false; System.Net.NetworkCredential auth = … | |
hi friends, I don't have c++ software. plz give me the c++ s/f and tell me the link........ | |
Hi, I want to design a web form, on which, the client may select one or more email addresses to send the form data to. I was thinking that a drop down menu would be the easiest, but I'm not sure how you tie the selections to the submit button … | |
I have been assigned to create a program to simulate a soft drink machine. The following structure is supposed to be used to store the following data: Drink Name Drink Cost Number of Drinks in machine I am suppose to create an array of five structures and initialize the elements … | |
I am new c++ programmer. I looked at the code for the "bouncing ball" which was said to be "hello world" of Win 32. I have been trying to do the following: 1. Make the this ball move in a predefined rectangle (one ALREADY drawn) even before the ball starts … | |
ok here is my code [code=C++] #include <iostream> #include <ctime> using namespace std; int main(void) { char cName[81] = "", cUser[9] = "", szComp[9] = "", szr[5] = "Rock", szp[6] = "Paper", szs[9] = "Scissors"; int cComp = 0; srand(static_cast<unsigned int>(time(0))); cComp = rand()%3; if (cComp == 0) strcpy_s(szComp,szr); if … | |
I am an enthusiast in Access trying to do some god for the local chapter of the Salvation Army. I have been asked to create a database that when individuals information is entered, it checks to see if they have already registered either as a primary, a spouse, as another … | |
Here's the situation guys, I make a program that only in one computer the data will be saved. what I mean is I put this program in two or three computers then one must be the "server"? Can you guide me how to do this... here's my code to connect … | |
Please give me some suggestions while the code gets that error when i run it. Private Sub cmdRectangle_Click() Dim Speed, r As Double Dim x1, x2, x3, y1, y2, y3, z1, z2, z3 As Double Dim NewValueX1, NewValueY1, NewValueZ1, NewValueX2, NewValueY2, NewValueZ2 As Double If Text1.Text <> "" Or Text2.Text … | |
Hi I am creating an MDI application that carries out various tasks >> Login, View Balance, Show Transactions, Request Statement. So far I have only managed to create the Parent MDI, Main menu to be able to choose a function, and login validation. Login Code: Dim str As String = … | |
In this assignment you will use a sentinel controlled while loop to determine gross pay for any number of employees. The company pays "straight time" for the first 40 hours worked by each employee and pays "time and a half" for all hours worked in excess of 40 hours. There … |
The End.