199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for ladyscoleman

Hey guys. can anyone help me, i'm a newbie and i need to show the number of times each of the numbers 1 -9 appear in a 2 dimensional array. store counts are suppose to be 1 dimensional and i also have to enter the code to display the nine …

Member Avatar for tesuji
0
135
Member Avatar for new_2_java

Hi all, I have to write a synchronization utility which synchronizes a target folder with a source folder: i.e. I have the following source directory structure and would like to synchronize it. [code] C:\source\ | +----Folder_A | | | +---Folder_A1 | | | | | +---File_AA1.txt | | | +---FileA1.txt …

Member Avatar for new_2_java
0
159
Member Avatar for yournamehere

Hello everyone, I'm sure this has a quick answer/fix but I can't seem to figure out how to store a checkbox value to mysql. And I'm not sure what type I should be saving it as in the field on mysql(like bool, int, varchar). I have 14 check boxes and …

Member Avatar for nav33n
0
210
Member Avatar for JLCantara

¤ Stored procedure does not allow addition of a record with rs.addrecord. ¤ Database is on SQL SERVER EXPRESS. ¤ An .adp ACCESS 2007 application is connected to it (easier to create/modify objects). ¤ Stored procedure was created with the .adp application. ¤ Any one can help? Thanks JL. ¤ …

Member Avatar for JLCantara
0
162
Member Avatar for k.samdani
Member Avatar for jivangoyal

I've a project with which I wants to maintain a log file that if later after release of the product, any issue arise, I can debug the faced issue from this log file. I've one of the solution to write my own text file with writing line at identified positions …

Member Avatar for iffEngineer
0
177
Member Avatar for cyberjorge

Good Day! Please help with my requirement, I'm more on a graphic designer and has little knowledge in programing, mostly on basic html only. I have a web page I created in Flash and exported to an html page. I need this to have a predefined username / password (pass …

Member Avatar for sDJh
0
130
Member Avatar for Shaun32887

Just to introduce myself again, My name is Shaun and I'm a 21 year old engineering student with about... six weeks of c++ experience. I main concern isn't my ability to get the job done. I have enough Matlab experience and logical thinking to accomplish this task. My worry is …

Member Avatar for Shaun32887
0
212
Member Avatar for veledrom

Hi, [code]select id, pay from def_1 where id = (select id from def_2) and pay = (select pay from def_2)[/code] This generates an error "Subquery returns more than 1 rows". Where is mistake? Thanks

Member Avatar for veledrom
0
85
Member Avatar for mike issa

hi all i was a able to create a .def file from lt360lib.dll using Borland C++ (impdef.exe) [CODE]LIBRARY LT360LIB.DLL EXPORTS LT360LIB_CloseLink @3 LT360LIB_Cmd @7 LT360LIB_CmdIndexValue @9 LT360LIB_CmdString @10 LT360LIB_CmdValue @8 LT360LIB_GetDllVerDate @1 LT360LIB_GetUsbFirmwareVerDate @6 LT360LIB_LinkedCnt @2 LT360LIB_OpenLinkCOM @5 LT360LIB_OpenLinkUSB @4 LT360LIB_ReadBinary @12 LT360LIB_WriteBinary @11 [/CODE] how can i convert this …

Member Avatar for mike issa
0
3K
Member Avatar for ninjaimp

Hi i have a listview which is populated with a number of 'Appointments' and when selected this fills a number of lables with information. now on the first click it works fine and everything gets populated but when a different row is selected i get an error. the code im …

Member Avatar for ninjaimp
0
209
Member Avatar for ThomYork

Hello All! I have a program in C# and I am trying to write it in C++. Somewhere in my app I have to run a command. In C++ I am trying to do it using system() To run the command I have to give the absolute path. For example: …

Member Avatar for ThomYork
0
164
Member Avatar for bungek84

Hi guys.. currently. i'm using SQL Server 2000 and Visual Studio 2003. i've already make some researches about System.Data>SqlClient. I've already followed the guideline which is right click on the project name>Add Reference and then click on System.Data.SqlClient. but under .NET tab, not included the System.Data.SqlClient. Where should i find …

