199,125 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for SheSaidImaPregy

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 …

Member Avatar for Fungus1487
0
120
Member Avatar for fcleme

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 …

Member Avatar for Ancient Dragon
0
137
Member Avatar for daidaiboyboy

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 …

Member Avatar for tphuynh
0
2K
Member Avatar for toolmanx

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, …

0
135
Member Avatar for Demonic5

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 …

Member Avatar for iamthwee
0
156
Member Avatar for td5223

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 …

Member Avatar for td5223
0
199
Member Avatar for huskersox

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 …

Member Avatar for MattEvans
0
112
Member Avatar for tdhughes

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 …

0
89
Member Avatar for globalplayer

[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? …

Member Avatar for MattEvans
0
111
Member Avatar for still_learning

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 …

Member Avatar for WaltP
0
129
Member Avatar for liphoso

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 …

Member Avatar for WaltP
0
130
Member Avatar for DREAMER546

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 …

Member Avatar for DREAMER546
0
302
Member Avatar for balagangadharm
Member Avatar for Ezzaral
0
79
Member Avatar for degamer106

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 …

Member Avatar for degamer106
0
2K
Member Avatar for fatihpiristine

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 …

Member Avatar for fatihpiristine
0
277
Member Avatar for ray_broome

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] …

Member Avatar for ray_broome
0
112
Member Avatar for sasindagi

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 …

Member Avatar for hollystyles
0
93
Member Avatar for GLT

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 …

Member Avatar for malik
0
97
Member Avatar for halo2master

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 =]=]

Member Avatar for halo2master
0
69
Member Avatar for guaild

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 …

Member Avatar for guaild
0
322
Member Avatar for jai.mahadeokar

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...

Member Avatar for jai.mahadeokar
0
106
Member Avatar for Venom Rush

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 ;)

Member Avatar for Venom Rush
0
2K
Member Avatar for eranga262154

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() …

Member Avatar for eranga262154
0
113
Member Avatar for step2stepgirl

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 …

Member Avatar for Duoas
0
75
Member Avatar for susuoi

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()) …

Member Avatar for Salem
0
82
Member Avatar for Dabdob

[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]

Member Avatar for Dabdob
0
135
Member Avatar for Church

// 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 …

Member Avatar for Church
0
106
Member Avatar for jai.mahadeokar

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??? …

Member Avatar for Pierre Maurette
0
138
Member Avatar for rabichan

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 …

Member Avatar for rabichan
0
260
Member Avatar for kalimuthu.ttcpl

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 …

Member Avatar for kalimuthu.ttcpl
0
136
Member Avatar for Ptolemy

>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 …

Member Avatar for Dave Sinkula
0
414
Member Avatar for manjusaharan

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.

Member Avatar for manjusaharan
0
103
Member Avatar for kenneth17

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 …

Member Avatar for debasisdas
0
207
Member Avatar for vivek_green

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.

Member Avatar for jwenting
0
108
Member Avatar for zandiago

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 …

Member Avatar for Ancient Dragon
0
501
Member Avatar for jpatuto

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

Member Avatar for SheSaidImaPregy
0
75
Member Avatar for still_learning

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 …

Member Avatar for WaltP
0
172
Member Avatar for bran-chua

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 …

Member Avatar for WaltP
0
173
Member Avatar for chizy2

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 …

Member Avatar for chizy2
0
200
Member Avatar for SiPexTBC

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 = …

Member Avatar for SheSaidImaPregy
0
102
Member Avatar for jobi.tv

hi friends, I don't have c++ software. plz give me the c++ s/f and tell me the link........

Member Avatar for WaltP
0
93
Member Avatar for jtwister

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 …

Member Avatar for jtwister
0
83
Member Avatar for jared0029

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 …

Member Avatar for Ancient Dragon
0
153
Member Avatar for Likezo

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 …

Member Avatar for Likezo
0
133
Member Avatar for JesseQ

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 …

Member Avatar for twomers
0
268
Member Avatar for Firstomp

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 …

Member Avatar for Firstomp
0
133
Member Avatar for jireh

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 …

Member Avatar for binoj_daniel
0
289
Member Avatar for zawpai

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 …

Member Avatar for yello
0
114
Member Avatar for SerapH

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 = …

Member Avatar for manal
0
106
Member Avatar for huskersox

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 …

Member Avatar for masijade
0
104

The End.