199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Naveed_786

Hi guys, 1.Can anyone help me how should i design my first web page in asp.net using C# 2.which should have 4textboxes and 2buttons 3.how can i connect the asp.net with sql server 2008 4.how can i insert my first record in sql server db please please help then i …

Member Avatar for shine_jose
0
92
Member Avatar for Joe34

I'm creating a complex Contact form generator website. I know how to do everything except this one thing. For the user on my website to create a form they have to fill out another form asking questions such as how many questions are on your form..... But at the end …

Member Avatar for monica singh
0
115
Member Avatar for bookmark

For lines 23 and 22 it says "you cannot assign to a variable that is constant." anyone know how to fix this? thanks in advanced, bookmark. [CODE]#include <iostream> #include <string> #include <algorithm> using namespace std; void print (const string & s); string reverse(const string & s); int main(){ print("blah"); reverse("blah"); …

Member Avatar for alaa sam
0
153
Member Avatar for keanoppy

[CODE]image = new JLabel(new ImageIcon("C:\\Users\\user\\AutoTextSum\\src\\autotextsum\\newImage.JPG"));[/CODE] As you can see from the instantiation on the label above, I've used a static file referencing whereby I explicitly indicates the physical location. Let say this coding file name is autotextsum.java. How do I put the image without the need to explicitly indicates the …

Member Avatar for JamesCherrill
0
177
Member Avatar for onus

On this link [url]http://lxr.free-electrons.com/source/drivers/parport/parport_pc.c?v=2.6.29#L97[/url] they defined a structure superio_struct and initialized as [CODE=c]superios[NR_SUPERIOS] = { {0,},};[/CODE] I am not able to understand above initialization has what is it getting initialized to. What I deduce till now is superios is a structure array of struct superio_struct and NR_SUPERIOS is defined as …

Member Avatar for onus
0
109
Member Avatar for bkoper16

I am making a program that reads football player stats from a file and places it in an array how ever my program seems to over read the file which has the stats of 17 players and it makes an array of 101 players with the first 17 being alright …

Member Avatar for Perry31
0
188
Member Avatar for alaa sam

Hi I'm asked to write two functions to find the factorial one using recursion and the other using loops. the range of numbers which if have to output their factorials is 1 to 500(N) after some time the computer won't be able to find the factorial .I have to output …

Member Avatar for alaa sam
0
106
Member Avatar for abelingaw

Uhm ok. I am near n finishing my project (Payroll System) But im having problems regarding some codes and i am only able to fix some of it My real problem is the saving of picture in the database. Have the code, works well but doesn't save the pic as …

Member Avatar for AndreRet
0
119
Member Avatar for sing1006

i have a problem here. [CODE][/CODE] #include<stdio.h> int main (){ int counter; int x; int y; int product; counter=1; x=1; y=1; product=1; while (counter<=5){ printf("%d>%d\n",x,y); x=x+1; y=y+2; counter=counter+1; product=product*y; } printf("Product>%d",product); return 0; } well,the product should be 945.but what have printf out is 10395?what is the provlem inside the …

Member Avatar for sing1006
0
123
Member Avatar for fender422

I completed a homework given by my instructor, but it is not doing what it's suppose to do completely. I was able to add a message in the pixel, but if I run it, some wierd characters were added after the message here's my work. I was only assigned to …

Member Avatar for quuba
0
178
Member Avatar for sing1006

here is the things so far i got. [CODE][/CODE] #include <stdio.h> int CF(int C); int FC(int F); int main(){ printf("Fahrenheit equivalents of Celsius temperature\n"); printf("Celsius \t Fahrenheit \n"); for (x=0;x<=100;x++); printf("Celsius equivalents of Fahrenheit temperature\n"); printf("Fahrenheit \t Celsius \n"); for (x=32;x<=212;x++); Pls,somebody help me.T.T

Member Avatar for sing1006
0
337
Member Avatar for gahhon