Member Avatar for Jx_Man
0
123
Member Avatar for cycras

hey yall, we are currently looking a scripter who would be interested in being a main scripter for a game were making (amature for fun) we need a main scripter or maybe even 2 scripters who are willing to join us at grove of darkness puerly for fun in making …

Member Avatar for morrock
0
135
Member Avatar for chavas

Hi All, I'm brand new to C++ and writing a program which asks for user input to open a text file then displays the text file using specific characters which parse the file. The files that I need to open are too large to display the entire contents and the …

Member Avatar for AceofSpades19
0
176
Member Avatar for dhanashreegd

how to remove selected item from combobox we tried this code but some error in this statement cbocode.Items.RemoveAt(cbocode.SelectedText)

Member Avatar for Jx_Man
0
63
Member Avatar for Pikachumanson

For Visual Studio 2008. I am not sure if this is the right place for it, but maybe someone here can help me. I have my program set up for Open GL, I also want to put Open AL in there too. Now I scoured the net for tutorials and …

Member Avatar for Pikachumanson
0
76
Member Avatar for karthik_cud

hi , i've designed a form with a progress bar but it seems to be very fast, i've tried a lot , but i cant get the correct one , tell me how to design a progressbar

Member Avatar for Jx_Man
0
85
Member Avatar for Vao

[code=C]#include <stdio.h> #include <stdlib.h> void showBoard(int pLife[],int pType[]) {// WORKS NO-TOUCHY! int i; printf("\n*-----------------------------------*\n"); printf("| | | | | | |\n"); for(i=0;i<=5;i++) {printf("| %d-%d ",pLife[i],pType[i]);} printf("|\n"); printf("| | | | | | |\n"); printf("|-----+-----+-----+-----+-----+-----|\n"); printf("| | | | | | |\n"); for(i=6;i<=11;i++) {printf("| %d-%d ",pLife[i],pType[i]);} printf("|\n"); printf("| | | | …

Member Avatar for ssharish2005
0
153
Member Avatar for fishwater00

