Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
67% Quality Score
Upvotes Received
2
Posts with Upvotes
2
Upvoting Members
2
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
0 Endorsements
~12.5K People Reached
Favorite Tags
Member Avatar for cmsc

Hi, I'm trying to remove a script added by setTimeout(). I tried to use clearTimeout() but seems like it's not working. This is what should happen: Click Btn1 to include the function for btn2. After btn1 is clicked, click Btn2. An alert will be displayed. When btn1 is clicked again, …

Member Avatar for mattster
0
3K
Member Avatar for cmsc

Hi! I was able to connect to another server using ftp_connect and was able to login too. But I tried to list the files in the directory but it is not working. No errors are appearing too. Any thoughts? Thanks! Here's my code: // set up basic connection $conn_id = …

Member Avatar for joshl_1995
0
696
Member Avatar for cmsc

Hi! I have to upload a file to a separate server and I was given access to its ftp. But to be able to access the ftp, I need ftp over ssl explicit. I tried to use curl to connect to ftp. I was able to pass through the 220 …

Member Avatar for cmsc
0
2K
Member Avatar for cmsc

Hi All! I have this local debian server and I'm trying to add subdomains to it. I only access it using its IP, but I edited the host file of my pc to access it using testwebsite.com and now I want to add subdomains. Each subdomain should be able to …

Member Avatar for cmsc
0
195
Member Avatar for cmsc

I'm getting the form is not defined error when is use`form.parentNode.appendChild(iframe);`inside a javascript function, I don't know why. Any suggestions?

Member Avatar for otengkwaku
0
118
Member Avatar for cmsc

Hi! I am trying to upload images to teambox.com using curl and php, but I always get the error "Invalid file name", "you can't upload a blank file", and "Invalid Record". Any suggestions on how to fix it? here's my code: $fields = array( 'file' => file_get_contents($_FILES['upload_field_'.$task_id]['tmp_name']) ); $fields_string = …

Member Avatar for pritaeas
0
260
Member Avatar for cmsc

