199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for _Nestor

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]

Member Avatar for itsjareds
0
202
Member Avatar for gimst19

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 …

Member Avatar for Stinomus
0
187
Member Avatar for jools68

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. …

Member Avatar for itsjareds
0
117
Member Avatar for codeman01

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; …

Member Avatar for llemes4011
0
134
Member Avatar for wavefront

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 …

Member Avatar for wavefront
0
138
Member Avatar for Jarmok

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 …

Member Avatar for bigakis
0
112
Member Avatar for anish.anick

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 …

Member Avatar for Diamonddrake
0
82
Member Avatar for C41R0

[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 …

Member Avatar for quuba
0
127
Member Avatar for miskeen

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. …

Member Avatar for miskeen
0
95
Member Avatar for shazzy99

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 …

Member Avatar for ddanbe
0
177
Member Avatar for willrose84

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 …

Member Avatar for Teme64
0
110
Member Avatar for Deme

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); …

Member Avatar for Deme
0
212
Member Avatar for Lukezzz

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 …

Member Avatar for Lukezzz
0
295
Member Avatar for K?!

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 …

Member Avatar for BestJewSinceJC
0
134
Member Avatar for Undream

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 …

Member Avatar for BestJewSinceJC
0
140
Member Avatar for ganmo

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 ð¿ ð¿ ð¿ ð¿ ð¿ …

Member Avatar for ganmo
0
128
Member Avatar for DevC++4.9.9.2

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 …

Member Avatar for DevC++4.9.9.2
0
1K
Member Avatar for genieuk

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 …

Member Avatar for genieuk
0
108
Member Avatar for Dilbert137

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 …

Member Avatar for tux4life
0
120
Member Avatar for kemarS

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 …

Member Avatar for daviddoria
0
132
Member Avatar for grisha83

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 …

Member Avatar for hardik.rajani
0
372
Member Avatar for debuggger

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 …

Member Avatar for FlamingClaw
0
1K
Member Avatar for CommanderOne

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 …

Member Avatar for woooee
0
137
Member Avatar for Deman

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 …

Member Avatar for woooee
0
157
Member Avatar for angelic_devil

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 …

Member Avatar for angelic_devil
0
104
Member Avatar for Talguy

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 = …

Member Avatar for Narue
0
3K
Member Avatar for shazzy99

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

Member Avatar for jephthah
0
397
Member Avatar for functionalCode

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 …

Member Avatar for BestJewSinceJC
0
113
Member Avatar for grisha83

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 …

Member Avatar for BestJewSinceJC
0
123
Member Avatar for shazzy99

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 …

Member Avatar for shazzy99
0
120
Member Avatar for mem81

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. …

Member Avatar for mem81
0
107
Member Avatar for MJV

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 …

Member Avatar for JerryShaw
0
134
Member Avatar for sangdedi

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 …

Member Avatar for somedude3488
0
672
Member Avatar for JaksLax

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 …

Member Avatar for payara111
0
7K
Member Avatar for anga08628

//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 …

Member Avatar for payara111
0
171
Member Avatar for omarzia88

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.

Member Avatar for farag
0
144
Member Avatar for newcook88

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

Member Avatar for newcook88
0
163
Member Avatar for geossl

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 …

Member Avatar for Ramy Mahrous
0
118
Member Avatar for kenji

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 …

Member Avatar for tux4life
0
100
Member Avatar for Aamit

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??

Member Avatar for BzzBee
0
110
Member Avatar for txwooley

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, …

Member Avatar for txwooley
0
344
Member Avatar for tomtetlaw

Is there any way to check if the script is being run in the Windows command line?

Member Avatar for _Nestor
0
65
Member Avatar for bobos051

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.

Member Avatar for bobos051
0
79
Member Avatar for sidrules1984

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" …

Member Avatar for BzzBee
0
153
Member Avatar for Poojasrivastava

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. …

0
114
Member Avatar for otreborid

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 …

Member Avatar for BzzBee
0
87
Member Avatar for markx_018

:?: 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 …

Member Avatar for BzzBee
0
107
Member Avatar for bharanidharanit

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 …

Member Avatar for bharanidharanit
0
277
Member Avatar for xiaojesus

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 …

Member Avatar for Sky Diploma
0
89
Member Avatar for osirion666

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 = …

Member Avatar for hardik.rajani
0
139

The End.