First of all, I need to thank all friends helping me here. Those days I learn a lot from your advices. The basic idea of my code is to read velocity file into domain[i].velocity[k]. Start!!! If I have a struct [code=c] typedef struct {int nx, ny, nz; float *velocity, *pwave, …

Member Avatar for fishwater00
0
155
Member Avatar for sciwizeh

simple questions, hopefully simple answers: How do i give a JButton the capability to accept a right click? When a JButton is being clicked it changes to a darker color, is there a way to make it a completely different color? i cannot find these answers in the API or …

Member Avatar for Ezzaral
0
218
Member Avatar for kahaj

I have two computers set up at home. My Windows XP machine won't run CGI scripts for some reason. I'm trying to get my old Win2k machine to run it with IIS. How do I code the action line in an online form to run it on another machine on …

Member Avatar for KevinADC
0
331
Member Avatar for ederX

Ok, I posted earlier and your suggestions worked fine, I had to rework the program a bit but it compiles now. The only problem is that it segfaults right away now. This is the gdb backtrace: [code] (gdb) backtrace full #0 0x95082630 in std::istream::sentry::sentry () No symbol table info available. …

Member Avatar for ederX
0
136
Member Avatar for anugowda

Hi; I have an XML document , and I need to go thorugh all the nodes and get the values and store it in an object. I need to traverse through all the nodes and get the values. How do I do it. This is my XML . Please help …

Member Avatar for iffEngineer
0
237
Member Avatar for jaytheguru

Morning All, I would like to set a limit to a text box so that end user only can enter numbers from 1-32 and not more. I have setup a validation on keypress to make it only work with numbers i.e digits and nothing else however I am not sure …

Member Avatar for naz82
0
160
Member Avatar for dheepa
Member Avatar for debasisdas
0
103
Member Avatar for Aamit

[code] #include<stdio.h> #include<conio.h> #include<string> #include<stdlib.h> #include <iostream> #include <cstdlib> #include "convert.h" using namespace std; int check(string); int checkNo(string); int checkMinSec(string); string send(string); int getTime(int); string hr_str,final_time; int main() { int ch,result=2; int i=1,x,y,z,p,q,n; char tt[2],dd[5],ll[9],mm[5],nn[3]; char xa[3]; char choice; printf("\nEnter the Time in 24 hr Format"); printf("\nE.g. 10:05:03 It shoud …

Member Avatar for Nick Evan
0
178
Member Avatar for era_chatterbox

dear frnz... There is some problem in d code in one of my form... m having a table as Billable in oracle db. M using Oracle 10g. M done with the coding part..i mean all kinda validations bt when i try to save the data in table..it gives me the …

Member Avatar for debasisdas
0
2K
Member Avatar for &rea

Hello, I have got a problem of An unhandled exception of type 'System.StackOverflowException'. I have read that it is possible that the reason is that I have too many method calls. I am working with a GUI and I didn't want that the code in Form() was too big so …

Member Avatar for &rea
0
129
Member Avatar for lomo

I have to store my input values from function 1 into another array caled namesMore in function 2. Not to sure how to store into second array #include <iostream> #include <string> using namespace std; const int NR_PLAYERS = 4; void inputInformation(int goalsP[], int cardsR[], string names[]) { for(int i =0; …

Member Avatar for lomo
0
79
Member Avatar for cs_tx_usa

Hi guys, I am using VB 2008 Express. I have created a form which has traditional "OK" and "Cancel" buttons on it. After I execute the program I point the mouse over the OK button or Cancel button (doesn't matter) to press but for some reason sand watch icon appears …

Member Avatar for waynespangler
0
95
Member Avatar for mike issa

i have a dll "lt360lib.dll" and want to create a .lib file in order to link with it. when trying to create a .def file using impdef.exe that comes with c++ builder i get the following error "error lt360lib.dll: unknown filetype" by the way i enter the command using command …

Member Avatar for mike issa
0
840
Member Avatar for guy40az

I was wondering if anyone knows of a good resource online to learn the IDE of visual studio 2008. I have been using an older version (visual studio 6), I need to learn the 08 .net IDE. If any one has any suggestions on where to go online or even …

Member Avatar for jencas
0
105
Member Avatar for Superfat

Okay, i am trying to figure out how to use the Continue, and Break flow controlls correctly, however i keep getting an error: [code]continue statement not within a loop or a switch break statement not within a loop or a switch[/code] My code: [code=C++]#include <cstdio> #include <cstdlib> #include <ctime> #include …

Member Avatar for Superfat
0
160
Member Avatar for raj2476

Hi all, Please help me in floating menu. I need this floating function should floting in table td. And should work in all browser. plz help me out soon. Below i have pasted javascript. Thanks Raj <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>Untitled Document</title> <meta http-equiv="Content-Type" content="text/html; …

Member Avatar for raj2476
0
64
Member Avatar for gibookrishnan

Hi All, Here is my question. Is this SQL Compact Edition 3.1 free to Develop,use and distribute it with my application? I have two SQL Compact Edition: One from : [url]http://www.microsoft.com/downloads/details.aspx?familyid=E9AA3F8D-363D-49F3-AE89-64E1D149E09B&displaylang=en[/url] And another from : [url]http://www.microsoft.com/downloads/details.aspx?FamilyId=85E0C3CE-3FA1-453A-8CE9-AF6CA20946C3&displaylang=en[/url] Help me which one to use and which is free as mentioned above as …

Member Avatar for gibookrishnan
0
115
Member Avatar for darkraider

Hi all again I'm very very new to javascript, post a help here on validate radio button got solve with the alert msg but still waiting for the solution on selecting either M or F. My next problem is validate dropdown menu, my default is select, i want the user …

Member Avatar for Traicey
0
104
Member Avatar for fangzhou

hello how do i populate or change the values in multiple textfields using javascript? the textfields has the same ID because it is in a repeat region. i manage to change just the top most textfield using javascript. so how to populate the rest? [code] <script type="text/javascript"> function chalb() { …

Member Avatar for Luckychap
0
117
Member Avatar for edman

In the main function below I am trying to pass two array parameters to a friend function which will return the month object back to the main function with the monthly updated weatherreport details. I am studying and this is my first year doing any sort of coding so please …

Member Avatar for edman
0
108
Member Avatar for Andrew F.

Can you take a look at this: [code] <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> </head> <body> <?php $emai=$_REQUEST['txtemai']; $subj=$_REQUEST['txtsubj']; $mess=$_REQUEST['txtmess']; if (@mail($emai,$subj,$mess)) { echo('<p>Mail sent successfully.</p>'); } else { echo('<p>Mail could not be sent.</p>'); } ?> </body> </html> [/code] I keep on getting the else statements. …

Member Avatar for Andrew F.
0
196
Member Avatar for Cyberage

I have the following overloaded extraction operator function where I need to read values into an array. I keep on getting compile errors when I uncomment the: dayReport[i].dayOfMonth = dayP part. Could anyone point me to where I am going wrong. What I am trying to do is to read …

Member Avatar for Cyberage
0
129
Member Avatar for gibookrishnan

Hi, I want to use database in my Project.I'm new to it too. I'm doing project in C#,Visual Studio 2005,Compact Framework 2.0 and for WinCE.Plz. do help.I want an open source DB please. Help Me.Tell me how to create a Database from the scratch or attach any link which describes …

Member Avatar for gibookrishnan
0
725
Member Avatar for Alex Edwards

I'm a complete rookie with NetBeans, and that's unfortunate because this summer our Instructor wants us to use NetBeans throughout the entire course. I'd just like to know... how do I add existing files to a project? I've tried right-clicking the project folders to see if there was some kind …

Member Avatar for Alex Edwards
0
182
Member Avatar for megazear7

I made a Class, and I am trying to change a variable (a variable that I set up at the beggining of the program) from inside a Class. But an error pops up and says: "local variable 'widget_stock_price' referenced before assignment" I made the variable "widget_stock_price" at the beggining of …

Member Avatar for vegaseat
0
90
Member Avatar for champnim

[code] struct fifo { int result; char *info; struct fifo *next; }*node; void add(struct fifo **n,int data,char *text) { struct fifo *temp,*node1; if (*n==NULL) { temp=(struct fifo *)malloc(sizeof(struct fifo)); printf("%d is to be stored\n",data); temp->result=data; printf("%d is stored\n",temp->result); temp->info=(char *)malloc(strlen(text)+1); strcpy(temp->info,text); temp->next=NULL; *n=temp; } else { temp=*n; while(temp->next!=NULL) temp=temp->next; node1=(struct …

Member Avatar for champnim
0
651
Member Avatar for FreezeBlink

It's always bugged me how it seems that the only way to find out where you are inside a for loop is to use a counter. For instance, suppose you want to iterate through a list, and print every entry on a second line, but for the second-to-last entry you …

Member Avatar for vegaseat
0
93
Member Avatar for ruchika beddy

hey, frnds I have two forms Forn1 & form2,On Form2 I have three Texyboxes & on form1 i have listview with three Columns. I m sending the text from textboxes to listview. I want that Multiple Rows should be added. Suppose i write the value in three textboxes,with my code …

Member Avatar for selvaganapathy
0
125
Member Avatar for ScottM

Hello: Yesterday I purchased MS Visual Studio Standard 2008, installed it on my Windows XP Pro SP2 system after removing VB 2008 Express. I opened a solution that I had created with VB 2008 Express and proceeded to layout my one and only Windows Form. The Application is a VB.Net …

Member Avatar for linux
0
113
Member Avatar for lllllIllIlllI

Hi Guys What i am trying to do here is have a tuple of numbers, lets say X. Then i have a list of a few other tuples. I want the program to find the tuple that is closest in value. [code=python] x = (214,521) lis = [(200,500),(250,550),(300,600)] [/code] I …

Member Avatar for vegaseat
0
119
Member Avatar for cam875

Ok, I have a MySQL server 5.1 community edition setup on my computer, and I have SQL/ODBC connector 5.1 installed. Now I want to take my C++ console app and be able to connect to my sql server. Yes I have looked through many tutorials and source code and I …

Member Avatar for cam875
0
196

The End.