199,114 Archived Topics
Remove Filter ![]() | |
Can anyone help me to solve the problem, i want to pass the parameters between the javascript and asp. [html]<SCRIPT type="text/javascript" LANGUAGE="JavaScript"> <!-- function startWord(par_1) { var oShell = new ActiveXObject("Shell.Application"); var commandtoRun="C:\\Karan\\Automation.exe"; oShell.ShellExecute(commandtoRun, commandParms, "", "open", "1"); } //--> </script> </head> <body> <form> <input type="text" name="par_1" value="123"> <input type="button" … | |
Hello, currently I'm enrolling in college and I'm undeclared. I read up a few posts on these forums to take a look into them but I figured I would post myself to get feedback. My main goals are as follows: - Have enough programming language knowledge to do the following: … | |
Hello ladies and gents, Ive downloaded the first four PSDK-FULL files and wanted to install these, but I don't know how exactly to do so. I tried to use winzip and extract them, but keep getting an error that says, failed to launch file: C\Documents and Settings\Johan Berntzen\Local Settings\Temp\install\setup\PSDK-x86.msi I … | |
Hi, I am working on a project that finds of the data cache behavior of a given c program containing loops. It calculates the cache hit ratio. Anybody having realted code please post it | |
hi, i was wondering if someone can help me. i am trying trying to convert a string containing aA into a bigInteger Value. i've read about it but have no idea how to implement it in java. thanks in advanced, K ![]() | |
hi, i am a student and need your help. i have an assignment from my teacher... the requirements are start the game... a menu to select the level of the game..4 eg. easy,medium,expert. on each level the number of treasure spots are decrease bt the value of treasures apots increases... … ![]() | |
Hi, I need help in solving Incomplete Gamma Function. does neone has a java code to crack this problem.Pls help.I will be highly thankful. Thanks and kind regards, Rahul Gupta. | |
After entering 8 names,phone numbers,and birthdays. A list appears at the bottom of the console which is suppose to display name,phone number, and birthday. Well with this code the name shows up so does the phone number,but the birthday doesn't show . Can someone help. Thanks for(x = 0; x … | |
I've been working on this program all day and I'm so lost please help! I need to have a class that uses a 40 element array that has predicate function IsEqual, IsGreaterThan, etc and with member functions input, output, add, subtract. Is there anyway I can make this code smaller? … | |
How are functions returning reference used?? Do they return values on the left side or the right side of the assignment. I would be glad if I could get some help. Thanks, comwizz. | |
im trying to make a table using askii art thats changed when the dimensions of the array are changed. i have been playin it for like 2 hours and i cant figure it out, here is was i have so far. my definitions [CODE]#define M char (197); #define U_L char … | |
Two questions here, the first is whether the following error refers to the command exceeding 60 seconds or the whole page taking over 60 seconds to execute. "Fatal error: Maximum execution time of 60 seconds exceeded in /***/panel.php on line 35" The code is as follows. [PHP] <html> <head>Text</head> <body> … | |
[COLOR=Green]1 John US [I]1234.00[/I] 2 Jessica Alba United Kingdom [I]23789.00[/I] 3 David UK [I]12.00[/I][/COLOR] Suppose i've this data in my txt file. How am i going to scan the file to get the deposit field(the one in italic) for each user? Thank you... | |
Hey guys, I am in the process of a program that counts integers I can do this by looking for the int keywork and then incrementing a variable although if an integers are implemented as: int j,k,l; I am not sure how to count this as 3 ints, I know … | |
:?: [CODE]#The number of lines, and the number of words. import string def main(): data = raw_input("Enter the path and name of your ") infile = file(data, 'r') data_file = infile.read() number_of_characters = len(data_file) print "The number of characters in your text is", number_of_characters list_of_words = string.split(data_file) number_of_words = len(list_of_words) … | |
Hello.. I've a question. Let say i've this in my txt type file with id field, name field, address field and deposit field :- [I]1 Jessica Simpson United Kingdom 5687.900000 37 Jennifer Anniston United States 7659.000000 4 Brad Pitt United States 87549.000000 9 Mike Shinoda United States 999865.000000[/I] How can … | |
getting the follg error after installing tomcat5.0, jre, j2se and ms-access HTTP Status 500 - type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception org.apache.jasper.JasperException: Unable to compile class for JSP org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:97) org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:346) org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:414) org.apache.jasper.compiler.Compiler.compile(Compiler.java:472) org.apache.jasper.compiler.Compiler.compile(Compiler.java:451) org.apache.jasper.compiler.Compiler.compile(Compiler.java:439) org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295) … | |
Hello guys. I'm capturing the keyboard input using the class below. And I have no problem doing that. What I wanna ask is how to understand if a key is pressed, released or being pressed. Let me explain more... When ever any key is pressed the member function GetData() returns … | |
I need to design a GUI based on PyAUI. Do anybody have sample codes or tutorials that show the working of PyAUI. | |
Hi, Im writing a program that takes screen shots at user determined intervals for a number of seconds (that way you can change frame rates), after each screen shot a new MDI child is loaded and the picture placed inside the image box on the form. When the set number … | |
Hi everyone... I have a workshop of asp.net in my college on saturday. I am interested in atending it .. so can anyone just give me basic details of asp.net... what is it.. what to use for.. practical uses.. i know nothing about i :?: t...so please if you can … | |
Im getting this error... Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /hsphere/local/home/mlongcos/cosdonline.org/conferences/register_05.php on line 155 Cant figure out why this isnt working... somebody please help! The file is attached | |
Hey there all. I've got this assignment (due next Monday!) and I haven't made much headway into it. It's horrible becuase I usually have some idea about how to go about solving the assignments. (If you've read it through already) So far, all I've managed to do is create a … | |
I will start my query with an example. In reverse phone check in 411.com, the link is [url]http://www.411.com/10668/search/Reverse_Phone?phone=770-399-9110[/url] and so I can add a Textbox in Visual Basic and get the phone number from the user and use a web browser to search the phone number without having to go … | |
In C you can declare a function like this int average( int first, ... ) Where the ellipses denote a variable argument list. If I have a function like that in a c++ DLL and I want to link a Visual Basic GUI to it, how would that function be … | |
Hey everyone, I have this really weird problem with Visual Studio .Net. If I add some breakpoints here and there on some pages and then run my app., the breakpoints move to some other lines (not always lines with code, and breakpoints dont span the same length as the code). … | |
OK well ive been trying to get this..and its just not working the way it should work.... :cry: The this is i got the cin in there...to put the input up in the code but it wont find where the addreess is....like i should be able to say...Erics address is?...and … | |
I must be missing something here. I am having trouble when I try to get an input. The numbers work fine, but once you get the correct answer, the area: [CODE]void tryanother() { char yorn; printf("Would you like to try another one? (y/n)\n"); scanf("%c", &yorn); if (yorn == 'y') getnum(); … | |
how do you make a button so when clicked it makes all the info you typed in the form of a java/netbeans program, and it emails the info to a specific email address? i know im a newbie at this :o | |
i try to make a select table with condition now such as; <? ... $res = $conn->Execute("SELECT ID_SKENARIO,DATE_I FROM T_SCENARIO WHERE DATE_I = NOW"); While(!$res ->EOF) { echo $res->fields[0]; } ... ?> what is the right synta for condition date is now ? please help me... :sad: | |
i have a computer science project for which i am recreatin the game of hangman as "classmate" here is my code the problem is that the correct guess of the name is not shown as "you won" somebody please run this code and help it is done in tc++ so … | |
Hey guys, I have the following two pieces of code and I am trying to combine them so it will say if hello is found and it is at the start or the prevous character is whitespace then add one to the count but when i try to combine these … | |
please send me a program of SRTF using c++, using linked list... i'm realy spending days trying to do it but i cant get it right so i need a basis for me to do it my own.... | |
hello, i have copied parts of it from the book, am not allowed is there anyway someone can chage as much as there can, and try and get rid of ASC, is there another way of doing it, without ASC, OR ASCW, please someone help, please nicky Public Function Zeichen_OUT(Zeichen … | |
Hey Guys I am looking, (with hardly any prior experience; some unix scripting knowledge), to write a Time Record program, which keeps track of how long people spend on each tasks. This may incorporate some Billing aspects at Version 2. I am willing to learn all the programming aspects required, … ![]() | |
I have designed a vb program and now i want to pass parameters from outside application to vb. what should i do?? | |
I messed with C++ my first year in programming, and now as an AP student its all Java focused. As I want to be a game programmer I decided to get back to learning C++ because I've heard its often used. So, I downloaded Bloodshed Dev-C++, which was reccomended by … | |
#include<iostream.h> class rectangle { protected: int lenght,widht,height; public: rectangle(){lenght=0;widht=0;height=0;}; void seta(int lenghti); void setb(int widthi); void setc(int heighti); int getlenght(); int getwidth(); int getheight(); }; class box:protected rectangle { private: int length,width,height; public: rectangle(){length=0;width=0;height=0;}; void setlenght(int lenght); void setwidth(int width); void setheight(int height); int getlenght(); int getwidht(); int getArea(); int … | |
I need to write a program that takes in the values to a 4x5 two dimensional array of integers,then searches the array for values that are less than 0(zero)and displays these values along with there row and column indices.. Anyone have any ideas...newbie | |
[CODE]import sys def main(): usage = 'Usage: %s [options] <file name>\n' % sys.argv[0] options = 'Options:\n' options = options + ' -c, --chars print the character counts\n' options = options + ' -l, --lines print the newline counts\n' options = options + ' -w, --words print the word counts\n' usage … | |
ok im stuck here atm...what im trying to do is to have the program compile to run in windows..and i have to type in the name...and the program goes into the database and finds the address and puts it onto the screen...just like an address book.. So heres my code..anyone … | |
import sys :o def main(): usage = 'Usage: %s [options] <file name>\n' % sys.argv[0] options = 'Options:\n' options = options + ' -c, --chars print the character counts\n' options = options + ' -l, --lines print the newline counts\n' options = options + ' -w, --words print the word counts\n' … | |
my program runns but it isnt coming out right, i need to have on the left side my input*.01*cash and on the right side the chas sequencing 1-20 the problem is the cash numbers are counting more than once before going on to the next number for example: 1 1 … | |
Hi, I want to write a function that coverts a double number into its rational form. For example if the input number in 4.33 I must get numerator = 433 and denominator = 100. Here is something I tried, it doesn't work because of floating point inaccuracy : [code] void … | |
hello everyone ı have a problem with writing the program #include <stdio.h> int main(void) { char desiredgrade; double score; double currentaverage; double weight; printf("Enter your desired grade"); scanf("%c,&desiredgrade"); printf("Enter your current average in the course"); scanf("%f,¤taverage"); printf("Enter the final exam weight\n"); printf("as a percentage of the course grade"); scanf("%lf,&weight"); if … | |
hi, i can figure out why this program keeps counting up the cash variable more than once when i run it, like it'll be 10 10 10 10 10 11 11 11 11 11 and the percentage numbers have the letter "e" at the end of each percentage... just seeing … | |
I have an Amusement Park Problem in C++ > Category > Children > Price $2.00 > The first child is always free > Category > Youth > Price > $8.50 > For every 4 tickets in this group one person is free. > Buy 4,get one free > Category > … | |
> Write a C++ program having a recursive function recursiveMinimum that takes an integer array and the array size as arguments and returns the smallest element of the array. The function should stop processing and return when it receives an array of 1 element. #include <iostream> int recursiveMinimum(int[], int); int … | |
Word Count. A Common Utility On Unix/linux Systems Is A Small Program Called "wc." This Program Analyzes A File To Determine The Number Of Lines, Words, And Characters Contained Therein. Write A Version Of Wc. The Program Should Accept A File Name As Input And Than Print Three Numbers Showing … | |
im not sure how to write an assignment operator for a 3d array this is what i have bit i know its wrong [CODE]Cells& Cells::operator= (const Cells& cells) { resetSize(cells.DEPTH, cells.ROW, cells.COL); for(int d=0; d<DEPTH; d++) for(int r=0; r<ROW; r++) array[d][r] = **this for(int c=0; c<COL; c++) array[d][r][c] = cells.array[d][r][c]; … |
The End.