199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for anatta

Hi guys, I'm trying to write code where an ajax function, at a specified interval, calls php script to query a table and open a certian window according to the response(variable) received. After that, the ajax function will continue to call the same php script but will open another window …

Member Avatar for anatta
0
309
Member Avatar for Gem74

when I compile, there are no errors, but when I run the program it tells me there are build errors and then "the system cannot find the file specified." I have copied and restarted a new project, then new item and still get same error message. Can someone tell me …

Member Avatar for Gem74
0
203
Member Avatar for swolll

I've been working on a piece of code for a while, and it works as it is intended to. Now, though, I'm trying to the code down so that there is one main functions and every "action" is a function that is called. But, I have very little experience with …

Member Avatar for swolll
0
369
Member Avatar for noey699

First of all I would like to point out that all my values are correct in boxes[5][4] which contains the two x and y values needed for each box. boxes[0][0] and boxes[0][1] are the x and y value for the top left of the rectangle. boxes[0][2] and boxes[0][3] are the …

Member Avatar for noey699
0
139
Member Avatar for Gerbilkit

Alright I admit, I hate AWK. Heck even my C++ class is making more sense at the moment. I have a strong suspicion that this is a language I will learn and never use again after this class, as everything else seems better/more intuitive. But maybe that's just me. I'm …

Member Avatar for Aia
0
115
Member Avatar for ttuck

I am no good with programming. I am only taking it because I have to. I am majoring in Business Information Technology with Computer Network Admin. I have yet to figure out why I have to take programming if I am not going to really need it. Anyhow, I am …

Member Avatar for mrnutty
0
2K
Member Avatar for Shinedevil

