199,124 Archived Topics
Remove Filter ![]() | |
I am trying to do a sort of and expiry date so that when an account is created about 3 months later I'll be informed so that the account can be renewed. I don't know how I can do this and to tell you the truth I never used the … | |
Hi I don't know if this is the right place to post my problem. I m new to YUI, I ve modified the exemple listed here [url]http://developer.yahoo.com/yui/examples/datatable/dt_enhanced_clean.html[/url] well, FireFox and Opera diplay what I want, but as always the IE drive me nut, and this time IE7/IE6 gives me errors, … | |
(Note: sizeof(character) == 68 bytes) I am having issues with fstream::seekg()/seekp(). It seems like when one is invoked to modify the get or put pointer, the other pointer follows it instead of staying in place. Example: [CODE=cplusplus] charfile.seekp(0,ios::beg); cout << endl << "Put pointer is at " << charfile.tellp() << … | |
Hi All, i'm new to this board. I'm having a spot of bother with the following: Here is what i'm trying to do. From the drop down list (generated from my database) a style is selected and the image is displayed in the preview box next to it. The problem … | |
I am trying to do a primary key so that each member can't hava the same ID and if th same ID is entered an error is give. Can someone please help me cause I can't do it at all.Thank you. [CODE] static void addMember(ArrayList<GymUser> UserListIn) { String tempUserrID; String … | |
Is there a code in assembly that is similar C like sleep(milliseconds)? Is there also a code in assembly that is similar also to C, clrscr()? I like to add that to my code that will be passed tomorrow... but i have no idea!!! Can you advice me where to … | |
pi = 4(1-1/3 + 1/5-1/7 + 1/9-1/11 + 1/13-.........- 1/(2i-1) + 1/(2i+1) ) I am starting this program to approximate pi. Would someone be so kind as to direct me to information concerning this formula? | |
I need some guidance on an assignment I'm working on for school. The objectives of this assignment are to read data from a binary file, use some basic class functionality, store objects in an array and produce a neatly formatting report. [code] #include <fstream> #include <iostream> #include <cstring> using std::ifstream; … | |
how to save a file in a database table | |
Hello, I have base class and a derived class if I want to use bost::bind in an algorithm to call a virtual function that is declared in the base class I have two options: [CODE=C++] struct Base { virtual void Go(){}}; struct Derived:Base { virtual void Go(){}}; Derived d; // … | |
I am trying to insert/hide a table in my page using AJAX. Works perfectly in Firefox. IE 7 gives me "Error: Access is denied" for the following line: [CODE]xmlReq.open("GET", url, true);[/CODE] Any ideas why? | |
I'm new to GUI's and have has some trouble with the wx.lib.plot.py module. I can insert the graph panel into an app, but I can not get the panel to expand when the window is resized. I've read about the need to set the initial size, but... is this plotting … | |
I am trying to use sort defined in algorithm in c++. I want to use it in vector string ( vector<string> vec) can we use it i vector string. here is my code [code=c++] #include<iostream> #include<string> #include<vector> #include<algorithm> using namespace std; int main() { vector<string> vec; vector<string> ::iterator it; string … | |
can some 1 explain to me why this takes over 24+ or even 1 week to send an email to the user with his password to be able to log onto my site. the coding is below. i need the email to be nearly instant! <?php session_start(); include_once"includes/db_connect.php"; if (isset($_SESSION['username'])){ … | |
I need some guidance on an assignment I'm working on for school. The objectives of this assignment are to read data from a binary file, use some basic class functionality, store objects in an array and produce a neatly formatting report. [code] #include <fstream> #include <iostream> #include <cstring> using std::ifstream; … | |
Can somebody explain to me "nested class templates" or give me some links about it and some codes ? I get this theme for a homework ! (nasty profesor) | |
i am seeking for an answer to fix my unit graph problems basically when i try to use it this error pops up BGI error: Graphics not initialized (use InintGraph) the funny thing though is that this unit works fine sometimes soooo your answers will be appriciated thanks | |
Hi, please help me with this program that i am writing. i am writing a program to create a polynomial. i set the values, but whenever, i debug it, i get this: 4x^2 + 0X^1 + 0x^0 + which do not correspond to the values that i set it to. … | |
i only have knowledge of connecting into a database(singel PC) but i have now idea where to start when my database needs to be centralized(1database for many PC) or (Network, LAN connected database) can any1 help me on how to make this, my code for connecting a database to VB … | |
Hi to all, I'm new in the forum and also new in the JavaScript programing. I have the following problem, I have a table that has another table inside one of its elements, the inside table is affected with one property that is in a CSS file. I hope I … | |
Hi, I have the following problem I hope someone can help me [B]I have the CSS file[/B] [code] #one { border-style: solid; border-width: 5px } #two { border-style: solid; border-width: thick } #three { border-style: solid; border-width: thin } #four { border-style: solid; border-width: medium } [/code] and the HTML … | |
My program initially asks the user to input 3 values, x1, x2 and x3. These get fed into a mathematical equation and come out of it the other side slightly altered. The program then prints to screen the new values of x1, x2, and x3. These x values must go … | |
[code=c] //* By peter blatcher *// #include <stdlib.h>; #include <stdio.h>; #include <math.h>; float trap(float b, float Xo, int n); float integ(float X); int main() { float Va, Ve, difference, n, area, Fao, kCao, y, X, a, b; char c = n; n = 2; Fao = 0.4; a = 0.8; … | |
I have this project but i can't display the months by name, they only come by number. i am stuck can anybody help me? Thanks [code=c++] #include <iostream> #include <iomanip> using namespace std; int main () { string month_name; // Constants for package monthly rates const double PackageA_RATE = 9.95; … | |
I have developed an access database for my company and want this to be available to multiple users remotely from different offices. I have been told that i need to migrate to MS SQL Server. Is this the case?? If so how do i do it? If not what do … | |
Data from MySql. I used nl2br() for line breaks, but wanted paragraph breaks. I wrote [CODE]function test($text) { $text = ereg_replace("\n", "<p> ", $text ); return $text ; } [/CODE] That worked but my editor wants indents not spaces between paragraphs. I thought [CODE]function test($text) { $text = ereg_replace("\n", "<br … | |
I am currently using the visual studio 2005 express edition. I would like to upgrade to the 2008 express. So I would be using Visual Web dev 2008+Visual Basic 2008. These run on .net 3.5, at the moment there isn't an sql server 2008, would I be ok still using … | |
hello averyone.... someone know how to write I.N.I database in my path.... plsssssss kindly help me... jaasaria | |
I am running vs2008 I am creating a new c++ program. when I try to compile I get "Error 1 general error c10100b1: Failed to load file "..\Debug\testing_email.exe". The system cannot find the path specified. mt.exe testing_email" any ideas?? | |
I want to write a program in C++ that automatically opens telnet with an IP-adress too connect to a server, and read and write to this server. could somebody please tell me how to do this? Thanks a lot... | |
I have this project which is due by Monday. can anybody help me with this? | |
[code=php] if(!$_POST['username'] || ['password']) { die('Error: Username / Password field was blank'); } [/code] What is the mistake in the code above. I want the syntax to check if either one of the fields are blank. | |
Hello, I have a vector of shared_ptr<> I'd like to erase all those that are reset. This is how I do it. I call operator! which should return true if it's reset. Is it a good approach. There are so many ways to implement things and I'm trying to develop … | |
E R Modeling In software development process there are mainly six phases such as: ► Requirement ► Architecture ► Design ► Implementation ► Testing ► Deployment For this software development process different model are available such as ► Agile ► Clean room ► Iterative ► RAD ► RUP ► Spiral … | |
Hello, I need to calculate the shortest path between two points with the ability to circumvent obstacles. Description tasks: PLAYING field is a 10x10 matrix (a unit of measurement - Cell) The player is in a 5x5 cell. It needs to be moved to a cell 8x9, but in different … | |
Does anyone know how to create an image that scrolls with the page, much like this menu on the following link? [url]http://www.myvue.com/cinemas/index.asp?SessionID=DF03F98209A546809563E5FF5A6B5D4F&ci=52[/url] It's easy enough to do one positioned from the left of the browser window, but the solution I need is where all the content is centered, as on … | |
I am having some difficulty finding a decent tutorial/example of C# code that delas with CHM files. Now I know there are toolkits out there that convert HTML to Compiled Help Modules but I would like to explore this deeper myself. So my question is are there any good tutorials/code … | |
Hi, my friends, I have a question to ask you. I am dealing with thousands of csv files in one directory. Some of csv files are empty with file size 0. How can I skip those empty files when I open csv files otherwise it causes execution error? I have … | |
Hello everyone, I'm in my senior year of high school and I have just started taking my first programming class. As it turns out, we use Java and then Visual Basic later on. My question is, as a Computer Science major, will I use Java again in college, or is … | |
Hi there. The project I am building is an ASP.NET browser based application that has two classes. Login class main menu class now these two classes are working as they should (I.e. valid user logs in, proceed to main menu). The trouble is, I also have another class that applies … | |
I want a very simple player code to playes mp3 or wav files and also want to know where I should put it in my VisualMidlet to be played when I select special part of my choice group? please help me it's so important for me. Thank you all. | |
Hello, I wanna call EncryptPassword/DecryptPassword methods of membershipProvider class,how can I call and use these methods,is there any one who can assist me,thanks a lot. | |
hello dani iam working in a software company as a fresher my team leader has given me a registration forn to develop but iam stucking up with some mistakes i have developed the application in vb.net with datbase name as register it has 4textboxes and one submit button textbox1=username textbox2=password … | |
Hi friends, I have a list view which contains an id and a name.... upon selecting one row i should be able to view the details of that particular row.. i.e name, age, salary etc...Im using Visual studio .net 2003 and sql server 2005.. | |
heyya, sorry if this is the wrong forum for this... but i can hardly be blamed =p... anyway, my line of code that gives me problem is this str[0] =ffd.cFileName; where str is an array of strings, and ffd is of WIN32_FIND_DATA type. ffd.cFileName should be of type TCHAR. my … | |
hi all, i want to open a file from the server system using java pls anyone can help me pls i dont have any knowledge about this pls tell some idea. | |
Hi, I am working on database part using ajax,javascript and asp. I'm getting Object Expected error at line 6. Here is the code: [code=html] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> </head> <body> <script src="selectCustomer.js" language="javascript" type="text/javascript"></script> <form action="javascript: void 0;" … | |
Hi all, I am fairly new to using Eclipse (or any IDE for that matter) and I am having trouble getting the TPTP Profiler plugin working. I'm hoping that someone out there might have seen this behaviour before and has the fix for it... :) I am running Eclipse 3.3.1.1 … |
The End.