199,114 Archived Topics
Remove Filter ![]() | |
hi , thanks for the code , I have changed it a little bit , I have also added two buttons (+,-) I have written the code for (+) but it does not work , can you tell me what the problem is , the last lines which are commented … | |
Hi all, I want to write every given number of lines into the different files, which I will be passing as an command line argument. I have written a function for just dividing the file into two, but how would I divide the files for every given number. If anyone … | |
I've been having a lot of trouble with the [inlinecode]after[/inlinecode] method. What I want to do is show a series of images at the push of a button/press of a key -- each image should appear for 500ms, then be replaced by the next image, which should go on indefinitely … | |
I know I've been told before to use C++ sockets...and I will if this doesn't work out, but that was before I even knew python had sockets. Now. The problem here if that my socket enabled program seems to work perfectly well on a LAN, but not over the internet … | |
Hi, Im using Radio Buttons. What I want to do is once a radio button is selected. I want to Redirect/Open another Page. Cant seem to get it to work. This is my line of thought can some one point me in the correct direction? [CODE][COLOR=#0000ff] [/COLOR] void[COLOR=#000000] Page_Load()[/COLOR] { … | |
I have this program to write thats a guessing game. the user specifies the amount of rounds and only 5 attempts per round is allowed a round is over when the user guesses correctly or the number of attempts are up. A Message is displayed to inform the user whether … | |
Hi, I want to develop a form in which i have a grid like structure(rows and columns). i can enter data in as many lines as i want. And in one cloumn i want to add a checkbox. When i click the Save button on the form then only those … | |
i want to make a chekbox column in my datagrid,and wants to do some action on checked and unchecked,i am using c# in window application,can anybody help me regarding this......that how to apply these checkbox.?? thanx in advance,, amit hasija | |
Hello, I am a newb of Java applets. In the recent day, i got with a java code and is working properly with my current web page. I'm herewith attaching that source code. You just cut and paste it, save it as name.htm, and run it. Interesting pop up. am … | |
i want to make a PHP page which have username and password and this username and password should be saved in MySql table and the page should redirect to another page. i want to use ODBC and PHP. i am very new to PHP. Can anybody having any clue for … ![]() | |
I will be using this one. I want to add sub items to each category(button) how do I do it but maintain the style? [code]<style> #message div.menuBar2, #message div.menuBar2 a.menuButton { font-family: Verdana, Arial, sans-serif; font-size: 8pt; color: #000000; } #message div.menuBar2 { background-image: url(http://i14.photobucket.com/albums/a345/Instar/escher_background.gif); padding: 6px 2px 6px 2px; … ![]() | |
Hi I'm working on a site that involves alot of date references. I have already implemented some PHP scripting and includes to make the site more dynamic, but would like to do the same with the date references. I have read about the [color=red]date[/color]() funtion but I'm still a newbie … | |
I'm learning Object Orïented PHP (or whatever you like to call it) and I ran into a problem. I made this query class: [php]class query { var $query; var $result; var $free; function query($query) { $this->query = $query; $this->free = false; $this->result = @mysql_query($this->query) or die('Error in mysql query:<br />\n' … | |
Just wondered if anyone could help me, what am i doing wrong here im trying to cant seem to get $email, $betakey or $userid to show any data i know im missing something but for teh life of me cant think tried everything i could think of fetch etc but … | |
Hi. I have a bunch of Java codes I have done and I was wondering if there is a possible software or program to convert it into c++? This is because I've done it in Java and now my lecturer wants it to be in c++ >< The concept is … | |
Hi, i want to upload a video file (mpeg, mpg, wmv) and wanted to display the first frame of the video as a thumbnail. so video will start to play in a enlarged mode when user clicks the thumbnail view of the video like the google videos. is it possible … | |
i have a BaseClass and a DerivedClass. i need the BaseClass to register a glut callback, but i need the DerivedClass to determine what the callback does. heres the code: (.h) class BaseClass { public: BaseClass(); ~BaseClass(); protected: static void _renderCallback(void); virtual void Render(); }; (.cpp) BaseClass::_renderCallback(void) { Render(); } … | |
Hello all, I run simply php scripts on my site that allows people to leave comments, for example here on my [URL="http://www.lifeofamodel.com/america_next_top_model_8.html"]ANTM[/URL] page. I have been trying to incorporate a captcha which works well speperately but I just cannot get it into the comment.php file. The captcha works if I … | |
For this assignment I need to implement a c++ class that creates a ring buffer. A ring buffer still uses an array, but its has two indices, i..e., the head and the tail. Note: The head is the index of the first data point, and the tail by definition is … | |
Hello friends, Can anyone plz tell me the difference between a using declaration and using directive ? I know this: A using declaration adds a particular name to the declarative region in which it occurs. whereas, A using directive makes all the names in the namespace available without using the … | |
Hey guys, I need help again :sad:. I'm doing really well in the class, it just seems like these past couple assignments have been really rushed (i.e., we went over chapter 5 the day after I finished reading chapter 4 =/). I'm getting sort of discouraged, because up to now … | |
Hi All, My application requires lot of Date formatting calculations. Here is mynew issue, which i am trying for last two days. Hope someone can help me in this I have startDate as First date of current month endDate as todays date. eg: 2/1/2007 ---- 2/19/2007 Now what I want … | |
I have overloaded the << & >> operators and I though I could access private data members of the class if I declared the functions friends of the class. I am getting four errors in the two overloaded functions that are trying to access the private members firstName and lastName. … ![]() | |
Hey, so I get a Driver error when I try to connect to my local mysql db. My code is in a servlet as follows [code] Class.forName("com.mysql.jdbc.Driver").newInstance(); Connection con=null; Statement smt=null; con=DriverManager.getConnection("jdbc:mysql://localhost:3306/sql?user=webusr&password=pass"); [/code] Thanks M | |
ok so im scanning this text file for the string "model=" the problem is, i need to pull the numbers after that string until it reached the end of that line, this is an easy script but for some reason its just not happening. If someone smarter than myself could … ![]() | |
hi everyone im shazna i got this mate that has been working ahrd on her java coding and now she is stuck as she lost her original file of the coding she is starting from her older version and she is lost because she cannot figure out what is wrong … ![]() | |
How do you create static methods using C#? How do you specify each items in the static methods? thanx.. I'm a C# newbie >.< | |
I am supposed to create a hit the target class with multiple classes. First place a ball that moves horizontally on the cavas, then create another class with a square that shoot up three balls when the user click the mouse. This class extends Active Objects. Any ideas? | |
Low level VB Scripter. I am trying to write the code to import all the Sysinteral EXE files into the program so i can use this tool to launch them from a thumb drive or over a network drive without linking to the files on a network device or shared … | |
i've got a project wherein the server listens only from one client on one port...i want a program to make the server lsiten to multiple clients on same port or different ports...watever....can anyone help me out. the foll is my Server side Code [code] Private Sub cmdStartListening_Click() 'listens for client … | |
Hi I'm a beginner in Delphi and I have I big problem I don't know how to close a form I've a form with user and password .After verification I enter on other form.Albeit I put form1.close when I minimize form2 , form1 it on the screen and i would … | |
Now I have anoother problem. i use Disqlite for database and i don't know how put in values the column number with another values Code:[code] sqlite3_check(sqlite3_exec(DB,pansichar('insert into utilizatori values ('#$27+pansichar('COLUMN NUMBER') +#$27+ ','+ #$27+ pansichar(ComboBox1.Text) +#$27+','+#$27 +pansichar(parolaa.text)+#$27+','+ #$27 + pansichar(utilizator.text)+#$27');')nil, nil, nil),DB)[/code] . PLS HELLLLP. | |
hi, to get the current time you use this statement: [inlinecode] time_t now = time(0); [/inlinecode] i was wondering how can i check the time stored in this variable if it falls in a specific time interval, i.e. between 5 and 6 am. I am thinking one way to do … | |
I am just starting Visual Basics and I was fine until I had to learn variables and calculations. I just received an F on my last project and was wondering how in the world I can go about learning variables and constants and declaration. How do they relate? On the … ![]() | |
i am using tomcat 5.5,but i am unable to connect to database <HTML> <HEAD> <TITLE> </TITLE> </HEAD> <BODY bgcolor="#8D9BCA" text="#333300" marginheight="0" marginwidth="0"> <center> <!-- row 2 --> <table height="1" width="381"> <td height="1" width="373"> <P align="center"> <P align="center"> <p align="center"><span style="letter-spacing: 1pt"><b><font size="3" face="Bookman Old Style">Login Form for Clients</font></b></span></p> <p align="center"> </p> … | |
i'm have a problem about paging. example : 1 2 3 4 ...>> hOw to make it! | |
Unsigned char is 1 byte long.. it's range is from -128 to 127 Most significant bit is sign bit to indicate whether the char has positive or negative value and the rest 7 bits are meant for storing the actual value of char... so the max +ve value of char … | |
I am currently responsible for a set of server units. Recently, the group of users working with one of these units informed me that they were having problems with a php-based report generating program. I did not write the program; my predecessor did. I did manage to track down the … | |
Hey all, here is the part of my code I need help with: #include <iostream> #include <iomanip> using namespace std; int main() { int acctNo, dayMin, nightMin, tmin; double amtDue; char serviceCode; cout << "Account Number: " << flush; cin >> acctNo; What I'm wanting to do is, if someone … | |
Hi everybody, this is my first post to the community and I need your help. I have a final project that I am working on for my C++ programming class. The functional particulars are: [LIST] [*]Program must be command-line based and interactive, allowing the user to control its operation by … | |
I have a complicated problem at hand, and im open to any suggestions for solving it. Im working with a program called Psi which is written in C and has the GUI in Tcl/tk. A guy working on this earlier added 2 functions to get and set some properties of … | |
Dear Daniweb friends, I need a well, friendly, and Educating college. I wanna do Art. For example I have to relate this to World of Warcraft because they inspired me! Website Link [URL]http://www.worldofwarcraft.com/insider/04/images/mage.jpg[/URL] (World of Warcraft Main website owned by Blizzard Entertainment) Do you see how he is casting the … | |
Hi...I have posted here once with a question but it was way back and i figured it out by myself :) the thing is, i dont catch onto qbasic well at all. it involves math and a lot of memorization which i am really bad at :rolleyes: right now, i … | |
It is possible to drag and drop an mailitem from Outlook to Explorer or MSWord or desktop. In the same way Is It possible to drag to C# Windows Application? Ramana | |
I have written a program that work as supposed to, except the output needs to be in 2 cols. instead of 1 col. in console. Could someone help me to format this? Below is the program and the output I need to change. 14.14.cpp : Defines the entry point for … | |
Hi. I'd like to ask you another question. I read a lot of articles about the topic but I'm still not very sure how to deal with the following problem. I want to design a database that contains the properties that a real estate agency offers. The problem is - … | |
HI, can somebody help with this? This is my source code but i was trying to overwrite it, from C to C++. but no way, I'm not good at this. Language doesn't matter. it's slovak. I just need help with syntax. Thanks. [code=c] #include <stdio.h> #include <stdlib.h> #include <stdio.h> #define … | |
Hello, I've recently, inadvertently, found incentive to write my own Tic-Tac-Toe game. I've been working on it for more-or-less 15 minutes and would like some help or a point in the right direction. It is almost finished but there is a function, namely the "_scan4Winner" function, that I must write … | |
Hi everyone, I am new to C# and also new to programming and I'm having a blonde moment. I have been working on this project for a week but have not figured out how to work this one out. I would appreciate any help you can provide. 1. Output total … | |
Hello, I tried searching but didn't see anything. How involved is it to copy a database to another server? Currently the database is on a cpanel server and I need to copy it to my new server. I copied the rest of the site and everything seems to be working … |
The End.