199,112 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for sandeep_1987

I have three textboxes a GridView with three columns Roll,name & marks, I want that when the user enter data in three textboxes & click on button,then the data added to GridvIew Columns. Foll code Add the Data to database. [code] using System.Data.SqlClient; public partial class _Default : System.Web.UI.Page { …

Member Avatar for carobee
0
143
Member Avatar for Trini89

when I run this program no matter what temperature I enter, the output is my first cout statement. Could anyone tell me what i must change for the code to work?? [CODE]#include <iostream> using namespace std; int main () { double temp; cout << "Please enter a temperature " << …

Member Avatar for achyuthan1991
0
90
Member Avatar for Gchan

hi i need a help in a code.. Code requirement is:- FInd most occuring element in an array.. Say i have an array {1,2,4,4,4,5,1} answer should be 4..... Code should be in C language......

Member Avatar for mrnutty
0
76
Member Avatar for rpjanaka

Hi all, My program have two threads (parent thread & child thread). I want to set a high priority to my child thread when it is created. So I just follow the example given in the follow ([url]http://cs.pub.ro/~apc/2003/resources/pthreads/uguide/users-12.htm[/url]) ************************************************** [code=c] #define _MULTI_THREADED #include <pthread.h> #include <sched.h> #include <stdio.h> #include "check.h" …

Member Avatar for jakethesnake86
0
2K
Member Avatar for joshk6656

Hi I have a couple of questions for the first app I am creating. Firstly I am trying to have user input certain things, and it is not working correctly. [code] printf("Object : "); scanf("%04X", &code); printf("Message : "); scanf("%s", input); [/code] Object is working perfectly, but then the Message …

Member Avatar for joshk6656
0
147
Member Avatar for Peter_APIIT

Hello to all, i need access the external header file from third party in Visual Studio. I have settings the additional include directory but the files still cannot be found. I sure that file located at the directory pj and the types.h is exist in the directory. C:\Program Files\VOIP\pjproject-1.4\pjproject-1.4\pjsip\ C:\Program …

Member Avatar for Peter_APIIT
0
666
Member Avatar for gibson.nathan

what i am supposed to do is calculate the chances of wining a bottle top prize if there is one in five winners. i have to do it a difficult way though. i made a random number that signifies a win when it lands on one. i then have to …

Member Avatar for VernonDozier
0
634
Member Avatar for Teethous

Can someone identify the error in this code for me? The input line gives an error. [CODE]import java.util.*; public class Time_Convert_Test { Scanner number = new Scanner ( System.in ); public static void main(String[] args) { int firstValue; System.out.print( "Please enter time in hours:" ); firstValue = number.nextInt(); } } …

Member Avatar for Teethous
0
112
Member Avatar for cbsoldier24

Hey guys, This is my first topic. I tried my very best to keep behind the scenes and not make a thread about this, but its been ticking me off for a while now.. The "while" loop im using.. i can only get the last user input to display or …

Member Avatar for cgeier
0
557
Member Avatar for Neil_W

Hi guys, I am working in Access 2003 andtrying to populate a form from an underlying query written on the fly. My code is as follows: [CODE] Private Sub cmdDefra_Form_Click() Dim Cat As New ADOX.Catalog Dim cmd As ADODB.Command Dim sqlText As String Set Cat.ActiveConnection = CurrentProject.Connection Set cmd = …

Member Avatar for vb5prgrmr
0
259
Member Avatar for AliHurworth

Hi all, I have a two-part form intended to replicate the output from a toolbar, with the aim of sending data to a database. So the data is generated by the following code (sim1.php): [CODE]<!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=utf-8" /> …

Member Avatar for cwarn23
0
148
Member Avatar for slatk3y

I can generate a certificate from terminal using this command: keytool -genkey -keystore myCert -keyalg RSA ... and then you enter name, ... Is there an alternative way to do the same thing in JAVA? Any help is appreciated, thanks

0
81
Member Avatar for SeeTheLite

So basically I'm making a generic class for rational numbers, and I want to do automatic type conversions in comparisons and operations and constructors. How would I go about doing this? Google has only returned results for template functions rational.h [code=c++] #ifndef RATIONAL_H #define RATIONAL_H class rational { public: rational(); …

Member Avatar for SeeTheLite
0
86
Member Avatar for htndrum

I need to find a way to print "Cannot find birthday" if the "searchline" is not found in the "pidigits" file. Maybe using a count somehow. I've tried a lot of different things, but I cannot figure it out. I have attached both files. [CODE]import string def find(): blength = …

Member Avatar for htndrum
0
118
Member Avatar for katwalatapan

Hello everyone, While implementing POSIX messaging queue, I am encountered with "Message too long error". I have stated 128 bits for my problem, but it still gives the same error. Please do help me in resolving this memory issue. Regards, Tapan. [code=c] #include <stdio.h> #include <stdlib.h> #include <pthread.h> #include <mqueue.h> …

Member Avatar for gerard4143
0
1K
Member Avatar for CFROG

I've been working with a script that allows users to look up other users in their area based on their zip code. I attempted the script myself but the whole lat/long thing was a bit much for me to understand, so I settled for one that I found on the …

Member Avatar for diafol
0
425
Member Avatar for Stefano Mtangoo

Hi All, I have been learning making CMS and you guys have been helpful. I can now post, and view the posts. I need to edit/delete articles. I have read somewhere that you can make a link that appends an id of the article and you can retrieve it via …

Member Avatar for Stefano Mtangoo
0
109
Member Avatar for slatk3y

Hello, I am trying to understand how server and clients work. Can anyone explain it and give an example or link to the tutorial. I greatly appreciate your help

0
146
Member Avatar for gianrocks

hey all, im sort of new on .net and i was hoping if u can help me again. i am to search a a student record on sql server 2005 database. my problem is, i can search for records but i failed to display their pictures in the picturebox. here …

Member Avatar for dapsin999
0
167
Member Avatar for llemes4011

Hello, I'm using NetBeans 6.7.1, and Derby 10.5.3.0. I'm trying to learn how to write Database applications, and I'm having trouble connecting to my Database. It loads the Derby Driver (EmbeddedDriver), but won't connect to the the Database named test. I looked at tests Properties in NetBeans, and it said …

Member Avatar for llemes4011
0
812
Member Avatar for Dewey1040

I'm supposed to create a program to read in word by word into a vector. And print out the words connected with '-'... so if the input was hello world the output would be hello-world this is the code ive made so far... right now my input can be hello …

Member Avatar for Ancient Dragon
0
3K
Member Avatar for cavpollo

I got a master page with a content place holder (called: placeForButtons). In one of my forms a panel (called: uxButtonsPanel) is added as one of its controls . Later when the program is running (after it compiled what it had successfully) I try to add a button( called: uxInteractionButton0) …

Member Avatar for sknake
0
105
Member Avatar for casperguru

What are the difference in the passing mechanism of the following arrays void foo(int* a) void foo(int(&a) [10]) void foo(int a[]) and if all the three absolutely does the same thing then what is the point of keeping 3 of them and does any method have any performance gain as …

Member Avatar for C++NOOOB
0
298
Member Avatar for hectex

* This code is ran under Microsoft Visual C++ 2008 Express Edition. * So when I do run the program, it runs, it lets me input 'The Name', 'Resistance Value', and 'Tolerance Value'. *It then displays The maximum and minimum resistance. *Now here's the problem!--It displays hexadecimals. *HERE'S MY CODE …

Member Avatar for Lerner
0
346
Member Avatar for jakx12

I know we are not supposed to ask for code, but could someone please tell me how I would do this. Not write code, just give me guidelines. thanks

Member Avatar for jakx12
0
95
Member Avatar for sivapc

Hi All.. New here.. I'm not going to lie. This is an assignment for c++ subject in my school. I'm basically an amateur in c++. I can understand all the basic stuffs in c++, but have some problems with the pointer.. and my lecturer here.. well. She's quite poor and …

Member Avatar for Lerner
0
189
Member Avatar for Baalzamon

Sorry in advance if there's already a thread or if i've posted in a wrong section(??). My question: If i use the tolower function can i use the newly editted input and put it back to where it came from?? In effect - clarity isn't my strong point today :( …

Member Avatar for Baalzamon
0
101
Member Avatar for nateuni

Out of all the possible problems I though I may have in my program, this was not one of them. My menu code is looping twice before stopping for the fgets to take input.. so my menu options are getting printed twice? I have tried flushing the crap out of …

Member Avatar for nateuni
0
601
Member Avatar for davidlgj

Hi all, I'm using the PHP code below to get results to return to an autosuggest / autocomplete. The problem is that if an earlier SQL query takes longer to return from the database than the most recent SQL query then the results of the older query will be displayed …

Member Avatar for codejoust
0
148
Member Avatar for Wolf CCMLG

I have having a bit of trouble with this assignment I have to do. The assignment is: [B]"Assuming that a year has 365 days, write a class named DayOfYear that takes an integer representing a day of the year and translates it to string consisting of the month followed by …

Member Avatar for Lerner
0
1K
Member Avatar for Nishanthi

i want to develop project for sound and stage entertainment using netbeansIDE can anyone tel the prerequisites and steps for starting the project please please

Member Avatar for majestic0110
0
63
Member Avatar for Ineedhelpplz

[CODE]#include<stdio.h> #include <stdlib.h> #define MAXLINE 10000 void reverse(char *str); int main() { int c, i; char j; char S[MAXLINE], *p1; p1=S; for(c=getchar(); c!=EOF; i++) { S[i]=c; } reverse(p1); return 0; } void reverse(char *str) { if(*str) { reverse(str+1); putchar(*str); } } [/CODE] Please help me correct the segmentation fault. [QUOTE]blade71(107)% …

Member Avatar for Ineedhelpplz
0
152
Member Avatar for rainny

I have 2 buttons, which are start and stop button. When I click on the start button, i make the timer is counting while click on the stop button, it will stop counting the time. The problem I face here is if I click back start button, is it possible …

Member Avatar for emint
0
78
Member Avatar for redreed

[CODE]/* program created and maintained by red prods */ #include<stdio.h> #include<process.h> #include<graphics.h> #include<fstream.h> #include<dos.h> #include<math.h> #include<stdio.h> #include<string.h> #include<conio.h> #include<stdlib.h> #include<time.h> struct dosdate_t d; struct bank { char user[40]; long int pass; int dtj[3]; int deposit; char type[7]; char trans[100][100]; }s; char *auser[20]={"ReReEd,param"}; long int apass[2]={975369,123456}; int ENTER=13; int xi1=162,yi1=50; int …

Member Avatar for redreed
0
269
Member Avatar for Twyce

I am trying to get the seleted radioButton from a group of radio buttons. The program is supposed to check on the database for controls that match the selected radiobuttons. The radiobuttons are named High,Medium,Low. For example If a person selects High, the program must go through the database and …

Member Avatar for Geekitygeek
0
143
Member Avatar for MikeGore

Hi, I am trying to add a small date-time box to my website. In visual C# this was so easy as you can just drag and drop the gui. In dreamweaver I have not been able to find any like. I would like to be able to pick a date-time …

Member Avatar for Tekkno
0
147
Member Avatar for Ramster

Hey guyz, can any one tell me how to run a java program in background of an OS(windows or linux) . Actually i am trying to develop an keylogger application in java. By the present status i understood it is some what difiicult , but i am not rdy to …

Member Avatar for JamesCherrill
0
73
Member Avatar for jas05

Hello Guys I am trying create a DataGrid in Windows forms application, but i am unable to fill the data into that. I am using data sets and data adapters for that, but i am getting a empty datagrid. I am quite new to c# so can some body please …

Member Avatar for Geekitygeek
0
102
Member Avatar for uktena

I'm writing a utility for work using forms, then submitting the supplied information into a database with php. The work this intended for is to be performed every thirty days. I need to find a way to automatically check the database and be sure each table in this database has …

Member Avatar for uktena
0
118
Member Avatar for chingkoysilog

can u give the the code to client and server of this game "tic tactoe"...i need to network it....pls hep me..have mercy..pls give me the site or resources to get server and client.... #include <iostream> #include <string> using namespace std; bool gamedone,turn; int choice,player; string space[10]; void win(bool x) { …

Member Avatar for sfuo
0
513
Member Avatar for Mr.UNOwen

Anyone have a clue what would cause the compiler to complain about static members and functions and virtual functions ? I've written a bunch of stuff with Qt in C++ without this problem. The only new thing is I've overrided a virtual function and created a few static data members …

Member Avatar for Mr.UNOwen
0
131
Member Avatar for i are smart

please tell me that there is a difference because i've spent an entire week figuring out how to make cTurtle work. Now that I have succeeded, both modules appears to have the same functions. Please tell me that there is a difference

Member Avatar for Ene Uran
0
215
Member Avatar for britto

hello.. i need help on how to convert a video to byte stream and i must sent that comverted stream through internet and in client it must be again changed to a video ... what must i do??

Member Avatar for britto
0
103
Member Avatar for wil0022

hi can anyone help me? i cant even run the program I have made... This program should show the distinct numbers after you inputted numbers... I really don't know what to do, hehehe.. [CODE]using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Distinct { class Program { static void Main(string[] …

Member Avatar for Geekitygeek
0
113
Member Avatar for usagi713

Problem: The user should be able to specify a field and a value for that field and the program returns all works that match. For example, the user may specify Artist and Smithely, and the program will output all of the information concerning every work in the gallery by that …

Member Avatar for sfuo
0
97
Member Avatar for dhavalcoholic

Hello friends, I am trying to make a simple search box in ASP. I am using a text box, where the user enters his query. And besides it, I am using drop down menu (<select>.. <option>.. </select>) in which the user selects what he want to search (Song name, Artist, …

Member Avatar for dhavalcoholic
0
203
Member Avatar for ayhra

please help me in making a code on how to get the filename, application in a client is using. i need the code in visual basic 6.0. please help me. T_T asap[code]please help me in making a code on how to get the filename, application in a client is using. …

Member Avatar for omoridi
0
198
Member Avatar for makaman

hey guys, i'm making a kool program for a game but when i debug the program it keep coming up with expected = , when i tried this code: [CODE]Shell ("Ping start" + Combo1.Text + ".blahnin.com -t", vbhide)[/CODE] is there a way to fix it? or is there another way …

Member Avatar for omoridi
0
106
Member Avatar for pankajkingel

Hi ! i have completed my project in visual basic. Now i want to create its setup by using deployment and setup package. But my set up should install the program files and database at the path which i have given in my code for database connectivity. How to do. …

Member Avatar for omoridi
0
94
Member Avatar for rajeesh_rsn

Hai, I had a php based website and my home page is index.php. In that index.php page I called an another page (inner.php) using iframe. And works fine. Now I had heared that goolge calculate iframe objects as the virus or something like that blacklist our website. Is there is …

Member Avatar for rajeesh_rsn
0
96

The End.