64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for Majestics

I have googled alot exampled to create auto complete jcombo box, found many libraries also codes but they are pretty much complex, has any one idea to create this as easy as possible????

Member Avatar for Majestics
0
1K
Member Avatar for nikolaos

After login (if succeed) a user will see the result of statement "select test_column from table_test " execution. table_test is the only table of database 'test' which i have created in NetBeans 7.0.1. test_column is the only column. class '[B]MySQLTest[/B]' creates the gui for login , connects with the database …

Member Avatar for nikolaos
0
2K
Member Avatar for wezel

Hello community, I wanted to see if the following scenario would be possible with VB. We have 13 different locations. What I want to do is open an access database. I want to open a table in access and sort it by a particular column by date. Once sorted I …

Member Avatar for wezel
0
170
Member Avatar for kayoh

Hey guys, Just as the title says, I want to implement using an excel spreadsheet as an argument for a python script. I already have the layout of the spreadsheet, but I want to be able to assign the variables in my python script from specific cells of the spreadsheet. …

Member Avatar for Gribouillis
0
1K
Member Avatar for dwayned

Hi, I am trying to write an applicaiton which will run 2 zip files (one after another) with minimum user input. I can get the file to run but it is then waiting for the user to select "Unzip" to unzip the file. I was wondering if there is a …

Member Avatar for dwayned
0
1K
Member Avatar for meyumi_lelouch

I am trying to make a program that will list all the National Heroes of our Country. We used the switch statement. [CODE]#include "stdafx.h" #include "iostream" #include "stdio.h" #include "conio.h" using namespace std; int main() { int choice,desc; char repeat; cout<<"\t\t\t\tPhilippine National Heroes\n\n"; cout<<"[1]Dr.Jose Rizal\n"; cout<<"[2]Andres Bonifacio\n"; cout<<"[3]General Gregorio Del …

Member Avatar for Anuradha Mandal
0
900
Member Avatar for Sparhauoc

Greetings all, I am working on a website with data I only want logged in users to see. I currently have it where once they have logged in successfully, they can browse the website, and if they are not, they are directed to the login page. Sounds great. However, if …

Member Avatar for broj1
0
122
Member Avatar for pivotcity

