C++, SFML TCP Network problem?
Hello. I'm trying to send and receive data through internet via TCP SFML sockets. I run both server(I input port only) and client(I input port and IP of the server) app on my PC. No matter which port I...
View ArticleJava Applet - Calculate Shapes
Hello, Just beginning this Java Applet subject. I am trying to complete a program to calculate a circle and rectangle. It looks like my calculations are right but when I click on the buttons the...
View ArticleSQL Serer not found, Could not Open Connection, etc...
Hey Friends, In My App error given, i dont know whats this, Error : "A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or...
View ArticleMultiple Circle objects on JPanel
Okay so I am creating a program where the user can click anywhere on a JPanel and a circle will appear. I can run the program with no errors however no circles are appearing when I click on the JPanel....
View ArticleJWindow Refuses To Show
I'm really pulling my hair out on this one, guys. I have finished developing my program. The one problem I am having is simply showing a "Connecting to Server" message while the program attempts to...
View ArticleForce port
Hello DIC! I've once had a server for a game written in Java, when I launched it, it forced a port open so people could connect. I'm wondering how that is done, as I can't portforward as my access...
View ArticleShow embedded jpeg in RichTextBox
I have saved a file from OpenOffice as Rtf. When I try to load it into a RichTextBox the embedded jpeg image is not displayed. Anyone know why?
View ArticleTrying to place a JLabel over another JLabel
Hallo, I have a problem to do that. I am trying to simulate the movement of an object,let us say of a rook on a chessboard by doing it visible at will. Is it right to do it so? Thanks.
View ArticleRichtextbox changes SelectionColor automatically
I have the following code : using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using...
View Article"Object reference is not set to an instance of an object"?
In my dice game, whenever I press a roll button, I get this error in my function to check if there is a three of a dice: "Object reference is not set to an instance of an object" Here is my code:...
View ArticleEstimating The Value Of PI By Throwing Darts
In this program I'm supposed to write I need to estimate the value of PI by running simulations of darts being thrown onto a square sheet of paper with a circle in the middle of the paper. So if the...
View Articlecant print value of post
inside div dialog01 i want to echo $ss. but its echo out "no POST". i am not sure how can i echo the value of qty. index.php <?php echo" <form method='POST' action='index.php'> <input...
View ArticleMost efficient way to go through a file
I have an idea for a small program that will display random lines from a text file, a database and XML would be far too heavy for this project, however the file may be large. I want to read out a...
View ArticleAdding JScrollPane
I'm trying to add JScrollPane to a JDialog that opens on button clicks.....It is not working. When I resize the window i get a glimpse of the scrollpane but it's not working properly at all.....Any...
View ArticleHOw to use a numeric value PHP variable in MySQL Query
Hello, I am having trouble getting a query to execute correctly. I am passing a numeric variable from a previous page using POST. The variable contains the number 3. Here is my code. // Select the...
View ArticleTask: Serial Communication through different ports
Hi, I need to communicate through RS232 and RS485. I need to send data from RS485 and recieve same data from RS232. IC will do transmit data from RS485 to RS232. For this I wrote some sample code but I...
View Articleediting employees id number
hi... problem in my vb6.0 program: Training Database... how can i edit the employees id number w/o deleting other data?
View ArticleWindows OpenFileName CDERR_INITIALIZATION error
OPENFILENAME of; SecureZeroMemory(&of, sizeof(OPENFILENAME)); of.lStructSize = sizeof(OPENFILENAME); of.lpstrTitle = "Open Image File"; of.hwndOwner = window; of.lpstrFilter = "Image...
View ArticleWhat is the best mobile coupon redeeming method?
I am working on an app which provides Entertainment Style Coupons for a particular niche. What methods have you guys used that seem to be the most popular in terms of redeeming the coupons?...
View Article