64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for london-G

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 …

Member Avatar for stultuske
0
187
Member Avatar for SkateX

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!"); …

Member Avatar for SkateX
0
230
Member Avatar for AntonyRayan

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 …

Member Avatar for broj1
0
205
Member Avatar for alpa shah

Hi.. plz.. suggest me online mini project topic based on ASP language.....I am very confuse...plz help me...

Member Avatar for rohit.gurjar.7798
0
799
Member Avatar for Salvius12

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 …

Member Avatar for djjeavons
0
759
Member Avatar for SpottyBlue

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 …

Member Avatar for madCoder
0
2K
Member Avatar for exoruel

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 () …

Member Avatar for dbfud1988
0
304
Member Avatar for Issahaku Adams
Member Avatar for throwaway123

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 …

Member Avatar for vegaseat
0
342
Member Avatar for szevan.seng

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) & …

Member Avatar for Reverend Jim
0
253
Member Avatar for pritaeas

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.

Member Avatar for pritaeas
0
1K
Member Avatar for davidjennings

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 …

Member Avatar for MaxMir
0
603
Member Avatar for Shaji_1

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 …

Member Avatar for TrustyTony
0
307
Member Avatar for Henry Mark

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.

Member Avatar for rubberman
0
111
Member Avatar for Niloofar24

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.

Member Avatar for Niloofar24
0
1K
Member Avatar for SammyT79

'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 …

Member Avatar for Traevel
0
360
Member Avatar for Hongero

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 …

Member Avatar for peter_budo
-2
138
Member Avatar for janicemurby

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 …

Member Avatar for janicemurby
0
383
Member Avatar for cambalinho

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; …

Member Avatar for cambalinho
0
540
Member Avatar for Alxprog

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 …

Member Avatar for Alxprog
0
289
Member Avatar for Ventech_IT

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 …

Member Avatar for Ventech_IT
0
406
Member Avatar for nevek

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 …

Member Avatar for nevek
0
286
Member Avatar for kouty

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 …

Member Avatar for kouty
0
190
Member Avatar for AntonyRayan

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; …

Member Avatar for AntonyRayan
0
238
Member Avatar for mame.tino
Member Avatar for faizlo

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 …

Member Avatar for Gribouillis
0
278
Member Avatar for sneekula

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.

Member Avatar for vegaseat
0
394
Member Avatar for Slavi

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 …

Member Avatar for Slavi
0
8K
Member Avatar for batoolhussain

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?

Member Avatar for batoolhussain
0
109
Member Avatar for CodeWarrior14

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 …

Member Avatar for CodeWarrior14
0
3K
Member Avatar for MiicahLiim

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 …

Member Avatar for dbfud1988
0
427
Member Avatar for parth2911

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 …

Member Avatar for parth2911
0
177
Member Avatar for riwakawd

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 …

Member Avatar for riwakawd
0
215
Member Avatar for Nation

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 …

Member Avatar for Nation
0
1K
Member Avatar for Bensirpent07

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 …

0
142
Member Avatar for Ahmed_57
Member Avatar for Slavi

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 …

Member Avatar for Ene Uran
0
265
Member Avatar for Slavi

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, …

Member Avatar for Ene Uran
0
182
Member Avatar for janicemurby

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 …

Member Avatar for janicemurby
0
164
Member Avatar for jean_5
Member Avatar for SimonIoa

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 …

Member Avatar for SimonIoa
0
604
Member Avatar for CodeWarrior14

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 …

Member Avatar for CodeWarrior14
0
3K
Member Avatar for riwakawd

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() …

Member Avatar for lps
0
212
Member Avatar for CodingSource
Member Avatar for Santanu.Das
-1
130
Member Avatar for Papa_Don

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 …

Member Avatar for Reverend Jim
0
9K
Member Avatar for grakovski

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) …

Member Avatar for grakovski
0
428
Member Avatar for klemme

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 …

Member Avatar for klemme
0
1K
Member Avatar for gentlemedia

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 …

Member Avatar for Airshow
0
553
Member Avatar for Azmah

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:)

Member Avatar for kristopher.roller
-1
1K
Member Avatar for alexdoc9999

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 …

Member Avatar for Joao_3
0
889

The End.