199,114 Archived Topics
Remove Filter ![]() | |
I have this chunk of jQuery that is doing strange behavior. When I load the page, my list is slided Up (completely folded) wich make sense. But I have to double click each parent to slide them down, which is not the normal behavior. I think this line is the … | |
Hi, I try to perfom basic CURD operations in hibernate "org.hibernate.InvalidMappingException" this is the error i am getting help me to fix it. i am using eclipse indigo, mysql lib jar files are: ------------------ hibernate 3.jar, asm.jar,cglib - 2.1.jar, commons-logging - 1.0.4.jar, commons-collections-2.1.1.jar, dom4j-1.6.jar, ehcache-1.1.jar, jta.jar, log4j-1.2.9.jar, mysql-connector-java-5.0.8-bin.jar Employee.java package … | |
I was doing my assignment till I reached this point. Add a static Date toDate(String str) method to the DateTest class. If the method is called with a string like “23/5/2013”, it will create and return the corresponding date object. If the input string is not valid date, the method … | |
Hello One more question. Can't seem to find any info wether it's possible to disable Alt+F4 while MessageDlg pops-up or not. The thing is, that the OnKeyDown event in main form works ok, while set with begin if ((ssAlt in Shift) and (Key = VK_F4)) then Key:=0; end; But that … | |
Hey there, I need help with writing a query so I figured I'd ask here. Let me thank you in advance for your answer. I need to see how often a value inside a certain column appears in a table. Say for example I have a table Person, that has … | |
I have been looking over past exam papers for revision for an upcoming uni exam for Java and one of the questions was, asking for code to add to a given abacus program to make the grid display 3 counters in each column of a 10x6. e.g. as soon as … | |
hello I want to know to how to make class singleton but donot make constructor private and method static. means want to something which is not possible to clone. Something like that Thanks Regards Rahul | |
Hello, I was hoping someone can help me, im looking for a way to extend a basic shape class in particular the roundedrectangle2d class and be able to draw it in the same way we could handle an object with a simple call to g.draw(object instance); However im having problems … | |
I REALLY NEED HELP WITH THIS QUSTION AND I ONLY HAVE 48 HOURS TO COMPLETE IT.. I DONT EXPECT ANY OF YOU TO DO IT FOR ME.. BUT I REALLY NEED SOMEONE WHO WOULD TEACH ME.. EMAIL : nifhail_torres@yahoo.co.uk As everyone knows that Malaysia is going to have the 13th … | |
In my module totally 8 forms are there .In one form to open the designer it shows a error like "There is no editor available for ....../Form6.vb, make sure the application for the file type (.vb) is installed."If i open Code in the same form It will open.I don't know … | |
Btw. this is not a sudoku solver. To gain a deeper insight into the workings of the DataGridView beast (but I begin to love and appreciate it) I decided to make myself a sudoku layout with it. Start a forms app. Make the form a bit bigger and fill in … | |
image_gallery <?php $i=0; while ($data = mysql_fetch_array($result)){ $result2=($i%2)?'#DFA09D':'white'; echo "<tr bgcolor='$result2'>"; echo '<td>'.$data['image'].'</td>'; echo '<td>'.$data['path'].'</td>'; echo '<td>'.<img src="photos/image".$i>.'</td>'; echo '<td><a href="admin.php?mode=delete&id='.$data['id'].'">Hapus</a> |<a href="input_image.php?id='.$data['id'].'">Edit</a></td>'; echo '</tr>'; $i++; } ?> What is this: Parse error: syntax error, unexpected '<' in C:\xampp\htdocs\Bread\administrator\image_gallery.php on line 153 line: 153 echo '<td>'.<img src="photos/image".$i>.'</td>'; | |
Hi i have an issue using top to bottom plugin, while it works, the problem is that the image is visible only on top and while i scroll down the image stays top. Below is the code: <html> <head> <style> #main { float:left; width:500px; background:#c9c; } #sidebar { position: fixed; … | |
echo enter the any no. read n fact=1 for(i=1;i<=b;i ) do fact=fact*i done echo factorial is fact | |
Hello Again, Can you please tell how to create a serverside self extracting zip file. I really need this for my project. Thank you in advance and I am really grateful for all your helps. | |
Hello, I receive this error message. Can anyone help me solve this error. [IIS error](http://www.rustoleum-indonesia.com/IIS%20error.png) Thanks. | |
Hey, I've come across an error in my school project. I'm creating a college registration web app. The jsp displays a list of available classes with checkboxes to check the ones you would like to register for. I've been running it in debug mode and it throws an exception at … | |
` #include<iostream.h> #include<conio.h> void main() int n; int f,c; cout<<"1:enter the faranheit value to convert:"; cin>>f; cout<<"2:enter the celscious value to convert:"; cin>>c; clrscr(); switch(n) { case 1: ftoc(c); break; case 2: ctof(f); break; default: cout<<"try 1 or 2"; } getch(); } float ctof(float d) { d=d*9/5+32; cout<<"faranheit value is:"<<d; … | |
i need help in following query, how to check this email alreadyexist in our db or not. var_dump($email); output: array(2) { [0]=> string(22) "xxxx7@gmail.com" [1]=> string(19) "yyyyy@gmail.com" } foreach($email as $em) { $sql = "SELECT * from sf_guard_user sf,personal pi where pi.user_id = sf.id and sf.email_address = '$em' "; $query … | |
Hi Daniwebians, Is it possible to make my existing exe file an extensible application without touching the code of the existing one?and if it is possible, How can i do that?. Please enlighten my mind. Thank You and Cheers. :-) | |
Hi all, I wonder if you can help me at all. I need to display one ul list into separate (3-4) columns one next to the other one, only if the number of items is bigger than 6. Let's look at the following code. Html is: <div class="wrapper"> <h2 id="first">First</h2> … ![]() | |
Hi, I am trying to write a java program for a client server instant messaging system using UPD datagram. I am trying to think of how to start. Anyone has any suggestions? Please advise | |
hi i want to create a simple android app that gets two numbers in the main activity and when we click submit it goes to another activity and displays the result. i created two classes mainactivity.java public class MainActivity extends Activity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); … | |
My code was working Great! until i added a vector named "resudibus"to my namespace in a windows form. #pragma once #include <Windows.h> #include <msclr\marshal.h> #include <iostream> #include <string.h> #include <vector> #include <fstream> using namespace std; using namespace System; using namespace System::IO; using namespace msclr::interop; namespace Project1 { using namespace System; … | |
Hi, I need help here. I have a for with multiple text inputs. input1 is link, input2 is description. This is repeated a number of time. Each link and description is one record, but I cant igure out how to add them to mysql as such. If I fill in … | |
Hi I just started playing around with Visual Basics today and thought it would be cool if I could make a program to work out the weight and the price of a square peice of steel. I have tried to solve the problem and fixed many errors but now I'm … | |
I am in dire need of help. I need this array to list the months as the user enters rainfall totals. then I need it to calculate the highest , lowest , average and total rainfall months. I can get it to do it without the months but not with … | |
Hi all - use the curdate() or current date to look at newly added awards in the last 3 months The SQL table used to store the created date when an award was added is **tbl_net_centre.reg_date** and keeps throwing up an error on the <= If anyone can advise the … | |
Hi all, I wrote a simple app that shows your current location depends on GPS, WiFi, 3G signals, and shows in a Text View the location as city,street, country. The problem is that I saw that the location is pretty updated with WiFi\ 3G \ GPS, but the Text View … | |
Hi all! I'm trying to create a program that produces a memory leak. I have a program that looks like it works, but I was wanting to verify whether it actually is causing a memory leak, and that it's not just some other type of issue. It's in C++, which … | |
making a scrolling background. There is one problems with this code below. I am drawing a image and it stay there on left of screen. i want to del it and create new one so there aren't 100's of background images on left. i just want to keep 2 background … | |
Hi guys, I would like to know How to blink console text using Dev C++. | |
Does anyone know how to restore a window (which does not belong to current process) to the state is was in previous to having been minimized? I've been trying ShowWindow and SetForegroundWindow, but if the window was maximized, it will only restore it to it's RESTORE state (not maximized) ShowWindowAsync(hWnd, … | |
I have this jquery code <script type="text/javascript"> $(document).ready(function () { var counter = 2; $("#addButton").click(function () { var newTextBoxDiv = $(document.createElement('div')) .attr("id", 'TextBoxDiv' + counter); newTextBoxDiv.after().html('<input class="required" data-val="true" data-val-regex="Provide a valid date." data-val-regex-pattern="^\d{1,2}\/\d{1,2}\/\d{2}$" name="Date[' + counter + ']" id="Date[' + counter + ']" value="Date[' + counter + ']" style="width:165px" type="text" … ![]() | |
What I am trying to code is a Multiplication quiz game. The trouble I am running into is that I can't seem to figure out how to pass values from one function into another without getting an error. from Tkinter import * class App(Tk): def __init__(self): Tk.__init__(self) self.headerFont = ("Helvetica", … | |
Hi, am new in the forum. Please I need help concerning a hotel booking system am developing. The problem is when custumer wants to make room choice it can only allow 1 type of room when the available room information loads. If a customer wants to book 2 or more … | |
hai, i am new to perl programming. Am writing perl script to open an generator.exe file in my system. this generator.exe file when opens asks for arguments to enter one after other how ever the sequence of arguments is always same(eg like 6,172.24.569.25,saw_200.wav,u,0,1) and i am stuck at a point … | |
Hello Community, I was wondering if there is a way for a string ($string) to be remembered on a form submission? Example: <?php $f = ""; $tS = ""; if (isset($_POST['tSubmit1'])) { if (!empty($_POST['tString1'])) { $tS = $_POST['tString1']; $f = "f2"; } } if (isset($_POST['tSubmit2'])) { if (!empty($_POST['tString2'])) { if … | |
After deleted the image inside the imageList , do the imagelist auto arrange the image following by the number ? | |
A client of mine wants to implement SSL on their site. They have a number of forms which communicate sensitive/personal information, and want to send the data over a secure channel. I've worked with sites that have SSL certificates already, but never actually implemented one myself. The site runs on … | |
Hi I try to convert ppt to video:; i know that CreateVideo is part of presentation. but, when i try this i have this error: Inline Code Example Here Looks like createvideo is not part of presentation. Microsoft.Office.Interop.PowerPoint.Application pptApplication = new Microsoft.Office.Interop.PowerPoint.Application(); Microsoft.Office.Interop.PowerPoint.Slides slides; Microsoft.Office.Interop.PowerPoint._Slide slide; Microsoft.Office.Interop.PowerPoint.TextRange objText; // Create … | |
Hi...! i'm working on a notepad project but i've got a problem in undo action this is my code: import java.awt.BorderLayout; import java.awt.Dimension; import java.awt.Frame; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.JFileChooser; import javax.swing.JOptionPane; import java.io.*; import java.util.logging.Level; import java.util.logging.Logger; import javax.swing.*; import javax.swing.JLabel; import javax.swing.SwingConstants; import javax.swing.undo.*; public class Notepad … | |
code part1: name1="rahul" name2="rahul" code part2: name1=[1,2,3] name2=[1,2,3] If I run the following code: print name1 is name2 I get "True" for code part1 and I get "False" for code part2 why? why the "reference" is same for name1 and name2 in "code part1" and different for name1 and name2 … | |
Hello people! I am a beginner trying to teach myself C++. If you guys could help or suggest me something I would greatly appreciate it! Sorry for my English! My program determines if the entered number is prime or perfect. I have a few problems with it. I would really … | |
hello friend, can someone help me, i want to learn how to connect my app database from another computer using code, i already try to change connection string = "Data Source=-SERVERNAME-\SQLEXPRESS;Initial Catalog=SmartHome;Integrated Security=True" but its still same, someone please help me, im using win8, microsoft sql server 2008, Visual studio … | |
Hello, I wonder why when you try to when you try to update location (lokasi) to Product1 it always saved as Home ? input_berita_static.php <?php include('../includes/koneksi.php'); $id = isset($_POST['id']) ? $_POST['id'] : ''; $confirmation = isset($_POST['confirmation']) ? $_POST['confirmation'] : ''; $kategori = isset($_POST['kategori']) ? $_POST['kategori'] : ''; $news = isset($_POST['news']) … | |
Hi I need to Write a function which takes as input two strings and count how many words are both in the two strings. Display the results sorted according the length of the word (longer first) and in case of equality by the alphabetical order? | |
Hi, I have two threads A and B. Thread A prints only odd numbers. Thread B prints only even number. I want to synchronize it in such a way that on the screen I get continues numbers. How can I do that? I was thinking of using sockets. Thread A … | |
Create a class Hangman with the following private attributes: Words: should be a static array of character pointers with 5 elements. Word Name: should be a pointer to a character. Chosen Letters: should be a pointer to a Boolean. Letter: should be a character attribute. … |
The End.