Ok, I'm completely stumped. I heard that allegro was pretty cool. So I wanted to try it... you don't have to read this { Now here is my story over the past 48 hours... I downloaded all these things for allegro like version 4.2 or something like that, then tried …

0
117
Member Avatar for 3000MAN

Getting to the poiint; I have a 'index.html' document that creates 3 iframes, each within a row of a 1 column, 3 row table. So I have a top (frame1), middle,(frame2) and bottom(frame3). Frame1 src="header.html" is a descriptive banner. Frame2 src="Start.html" is where the real application does all the work. …

Member Avatar for 3000MAN
0
236
Member Avatar for xfrolox

Ok i Got the Form1 and the Dialog3 i can save the trackbar1.value but when i save and close and open the application in the dialog3 says the value of the trackbar1 but the form1 opacity dont save :S ----- Button1 to save ----- Button1: My.Settings.TaxiTransparency = TrackBar1.Value My.Settings.Save() Dialog3_Load: …

Member Avatar for xfrolox
0
152
Member Avatar for OldQBasicer

I put some variable declarations in the module of my project. Of the six variables, two of them remained unavailable to the code on the form... I got an error message. Those two, which are within a FOR...NEXT loop have to be declared in the form code for the thing …

Member Avatar for OldQBasicer
0
197
Member Avatar for supun24

Hi All, I need to retrieve data from database to Listbox. [QUOTE] Ex: Database Fields: IndexID, Name, Value Sample Values: IndexID: 145214 Name: HNB Limited Value: 5.1 IndexID: 4587455 Name: HSBC PLC Value: 7.88 So.. I need to put it in Listbox Like follows (Data count can be large amount) …

Member Avatar for TomW
0
210
Member Avatar for AliHurworth

Hi all, I have a div I would like to show and hide. I've used a script before which works, but now reusing it I can't make it fly. As I can't see where I am going wrong, can anyone else help? This is the one that works: [CODE] <!--script …

Member Avatar for AliHurworth
0
152
Member Avatar for sanch01r

Hey guys, I am needing to find out the expiration date of a users password using the LDAP attribute "pwdlastset", I am able to retrieve the date of the last password reset. The password expiration date should be exactly 90 days from the "pwdlastset" value. For some reason I am …

Member Avatar for DdoubleD
0
1K
Member Avatar for Lida_pink

How can I check whether the first and last letter of a string are same or not? And if yes, a message should be shown using MsgBox. Thanks in advance, Lida

Member Avatar for vb5prgrmr
0
132
Member Avatar for unwanted_virus

[code=php]<!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=iso-8859-1" /> <title>::SISTEM SEMAKAN KEPUTUSAN PEPERIKSAAN KOLEJ EASTERN::</title> <style type="text/css"> <!-- .style7 {color: #000000; font-weight: bold; } .style8 {color: #000000} body { background-image: url(eastern1.jpg); } .style10 {color: #FF0000} .style9 {color: #FF0000; font-weight: bold; font-style: italic; font-size: …

Member Avatar for Will Gresham
0
103
Member Avatar for mejohnm

I cannot get my array to convert to int. I tried some ways but always ran into errors. Here is my program as it stands now. Can anyone give me some pointers??? [code] using System; using System.Collections.Generic; using System.Collections; using System.Linq; using System.Text; using System.IO; namespace sortingarray { class Program …

Member Avatar for mejohnm
0
167
Member Avatar for XiaO yuEn

Write a program that input number of students and determine smallest classroom that can accomodate those students. A sample run : Enter number of students: 79 Classroom: B

Member Avatar for XiaO yuEn
0
88
Member Avatar for G_buchCSC

This is my first time looking at anything in Pep 8 machine language and i was wondering if someone could help me understand how to do these problems . I am supposed to find the output for each program. I know the answer for the first one but I don't …

Member Avatar for wildgoose
0
297
Member Avatar for SKANK!!!!!

i dont know why but sometimes i use the same exact thing ive used on other pages that it has worked for and it just doesnt work on the new page im working on. i have a table called users. with columns called username password and status why isnt this …

Member Avatar for SKANK!!!!!
0
114
Member Avatar for beshoyatef

Here i draw chessBoard and adjust affect of appearin blue rect when player press by mouse on the above two rows but the pawn image not appear . I made [B]intializingIcoss()[/B] on class[B] BoardGame[/B] then the method appear but when the image not appear when i put the method on …

Member Avatar for beshoyatef
0
127
Member Avatar for NatalyC

Hello everybody, :) I'm trying to import an access database to mySQL by using c#, I'm using this software: MS Access to MySQL from Bullzip, and it seems to be working ok; by using c#, I can display all data from tables, using this connection: [CODE] private void btndisplayBooks_Click(object sender, …

Member Avatar for NatalyC
0
2K
Member Avatar for XodoX

Hello, These 3 codes had 5 syntax errors in each of them, but I don't think I found them all. Can somebody help me with this? [code] class AA { public: void print( ) const; int sum(); AA(); private: int x; int y; }; class BB { int one; int …

Member Avatar for XodoX
0
63
Member Avatar for tatt727

Hi, I am trying to create a loop that will create an array from the values posted into a form and then sort them. The user is first asked how many words they want to enter and then a loop creates a form with the appropriate number of text boxes …

Member Avatar for tatt727
0
183
Member Avatar for ihatehippies

I have a Syncing program that, while idle, crawls through the sub-directories of the sources and destinations saved to a 'sync profile'. It starts a new thread and walks the directories calculating the divergence between the sources and directories. I want this feature to have little impact on computer performance …

Member Avatar for ihatehippies
0
120
Member Avatar for raigs

How can the webpage that is downloaded be stored inside a variable? [CODE]#include <iostream> #include <cstdlib> using namespace std; int main(void) { int VAR = system("wget http://www.google.com"); return 0; }[/CODE]

Member Avatar for Ancient Dragon
0
337
Member Avatar for AliHurworth

Hi all, I have a div I would like to show and hide. I've used a script before which works, but now reusing it I can't make it fly. As I can't see where I am going wrong, can anyone else help? This is the one that works: [code] <!--script …

Member Avatar for Will Gresham
0
140
Member Avatar for Sikter

Hello! I'm in a dilly of a pickle here and can't seem to get any answers on the web. My problem is one of EOF token recognition with CUP. When I define EOF as one of my terminals, CUP complains: Duplicate terminal (EOF) created So, I take it out, and …

Member Avatar for masijade
0
1K
Member Avatar for ankiwalia

hey guys, i'm new to java servlets..i have been making a website using java servlets on stock market and stuff...now what my query is that i want to retrieve data from database(ms-access) and display it on my html page.... i don't have much knowledge about html so i took a …

Member Avatar for javaAddict
0
122
Member Avatar for kaylors

Hey, I've been doing this little program to check if a number is a Keith number, and for some reason it's not working. I've gone over the code a few times but still can't detect the error. Could you please help? [CODE]static boolean isKeith(int n) { int sz=Func.sumDg(n); int arr[]=new …

Member Avatar for javaAddict
0
123
Member Avatar for dads

I have to make some bookmarks so I quickly knocked up the script below and ran it. It created the files fine but with a with an incorrect ip in the second file The second bookmark created should be named York.URL which it is but the ip address of the …

Member Avatar for slate
0
113
Member Avatar for Kolz

First Question: Use the following variables: i , lo , hi , and result . Assume that lo and hi each are associated with an int and that result refers to 0 . Write a while loop that adds the integers from lo up through hi (inclusive), and associates the …

Member Avatar for Kolz
0
2K
Member Avatar for Diamonddrake

I have a class that in one of its methods creates a new thread that makes some http requests, serializes the results, packs them up in an event object and then it Should call broadcast an event returning its data. but I can't figure out how. the class is not …

Member Avatar for Diamonddrake
0
157
Member Avatar for Odc

Hi there, I am trying to read integers from a file and store them into an array but I have no idea how to do it. The file is a text document whos contents are arranged like an adjacency list. Here is an example file: 0 : 2,4,5,6,10 1 : …

Member Avatar for Odc
0
118
Member Avatar for rattcod

hi i have a problem in running javascript code between jsp page.. lets below is my jsp body . [code=jsp]<body> <script language="javascript" > alert("hi"); </script> <h1>hello</hello> <% System.out.println("hello"); %> </body>[/code] in the above code there is no problem in running javascipt .. it gives hi alert easily but.. for below …

Member Avatar for rattcod
0
170
Member Avatar for manisha_v

hey all... i m in 5th sem engg ....currently i hve undertaken a project under indian army which is like creating a database software for them.....frontend is vb6 and sql....i need ur hlp in the search and view option..... for the search option i need codes to search from the …

Member Avatar for manisha_v
0
115
Member Avatar for OSiRiSsk

Hi, im creating some program, which reads number from stdin, and save them into variable X, but how can i make condition that program will print error on the screen if X is not number [CODE=c] #include <stdio.h> #include <stdlib.h> #include <ctype.h> int main() { float x; while ( (scanf("%e",&x)) …

Member Avatar for Aia
0
261
Member Avatar for sharkman

Please help quickly! I'm on short notice here. I'm making a C++ program for a project, and the computer I'll need to run it on does not have a compiler. I am currently using Microsoft Visual Studio 2003. I would very much like to turn this file into an executable …

Member Avatar for sharkman
0
180
Member Avatar for proactive_07

Write the program that ask user insert 5 type integers of an array for student number for each course(MECHA : 280, IART : 150, HVAC : 200, FJ : 180, ASMT : 150) program must calculate the total student & percentage each course

Member Avatar for Clinton Portis
0
84
Member Avatar for abhipro

Hi everyone, I have a library in C++ ( All source and header files) which was targeted for Linux. Although, the authors say that with some minor changes, it can be compiled on Windows too. Also, when I checked the .CPP files, some do the following code #ifdef WIN32 #include …

Member Avatar for abhipro
0
120
Member Avatar for ultras1

Hi, I'm making litle CMS with PHP+Mysql. Can you tellme measures for prevention for SQL Injections ?

Member Avatar for koldex
0
167
Member Avatar for ayaz.ali

I want to create a a program in which i enter a word and the program counts the number of alphabets used in the word and display as output !! I know its simple but i am just a beginner and my teacher wants to submit this as assignment this …

Member Avatar for surbhi bhasker
0
412
Member Avatar for parth malhotra

as a bigginer in c , having problem in understanding basics that how to develop programs with use of functions

Member Avatar for surbhi bhasker
0
49
Member Avatar for itzaaron

This program collects 3 numbers from the user and then simple adds the total and spits out a response. problem is the final output is blank, it just says 'The total is: '_____ but nothing there. Whats wrong?? [CODE]#include <iostream> using namespace std; int _tmain(int argc, _TCHAR* argv[]) { int …

Member Avatar for itzaaron
0
173
Member Avatar for bufospro

I am trying to copy an image and save it in the directory Uploads. But something is wrong. [CODE] $image = $_POST['image_file']; if(!empty($image)) { $target_path = "Uploads/"; $target_path = copy($_FILES['image_file']['name'],$target_path); } <FORM action="" method="post"> <input id="image_file" type="file" name="image_file" title="Upload"> </form> [/CODE] I don't want to use another page in action. …

Member Avatar for omoabobade
0
87
Member Avatar for pyprog

The following code should return the longest odd-length palindrome in a string centered at the index. So in a string 'asradarer' it should return 'radar'. Can you explain to me what the problem here is? [CODE]def get_odd_palindrome_at(word, index): num = 1 new_word = "" while index < len(word): if word[index …

Member Avatar for vegaseat
0
903
Member Avatar for bol0gna

My file directory is full of filenames with "male" and "female" being part of them. I want to loop through the directory and distinguish between the two. [CODE] import os maleDataSets = 0 femaleDataSets = 0 females = [] males = [] filePath = "Dataset/parameter feature vectors" for file in …

Member Avatar for vegaseat
0
199
Member Avatar for cgeier

I am trying to write a program to display the unicode character when a user enters a unicode character code. ex: If the user enters: "\u00C3" in the textfield, I want to display a capital "A" with a tilda (~) over the top of it. Here's my code so far: …

Member Avatar for cgeier
0
2K
Member Avatar for brijendra_kumar
Member Avatar for brijendra_kumar
0
52
Member Avatar for Cort3z

I am trying to make a cookie that should contain a number value. It all work fine, unless the form that sends the info to my receiver page sends and empty string. Then something strange happens. It does not seem to be empty, so my error checker does not detect …

Member Avatar for ~s.o.s~
0
143
Member Avatar for amishraa

the char character for grade are coming up with weird ascii like characters instead of the letter grades. Please help! //declaration string first, last; int prog1, prog2,prog3,prog4, prog5, test1, test2; int totalpts, progavg, testavg, courseavg; char grade; //executables totalpts = (prog1+prog2+prog3+prog4+prog5+test1+test2); progavg = (prog1+prog2+prog3+prog4+prog5)/5; testavg = (test1+test2)/2; courseavg = (progavg+testavg)/2; …

Member Avatar for amishraa
0
207

The End.