just asking for assistance with the menu items as they are set to uppercase M, R, C, X in the case statements how can this be modified to accept 'm' or 'M' as valid input. [CODE] using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.IO; namespace PracticalTest5 { class …

Member Avatar for Singlem
0
3K
Member Avatar for bsiness

Could Someone PLease Help Create Forums... Some Reference Codes PDFs? I don't owe a top-level domain just free hosting so here it comes... I'm a 15-yr old boy and I want to learn how to make [U]forums with users log-in[/U]... gonna style it put some ads(which is the thing I …

Member Avatar for stbuchok
0
101
Member Avatar for 54uydf

I'm saving queries in my DB as strings here's my code: [CODE] $SQLcode="SELECT * FROM ... WHERE field="blah blah" HAVING field2<$x"; $query = "INSERT INTO tblQ (qId, qName, description, SQLcode) VALUES (NULL, '$qName', '$description', '$SQLcode');"; [/CODE] the problem is inserting a string into the $SQLcode, if I do it this …

Member Avatar for cereal
0
80
Member Avatar for evilguyme

Hey guys! i have yet another problem and cant find a way around it :O i have this function in the class Platform [CODE] void Platform::set_clips(SDL_Rect platClip[], int i) { for( int j = 0; j < i; j++ ) { platClip[j].x = 0; platClip[j].y = 0; platClip[j].w = random_number_w(); …

Member Avatar for evilguyme
0
140
Member Avatar for Nahiyan

Hi, I have used this code to make a php file with php code in it: [CODE]<?php $fn = 'connect.inc.php'; $string = "<?php $mysql_host = 'localhost'; $mysql_user = 'root'; $mysql_password = ''; $mysql_database = 'main'; @mysql_connect($mysql_host, $mysql_user, $mysql_password) or die("There was an error connecting to the server"); @mysql_select_db($mysql_database) or die("There …

Member Avatar for cereal
0
145
Member Avatar for fobos

Hello everyone, i had a question on how to pull certain content from a website using PHP and cURL and dislay it on a page? So far from the web, this is all i was able to find out, but this just saves the coding into a text document. Lets …

Member Avatar for cereal
0
877
Member Avatar for dashawk

Hi guys, I have a problem on my php code and url passing. [B]What it should do:[/B] There are 3 forms of the php file, the [B]"email"[/B], [B]"item1"[/B] and [B]"item2"[/B]. The [B]email form[/B] is hidden by default on page load, it will only be visible if any of the [B]item1[/B] …

Member Avatar for cereal
0
429
Member Avatar for heshanm

I have created these 2 pages to generate reports. [B][U]teller_reports.php[/U][/B] [CODE] <form id="form1" name="form1" method="post" action="daily_transactions_report.php"> <label>DailyTransaction Reports<br /> <br /> DATE </label> <input type="text" id="demo3" name="date" maxlength="25" size="25"/> <img src="../images/cal.gif" onclick="javascript:NewCssCal('demo3','yyyyMMdd')" style="cursor:pointer"/> <p> <label></label> <label> <a href="tcpdf/examples/daily_transactions_report.php"> <input type="submit" name="button" id="button" value="Generate" /> </a> </label> </p> </form> [/CODE] [B][U]daily_transactions.php[/U][/B] …

Member Avatar for heshanm
0
186
Member Avatar for rakwel10

Pls help me find the problem. All input fields work except for the upload. It doesnt take the file to directory I want. I have error scripts in case there's an error but alert errors are not popping, I dont know why... Help... [CODE] if(isset($_POST['submit'])) { $upload_errors = array( UPLOAD_ERR_OK …

Member Avatar for adkhan
0
139
Member Avatar for Singlem

Hi Basicly have been googling for a long time now and can't seem to find a clear answer. I want to bind to forms to each or something like that. I have an main form and display a child form from it. But I want to make it one form …

Member Avatar for nick.crane
0
129
Member Avatar for bhagawatshinde

Hi, i am trouble to find out this problem. I have develop an windows application in that one form contains the datagridview(see attachments). When i click on Download it will displayed lable on datagridview displaying message Downloading Please wait... . When i am clicking on download a am enable datagridview …

Member Avatar for bhagawatshinde
0
547
Member Avatar for syeda amna

hi I want to resize the panel that is on the NORTH/Button1 (PAGE_START) of the Border layout. how can I get broad panel?? Is it possible or not?? [ATTACH]22085[/ATTACH]

Member Avatar for JamesCherrill
0
138
Member Avatar for g_amanu

i have a folder that contains csv excel files that have numbers in the first column labeled 'x', second column label'y', and third column labeled'z'. i was trying to take all of the numbers in the x and calculate the averages and std, take all the numbers in the y …

Member Avatar for g_amanu
0
7K
Member Avatar for Anuradha Mandal

[CODE]#include<iostream> #include<cstdlib> #include<conio.h> using namespace std; int main() { int i,j=0; cout<<"1"; for(i=1;i<=55;i++){ if(j>12) break; else{ if(i%2==0||i%3==0||i%5==0) j++; } } getch(); return 0; } [/CODE] This is my code .I want to print the numbers whose only prime factors are 2, 3 or 5. The sequence 1, 2, 3, 4, …

Member Avatar for WaltP
0
137
Member Avatar for heshanm

In the below query,the "Account has been successfully approved" message dispayed. But in the database still approved_status remains '0'. [CODE] <?php $connect=mysql_connect('localhost','root',''); mysql_select_db('bank',$connect); if(isset($_POST['account_number'])) $account_number=$_POST['account_number']; else $account_number=''; $query = "UPDATE account_details SET approved_status='1' WHERE account_number='$account_number'"; $result= mysql_query($query) or die(mysql_error()); if ($result) { echo "Account has been successfully approved"; } ?> …

Member Avatar for urtrivedi
0
177
Member Avatar for evilguyme

hey guys! i am trying to make an algorithm that generates random numbers within a given range ( this range may differ ) i have tried using rand() but i dont like it because the best seed is the time and it doesnt generate numbers random enough. thing is i …

Member Avatar for Narue
0
121
Member Avatar for tawes01

I want to make a c++ program that can open an image that is in any of the major formats (jpg, gif, bmp, png) and has any size and I want to resize it to a specific size (no, I don't care if it looks stretched) and save it to …

Member Avatar for tawes01
0
1K
Member Avatar for extemer

hello guys...i have a class table in which there are two fields [B]class_id[/B] and [B]class_name[/B] and a student form in which there is a text field in which user will mention the student class and then hit add.this will retrieve class_id from class table instead of class name into student …

Member Avatar for extemer
0
173
Member Avatar for Hendo

Hi, it's me again. Obviously, you've all figured out that I'm new to the programming thing. Here's my next stumbling block.:( In C#, using Visual Studio 2010, I need for my program to check which version of .NET is installed on the machine, and then automatically install the v4 .NET …

Member Avatar for Momerath
0
131
Member Avatar for SpiritualMadMan

Here's My Problem: I have three Python Modules (using 2.7.2) TC_Config.py merely holds Common Variables used by both of the other two Modules. pyTC.py is supposed to be a Test and Flow Control (Master) Module that once standardized will not be changed (much). ptf.py is a module that will be …

Member Avatar for SpiritualMadMan
0
148
Member Avatar for coroll

Hi all, Im adding a column after the dataGridView is populated. Then I want to add LinkLables to that column. how to do this. PLZ help me. I've tried this.But it gives me an error. this is my buton click.its ok. [CODE] private void button1_Click(object sender, EventArgs e) { Search …

Member Avatar for codes4f0x0d
0
2K
Member Avatar for hughesadam_87

Hey everyone, I'm making a data analysis suite in python, and want to construct a custom event handler which will reset the axis based on the data in the current subplot. To do so, I need the event handler to know what data is currently in the subplot. The matplotlib …

Member Avatar for hughesadam_87
0
179
Member Avatar for Natique

Hi! I'm trying to send data from a mobile application written in Java ME, to an ASP.NET website connected to an SQL server. I tried to open an httpconnection output stream in the Java ME application, and send the data in a POST to the website. The problem is I …

Member Avatar for Natique
0
219
Member Avatar for raaif

I am trying to check for certain processes that is running and then inform the user of those processes via textbox like "The programs; -name of the processes running goes here- are running" The I am using is [CODE]Dim iIndex As Integer Dim isd As Integer = 0 iIndex = …

Member Avatar for raaif
0
173
Member Avatar for MissJava

Hi everyone! I need some help in my programme. I have an error message: "error: int cannot be dereferenced" at line 134. Could you help me solve this problem, as I do not know what it means? Many thanks. [CODE]/** * @(#)PrizeCollection.java * * PrizeCollection application * * @author * …

Member Avatar for JamesCherrill
0
7K
Member Avatar for SakuraPink

hi everyone, I need to write a piece of code that sort an array of double values named distance[i] in the following code. The counter i is the index for another array as well therefore I don't want to change the order of the array. I got hint from this …

Member Avatar for SakuraPink
0
153
Member Avatar for betny

[code]/* * @author BKChepkwony * Created on 24 Aug 2011 */ package com.jjpeople.arrays; import org.apache.log4j.BasicConfigurator; import org.apache.log4j.Logger; /** * Class demonstrating usage of arrays * * @author BKChepkwony * Created on 24 Aug 2011 */ /** * @author BKChepkwony * Created on 24 Aug 2011 */ public class ArrayExample { …

Member Avatar for betny
-1
189
Member Avatar for FriXionX

As in, if you had an if statement, for example: [CODE]if(endProgramChooseType != 'y' || 'Y' || 'N' || 'n'){ (code for exiting program) }[/CODE] How would you do that in a switch statement? without doing [code]case 'a': case 'A': case 'b': case 'B': case 'c': [/code] etc.

Member Avatar for FriXionX
0
6K
Member Avatar for SolidSora

I'm trying to use a for loop to convert a number into star images. My program reads from an SQL database to take a rating, which that works fine, but when I try to use a for loop it's a problem due to it being inside a table. Here's my …

Member Avatar for SolidSora
0
122
Member Avatar for stephen_UK

I have written a mysql database using PHP which uses a multi-field form to collect descriptive information about archaeological finds/features etc. Some of the fields are text or medium text in length. It is common when describing things to include references, which frequently now take the form of a url. …

Member Avatar for stephen_UK
0
109
Member Avatar for mikeybware

I am trying to use WebClient to download a .zip file from my server. In debugging mode the code works perfectly, but when I deploy my software the file does not even begin to download. After my program checks to see if an update is available, it should download the …

Member Avatar for mikeybware
0
320
Member Avatar for sDJh

Hello altogether, I am supposed to work through a project written in C++ and QT for Windows platforms. Now I am not an expert in window-related stuff. I installed MinGW 3.4.5 and QTSDK on Win XP SP3. I am using the tool "qmake" to create a makefile with all dependecies …

Member Avatar for sDJh
0
319
Member Avatar for Nathan_11

I am new to computer programming. Could someone explain me this code... s=0; for(i=0;i<5;i++){ s=2*s+i; } And how did it have the output 0,1,4,11,26;

Member Avatar for JeffGrigg
0
127
Member Avatar for 54uydf

Hi, I've got a table with 3 cols and each cell has a checkbox. I want to have 3 checkboxes above the table that each one checks/unchecks all the checkboxes in the table but ONLY in one col. so if I click checkbox 1 all the checkboxes in col 1 …

Member Avatar for 54uydf
0
199
Member Avatar for suemaina
Member Avatar for Netcode
0
306
Member Avatar for ecclesiastes3:1

Good Day... the problem is that the Jbutton is not displaying in my Jpanel. can you help me, this will help me a lot, Thanks Here's the code [CODE] import javax.swing.*; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.net.URL; import javax.swing.JButton; import javax.swing.JOptionPane; public class GameBoard extends JPanel implements ActionListener { JButton …

Member Avatar for ecclesiastes3:1
0
300
Member Avatar for termin8tor

Hey all, I've been programming an ISBN system of sorts and I'm a little stuck (again). I want to output my linked list to a text file, so I setup the code like this: [code] void saveList(char fileName[40]) { for ( list< Publication* >::iterator it = pubList.begin(); it != pubList.end(); …

Member Avatar for termin8tor
0
275
Member Avatar for spawn2004

hi everybody i have a question : I am writing a website and i havee a drop down menu. when the user is logged out he can see part of the menu and when hi is logged he see the other part. i hide the menu with <?php if(isset($logged)){ ?> …

Member Avatar for spawn2004
0
156
Member Avatar for evilguyme

hey guys! im just so frustrated with this error .. more like a bug though heres a link to all my code on google docs [URL="https://docs.google.com/document/d/1JxrZtbBJ8RPpMvuXvi767Y4gBSiXmKauNu7RApHNVbg/edit?hl=en_GB"]Source[/URL] the bold and enlarged stuff is whats causing the bug problem is when i add [ICODE]void Platform::set_clips(SDL_Rect platClip[], int i)[/ICODE], i guess something in …

Member Avatar for evilguyme
0
121
Member Avatar for Oinkertop

I'm currently developing a game (And no, just because that's the case doesn't mean this belongs in game development), and I've run into a problem. Basically, I need to generate a random number. The number needs to stay the same after it is generated once. The code is in an …

Member Avatar for Oinkertop
0
149
Member Avatar for nera1981

Hi, I am biginer to java. I need to make a class method that retrieve specific row values from database (using ID), and then to make new class instance using those values (as field properties). I wrote code for the first part(getting row value from ID), but I need help …

Member Avatar for nera1981
0
158
Member Avatar for Anuradha Mandal

I want to print a pyramid like this..... ***** **** *** ** * This is my code.....[CODE]#include<iostream> #include<conio.h> using namespace std; int main() { int i,j; int b; char* sp=" "; cin>>j; for(int a=j;a>=1;a--) { for( b=a;b>=1;b--) cout<<"*"; cout<<endl; for(int k=1;k<b;k++) cout<<sp; } getch(); return 0; } [/CODE] But it …

Member Avatar for Anuradha Mandal
0
107
Member Avatar for Thropian

I'm hoping I'm not the first to deal with this issue but here goes. running py2exe I get this error [CODE]Traceback (most recent call last): File "setup.py", line 4, in (module) setup(console=['hello.py']) File "C:\Python27\lib\distutils\core.py", line 152, in setup dist.run_commands() File "C:\Python27\lib\distutils\dist.py", line 953, in run_commands self.run_command(cmd) File "C:\Python27\lib\distutils\dist.py", line 972, …

Member Avatar for Thropian
0
804

The End.