64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for Wiki_Tiki

I need help creating an elapsed timer with visual C++ 2008. Basically what I want to do is have elapsed time in seconds, minutes and hours tick down on a 'label' control. I've gotten it all set up, including the code for starting the timer ( this->tim_main->Enabled = true; ) …

Member Avatar for mcriscolo
0
379
Member Avatar for ddwyer50

Helo All, I need to write a python script that will automatically log into a website and retrieve a URL once it has logged in. I already know how to fetch the html of a page, but how do I make the script log into the page first? On the …

Member Avatar for EAnder
0
219
Member Avatar for guravharsha

Hi, my adduser.jsp page consist of form with field username,groupid like. I am forwarding this page to insertuser.jsp. my aim is that when I submit adduser.jsp page then the field filled in form should insert into the usertable.The insertuser.jsp is like: [code] String USERID=request.getParameter("id"); String NAME=request.getParameter("name"); String GROUPID=request.getParameter("group"); InitialContext context …

Member Avatar for senthil_sivanat
0
154
Member Avatar for ChrisP_Buffalo

I'm trying to write my first web scraper with Python using simple regular expressions to match the info I want to extract (I realize BeautifulSoup is available, but I'm not ready to use that yet, so I want to figure out how to use reg ex first) . I want …

Member Avatar for jlm699
0
64
Member Avatar for aarya
Member Avatar for senthil_sivanat
0
144
Member Avatar for guravharsha

Hi, I am trying to retrieve data from table in two times. In first query I am displaying all data available in table. Now I want to count the no. Of rows available in the same table by using select count(*)from table-name type query. How can I retrieve records of …

Member Avatar for senthil_sivanat
0
537
Member Avatar for kavit.bhatt
Member Avatar for krammer

I'm trying to add colors to this bash script, can anyone help? [CODE]#!/bin/bash # Script to connect to the sprint network # Colors # ESC_SEQ=“\x1b[“ COL_RESET=$ESC_SEQ“39;49;00m“ COL_RED=$ESC_SEQ“31;01m“ COL_GREEN=$ESC_SEQ“32;01m“ COL_YELLOW=$ESC_SEQ“33;01m“ COL_BLUE=$ESC_SEQ“34;01m“ COL_MAGENTA=$ESC_SEQ“35;01m“ COL_CYAN=$ESC_SEQ“36;01m“ case "$1" in connect) pppd call sprint updetach echo -e $COL_GREEN"**You are now connected to the sprint network!"$COL_RESET …

Member Avatar for krammer
0
182
Member Avatar for veledrom