This code gives me an Unhandled Exception error everytime I try to run in on a mobile phone (Nokia E51) although it works perfectly in an emulator. What seems to be the problem? public class Video2 extends MIDlet implements CommandListener { // Class to capture the snapshot public class Video …

Member Avatar for james6754
0
213
Member Avatar for cmsc

I'm trying to use bufferedImage to display the bac[ICODE][/ICODE]kground of my application but i'm not successful. I don't get what's wrong with it here's the part of the code: [ICODE] Graphics g; BufferedImage offscreen; offscreen= ImageIO.read(new File("mainScreen.png")); g.drawImage(offscreen, 0, 0, null); [/ICODE] and i use the paintcomponent() here : [ICODE] …

0
65
Member Avatar for cmsc

I am trying to perform real-time background subtraction in j2me and I need to separate the video taken by the camera to frames. However, when I try the getSnapshot() function, it can only allows 5000ms interval. I cannot use 1000ms. Are there other ways on how to do this? Thank …

0
62
Member Avatar for cmsc

Can QT be used in creating an application for Nokia N90? If yes, Which would be better to use, Symbian C++ or QT? Thanks!

Member Avatar for peter_budo
0
57
Member Avatar for cmsc

I get this error : [QUOTE]Warning: Failed to initialize WMA message routing support[/QUOTE] when I run my J2ME program in eclipse. I used the sample apps from WTK. it runs in Java (TM ) ME Platform SDK but when I import it eclipse the mobile phone will appear then disappear …

Member Avatar for peter_budo
0
118
Member Avatar for cmsc

When I run my J2me project on my computer, the mobile phone device appears then two options appear. I select Install Application -> Launch. Then it will ask for a path [[url]http://][/url] Where can I get that path?

Member Avatar for cmsc
0
139
Member Avatar for cmsc

is it possible to insert images in pop-up balloons using javascript? i found codes inserting texts in balloons and i wonder if it is possible with images.

Member Avatar for Airshow
0
59
Member Avatar for cmsc

hello! i need to make this program that lets the user input like for example 99 then the program will output 'c'. i don't know how to start. but i thought about getting the first 9 first, then subtract 30h, the multiply it by 10. afterwards, add the other 9, …

Member Avatar for Goalatio
0
4K
Member Avatar for cmsc

I was wondering if it is possible to subtract 30 from 4ah? i thought so i can convert the ascii character 'C' to hexadecimal '43', i will just subtract 30h from 43h, then add 30 so it will become 43 again and i will be able to perfrom arithmetic on …

Member Avatar for cmsc
0
186
Member Avatar for cmsc

we were asked to make a program that adds two digit numbers. I was ableto scan and add the input numbers but I have trouble doing the 'carry' part. i can't divide the sum of the ones place integers by ten. what's wrong with this code? : [CODE] mov al,bl;move …

Member Avatar for cmsc
0
206
Member Avatar for cmsc

for example I have this file named 'bst.h'. do i need to compile it so i will be able to use it? what do I need to write in the terminal to run my program? thank you very much.

Member Avatar for Saravanan5
0
71
Member Avatar for cmsc

i have this program that should print first name, middle name and last name. it almost works, but when I print strings, weird characters appear. I don't know how it's called, but instead of strings appearing, those characters appear. does anybody know why? I included parts of my program here: …

Member Avatar for cmsc
0
89
Member Avatar for cmsc

aside from itoa function, is there any other way to convert a string to an integer? itoa function won't work in my compiler.

Member Avatar for cmsc
0
78
Member Avatar for cmsc

i have this structure : [CODE] typedef struct nodetag{ char *employeeNumber; name mName; birthday bday; char *address; char *rank; int salary; hireDate *hdate; }*node; typedef struct nodetag1{ char *month; char *date; char *year; }birthday; [/CODE] but I don't know how to access the month in bday. i tried using node1->bday->month …

Member Avatar for cmsc
0
85
Member Avatar for cmsc

I'm trying to run this code in cygwin 1.7 but i get segmentation fault when I choose to search. I tried this in cygwin 1.5 before but it works. does anybody know the reason why it won't work in cygwin 1.7? here's the code [CODE] /**************** Rachel Perono running BST …

Member Avatar for Tellalca
0
115
Member Avatar for cmsc

i'm trying to redirect using javascript. I wonder, can I use my own file when redirecting? like for example, I made a sign-up form which validates the input, then if the form is already valid [which means every field is filled up] it will redirect to a page I will …

Member Avatar for Traevel
0
78
Member Avatar for cmsc

please help me find the error in this code. whenever i try to get the successor, the program gets the status access violation error. i think it's the parameter. i try using the minimum function outside the delete and it works. but when i try it inside the delete i …

Member Avatar for cmsc
0
195
Member Avatar for cmsc

if I have this code : [CODE] # node* search2(node **root, int val){ # # node* temp = *root; # if(temp -> value == val){ # printf("found!\n"); # printf("ang root nfaun ay nasa : %d \n", temp -> value); # printf("dapat tigil na."); # return temp; # } # # …

Member Avatar for Nick Evan
-1
96
Member Avatar for cmsc

i am making a binary search tree, but when i use some functions and return their values, i get an error when i have to print those values. i don't understand why. please help. [CODE] #include<stdio.h> #include<stdlib.h> #define N 10 typedef struct nodetag{ int value; struct nodetag *left; struct nodetag …

Member Avatar for cmsc
0
175
Member Avatar for cmsc

I'm trying to make a calculator in javascript. The buttons are already working, but I don't know how to separate the first input from the second input. We're not allowed to use global variables so I can't use the "flag" thing. please help, here's my code so far. thanks! [CODE] …

Member Avatar for cmsc
0
155
Member Avatar for cmsc

I want to make a dynamic array. but when I view the array, I think there's something wrong with the index part. Please help. Thanks! here's my code: [CODE] #include<stdio.h> main(){ int* a; int number; int choice; int index = 0; int head; while(choice!=4){ printf("\tMENU\t\n"); printf("[1] add number to array\n"); …

Member Avatar for cmsc
1
88
Member Avatar for cmsc

I have this linked list. I am sorting the names of the contacts. The head and middle insert part are already working, but when I need to insert in the tail part, the program won't continue, I don't know why. Please Help. Thanks! here's the code : [CODE] #include<stdio.h> typedef …

0
69
Member Avatar for cmsc

I made a game for my project. it contains two levels and a welcome screen. The problem is I cant go to the other panels. I tried using cardlayout. but since my panels are in different classes, I don't know how to do it. Please help. here's part of the …

Member Avatar for cmsc
0
117