199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Tango2010

Hi All, I wonder if anyone can help - I have been teaching myself Java GUI programming using a Mac running OSX Lion and Netbeans 7, and have followed the tutorial: [url]http://netbeans.org/kb/docs/java/gui-functionality.html#Exercise_2[/url] When I run the program, it builds and compiles fine, but only appears when I choose the command …

Member Avatar for Tango2010
0
157
Member Avatar for Wolxhound90

Hey guys, I'm just starting out with Android development using Eclipse. The only programming language that I've used a lot before is VB.NET, so I'm just wondering, is it possible to create variables which you can then add to over the course of the session? I'm particularly thinking of strings …

Member Avatar for Wolxhound90
0
129
Member Avatar for Esmerelda
Member Avatar for WaltP
0
295
Member Avatar for Golffor1

Hello I have the following code [code] $emailPlayers = mysql_query("SELECT players.player_email, players.Player_First_Name, players_paid.`paid_thru` FROM players_paid INNER JOIN players ON players_paid.Player_number = players.Player_number where players.Player_number like '$aDoor'", $link) or die (mysql_query()); //grab the e-mail addresses while ($row = mysql_fetch_array($emailPlayers)) { echo $row['Player_First_Name']; echo "<br>"; echo $row['players_paid.paid_thru']; echo "<br>"; echo $row['player_email']; echo …

Member Avatar for pritaeas
0
92
Member Avatar for mohamed moamen

I'm send sound between two clients via UDP server Socket , How i can make users not feel the delay of sound ?

Member Avatar for JamesCherrill
0
92
Member Avatar for Shodow
Member Avatar for shean1488

