64,152 Solved Topics
Remove Filter ![]() | |
Hello Daniwebers! I am trying to insert the values that were selected in a jtable. I know how to display the sql results in a table but don't how to add the selected values into it. Example: only display the items that the users has searched for and add them … | |
Cannot find symbol for a basic java command? import javax.swing.J0ptionPane; public class HelloGUI { public static void main (String[] args) { J0ptionPane.showMessageDialog(null, "Hello, world!"); } } c:\Users\Nathanial\Desktop\myJavaPgms>javac HelloGUI.java HelloGUI.java:1: error: cannot find symbol import javax.swing.J0ptionPane; ^ symbol: class J0ptionPane location: package javax.swing HelloGUI.java:6: error: cannot find symbol J0ptionPane.showMessageDialog(null, "Hello, world!"); … | |
this is my index.page <html> <head><title>Registration</title> <script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js" type="text/javascript"></script> <script src='http://ajax.aspnetcdn.com/ajax/jquery.validate/1.11.1/jquery.validate.min.js'></script> <script type="text/javascript"> function validate() { if(document.register.name.value == "") { alert('Enter valid name'); document.register.name.focus(); return false; } if(document.register.email.value == "") { alert('Enter valid email'); document.register.email.focus(); return false; } else if(document.register.password == "") { alert('Enter Password'); document.register.password.focus(); return false; } if(document.register.repeatpassword.value … | |
Hi.. plz.. suggest me online mini project topic based on ASP language.....I am very confuse...plz help me... | |
I am very new to VB.net I am not look for someone to just do it for me just send me in the Right direction I want to learn but I keep tripping up on Conversion from string "C:\Users\Zach\Desktop" to type 'Integer' is not valid. Please shed some light on … | |
I have problems with the enable/disable of textboxes if the radio button is selected/deselected. Normally, if I select "Others" from the radio button group "Project List", the textbox is enabled. But if I select other than "Others", the textbox is not disabled. This also happens on the radio button groups … | |
Good day guys, I would just like to share my code and wanted to do something about it. This code shows a loop inside a loop initializing a two-dimensional array named arr with elements [2] and [5]. Here's my code: #include <iostream> #include <conio.h> using namespace std; int main () … | |
how do i develop a software for insurance database system | |
I need help with this program I am doing. I need to be able to select encrypt or decrypt(ive only done encrypt at the momment) and need to be able to select an offset here what ive got so far and I have a number of problems. http://imgur.com/a/N3Tul 1 is … | |
Public Class Form4 Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click ListBox1.Items.Add(InputBox("Masukkan jenama baru anda:")) End Sub Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click Dim s As New IO.StreamWriter("toner.dbo") For i As Integer = 0 To ListBox1.Items.Count - 1 s.Write(ListBox1.Items(i) & … | |
I'm looking for a user login (or identity) tutorial/example on MVC5 that uses an existing SQL Server database and user table, so NOT code first, and NOT using Entity. Can't see the forest through the trees apparently, because I cannot seem to find one. | |
Hi all, I am trying to compare output from DB The code below works on 1 check, but I require to do this on multiple products like so `if rowProduct("GRPCODE") <> "Cross Hire" or rowProduct("GRPCODE") <> "Boiler Ancillaries" then` etc but the above line does not work as I have … | |
I am trying to change the first character of each word in a list to upper case using Python 2.7. I am able to change the entire list to lower case, but I am not getting what I want - i.e the first character of each word to be upper … | |
DISPLAY THE FACTORS AND THEIR COUNT FOR A GIVEN NUMBER. SAMPLE DIALOGUES: #1 Type a number: 9 The factors of 9 are 1,3,9. There are 3 factors. #2 Type a number: 12 The factors of 12 are 1,2,3,4,6,12. There are 6 factors. | |
Hi everybody. I've created a .py file with a simple function in it. Now i want to call that function from linux shell scripting. How should i do that? please help me, thank you. | |
'Ello I just completed my final individual assignment for my first java programming course. This is what I want to do and learning how to do it is what brought me to school. Unfortunately my class facilitator has decided that it is not in his best interest to contribute to … | |
Based on types of riding bicycles can be classified into different categories such as Touring bike, Mountain bike, cruising bike and so on. Though there are different bicycles there are some properties shared among many of them, for instance each them has its own color, number of gears, brand. On … | |
hya all i am getting the error in pic included in this post and i dont know what i could be i have found the following bit of code included below <tr> <td><?php echo date_diff($lastlogin['lastlogin']);?></td> </tr> then i have found the file where the coding for this sits see below … | |
i'm using the HiliteMenuItem() for test if the mouse is above the menu item: int i=0; for(i=0; i<GetMenuItemCount(menuhandle); i++) { if(HiliteMenuItem(HandleWindow,menuhandle,i,MF_BYPOSITION) == true) { menuposition=(UINT)i; break; } } but i always get the number 0. heres how i detect the menu handle: case WM_INITMENUPOPUP: { menuhandle=(HMENU)wParam; return 0; } break; … | |
In my Windows Forms c# project I try to connect to an already existing ms sql database file (added binding Source on the form, then : bindingSource -> properties -> DataSource -> add source - > .... ) but when I pick this file it writes something like "You dont … | |
Hi Guys Please have a look at my model and then read below public function get_events(){ $query = $this->db->get('events',1, 1); return $query->result_array(); Okay so when i run the page i only get my message that no entry's are in the table! So when i insert a entry it displays the … | |
Hi I have a stored procedure with a cursor which check if a field is filled in after a certain deadline. DELIMITER $$ CREATE DEFINER=`root`@`localhost` PROCEDURE `controleDeadlines`() BEGIN #declaratie variabelen die nodig zijn declare cId int; declare cDeadline text; declare cUitgevoerd date; declare cOpmerking text; declare cStatus text; declare DONE … | |
Hi to the forum; A simple question: I want to make a prime number checker: So if I want to test if 25 is a prime number. i should to verify if 2 is a factor. if it is not, i verify with 3 and 4 (not my subject if … | |
Index.php <html> <head><title>Registration</title> <script type="text/javascript"> function numbersonly(e,length){ var unicode=e.charCode? e.charCode : e.keyCode var maxlength=length; if (unicode!=8){ //if the key isn't the backspace key (which we should allow) if (unicode<48||unicode>57) //if not a number return false //disable key press } } </script> <script type="text/javascript"> function validation() { var a = document.form.phone.value; … | |
please help me to do Saving Gridview and Non Gridview data to Sql Database | |
I have this script which can calculate the total of numbers given in a string total = 0 for c in '0123456789': total += int(c) print total How should I modify this script to find the total of if the numbers given in the string form have decimal places? That … | |
On my Raspberry Pi computer I did a search for PIL and matplotlib with apt-cache search python but could not find anything close in the list. Is PIL/Pillow and matplotlib available for Linux and what is it called? The Raspberry Pi has Python27 and Python32 installed. | |
Hey guys, I am making a small script here and I got stuck on it a bit ... perhaps one of you could help me out The idea is to send an email that has attached zip file to it. My script is import smtplib import zipfile import time from … | |
hi everyone, how can i retrieve the data from sql serve2008 and put it in array using vb.net2010. Can anyone help me with this? | |
I'm working on a server and client program. Data will be exchanged between the server and client. This data will be encrypted. The server will always generate the salt and the IV. The client will receive the salt and IV and use it to encrypt / decrypt the data that … | |
Can you please help me do a asterisks of pyramid using the drawbar function, im new to c++ please help. Thank you in advance this is the drawbar function: the output should look like: * *** ***** ******* /*Overloaded drawbar() program.*/ #include<iostream.h> void DrawBar(int Length) /*Diplays a bar of asterisks … | |
private void Login_page() { var i = 0; while (i < 5) { if (textBox1.Text.Equals("admin")) { if (textBox2.Text.Equals("parth")) { } else { textBox1.ResetText(); MessageBox.Show("passwod is wrong try agine"); i++; } } else { textBox2.ResetText(); MessageBox.Show("username and password is wrong"); i++; } } if (i == 5) { MessageBox.Show("you tried max … | |
I have a custom php function for my multiple upload function. I cannot figure out how to make it so when I insert the file name to the database that it matches the row id, of that insert. How can I make it so. When I create a new banner … | |
I am using a JTabbedPane with three buttons. The program is running fine except that the buttons remains small even if you resize the window. Is there a way of setPrefferedSize for them? here is the code if it helps: public final class JTabbedPaneDemo { JFrame frame; JTabbedPane pane; JPanel … | |
So I have a website and it looks completetely normal in Google Chrome. When I open it up in Mozilla Firefox, there is 1 heading that won't word-wrap unless I make the font 1px bigger. So instead of looking like this: Welcome To Weblup! It just looks like this on … | |
Hey guys, I am a bit confused here ... making a script to brute force through a dictanary the password of a zip file and it seems to work fine except that it won't stop when the password is found. And when it prints the password it just prints the … | |
Hey guys, I am making a script here to read from windows registry. The problem that I am facing is that at a certain point I start getting an error that the file does not exist. First Here is what I am doing `net = r"SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList\Signatures\Unmanaged"` `key = OpenKey(HKEY_LOCAL_MACHINE, … | |
Hi i have created a events script for my members to post there planned event all is working there but i want it where all members will see the events that other members have submitted in a list style like My list of events : Type: Meet at your place … | |
How can I convert html to image? | |
Hello i have a problem with my website. It is running slow. I asked the my server provider why is that, and they replied its because the webiste uses many embedded urls like youtube, vimeo, dailymotion and so on. And so i have to cache these embedded urls. I tried … | |
I improved my AES encryption code, I now generate a key from a password of any length. But now I dont know if I'm generating a 128, 192 or 256 bit AES key. Here is my code: import javax.crypto.spec.PBEKeySpec; import javax.crypto.spec.PBEParameterSpec; import javax.crypto.SecretKey; import javax.crypto.SecretKeyFactory; import javax.crypto.Cipher; public class AESCipher … | |
I use codeigniter 2+ for my frame work I am having issue with my multple file upload that are in array. I is not picking up the number with in the array. Example: name="banner_image[auto_generated_number]['image']" how to make a foreach work with the banner_image[auto_generated_number]['image'] Currently my code is public function do_upload() … | |
Do you have any ideas on how to make a yearly expiration/subscription in your VB.NET application? | |
Hello Group, I'm trying to convert some VBA code into VB.net. Here is that VBA code: Open filePath For Input As #1 ' filePath = the text file I need to read Do Until textRowNo = 8 'discard these first 7 rows... Line Input #1, LineFromFile 'this is the row … | |
Hello! I have some i like this: `<i class="pcon" style="background-image: url(./styles/SkyBoot/imageset/topic_unread.gif); background-repeat: no-repeat;">` I want to change only this: `styles/SkyBoot/imageset` to this: `styles/SkyBoot/imageset/black` Because i have cookies and i want to create second template. I want this to change images for my black template (second theme) I try with: `jQuery('.pcon').each(function(e) … | |
Hi all, Im starting to use composer, and have installed a few packages - This thread is about illuminate/database component. Im clearly misunderstanding something about how i can use the autoloader. I have the following directory structure: -app -assets -vendor index.php [Request goes to index.php] - This file includes composers … | |
Apologies for such a vage title, but I seriously don't know where the two issues I have are related to. My JavaScript/jQuery skill is on a noob level, so bare with me please :) I'm working on a AJAX/HTML5 History website which is a pet project of mine. It will … | |
I always see Python for web development but not for desktop programs. I've heard you can but can't find resources on how. Thanks in advance O:) | |
Hello All This is probably an easy one (I hope). I have a JLabel whose text I am trying to right justify. Should be <labelname>.setHorizontalTextPosition(JLabel.RIGHT). Simple, right? (wrong). It does nothing to the text on the label. The text just shows up with it's default left justification. However, when I … |
The End.