199,114 Archived Topics
Remove Filter ![]() | |
Hi, I am reading this book to learn about web services. How do I compile the exercise given in chapter 1. Appreciate a reply. in cmd do i go to eac directory and compile and execute the code. Really appreciate a reply thanks | |
**Task:** "pass these four variables (x,y,w,h) into the getSubimage method of the original_image object." That method returns a BufferedImage, which i need to directly return from my getImageRect method. I have not included my whole code, but i was wondering if anybody could help me out with this? If you … | |
Hello all! So I have an assignment to create a matrix multiplication program using classes (no friend functions). To be quite frank, I am completely lost and have no idea what I'm doing here. The directions state that the private class hold 3 matricies and also that I need to … | |
Hi, Can anyone tell me why datareader is no reading user_id from this code? I debugged and the user_id_select remains 0 and I am getting no errors. Protected Sub btnAddUser_Click(sender As Object, e As EventArgs) Handles btnAddUser.Click Dim conn As New SqlConnection("Data Source=BRIAN-PC\SQLEXPRESS;Initial Catalog=master_db;Integrated Security=True") Dim searchComm As String = … | |
I wonder when I press hapus / delete nothing happens. It suppose to delete 1 row in table page. admin.php <?php include('../includes/koneksi.php'); //Hapus berita // undefined index: mode if (!empty($_REQUEST['id']) && !empty($_REQUEST['mode']) && $_REQUEST['mode'] == "delete") { $id = $_REQUEST['id']; $result = mysql_query("DELETE FROM page WHERE id =".$id) or die(mysql_error()); … | |
Hello everyone, I have a PDF file which I converted to a text file, and now I want to read the whole thing, search for the keyword "SITUATIONAL" and insert it all into the database and where "SITUATIONAL" will be the key entry for printing it out on the web. … | |
import java.text.SimpleDateFormat; import java.util.Date; public class StringtoDate { public static void main (String args[]){ String inputDate = "04.11.2013 11:14:45 GMT 00:00"; Date dat = convertStringToDate(inputDate); } public static Date convertStringToDate(String inDate){ SimpleDateFormat sdf = new SimpleDateFormat("mm.dd.yyyy hh24:mm:ss"); Date date = new Date(); try { date = sdf.parse(inDate); } catch (Exception … | |
Hi guys, wondered if anyone could help, or point me in the right direction please, i want to insert data from the datagridview to the access database, that datagridview is not bound to anything, i insert data from textboxes to the DGV, and want them to insert into the DB, … | |
How to implement GUI to my code? I know how to make the buttons and etc i just dont know how to "connect them together" thanks `import java.util.Scanner; public class Pizza { public static void main(String[] args) { Scanner inScan = new Scanner(System.in); int choice, choiceEnd, howMany, pizzaNumber; double totalCost, … | |
hi all i am creating web site accidently i am facing one bug like i didn see pagging on grid after doing same thing on another form it works perfect Please look into my pronlem i am posting my Code here Please Help ASAP Thanks In advance This is my … | |
I have a replace button which has to replace a word that is searched inside the richtextbox(rtb).But the code is not working, help me identify my mistake. Thank you If HTMLopt.rtb.SelectedText.Length <> 0 Then HTMLopt.rtb.SelectedText = txtReplacementText.Text End If Dim StartPosition As Integer = HTMLopt.rtb.SelectionStart + 2 Dim SearchType As … | |
Hello Lets say I have a text file, in a local or remote location. I want to select it with a file picker (standard Windows browser seleccion). Once I have that selected, I want to click a send button. This send will download the text file from whereever it is … | |
hi all... i'm doing a job site and i want to view jobs from another jobsites like http://www.indeed.co.in/ on my website using xml feed. i dont know how to implelement that ....... pls help me to do that... tnx in advnc... | |
Greetings Friends ! How do I do incremental Builds in Delphi...? I have both the Delphi 7 and Delphi XE2... I have never really incrementally built my apps... pardon my ignorance... but i have taken on a project on a piece of software where the manager wants the build done … | |
Is it possible to place a VB6 application working on Windows Azure and share it among several clients? If so, how? My thanks in advanced | |
![]() | i write one windows service working perfect , but when i check it in windows services list then its description tab is empty so i thought to add description to it , but do not know how to add description to it , so any body have any idea how … ![]() |
Hi I am going to be crazy I have a txtbox with 1950-04-23 How can I extract just 1950 from that box and take the pc's date ( as today is 2013-04-23) to a label.caption and the result shall be 63 years in the labels caption. Lenny | |
Develop a Screen, a Listener, and an Animator. The screen should have a panel in which a filled ball should be continuously moved. There should be four buttons on the screen. Two (2) buttons on the Screen for movement – labeled Left-Right and Up-Down. The movement of the ball should … | |
this is my code: switch(a){ case 1: case 2: case 3: case 4: printf("4\n"); break; default: break; } i need the nodes to make control flow graph for testing purposes. | |
i am using dev c++ and i need to figure out how to declare variables. | |
I can't figure out why my java applet is not displaying, I have all of the files in the same folder, and I have java enabled on my browser. Here is the code //java code import java.applet.*; import java.awt.*; import javax.swing.*; /** * The HelloWorld class implements an applet that … | |
Ok, me again. When I add the records into the database, I am getting the aryFields(#) instead the called index in the array. I look at everything and can't see why I'm not getting the desired data instead of the aryFields() written into the database. Uugh. Private Sub btnLoadFromText_Click(ByVal sender … | |
Ok, so this will be longwinded, but I'll try and explain what I'm trying to accomplish. Our form has 3 buttons. 1. Clear Database (Working) 2. Load database from Text File 3. Load listbox from database (I have this working) Our project has 2 forms, one being the form which … | |
Hi guys, I am getting very weird issue here. On my wampserver, this script works fine but not on my liver server which is linux. This is what it does. After a checkbox gets checked, the scripts identifies that and insert a row in table and that script send back … ![]() | |
xlWSheet.Range("C19:K19").Merge xlWSheet.Range("C20:K20").Merge xlWSheet.Range("C21:K21").Merge xlWSheet.Range("C22:K22").Merge up to 54, thanks | |
i hope this is the correct platform to ask this. i am doing a c++ application that incorporates qmysql, i am using qt. i have two qline edit fields being name and password. after the user has entered these two i want to use them for login. i have this … | |
Hello, I am a C# desktop app developer who is trying to do an asp web page. The app takes input from the user then does a search of files that reside on the server. I can run it from the development environment and everything works fine. I can not … | |
i am drawing two rect in paint method. 1st rect i want to rotate it but 2nd rect i dont want to rotate it. the code i have should rotate only 1st rect but the problem is that when it rotate it missup the x, y postion of rect. this … | |
I have two colums. Both include 8 digits numbers with shorter numbers between. I want to calculate how many rows between two 8 digits numbers have first one and the second one and then I need to add second column next to the first one but with adding missing rows … | |
Hi guys, im having trouble summing up the column in my (unbound) datagridview, i can add to the DGV fine, but when trying to sum up a column it says "Input string was not in a correct format." heres my code Private Sub btn_Add_Click(sender As System.Object, e As System.EventArgs) Handles … | |
i have asteroids store in arraylist. i want to check collision between player and asteroids. if player get hit than i want to minus one life and move the asteroid backwards so it look like it bounced in to player. right now this code is check for collision between player … | |
![]() | I am trying to write several different sorting algorithms in order to time the differences between them when reading a file of a half million integers. For testing purposes, I am only using a few hundred integers, but I am getting a stack overflow error. Also, for testing reasons, I … |
I am trying to style my ordered lists and unordered lists to appear the same in Firefox. I have all my text centered. In firefox, the bullets and numbers appear right next to the items. I have done some css styling but it requires for teh text to be aligned … | |
Evening all. I am goign through my Image upload script and found it looks messy, would you recommend an cleaner way of doing this: move_uploaded_file($_FILES['file']['tmp_name'], 'photos/' . $_FILES['file']['name']); try { $fileName = $_FILES['file']['name']; $resizeObj = new resize('photos/' . $fileName); // *** Resize options: exact, portrait, landscape, auto, crop $resizeObj->resizeImage(225, 150, … | |
![]() | I've got a program that is designed to access a nested list and then print values from a certain column in each sublist. My problem being, I don't know how to edit this to provide more freedom with what values I wish to print out. This is how it looks … |
hey there, I have two classes with a one-to-many relationship. For ilustration: public class Customer { Business business; Date created; } public class Business { } Now, when I do the following: new StringBuilder().append("SELECT business FROM ").append(Customer.class.getName()) it works perfectly fine. However, when I include filtering based on created field … | |
need help to create log in form in visual studio , need some basic assistance | |
Hello my fellow DaniWebers! I have a question for you! I have an ASP.Net website that I am currently working on. The problem that I am having is that I want to render the Master page's menu differently for the user types. Here is the catch. I can't use roles, … | |
Good day I’m new with JSP, here the problem, I just converting the code from SQL to PostgreSQL, but a problem occur after I change to DataSource ds = (DataSource)envCtx.lookup( "jdbc/postgres" ); and add a scheme to the query. By theory it should be ok but it produce this error … ![]() | |
I am getting error: A document processed by the JRC engine cannot be opened in the C++ stack when I try to load a Crystal Report in the Visual Studio 2012 development environment I have seen a number of solutions to this that involved the deployed program, but I am … | |
Hello I am a little confused. I had always thought that a class can have objects from other clases as attributes. My teacher recently told me that this is not true... so I am confused now: if one of the attributes of my class is a String, would that be … | |
how can i set to the top directory (i.e. **public_html/folder**)? I have tried **$_SERVER['DOCUMENT_ROOT']** without luck. define('JPATH_BASE', dirname(realpath(__FILE__)). '/folder' ); | |
without nested loops i need a program that prints the set of numbers between any two numbers ??? help me plz | |
I have the following code that gets input from users on a button click and draws on a canvas but when i click the button nothing works. Here's the code: <!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <link href="mycss.css" rel="stylesheet" type="text/css" /> <script type="text/javascript" src="js.js"></script> <title>CANVAS</title> </head> <body> <canvas … | |
In order to make my AJAX functionality a little more efficient I've added a cache component; but this has given me a huge new headache. The AJAX related code is below. It listens for a click and checks if the user has already clicked that link. If not, it'll fetch … | |
Hey my doubly linked list remove duplictes function will only work when the players in the list are together as in position 1 and 2 or 3 and 4. Otherwise if there not together it will delete the two players. For example, if i have luis suarez at position 1 … | |
Hello I have found a good template about PM system. http://www.webestools.com/scripts_tutorials-code-source-15-personal-message-system-in-php-mysql-pm-system-private-message-discussion.html But here is the question, is there any way to modify it to be able to send to multiple people? Like Message 1 is subject to send to a group of people. Message 2 is send to an individual … | |
how to import the sql file in an exist database connection.. Regards |
The End.