first we read something from the text files ( INT type only ), then i want read till "\n" stop and inceasement a value, examples, [CODE] int Attendance[10][10]; ExistingFile = fopen("Attendance.txt", "w"); if(!ExistingFile) { printf("\t\t This File Cannot Be Open Successfully!!\n"); printf("\t\t Please Check It!!\n"); exit(-1); } else { fprintf(ExistingFile, …

Member Avatar for gahhon
0
182
Member Avatar for gunbuster363

This is a piece of code I copied from a tutorial of allegro. When I changed the window width and height to 800, the program just crash, what happened? set_gfx_mode( GFX_AUTODETECT_WINDOWED, 800, 800, 0, 0); buffer = create_bitmap( 800, 800); [CODE]#include <allegro.h> #include <cstdlib> #include <time.h> int x = 100; …

Member Avatar for gunbuster363
0
95
Member Avatar for gunbuster363

Hi all, I am new to game programming for my own interest. I just tried to use allegro to draw something according to a tutorial online. But I have a little problem, below is my code: [CODE]#include<allegro.h> int main() { int x = 10; int y = 10; allegro_init(); set_gfx_mode(GFX_AUTODETECT_WINDOWED, …

Member Avatar for gunbuster363
0
185
Member Avatar for hmdb
Member Avatar for zeeshan_kust

Hi all i have an xml file e.g [CODE]<?xml version="1.0"?> <recipes> <recipe> <rec_id>14</rec_id> <name>Spaghetti with Crab and Arugula</name> <overview>http://www</overview><time>2010-11-11 14:35:11</time> <image>localhost/pics/SpaghettiWithCrabAndArugula.jpg</image> <instructions> <instruction> <instruction_id>14</instruction_id> <instruction_text>Cook spaghetti according to directions on package. Drain and set aside.</instruction_text> </instruction> <instruction> <instruction_id>15</instruction_id> <instruction_text>In a large saucepan, heat olive oil. Add garlic and chili and …

Member Avatar for Stefano Mtangoo
0
248
Member Avatar for yuri1969

Hi, i have question about accept call interrupting. As you can see I have a loop which is controlled by boolean [B]not_ended[/B]. I set this var to 0 (false) in a separate function. I would like to know how should I [U]manage to interrupt this accept loop properly[/U]. When I …

Member Avatar for yuri1969
0
5K
Member Avatar for yoyo59

Here's an assigment I was just emailed. After being ill for some time with mono I've been forced to teach myself the material. I have no idea what this assignment is asking for. "You are to write a program that reads in one integer first indicating the digits in length …

Member Avatar for WaltP
0
109
Member Avatar for apanimesh061

I made 10 tables for a project. But the first 9 tables along with the values that I entered, are saved in the database. But the last table is not able to save it's values. I have to enter the values every time I run SQL. It always shows "No …

Member Avatar for apanimesh061
0
74
Member Avatar for divakar.it

I am developing a application using VB 6.0. My requirement is if the user log off the application using File->Exit the below action should perform Action1 : The login status should get updated with 0 in the back end table called "Create_Login" so that next time if the user login …

Member Avatar for AndreRet
0
135
Member Avatar for Kakashi Hatake

I wanted to know the applications of linked lists in real-world applications. Are there any alternatives to Linked lists ? Thanks so much ^_^

Member Avatar for griswolf
0
1K
Member Avatar for bob3

I'm just trying to make a cash till and something is wrong because when i try to execute it it just freezes. I think something is wrong with my loop, also i don't know how to refresh my sale total when i click clear order. It clears it but when …

Member Avatar for AndreRet
0
160
Member Avatar for ladylove

Develop a car loan payment calculator. Design a GUI, using NetBeans GUI Builder, to enter price of car, down payment, interest rate, and length of loan in years. Your bank only offers 3 interest rates 5%, 10%, and 12% based on credit rating. Use grouped radio buttons to select between …

Member Avatar for javaAddict
0
865
Member Avatar for AndrevdBerg

Hi, I have am interesting problem that I cannot think of a solution for. I have an VB.NET application. This Application is permanently resident in memory and minimized to the tray area because we use it very often. The problem comes in when we VPN into a client's site. These …

Member Avatar for AndrevdBerg
0
3K
Member Avatar for ukshir

I have a tabcontrol and two tab pages on the tab control. There are some fields on the tab pages which are databound to access database table which are populated using dataadapter. There is functionality to calculate total of the fields on both the tab pages when I click a …

Member Avatar for Netcode
0
203
Member Avatar for bob3

Hi, Im doing a project in my class where i have to make code. i have to make a spread sheet that will control the sales that are taking place. The cash till has to add up the total cost of the items being bought, take in the input of …

Member Avatar for AndreRet
0
89
Member Avatar for slychronic

hie guys I am creaating a program employee data base its a simple c++ program tht should allow a user to input employee details view search edit and delete......now the prblem am having is i want to creat a function that will give an employee a num when entered i …

Member Avatar for slychronic
0
380
Member Avatar for aseem_nick

hi to all! i am a newbie in visual basic programming and have been currently assigned a project for developing a small HUMAN MACHINE INTERFACE. can anybody help me out how to start and how to proceed. i'll be very grateful to all who answered. Thanks

Member Avatar for kamranraj
0
101
Member Avatar for Naveed_786
Member Avatar for MichellePV

Hello, I am working on a combo box, Visual Basic 6.5 on Microsoft Word 2003. When I put in the text for the combo box, it loads fine. I save, close the document. When I re-open the file, everything in the drop box is gone. What am I doing wrong?

Member Avatar for AndreRet
0
109
Member Avatar for iarkey

[CODE]#include <stdio.h> #include <windows.h> #include <stdlib.h> DWORD WINAPI test_thread(LPVOID lpParam) { printf("thread whiiiii\n"); struct person { char *namee; int agee; }; struct person p = ((struct person)lpParam; printf("%s\n",p.agee); ExitThread(0); } int main() { struct person { char *name; int age; }; DWORD thread; struct person p; p.name = "John Smith"; …

Member Avatar for sree_ec
0
686
Member Avatar for lochnessmonster

im curious if there is any type of standard....or if anyone could help explain what all should be placed in .H files? (prototypes/etc) -thx

Member Avatar for mike_2000_17
0
311
Member Avatar for Rootz

This is my first post and I am just starting with arrays, but I am still stuck on how this function is suppose to work. I had to make two void functions and two-value returning functions. Main should call the getTestScores and get three test scores, then it should call …

Member Avatar for MasterGberry
0
135
Member Avatar for SolidSora

I'm trying to make cars of a certain color go from one array to another. For example if I want all red cars to go to be displayed, I throw the red cars into another temporary array and they get displayed on the screen. How would I make this work? …

Member Avatar for ~s.o.s~
0
123
Member Avatar for Rajeev R Nair

Hai everybody. i am in trouble. As the part of my training programme i have to create a simple application in vb.net. i need to connect a local database to the application. I am a newcomer from a Govt. Polytechnic college located in South Kerala(INDIA). I haven't any experience with …

Member Avatar for Rajeev R Nair
0
181
Member Avatar for Sykee

[CODE] import subprocess import os def main(): quickfile = file_existance() quickdraw = subprocess.Popen(['java', '-jar', quickfile],\ stdin = subprocess.PIPE, \ stdout = subprocess.PIPE) event = WindowEvents(quickdraw) def file_existance(): filename = raw_input("Please enter the location of quickdraw: ") while (not os.path.isfile(filename)): print "That file does not exist, try again" filename = raw_input("Please …

Member Avatar for WildBamaBoy
0
249
Member Avatar for j_cart007

Hello! Does anyone have any idea about Futoshiki Puzzle Solver. I'm new to programming and i want to make a puzzle solver in java. Any helpful reply would be regarded. Thanks

Member Avatar for jon.kiparsky
0
2K
Member Avatar for haxtor21

Hello. I am running a program form my book and i get this warning from eclipse that says: "The serializable class ColorWindow does not declare a static final serialVersionUID field of type long" [CODE]import javax.swing.*; //Needed for Swing classes import java.awt.*; //Needed for COlor class import java.awt.event.*;//Needed for event listener …

Member Avatar for ~s.o.s~
0
422
Member Avatar for madhavipoudala

I have a doubt in refresh the page in a jsp page to date and from date are there when i am giving the data for from date and for the next time i want to give the date only for the to date not the from date but when …

Member Avatar for madhavipoudala
0
315
Member Avatar for keyroche

Hello, I am using a database class that I wrote for my project. I created a query variable that is accessible to the whole class, so that when you query the database, the class stores the query so you can use the other functions without telling it the query to …

Member Avatar for keyroche
0
103
Member Avatar for PinkSmartie

Simply im in the middle of creating a search engine to that will pick out data from a certain table depending on what dropdown menu has been choosen! Ive got the search engine and display page working, but am trying to create an individual page for the results which i …

Member Avatar for PinkSmartie
0
102
Member Avatar for Captain_Jack

I'm creating my second application. I'm not very good at coding. If i make dump mistake please bare with me. I can't get this Progress bar to work, I tried few steps. I'm writing this application to copying the Host file to a folder in desktop for troubleshooting purpose at …

Member Avatar for mrclark
0
269
Member Avatar for Janny735

I have to write a small program that averages the scores for an array of baseball players for 4 seasons. I'm having problems with 2 parts of my program. First, I need to write an event handler for the TextChanged event that searches the input when the user types info …

Member Avatar for Janny735
0
151
Member Avatar for Dazaa

Hi, I have a lot of checkboxes, for a bunch of illnesses. e.g. Cancer, Epilepsy, AIDS Hepatitus etc. I have put checkboxes in to display a field if one of them is ticked, and the Medical user can make notes on the particular case. But.. I cant hide it again …

Member Avatar for catherine sea
0
162
Member Avatar for jae5086

This program is to calculate the average, high and low score of a series of use inputs. The output I am getting is high, low, average, high, low. I have no idea why or how this can happen. Side note, I am aware the coding isn't very good but the …

Member Avatar for jae5086
0
98
Member Avatar for letaki

Hello there, I have an issue with execvp to a project in C i'm trying to procces.. Execvp is always returning -1.. and this warning " passing argument 2 of ‘execvp’ from incompatible pointer type" .. here's the source code, and any advice at the matter would be appreciated! [CODE]#include …

Member Avatar for nezachem
0
1K
Member Avatar for iCode@Night

Hi all. I am trying to create a function to check if a string is a pangram or not. I think I have good start on it, but I can't figure out how to check if the characters in the string are unique. I have to do this recursively with …

Member Avatar for iCode@Night
0
691
Member Avatar for Krysis

Hey all. Working on a Binary Tree of "N-order". For some reason I'm getting a fatal error while trying to compile my code. Let me know if you have any idea of what could be wrong, thanks. I'm actually trying to model this off an implementation written in Java: [url]http://koders.com/java/fidAB3BF22D2F6F383D797E598C79B9DE16C02ECF9A.aspx?s=tree#L1[/url] …

Member Avatar for daviddoria
0
263
Member Avatar for JOSheaIV

Okay so I am learning to write with with ActionScript for a flash project. First of all I hate this language and can't figure out how to solve my problem. I am trying to play the frames so that they appear 1 second apart but stop at a certain frame. …

Member Avatar for JOSheaIV
0
252
Member Avatar for isaiaha

[CODE]while ($div=mysql_fetch_array($query4, MYSQL_ASSOC)) { //$div - shows all the entries $row22=mysql_fetch_array($query2, MYSQL_ASSOC); //row22 - shows all the entries that should be checked $name= array($div['date_id']); $datess=$row22['date_id']; if (in_array($datess, $name, true)) { echo '<input type="checkbox" value="' . $div[date_id] .'" checked>' . $div[date] . '</option>'; }else{ echo '<input type="checkbox" value="' . $div[date_id] .'">' …

Member Avatar for isaiaha
0
153

The End.