199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for baby_c

Hey friends ..I need a help.. I want to know that to learn oop concept is RUBY language good...? we have to choose between RUBY and OCAML. Please can anyone explain a bit..Thanks in advance

Member Avatar for jwenting
0
104
Member Avatar for dywlkr365

I've tried searching my problem with no success...Can anyone help me fetch a password from the jpasswordField, encrypt it , store it to the database then decrypt back for login validation

Member Avatar for jwenting
0
221
Member Avatar for Japus

Hello I'm wondering when it is best to use reflection to call a method instead of defining and using an interface. I guess using the interface will be faster but what are the advantages of using reflection? The program I'm creating is a GUI which should support mutliple views ([URL="http://en.wikipedia.org/wiki/Model–view–controller"]Model …

Member Avatar for jwenting
0
627
Member Avatar for manish250

hi all I am new to web services.I want to know how to extract the java file from the given WSDL in which i have https based URI. please suggest

0
154
Member Avatar for ayagi
Member Avatar for ninjatalon

I have a form let's call it Form1 that calls another form(Form2) Form2 to has a bit a code that needs to load in the LOAD_EVENT and takes about 4 seconds. I have made a new form(frmProgress) that only has a progress bar. I want frmProgress to show up and …

Member Avatar for codeorder
0
3K
Member Avatar for pxndx

Hey everyone, i have a project i'm doing for school and i need some help, i'm not a big VB fan (i'm more into java) and i have to make a calender with combo box, numericUpDown a clock and 3 numericUpDowns for hour min and seconds, i would appreciate any …

Member Avatar for pxndx
0
154
Member Avatar for dalip_007

Hey guys I am getting a random number using built in function in a given range of number, like between 300 to 10000. but i want to make sure random number should not be repeated, e.g. if rand() function has output 305 once, it should not come again, for this …

Member Avatar for urtrivedi
0
158
Member Avatar for kained

On Thursday the [URL="http://www.theregister.co.uk/2010/09/17/eu_cookie_law/"]EU law[/URL](which the uk has passed verbatum) regarding cookies comes into effect. From my reading of it, any site that has among other things google analyitics present on it, will need to inform the user that cookies are present on the site, refer them to the sites …

Member Avatar for edwinhermann
0
211
Member Avatar for ninjatalon

I have to make a lot of retangular boxes to make my program neat but i'm having a problem of adding boxes. I tried using the draw event in the tab page but everytime i scroll it will draw the lines again and messes up everything. Also when making a …

Member Avatar for ninjatalon
0
166
Member Avatar for virendra_sharma

Hi i have c# code for to sort text file using quicksort algo, but the problem is that i can sort only upto 300MB , after that system get hang . i want to sort 1GB to 5GB text file. can anyone plz help me . here is the code …

Member Avatar for pseudorandom21
0
1K
Member Avatar for Whilliam

Hello guys, I have this school project. There is one aspect that I'm not sure of. So, here's the project description. The project is chatting. Well, you know how chatting works. When I type a message, that message will appear on the other person's computer. Anyway, the part wherein Im …

Member Avatar for maxlipman
0
103
Member Avatar for PinoyDev

Hi guys! This is a continuation post of my last thread regarding login with session..Now the main task is, the login form is now driven with Fancybox.. What i need to know is how to let the fancy box check/compare the value on mysql table if the username & password …

Member Avatar for PinoyDev
0
484
Member Avatar for monsterbb1

I WAS WONDERING IF SOMEONE COULD HELP ME MOVE THE JTextField above all my buttons like a normal calculator. Also, after this I don't know how to connect the basic calculations to operation buttons. When the user clicks a button the text appears in the textfield but I don't know …

Member Avatar for NormR1
0
260
Member Avatar for Inny

Hi there, firstly I want to disable this part of an epic script. I dont want anything to happen onclick. [CODE]function checkOnClick(e,n){ window.open('http://www.camosreptiles.com.au/','_self'); return ;[/CODE] I tried making the bit at the end return false; but it had no effect. If I cannot do that, I need to fix a …

Member Avatar for Airshow
0
231
Member Avatar for cannadawoot

Got some problem... This code populates an 2d array and then adds it to an arraylist (all) It runs 3 times and each time the array place gets different values. But if you look in arraylist all, the arrays got same value because they point to each other. If I …

Member Avatar for cannadawoot
0
192
Member Avatar for majorawsome

I am just begining XNA and I am trying to do a 2D game but one of my pictures(Textures, Sprites, what-ever-you-call-it) won't load. I tried renaming it but still it doesn't recognize it. at first i thought it was hiding so I made the picture white (Because the background was …

Member Avatar for majorawsome
0
152
Member Avatar for ninjatalon

I have a database with a table called BREAKFASTMILK Inside the table I have Two Columns named MENU and FOOD ITEM when using this code if I change the index of one of comboboxes it will change the index of the other. I want to keep both independent but get …

Member Avatar for ninjatalon
0
98
Member Avatar for tasu

i have a button and when it is clicked i want it to open a new form in netbeans. how do i do this...???

Member Avatar for StormHawk
0
80
Member Avatar for Labdabeta

This is a conversion question that has me stumped. I need to convert an unsigned char to a signed float. Some examples: 0xFF becomes 1.0f 0x00 becomes -1.0f 0x80 becomes ~0.0f The only idea that I could come up with was a massive switch statement. But a switch statement will …

Member Avatar for ddanbe
0
351
Member Avatar for becool007

Hey guys, I am making a Java program where it runs on a library. This library classifies my program as a script. So basically, I am scripting. Now I want to make various scripts, but I want them all to have the same layout so that I can have the …

Member Avatar for NormR1
0
111
Member Avatar for Behseini

Hi, Gribouillis, helped me to understand how to invoke a function by btn click event handler, at my last post.Now I am trying to understand how I can handle an selected item event from a list box? lets say I have a list box like below and I want to …

Member Avatar for Lardmeister
0
9K
Member Avatar for snipermann

Hello I am working in my study with xml file therefore I want to read an xml file with c++ to get the information such the coordinates of the points in order to use them later. I have written the following code, but [U][B]I have just taken only one value[/B][/U]. …

Member Avatar for ravenous
0
318
Member Avatar for dyingatmidnight

Hi there, I'm having a problem getting values inserting properly. What I'm doing is inserting values into a table with an auto incremented key, I then use select to return this key and then I want to insert that into a few more relation tables. But its inserting 0 instead …

Member Avatar for cheelee
0
152
Member Avatar for aloyssia

hey guys i have just started to learn java programming language ...i was wondering if i will be able run big java programs from command prompt...what the the advantages and disadvantages of using command prompt for running java programs...is using IDE like eclipse better than using command prompt?...if so in …

Member Avatar for NormR1
0
188
Member Avatar for DanMcNulty

Right, I basically want to develop some desktop-based software in c# .net that will execute simple queries on an sql database. I currently deal with this problem in my job, but it's all web-based, and I wasn't responsible for setting up the database and data context - so as you …

Member Avatar for jfarrugia
0
251
Member Avatar for psuplat

Hi everyone. I started playing around with C# development. As my first project I decided to write a program that performs a simple backup of given folders. In essence it goes through files and folder in source directory and destination directory, and then: if the folder in destination directory doesn't …

Member Avatar for BitBlt
0
1K
Member Avatar for abhi10kumar

An Ajax function is not working ?? [B]selectBatch1[/B] is not replacing combobox [B]1.[/B] [CODE] <?php session_start(); if($_REQUEST['action']=='') $_REQUEST['action']="sp"; if(empty($_SESSION['uid']) && empty($_SESSION['username'])) { $url="index.php"; header('Location:'.$url); } else { if(isset($_COOKIE["PHPSESSID"])) { $uid=$_SESSION['uid']; $username=$_SESSION['username']; } } //DB Connection $con=mysql_connect('localhost', 'tak27310_admin','admin123'); if (!$con) { die('Could not connect: ' . mysql_error()); } mysql_select_db("tak27310_followup", $con); //Pagination …

Member Avatar for diafol
0
143
Member Avatar for souravsikka

Hi, I am working on this curl function.The problem is it is not executing. 1)When we use $URL value directly in browser its working fine & SMS is going to number. 2)When i am trying to call a function having some curl function its not working. Need help. Thanks [CODE]<?php …

Member Avatar for hielo
0
1K
Member Avatar for Purlox

Is there any way of getting input directly from keyboard without it getting written onto screen? I tried the standard O/I functions, but they don't help. I also looked into C libraries, but there wasn't and useful function (unless I missed some). I need only one one key from keyboard, …

Member Avatar for WaltP
0
139
Member Avatar for drewpark88

Hey Guys, I need some assistance if possible. I am using MySQL & PHP, I have an "events" table with a row field called "Users_Attending" and can't seem to figure out the best way to add multiple users to an event rows "Users_Attending" field. I want to store user emails …

Member Avatar for drewpark88
0
147
Member Avatar for NoUserNameHere

[CODE]void SortedNumberList::add(double number) { ListNode *nodePtr, *previousNodePtr; if (head == NULL || head->value >= number) { head = new ListNode(number, head); } else { previousNodePtr = head; nodePtr = head->next; while (nodePtr != NULL && nodePtr->value < number) { previousNodePtr = nodePtr; nodePtr = nodePtr->next; } previousNodePtr->next = new ListNode(number, …

Member Avatar for prvnkmr194
0
132
Member Avatar for Naveed_786

Hi to all, How can i connect VB.NET with oracle i am using following connecting string for connecting VB.NET with SQL Server [CODE]Public ConnectionString As String = "Data Source=%server%; Initial Catalog=Inventory; Integrated Security=SSPI; Trusted_Connection=True;"[/CODE] And Class for sql server [CODE]Imports System.Data.SqlClient[/CODE] What class should i use for oracle.

Member Avatar for Naveed_786
0
86
Member Avatar for md_salman

I am trying to create an HTML form in which user will enter different items (he wants to purchase) in text fields. One text field is used for one item. Now it is not known in advance how much items the user will purchase so we cannot decide the total …

Member Avatar for zenghoong
0
858
Member Avatar for sadsdw

Hello everyone, I'm trying to declare a 2-dimension (A[][]) dynamic matrix but I'm having problems ... The A's elements need to be FLOAT. The size of lines and columns are both vectorX.size(). Could you help me please? One of error's message is: "cannot convert `double' to `float**' in initialization" [CODE] …

Member Avatar for sadsdw
0
109
Member Avatar for Stefano Mtangoo

So I was asked to integrate live webcasting in the next version of this website and I have no Idea. I did little reasearch and bump, I only hit shoutcast. May I ask anyone with Idea on good webcasting software for live internet Audio and video broadcasts to throw out. …

Member Avatar for Stefano Mtangoo
0
124
Member Avatar for Dannis86

Sorry if this is a stupid question, but I'll take the crap for what its worth. Im really asking myself every day the same question: What programming language should I learn? I really need to clear some things up, first of all some questions: 1. Ruby on rails, I hear …

Member Avatar for Stefano Mtangoo
0
289
Member Avatar for winecoding

My current work needs to do the development based on open soure software. There is a class defined as DirLocator.java The code is as follows [CODE]public final class DirLocator implements IResourceLocator { /** The folder relative to which resources are resolved. */ private File dir; /** * Initializes the locator …

Member Avatar for winecoding
0
8K
Member Avatar for shilosimi

Hi there. I'm trying to write a program that will establish a DB of names and Ids. The thing is i don't want to scan the entered data to a temporary variable and then put it into the file, but to scan the user's input directly to the file itself. …

Member Avatar for Narue
0
239
Member Avatar for karthik_ppts

How to add control for marking area using points,lines and polygons on google map and how to store that area in mysql db? Becoz i need to give alert message when my vehicle cross that area in my vehicle tracking system.

Member Avatar for karthik_ppts
0
164
Member Avatar for TrustyTony

I did some code to refresh my C. So many things have happened since 1987, but at least I started with ANSI instead of K&R. As I used the language so little, I think it is time to do some practise and even to learn some C++ to support my …

Member Avatar for Narue
0
1K
Member Avatar for Bulls2012

[B][U]Write a class named Employee that has the following member variables:[/U][/B] [B]name:[/B] The name attribute holds an employee’s first and last name [B]idNumber: [/B] The idNumber attribute is a string variable that holds an employee’s ID number [B]department: [/B] The department attribute holds the name of the employee’s department [B]position:[/B] …

Member Avatar for ragedsparrow
0
377
Member Avatar for kwins

[CODE]import javax.swing.*; import java.awt.*; import java.awt.event.ActionListener; import java.awt.event.ActionEvent; public class Absolute extends JFrame implements ActionListener //Error: Absolute is not abstract method actionPerformed(java.awt.event.ActionEvent) in java.awt.event.ActionListener { public JTextField textField1,textField2,textField3; public JLabel label1; String Operatn[] = {"Add","Mult","Divide","Sub"}; //Constructor public Absolute() { JFrame frame = new JFrame(); frame.setLayout(null); JLabel label1 = new JLabel …

Member Avatar for NormR1
0
217
Member Avatar for Buffalo101

Hello, After completing my application, my teacher told me I can't use serialization. I currently send objects using the writeObject / readObject methods. What's the easiest way of transitioning from this to something else? I'm thinking: [code=java] in = new BufferedReader(new InputStreamReader(socket.getInputStream())); out = new PrintWriter(new BufferedWriter( new OutputStreamWriter( socket.getOutputStream())),true); …

Member Avatar for Buffalo101
0
166
Member Avatar for NickPatton

I'm using sockets in C to write 10 bytes to a socket and then read 10 bytes from that socket. I create a parent process that forks, creating a child that acts as the socket server that writes the 10 bytes. After the 10 bytes are wrote, back in the …

Member Avatar for NickPatton
0
275
Member Avatar for masocha

l havinf problems sending individual emails with a loop within joomla The code is sending multiple emails to a single users something like its triggering an infinite loop. Please see code below [code] unction sendRequests() { $db = & JFactory::getDBO(); $sql = "SELECT * FROM `#__quotehunter_hunt_quotes` WHERE `flag` = '0' …

Member Avatar for masocha
0
130
Member Avatar for nethero

Hi there, I'm kind of new to python and I'm trying to extract a protein sequence from this webpage... [url]http://www.ncbi.nlm.nih.gov/protein/BAH23558.1[/url] When I use urllib.urlopen the html it gets does not contain the sequence data. When I open this page in firefox and use firebug to look at the page I …

Member Avatar for nethero
0
245
Member Avatar for kwins

I am a beginner in MIPS and we're given this assignment to write a programs in MIPS to convert binary string to decimal i do some research and I found some helpful information: TO convert a binary number to decimal Let X be a binary number, n digits in length, …

0
287
Member Avatar for tatarao25

I am using Mysql Database with C#. problem is i am using datediff() function returns int that value is stored in C# property int variable while assign giving error as cannot covert system.Int64 to System.Int32. please provide me some idea abut this error.

Member Avatar for Momerath
0
286
Member Avatar for kiran33

[CODE]<td align="center" bgcolor="#FFFFFF"><input name="checkbox[]" type="checkbox" id="checkbox[]" value="<? echo $row['Inq_id']; ?>"></td> <td colspan="5" align="left" bgcolor="#FFFFFF"><input name="delete" type="submit" id="delete" value="Delete"></td></tr> <?php foreach( $_GET['checkbox'] as $del_id ){ $sql = "DELETE FROM Inq_cat WHERE Inq_id='$del_id'"; $result = mysql_query($sql); } ?>[/CODE]

Member Avatar for kiran33
0
919

The End.