199,114 Archived Topics
Remove Filter ![]() | |
I was wondering how to change a url in javascript for example if i wrote an address [url]www.google.ei[/url] How would i get the script to change the address to [url]www.google.ie[/url] | |
Working on creating a matrix with given paremeters and then solving the matrix. The matrices A and C come out just fine, but there is a seg fault when I try to run the lud files. Can anyone help? Thank you very much! [code] #ifdef HAVE_CONFIG_H #include <config.h> #endif #define … | |
I'm working on a page that needs to do some calculations based on values that the user inputs via sliders. I can get the values selected to display in a text box below the slider, but I also need to store the value as a variable for use in calculations. … | |
assistance with the following code: 1. package triangleMod; 2. import java.awt.Dimension; 3. import java.awt.Frame; 4. import java.awt.Point; 5. 6. import javax.swing.JFrame; 7. 8. 9. public class Main extends Frame{ 10. 11. static Point a; 12. static Point b; 13. static Point c; 14. static Triangle tryAngle; 15. static JFrame frame; … | |
Hello, I am new both to here and to Python. This is my first attempt at writing an actual code in Python 3; I've run into a problem with my class declaration, however. It may be a glaringly obvious problem, but it's not to me, so hopefully someone might spot … | |
Hi all, i have a table, it will store millions of rows, corresponding to raw byte sequences from many sources. I´m thinking on using for primary key two options: 1- Columns: (source_id, date, data) and PK = (source_id, date) 2- Columns: (id, date, data) and PK = (id) The sources … | |
Hi All, I need to create a user control having a label and button. The label text size can be different, When the text length is greater the user control must autosize the label as well as the button(button size is fixed). My issue is when the label text is … | |
[CODE=Java] package ce.ass2; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.util.logging.Level; import java.util.logging.Logger; import ce.board.Board; import ce.board.MoveData; import java.awt.Color; import javax.swing.JButton; public class TickerBean extends JButton implements java.io.Serializable{ int timeDelay=500; private LifeBean lb=new LifeBean(); private Board tickerBoard; private javax.swing.Timer t = new javax.swing.Timer(timeDelay, new ActionListener() { public void actionPerformed(ActionEvent e) { try … | |
Hi guys, Is there any special method in c++ called get and which doesn't require instantiation? I'm investigating a c++ code and a found this method ((!h264Decoder.get() || !params.get() || !in.get() || !out.get() || !splitter.get() || (!color && !No_CC_Flag))) When i tried to find this method, I couldn't find it. … | |
Hi, how can i open and show a folder in windows using C#. like after complting some task i want the app to open the particular folder and present it to the user. like we open any folder by double clicking on it. I want to do it the same … | |
I was wondering if its possible to watch a folder and move the files each time there modifed so it would have to be running all the time. I am still very new to all this and any help would be apreciated before i start wasting time on somthing thats … | |
Well, once again, hello. I'm trying to figure out why when i use 2 cin.getlines after eachother it skips one of them and I cant use it. Take a look if you will: [CODE] void Join() { char* Username = new char[255]; char* Password = new char[255]; ofstream DataBase("DataBase.txt", ios::app); … | |
How would it be possible to disable the closebutton(X) in the upper right corner of the form. I dont want to use this property because it takes the minimize and maximize button away also. [code] ControlBox = false; [/code] The only thing I will need on the form is the … | |
Hi all I'm having trouble using panels in a GUI. I created panels for steps through a programme. Like when you're installing something, you click "Next" and the GUI switches to the following step. So for each of these steps, I've created a JPanel. But I was wondering, how can … | |
Ok, so this question spans from the typical "Math is/not needed for software engineering" I do believe that math is at least partially important, but I have to admit that i know pretty little of it... So i was wondering if there's any math-applied-to-software engineering-kind of book out there I … | |
Hello, I've been struggling with a problem for a while now. I'm trying to print out information which is contained in a binary file. This what I get when I open it in notepad. [CODE]Marjorie Gestring D201 ð¿ ð¿ ð¿ ð¿ ð¿ Patricia McCormick D202 ð¿ ð¿ ð¿ ð¿ ð¿ … | |
I am trying to read a line from the command prompt and output that line to a text box in my C# application. The only catch is i can't seem to get it to read a line at a time and display it in the text box as the command … | |
Hi, Don't know why but i always seem to mess my, mysql querys up somewhere, usually silly things like quotes etc. The code below, i have a problem. Basically when user gets an email they click the link and they are taken to a page where they can change there … | |
![]() | Dear All, I'm starting a new project and would like to know where can i get some IT books on antivirus and network programming. Is there some basic source code for antivirus software? where can we get the list of viruses, trojans, malware so that to remove them on the … |
Hi Guys, I need your help again. There is a project I'm working on for my job attatchment. It requires that I use a progress bar to show the progress of the file I am currently uploading to the database. The program's code also contains a line counter which counts … | |
Hello, I am working on the problem. Here is the wording: 6) Specify, design and implement a class that can store an array of integer. The number of Maximum element can be 100. Write methods to : a. Add an integer at the beginning of the array b. Add an … | |
I have just recently begun programming, and am learning Pascal as my first language. In my class, the teacher doesn't have huge amounts of time, so I thought I would research this online. Converting arabic (normal) numbers to roman numerals is a part of a project that we are working … | |
Hey, Kinda new to this, and trying to assemble some simple code, but I'm having a couple of issues that I hoped someone would be able to help me out with. 1) I would like to be able to remove duplicates from a submitted sentence, leaving only the first occurance … | |
I've got a Frame Object that creates all the GUI for my program, and I'm trying to call it in my main function and send it some arguments to use. However, I cant figure out where I need to add them into the object so that it will except them … | |
i have listbox 1 which displays status , based on selection of status listbox 2 displays usernames. and based on username selected the textbox displays the email id. its working fine till displaying user names in listbox 2 based on selected of status in listbox. but its not displaying the … | |
I am passing a dynamically sized 2D array into a function. How would I be able to tell the row size and column size the array. I know I can do this to find the total number of elements in the array: [CODE] foo(const _T ***m_data) { int dataSize = … | |
hi, One of my freind is asking for bpsk modulator and demodulator. It's out of my domain knowledge and i'm not sure what is it about. Can you refer to some C language example codes of the above. will appreciate your quick reply thx | |
I'm working on a program to upload some files to an ftp. I created a thread the starts the upload when the upload button is pushed. When the upload button is pushed the GUI freezes because it is uploading. What change would I have to make to get the GUI … | |
Hello, I was reading a book and it says that when we want to add new Node that is not in the Head we have make a selection i.e. selection.addNodAfter(element), before we initiate our method. The question is where do i have to do this "selection"? in my main or … | |
Hi, I've wrote a small application which browse a folder and rename the files within that foldrer. However if the folder more then 500 files then the app tends to take a while to process. I somehow or the other needs to show some sort of text displaying "processing..." or … | |
Hi guys, I am a newbe in vb.net. Started doing a little project recently. What I want to do is imagine I have a tab delimited file. then that file will have lines no longer than 800 chars. What I need to do is split the file in two parts. … | |
I have code that is giving me the following errors The best overloaded method match for 'EstimatorC.EstimatorDataSet.QuoteCalcHeaderDataTable.this[int]' has some invalid arguments E:\VisualStudioProjects\EstimatorC\EstimatorC\Estimate.cs 1653 13 EstimatorCArgument '1': cannot convert from 'string' to 'int' E:\VisualStudioProjects\EstimatorC\EstimatorC\Estimate.cs 1653 46 EstimatorC Code: private void findBN_Click(object sender, EventArgs e) { string aFilter = ""; ////Search name … | |
Hellow all, I want to ask a question about making quiz script with PHP if I have an array like this : [ICODE]$pet = array("angora","bird","chipmunk","dinosaurus","eagle","finch");[/ICODE] and I want to make a question like this [B]Do you have angora ? oYes oNO [COLOR="Red"]|submit|[/COLOR][/B] when user click "submit" button, then it will … | |
I need to use recursion to find the largest int in an array. What I have so far is [code] #include <iostream> using std::cout; using std::endl; int maxArray(int anArray[], int size); /** *The main method * *@param myArray[] The array we are searching * *@param sizeOfArray The size of the … | |
//Write a function: int max(int list[], int n) that recursively finds the largest integer between list[0] and list[n]. Assume at least one element in the list. Test it with a main program that takes as input an integer count followed by that many values. Output the original values followed by … | |
please can anyone tell me how to plot a graph in c++. in input i am having values in two dim array. i want output in the form of points.on the screen. | |
How do i sort a vector based on the frequency of its elements example my vector contains 10,11,12,10,11,13,11 i need to get the sorted out put as 11,11,11,10,10,12,13 the normal sort is sort(vec.begin(), vec.end()); how do i sort it in that way | |
Dear All, I wrote a program in C# to start the powerpoint slide show using example of [url]http://support.microsoft.com/kb/303718[/url] . I wanted to update the content periodically using this C# program when the slide show is running. The content is an excel table. However, the content does not change. Anyway to … | |
Hello, This is for an assignment I have to do, I have completed most of it just can't get one part to work correctly. The assignment is: The TextFieldLoader class will have only one constructor and MUST accept the following parameters only: 1. filename (const char *) that will be … | |
Hi, I want to Compare & count elements in array?? suppose in my array $arr={140,123,34,140,23,123,140,140,123} I want to display like 140 - 4 ( comes in array 4 times) 123 - 3 34 - 1 23 -1 How to do this?? | |
I am fairly new to Python, but trying to make a poker game. How do I determine the winner? I have 'scored' the hands 1-8, and given sub-scores for the high card, but how do I compare the scores of 4 players and then in the event of a tie, … | |
Is there any way to check if the script is being run in the Windows command line? | |
Please I will like to know how to use array with radio button. There are 3 radio buttons and they all contain certain number. When 1 is selected, then it will show the amount. | |
html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Validation Page</title> </head> <body onload="document.validate.name.focus();"> <div align="center" id="validate"> <form action="validate.php" method="post" name="validate" runat="server" title="This a validation form" > <table width="200" border="1"> <tr> <th scope="row">User Name </th> <td><label> <input name="name" type="text" id="name" /> </label></td> </tr> <tr> <th scope="row">Password</th> <td><label> <input name="psw" type="password" id="psw" … | |
hi , actually i am developing a web application in asp.net using c#. i have come across a requirement to read a excel file without going to the server . i need to use javascript for the same. so i need help on javascript function to read from excel file. … | |
hi there! im having a problem with making an order form. i want to display the products from a database and beside the product names, the customer could enter the quantity he wants to order. when the submit button is clicked, there comes the error. im a newbie in php … | |
:?: HI Guys...:'( can anyone of you knows how to make a quick qoutations.. By the way i'm mark a newbie in programming..and here's my problem.. i would like to create a quick quote for my project that can solve a simple mathematical quotations..like for example when you enter your … | |
hello, I am using visual web developer 2008. Here i want to use two menu which gets data from sitemap. In First SiteMap,I am having Home,Friends,Profiles and it is showing correctly in the first Menu. But in the second SiteMap i am having Social,Contact,General and when i try to choose … | |
Hi i have this code below i am encountering that my int a,b; got error because they are delcare in private. but the code turn out fine if i delcare them in public. is there anyway i can make them remain in private. i think need to use reference or … | |
Okay heres the problem i have stored Phone numbers from a check box into an array i want to replace #NUMBERS# in the String URL with a value from the array numbers[] example : number[1] = 0000 Before: url:[url]http://www.sendmessgae.com/send?#NUMBERS[/url] After: url:[url]http://www.sendmessgae.com/send?0000[/url] [code] String url = "http://www.sendmessgae.com/send?#NUMBERS" for (int i = … |
The End.