Hi, [code] function openingBalance($accountNum) { $sql_OpenBal = " SELECT closing_balance FROM bank_balance WHERE bank_account.account_no = $accountNum "; [COLOR="Red"]$runSql = mysqli_query($mysqli, $sql_OpenBal);[/COLOR]... [/code] Red line generates an error. "Warning: mysqli_query() expects parameter 1 to be mysqli, null given". I call function [inlinecode]echo openingBalance (1500);[/inlinecode] How can i search $accountNum in SQL …

Member Avatar for veledrom
0
98
Member Avatar for splitfinity

Hi guys. Im trying to get a wav file to play on a mouse over event. I want a wavefile to play when the mouse pointer moves over a label and stop wen it is moved off the label. I believe this can be done using the sndPlaySound, i have …

Member Avatar for splitfinity
0
167
Member Avatar for phouse512

Hello, I've been wanting to learn C++ but I don't know the difference between Visual C++ and C++, is there really even a difference? Also, what would be the best compiler for me to start off with if I wanted to learn C++? Thanks

Member Avatar for phouse512
0
248
Member Avatar for lydia21

can u please tell me how to download fckeditor with skin-office 2003 ie.[url]http://www.fckeditor.net/demo/skins?skin=office2003[/url]

Member Avatar for R0bb0b
0
116
Member Avatar for robertmacedonia

Hi , can anyone tell me what does this error mean? s\visual studio 2005\projects\igrabobi\igrabobi\Form1.h(124) : error C2451: conditional expression of type 'void' is illegal ? I got it when I tried to build my game. Thanks a lot

Member Avatar for robertmacedonia
0
143
Member Avatar for Brent.tc

Hi, I was wondering how to program a device driver for Windows XP in c++. For example, say I wanted to make a device driver for a mouse (I say mouse because that seems like one of the most simple everyday 'tools', and would seem as though it were the …

Member Avatar for Nick Evan
0
243
Member Avatar for jeetudaljit
Member Avatar for Venom Rush

Hi all I'm trying to find any urls inside a paragraph of text pulled from a db and wrap an a tag around it. At the moment I have the following which isn't working. [CODE=PHP]$content = $row[2]; $urlStart = strstr($content, "http://"); $url_http = substr($urlStart, 0, strpos(array($urlStart), array(" ", "/r/n", "/r", …

Member Avatar for Venom Rush
0
407
Member Avatar for jeetudaljit
Member Avatar for peter_budo
0
2K
Member Avatar for ricss_madara

how to write application that calculate squares and cube of the number from 0 to 10 and output in table. the program does not require any input from user?

Member Avatar for bloody_ninja
0
999
Member Avatar for klactose

Hello, I am wondering how do we initialize a vector (or even an array) of pointers when the objects that will eventually be pointed to don't exist yet? I've been searching the internet for a while, but most examples assume that the objects already exist. I hope this won't be …

Member Avatar for klactose
0
6K
Member Avatar for dinilkarun

Hi All, Through Shell I am opening winxip32.exe in my vb 6.0 application. I want the application to wait until the shelled process has completed and then proceed with execution of the next line of code. How should I go about it. Please help. Regards, Dinil

Member Avatar for dinilkarun
0
76
Member Avatar for adewale1

You are required to design a control system for a car park. You should produce your own design, ensuring that you have enough features to allow you to demonstrate that you can programme multiple tasks with inputs, outputs, decisions, communication and sequencing. The system features may feature space control, entry …

Member Avatar for Salem
0
97
Member Avatar for forzadraco

range of datetime data type (show all records in between 2 dates. example: form 2008/10/01 to 2008./12/12). thanks

Member Avatar for Shanti C
0
137
Member Avatar for 11silversurfer1

this really weird thing is happening when i try to find my mouse position of my window. If i put it to the top left of the window it is fine but as it goes further down and across it goes weird. It is really hard to explain, but is …

Member Avatar for 11silversurfer1
0
328
Member Avatar for franziss

What does this error message mean? Thank you for your help Heap corruption detected at 0072FB10 HEAP[algo.exe]: HEAP: Free Heap block 72fb08 modified at 72fb1c after it was freed Windows has triggered a breakpoint in algo.exe. This may be due to a corruption of the heap, and indicates a bug …

Member Avatar for franziss
0
1K
Member Avatar for linux

I want to add a list box onto a form, and have it (once the form loads), it'll list all of the files in [icode]C:\WINDOWS\[/icode]. Is there any easy way to accomplish this?

Member Avatar for linux
0
647
Member Avatar for omrsafetyo

Hey, I'm trying to unpack certain files from a tar archive - I don't want to unpack all of the 1.2GB file, just a particular bunch of it. I tried an obvious command: tar xvf /u8/sp_archive/2005.tar *1274* All files I want to extract have "1274" in the name; I want …

Member Avatar for eggi
0
164
Member Avatar for Wiki_Tiki

Hi, I've been trying this for months now, and I still can't figure out how to get MFC installed as part of Visual C++ 2008. Is there any service pack you can download? How do you get MFC (Microsoft Foundation Classes) installed?!? Thanks.

Member Avatar for Wiki_Tiki
0
134
Member Avatar for raja289

[url]http://s3.supload.com/free/lastscan-...3716.jpg/view/[/url] up there is description of code and here;'s code [CODE=c] #include<stdio.h> #include<string.h> float avg(float); main() { FILE *p[2]; int k,students=10,subjects=4,i,j,id_number,date_of_birth,fail=0; float marks[100],total=0,avg; char name[30],course_enrolled[30],filename[10]; for(i=1;i<=2;i++) { printf("filename"); scanf("%s",&filename); p[i]=fopen(filename,"w"); printf("Enter Name of Student\n",p[i]); fscanf(stdin,"%s",&name,p[i]); printf("Enter Course In Which Student Is Enrolled\n",p[i]); fscanf(stdin,"%s",&course_enrolled,p[i]); printf("Enter ID Number Of %s Enrolled in …

Member Avatar for raja289
0
411
Member Avatar for plike922

I am wonder how do you make it that you have to letters = to one number with only typing it once? Here is my program. My problem is that the result printf("%d reversed is: %d\n",num , res); is 0 reversed is: (The number backwords). [ICODE]#include <iostream> #include <stdio.h> #include …

Member Avatar for dwks
0
358
Member Avatar for MLT1988

Last semester I took CSII and we built an unsorted list (C++). This summer I went thru the textbook and built an sorted list, and now I'm trying to template the sorted list, but i keep getting compiler errors like this... : undefined reference to `SortedType<float>::SortedType()' /tmp/cc0C4kB6.o(.text+0x448): In function `main': …

Member Avatar for MLT1988
0
151
Member Avatar for Wiki_Tiki

Hi, I'm busy working on a word processor, and I could use a bit of help with 2 things. The Savefiledialog, and the Openfiledialog. In terms of the savefiledialog, I have all the code done, and it compiles properly: [CODE]public: void SaveFile() { SaveFileDialog^ saveFile1 = gcnew SaveFileDialog; saveFile1->DefaultExt = …

Member Avatar for Wiki_Tiki
0
109
Member Avatar for Nemoticchigga

Has anyone ever seen a function call just get skipped? I am running in debug mode and it wont let me set a break point on the call and when i step to it it goes right over to the next line, no exceptions, no errors. Has anyone EVER seen …

Member Avatar for Nemoticchigga
0
287
Member Avatar for Clockowl

Is there any difference between those function declarations in C++? Since in C the first states "take any and as much arguments as you like", and the latter means take none... Thanks in Advance, Nick

Member Avatar for Ancient Dragon
0
69
Member Avatar for RandV80

I've built a class, one parent and multiple children, that I need to group together to eventually be stored in a single file. For the moment I've gone with something like this: [code=C++] CObject *group //CObject is the class in question group = (CObject*)calloc(1, sizeof(CObject)); //1 element just to start …

Member Avatar for RandV80
0
109
Member Avatar for dmanw100

I am almost done with a project and now I would like to code an installer for it. I know there are many free solutions to make installer packages online, but I would enjoy learning how to make one from the ground up for the expirience if nothing else. What …

Member Avatar for dmanw100
0
151
Member Avatar for bajanstar

Hi Guys, I have a text file which looks like this 123456 Amanda Morris and I would like it to look like this "123456","Amanda","Morris" The file has about 2000 lines how would I go about inserting the quotes and the commas. I use textpad to open the textfile and I …

Member Avatar for peter_budo
0
134
Member Avatar for abu taher

I use data control to link access file by data properties not code. use simple code like move next etc. I use find next to find data. but when i want to find i write the criteria like Name = taher. But i want I write only taher in find …

Member Avatar for electrosoul456
0
233
Member Avatar for Alex Edwards

I'm having a small design issue with a Checkers game to be done in Java-- I'm not really worried about coding it, I can do that. The problem is listing out the dependencies between classes. For example, what should be responsible for what? IF I code the program with the …

Member Avatar for Ezzaral
0
2K
Member Avatar for jakesee

Hi, I have a table in a form like this [CODE] <form> <table> <tbody id='target'> <tr id="dolly"><td><input name="hobby[0]" /></td></tr> </tbody> </table> </form> [/CODE] I also have a button to add a new row, by cloning the 'dolly' tr and appending to 'target' [CODE] <input type="button" onclick="AddRow('dolly', 'target') /> [/CODE] May …

Member Avatar for jakesee
0
5K
Member Avatar for jsosnowski

I have a recurring problem: On some days, it appears that Delphi has problems with identifying some of the files in my "Uses" section. Certain files will be underscored in red zig-zag and identified in the structure window as "cannot resolve unit name ...". If I right click the unit …

Member Avatar for jsosnowski
0
185
Member Avatar for Cosa

Hi, i am trying to write a program that would work much like the tail command in UNIX. The idea is to print the last 10 lines of a file. I started off by finding out how many lines were in the file, then attempted to seek to the appropriate …

Member Avatar for Cosa
0
4K
Member Avatar for masterjiraya

My target is to make a code of Cartesian coordinating points of a rectangle... then it must be tested by quadrilateral and square. If the tested point is a rectangle then the out put program will be like this..... Program Output: ************************************************************ ....+y .....+ ..............+ ..point a............................................................................. point b ..............+ …

Member Avatar for Alex Edwards
0
92
Member Avatar for jackassplus

I'm trying to work out what this does: [code] ptr = input_string; dest = input_string; while( *ptr && *ptr != '\r' && *ptr != '\n' ) { if ( *ptr >= '0' && *ptr <= '9' ) *dest++ = (char) ( (*ptr) - '0' ); if ( *ptr >= 'A' …

Member Avatar for jackassplus
0
128
Member Avatar for FullBjarne

Hello! I have a problem with the size. I've made a function that saves the size, but each time I start the application does the size get larger then the last time. How do I fix that problem? Here are the code for the function: [code] using System; using System.Collections.Generic; …

Member Avatar for AmirBedair
0
92
Member Avatar for oliver_mk

Hi, I am getting this error "[DBNETLIB][ConnectionOpen (Connect()).]SQL Server does not exist or access denied." when trying to get some data from SQL Server 2000 database. SQL Server is installed on Windows Server 2003, and i am testing the application from WinXP sp2. Testing from other machines with same settings …

Member Avatar for oliver_mk
0
225
Member Avatar for ishlux

Hi all, Whats wrong here in the first part it showing value of rows but in the second part it is displaying zero number of rows, ........its displaying 0 for this statement... echo $sentid1; [code=php] <?php session_start(); include('database.php'); $result = mysql_query("SELECT * FROM autoalto_contractor_sentitems" ); while($row = mysql_fetch_array($result)) { ?> …

Member Avatar for praveen_dusari
0
109
Member Avatar for Suneetha Reddy
Member Avatar for Shanti C

Hello all... please help me to solve this thread very urgently??? How to rotate an image by 360 degrees in javascript or any other technology??? What requirements need to complete this task??? see this link for refernce: [url]http://www.i-spy360.com/en/ispyspin/[/url] Thanks...

Member Avatar for Shanti C
0
109
Member Avatar for Shanti C

Hello all... please help me to solve this thread very urgently??? How to rotate an image by 360 degrees in javascript or any other technology??? What requirements need to complete this task??? see this link for reference: [url]http://www.i-spy360.com/en/ispyspin/[/url] Thanks...

Member Avatar for Shanti C
0
105
Member Avatar for gargg321

Hi, I am developing a PHP module where I need to pass a particular data through different pages without notifying the user about it. The site I am building have forms on every page except 1. So what I was doing before was sending that data through forms in a …

Member Avatar for Shanti C
0
110

The End.