Hi everybody. I have a class Sudoku. And puzzle stores 2D array of type Cell. [CODE]public class Sudoku implements Iterable<Cell []> { private Cell [] [] puzzle;[/CODE] What I want to do is to iterate through the puzzle in different class (SudokuValidator): [CODE]public class SudokuValidator { private Sudoku puzzle;[/CODE] how …

Member Avatar for JamesCherrill
0
124
Member Avatar for Alientcp

Hello, Im new to c# and i have a little problem. I have a folder with 5 text files (group1,group2, etc), each contains a list of names. On my form, I have 2 combo boxes. I want the first one to allow me to select a group (a text file), …

Member Avatar for Alientcp
0
2K
Member Avatar for jp071

Hello, I am doing simple read/write program for serial port. I am faceing a error that i don´t understand. Error is: "error C2664: 'CreateFileW' : cannot convert parameter 1 from 'const char [5]' to 'LPCWSTR' " My whole program: #include <windows.h> #include <iostream> #include <string> using namespace std; void set_com_pin(bool …

Member Avatar for zeroliken
0
2K
Member Avatar for mpcon
Member Avatar for syareza

program can receive an input value is between 0-9 and then print the multiplication table for its : example if input :7 output : sifir 7 1 x 7 = 7 12 x 7 = 84 please help me....

Member Avatar for syareza
0
83
Member Avatar for adams161

Hi, On windows, i don't see a maximum button on my JDialogs and this is fine, but on a Mac I have this dialog that people can keep up and use other windows, but you can also maximize a dialog on a mac apparently. There is a maximum button. At …

Member Avatar for adams161
0
163
Member Avatar for cdea06

So the project is to write a program (for a beginners C class) that compares 2 words and see if there anagrams of each other. I'm about halfway through the program and it was working fine until i tried to add the IF STATEMENTS with isalpha. What I'm trying to …

Member Avatar for cdea06
0
464
Member Avatar for blindg35

Hello guys, just joined the community. Found it through google. :) I am basically new to python, only couple of days of knowledge. I am trying to make all the words in a txt file appear in 4 or 5 in a row. so the txt file looks like this: …

Member Avatar for woooee
0
257
Member Avatar for pankaj.garg

Dear All, I need your suggestion in developing a Database - I will use MYSQL as database. My database will have below specifications - - 1 table "Table-1" with 2 columns - DateTime and Integer Value - 1 table"Table-2" with 5 Columns - columns having process details (i am doing …

Member Avatar for pankaj.garg
0
177
Member Avatar for triumphost

Is there any C++ .Net IDE's around? I mean visual studio is ok.. it just isn't as good as SharpDevelop which only does C#, VB and a few others. It doesn't do C++ that's why I'm looking for a C++ version of SharpDevelop. Any Ideas? SharpDevelop [url]http://www.icsharpcode.net/opensource/sd/[/url]

Member Avatar for thines01
0
449
Member Avatar for rajeesh_rsn

Hi friends , I made a site in php including login system ... It is a movie discussion portal including movie details and all.. My question is can we integrate facebook login to my site ? So that peoples can comment on this site through their facebook .. For Weg …

Member Avatar for carie_wilson
0
649
Member Avatar for ComputerGirlie

For school I have to write a program that requests a 3 part name and breaks it into a first, middle, and last name. I wrote the code but the alignment of my output is not right. I was wonderng if someone can tell me what I did wrong and …

Member Avatar for ComputerGirlie
0
640
Member Avatar for firecy

I've been programming in Java for a few years now, and I've always wanted to be able to run my programs on computers without the JDK installed. I've been trying to make an executable .jar file, and it seems to work on my computer(the one with JDK installed). However, as …

Member Avatar for NormR1
0
233
Member Avatar for RiddoKun

[CODE] import javax.swing.JOptionPane; public class Finance { public static void main(String[]args) { boolean Access = false; String studentName = JOptionPane.showInputDialog(null, "Enter in your name: "); //String current = JOptionPane.showInputDialog(null, "Enter your password: "); //double currentBalance = Double.parseDouble(current); Account newAccount = new Account(studentName); //Gains access to Account class JOptionPane.showMessageDialog(null, newAccount.toString()); } …

Member Avatar for RiddoKun
0
96
Member Avatar for davidTechy
Member Avatar for fusionking

In an XSLT file, I am calling a function to a javascript file (.ascx) and trying to pass parameters. One parameter is a Date() object. The only way I've found to successfully pass it is to pass it as a string. Here's the code from the XSLT file. [CODE]<script> grouping("<xsl:value-of …

Member Avatar for Troy III
0
243
Member Avatar for jbennet

How can I get the X,Y co-ords of a JQueryUI draggable object, when it is dropped, and post them to something (a java servlet) using AJAX? Im trying to store the location of it in a database, ive got the handler to do that done, Im a backend guy, but …

Member Avatar for Troy III
0
103
Member Avatar for rfrapp

My assignment is to create the Game of Life. I know that it is very easy to find out how to do this online, but I don't want the answers fed to me. Here's what I have so far: [CODE] // Life.cpp : Defines the entry point for the console …

0
123
Member Avatar for GAME

Is there a way to get a Message from a website(like copy it), then have it show up in a textbox? If, so can you provide an example?

Member Avatar for jakemdrew
0
860
Member Avatar for klemme

Hi All, I am hoping to finish this feature on a shopping cart soon - just one thing im not sure how to create. Basically: 1 hour after a user has put the very first item into the shopping cart - (items are stored in the database) I want to …

Member Avatar for hag++
0
162
Member Avatar for travelingt93

So i have a program i am writing,and i have come to problem. I want to be able to pass a set of three strings into a function, which should then take them and add them to a Vector. All good so far, now is where my problem develops, how …

Member Avatar for Ab000dy_85
0
209
Member Avatar for kimbokasteniv

What I am trying to do is the following: [CODE] ReceiptBag zero("zero"); ReceiptBag one("one"); ReceiptBag bags[2]; bags = &zero; (bags+1) = &one;[/CODE] Of course that is not valid code. My goal is to be able to reference the same zero or one object by using its variable name or by …

Member Avatar for kimbokasteniv
0
301
Member Avatar for fire eaters

This is how my license table look like.. i want to select only row that has atleast one "1". which means i don't want to select any row that has full of zeros..

Member Avatar for pritaeas
0
124
Member Avatar for toomutch

Hi all, Having problems with null dates in a mysql table. Have eventually found out that I can store a 'null' date in mysql as "0000-00-00" and I can run the 'insert' command to add a record to the mysql table. When I check on mysql workbench I can see …

Member Avatar for toomutch
0
843
Member Avatar for kyriacos1986

I want to read from the keyboard the first name and last name of a member separated by space I have tried the following but it doesn't work. [CODE] public static void updateWeight() { Scanner in = new Scanner(System.in); // Creation of a new Scanner object String tempName = ""; …

Member Avatar for NormR1
0
186
Member Avatar for irre

hello, im totally new to this forum, but i already checked whether my ask is answered somewhere else already. i couldnt find anything... i used to work with dev-cpp and i have to work with the cnum.h library a lot. Since im a student i am able to get MS …

Member Avatar for Ancient Dragon
0
184
Member Avatar for new2pyp

Hi, Just started learning python..and want to learn to do this I want to read a text file that something like 10000 20000 30000 40000 20000 30000 88888 88888 60000 12333 44431 12345 I want to get the difference of numbers in column1 divided by x, where I want to …

Member Avatar for ihatehippies
0
185
Member Avatar for webblar

Hi all, Andy here and a newbie to this *great* site and first post so here it goes... Pretty new to PHP, been coding for about half a year now and loving it. To help get a better skill set and knowledge of the language I've decided to build a …

Member Avatar for webblar
0
199
Member Avatar for Dillary

(I'm new to programming in general) I created a program in python without an interface and part of it used a raw_input to get a users answer and compare with a stored answer. This was in a loop that limited the number of attempts the user could have. This worked …

Member Avatar for Dillary
0
416
Member Avatar for Goldfinch

Hi, I'm trying to read a file, line by line, into an arrayList, assigning a different line to each element and ensure that: 1. It's actually happening (which is the reason for the println statements) 2. that the scope of the arrayList with the string elements filled in is sufficient …

Member Avatar for Goldfinch
0
966
Member Avatar for saneeha.nust

I want to parse the IP packet using SharpPcap and PacketDotNet functions.. The code is: private static void device_OnPacketArrival(object sender, CaptureEventArgs e) { var p = PacketDotNet.Packet.ParsePacket(e.Packet.LinkLayerType, e.Packet.Data); if (p != null) { var tcp = PacketDotNet.TcpPacket.GetEncapsulated(p); if (tcp != null) { Console.WriteLine(tcp.SourcePort); Console.WriteLine(tcp.DestinationPort); } } } where the functions …

Member Avatar for skatamatic
0
565
Member Avatar for TIM_M_91

Hi Guys well what I want to do is instead of within my writeString to set my PLAYCOUNT to '16' what I want to do is every time the statement is executed my PLAYCOUNT is increased by 1. Any help you can give would be appreciated: My code is below: …

Member Avatar for TIM_M_91
0
175
Member Avatar for cjohnweb

So I am trying something new in a script and I can't seam to find more information on it. I've seen it and I've used it, but what do you call it? How would you search for it? [code=php] <?php $var = <<<UPPERCASELETTERS "Some Content in which I don't have …

Member Avatar for cjohnweb
0
124
Member Avatar for masmith25

I'm hoping someone can help me out with this. I have a datatable populated from an SQL Server 2008 database table. I created a DataAdapter with a commandbuilder to manage the updating, inserting, and deleting of records. The Updating and Inserting work as expected. However, Delete does not. The code …

Member Avatar for masmith25
0
745
Member Avatar for ventura1

Related to: C#; Windows form, Storing Multiple Instances of a User Control: Hi: I’ve created an app with a user control that accepts parameters. When a user clicks a button I need to store the current view of the control and bring into focus on demand. Several instances of the …

Member Avatar for ventura1
0
260
Member Avatar for bill_kearns

I'm using C# in VS2010 and I need some help with a web application. I don't have much experience with web services. I was given the url to a webservice containing methods required to build the login part of the application. No documentation. I have the login piece working though. …

Member Avatar for skatamatic
0
204
Member Avatar for mikeybware

I have the following code which creates a nice little instant messenger for my program. I am running into trouble when I try to send a message to a user that is not logged into their chat window. It waits about 20 seconds, then throws the error message. In the …

Member Avatar for mikeybware
0
375
Member Avatar for Lucaci Andrew

So, even thou I have searched throughout the forums, I couldn't get a clear answer, maybe perhaps I'm a noob @ Python. As a beginner, I don't know much about Python, and it's frustrating to search the net and not find the actual answer. So, I'm working on this project, …

Member Avatar for Lucaci Andrew
0
321
Member Avatar for codechrysalis

Basically I have to do this: [B]Write a program that displays the number of students that can still enroll in a given class. Design your solution using parallel arrays.[/B] my problem is what loops should I use for this I dont think [B]for[/B] loops would be useful at all...I think …

Member Avatar for codechrysalis
0
191
Member Avatar for coolbeanbob

Hello, I am working through an SQL Server 2008 book. I am to the query section. I have copied the query below, word for word (I believe), but the system is showing a problem at line 10. This is the first query I have tried to create. I don't see …

Member Avatar for BitBlt
0
157
Member Avatar for meetjatin88

Hi Everyone, I am Actually trying to make a simple C++ game in which some random alphabets will fall down and when we press one of those random alphabets keys the aphabet should disappear. The problem that i am facing in making this code is that when i am using …

Member Avatar for deceptikon
0
271
Member Avatar for razamughal67

please solve my problem i want to know where we show text when we use copy cut command Example: we use a command Ctrl+C or Ctrl+X any text in textbox or any file or folder i want to view his clipboard where it link save OR view in Registry or …

Member Avatar for BitBlt
0
446
Member Avatar for saneeha.nust

I want to create a file on a remote machine, and write to that file. What are the ways of doing so.. I have searched, but couldn't get any thing relevant... if I give the ip address of the machine in the path of file., will it work?? kindly help...

Member Avatar for skatamatic
0
189
Member Avatar for Clanstrom

Ok, i am so new to PHP and today, i wanted to create a very simple php code that submits username and country name into myqsl. So, I created databse and tables in phpMyAddmin, and i created two php files ( c below ) i.e. form.php & insert.php [B]This is …

Member Avatar for Clanstrom
0
241

The End.