199,114 Archived Topics
Remove Filter ![]() | |
All, Im guessing this is going to be easy for any one to answer bc im such a fucking noob but here goes. I have mysql fields set to DATETIME and i just want to pull out that data and have it display in my form. And i would also … | |
Hi i am doing a student grade lab where the student enters a grade they got on a test and they get a letter grade. My program only gives the user a F even if it should be another grade. This is my code. [CODE]strT1 = JOptionPane.showInputDialog("Enter 1st test score:"); … | |
Ok i have a lot of tables that are created when a user inputs information. Some info gets stored in a "Main" table while the majority is saved in its own self created table. I do not know the number of "topics" in Main table. so in way i'm trying … | |
Hi, I have to design a program that plays sounds (from WAV files). I have to create a wav and play it. Once it finishes I have to change the contents of that wave file and play it again. It is like playing a wave file that is constantly changing. … | |
Hello everyone, i met a real big problem and i'll really appreciate if someone can help me on this. i know there's something wrong in my file but i can't locate this problem. so the problem is i can't browse pages..for example i have 19 pages when i click on … | |
hi experts During my development progress i was stuck up with a problem. I used a class MyList and with the Help of this MyList the combo box named cboCity was filled with City Code(like 1001,1002,etc..) as Value member and City Name (like Canada,California etc...) as display member. [CODE] Public … | |
Hi, I am currently taking care of a website that goes back to 1997 and mostly all programmed with Asp 2.0 and vbscript, while i keep the pages in Asp 2.0 when i have to update them, this week i had to implement some new pages, and since we are … | |
hi... could anyone please help me with how to create buttons dynamically in vc++ 6.0 dailog based application | |
Hi all! I have this code. Everything works fine except "setTimeout..." function. It's supposed to repeat this function every second (and change the age). Can someone, anyone, help me? Thanks a lot! [CODE]<script type="text/javascript"> function parseDate(input){ var parts = input.match(/(\d+)/g); return new Date(parts[0],parts[1]-1,parts[2],parts[3],parts[4]); } function calculate(){ var date = new … | |
the following program uses 2 arrays a & b of sizes m & n, both the arrays take values from user. third array is of size m+n. i hv to merge these two arrays into third one. but becoz of 1 error i m unable to do this. i hv … | |
Is there a library that's easy to setup and use with Visual Studio 2010 for AES encryption/decryption? I've been fiddling with CryptoPP and it's endless link errors and iterator_level_not_equal error messages for an hour now, so I think it's time to look for an installer or a new lib. Any … | |
I managed to load the bmp file into my project, but it was giving dull and hazy kind of texture for some images .. any idea as to why this is happening ?? | |
Hello all, I am debugging a vb app for my company. I did NOT create this app. So far there is just one thing that has been bugging me, AxctlUSBHID.AxUSBHID. Heres the code and the error im getting for each section. There is only two errors. (1) [CODE]Private Sub InitializeComponent() … | |
I have this code: [CODE] /* * To change this template, choose Tools | Templates * and open the template in the editor. */ package se211.dz14; import java.util.Scanner; /** * * @author Boris */ public class Month { /** * @param args the command line arguments */ public static void … | |
Hi, I'm just wondering, why do we bother with function prototypes? Wouldn't it be better if we just defined the functions before the main function instead of having a function prototype and a function definition in separate areas? For example, instead of the following: [CODE] #include <iostream> using namespace std; … | |
hi all Here i am trying to a code in which the run method is not being called when the thread is started.. Can anyone help me please.. Here is my code [CODE]import java.awt.*; public class Games extends Frame implements Runnable { int x=250,y=470; Thread t=new Thread(); Games() { setVisible(true); … | |
Hi, Can someone please help me with understanding the differences between the 2 please: [CODE] Shape* rectangle = new Shape; [/CODE] And [CODE] Shape rectangle; [/CODE] I know that with the pointer you use the "->" operator to access the object methods, and with the other one you use the … | |
Hello, I would love to display the values of 65 columns which have been added and then display them on the screen, at the moment only 59 of the 65 columns added appear. here is my code. $result = mysql_query("SELECT SUM(segment) AS segment, SUM(funct) AS funct,SUM(pronoun) AS pronoun.............. right up … | |
Hi, I made code of several classes for game, not 3D nor 2D, it's like those on FaceBook where buttons are main. I'm curious, could code for that type of game be called Game Engine? Hmm... Thanks! :) | |
hi. im programming a 2d game and on the university computers it runs nice and slow but on my i7 laptop the ball travels at a million miles per hour. how can i restrict the speed/fps. | |
Hello everyone....... i need to display the html and php page on the tkinter window...is that possible to create a frame or canvas, which work as a php html interpreter.......... to fetch html i can use urllib module, i think... Thanks .... | |
Ive been trying to code a GUI application in qt but im having trouble trying to get a button work. homewindow.h: [CODE]#ifndef HOMEWINDOW_H #define HOMEWINDOW_H #include <QWidget> class homeWindow : public QWidget { Q_OBJECT public: homeWindow(); ~homeWindow(); void init(); private slots: int when(); private: QWidget *aWidget; }; #endif // HOMEWINDOW_H[/CODE] … | |
create table Course ( courseId char(5), subjectId char(4) not null, courseNumber integer, title varchar(50) not null, numOfCredits integer, primary key (courseId) ); create table Student ( ssn char(9), firstName varchar(25), mi char(1), lastName varchar(25), birthDate date, street varchar(25), phone char(11), zipCode char(5), deptId char(4), primary key (ssn) ); create table … | |
i have downloaded pdcurses and installed it. and , right now i am studying a ncurses tutorial , [url]http://tldp.org/HOWTO/NCURSES-Programming-HOWTO/intro.html[/url] there are some sample examples also. but, when i try to compile "form" code examples , i see that there are no <form.h> header file in the pdcurses installation. has, anyone … | |
Hey I want to create a JAR library but not sure how to in MyEclipse. Im currently doing it manually using jar command but I cant seem to get it correctly The library code is: [code] public class LibAdd { public static int addtwonumbers (int a,int b) { return a+b; … | |
[CODE]class DoWhileDemo { public static void main(String[] args){ int count = 1; do { System.out.println("Count is: " + count); count++; } while (count <= 11); } }[/CODE] can someone please rxplain to me how does Do while statements work? and how can i use it in my program?: [CODE]public static … | |
im trying to do a program like this: i need to do a program like this: Automatic Teller Machine [B] Balance [D] Deposit [W] Withdrawal [Q] Quit select you OPtions: once i have chosen an option then i should proceed here if i choose b: YOur Balance is __ if … | |
Hello guys well I have been working in this arraylist that is now driving me crazy! Bascially I wrote a CAR class which has some methods in it, however now I created an arraylist so it could store cars from the other class and at the same time have access … | |
I am new to Java Swing, I have created a JFrame which should get displayed when there is mouse focused over it and should be hidden when the mouse is not over it. Should i add a window listener for it. | |
Hi, I have this sort of problem whenever the datatable has an empty cell, it shows cannot find column 6 or depending on the number of the datatable column cell. Why does this happen and how can I resolve this? Thanks | |
Beginning C# programmer here. I have had lots of problems finding online a tutorial or help-me thread where someone explains how to create the specific type of user profile database I need. I need to use SQL and C#.NET to create a profile/role for each specific user on my website. … | |
I want to disable shortcuts in a menu. This dont work. Even though I dont have any shortcutkeys it automatically chooses the first letter in every menuitem. This I dont want. I found very little about this on the net. Below is a link where they finally concludes it with … | |
what's wrong with my code? <?php error_reporting(0); // ' Send me an email' script if($_POST['submit']) { //get data from form $name = $_POST['name']; $message = $_POST['message']; if($name&&$message) { // existance check $namelen = 20; $messagelen = 300; if(strlen($name)<=$namelen&&strlen($message)<=$messagelen) // length check { // everything is ok! //set SMTP in php.ini … | |
hi all i have created a dynamic signature for a project i am working on it is working fine but i would like to also pull the users avatar as well to show inside the dynamic signature. my current dynamic code [CODE]<?php include("../system/uploadconnection.php"); include("../functions.php"); $username = $_GET['username']; // This gets … | |
i have four computers connected to broadband ADSL router MS SQL Server is installed in all computers while i have done steps given here [url]http://support.microsoft.com/kb/914277[/url] it had worked on local networking some time ago but now its not accessing remotely. i m confused its just because of broadband ADSL. if … | |
Hi, I'm not quite sure if there is a thread for Eclipse related query separately. But since this is a java related one. I'm posting it here. Is it possible that i can have PMD check run on a project by default ? Instead of clicking on my source file … | |
If this is not a right place to post this article, please move it to another way, thank you very much. Sometimes(or always) giving a name to a class or variable is not an easy job, I want to make it expressive and short, how do you solve this kind … | |
Hi all,I'm beginner in assembly language. I use TASM and it works well,but I should place all my .asm text files in /TASM/BIN directory ,because only there assembler see the files. and this is quite annoying,I want to have special folder for this purpose and place it whenever I want. | |
Trying to figure out why this SIMPLE math function will not work. If anyone can help me that would be great....Thanks [CODE] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Calc Price</title> <SCRIPT LANGUAGE="JavaScript"> function doMath() { var one = eval(document.theForm.elements[0].value) var … | |
I know how to pull data from a db and present it in a textbox in a form my question is, how can i pull data from a db and present it in a datagridview? and another thing, once a certain row is double clicked, new form will show and … | |
Hello All, I have 3 combo boxes on my form 1. Doctor Start Time 2. Doctor End Time 3. Doctor Appointment Duration I want a 4th combo Box that will Start from Doctor's Start Time upto Doctor's End Time with the interval of Appointment Duration eg. Suppose the Start time … | |
Hi! I created a really simple CRUD app in C# using MS SQL as back end. I connected the DB using connection string and use dataset, and data adapter to pull data from the db Im searching for the simplest way of checking record if it exist in a table … | |
Hi, How can I create an array of a class that I have declared? I have this class named parts with properties of frame, engine and date, and i want to know how could I store them in an array .. thanks | |
I have a problem at login to the site: Constantly message appears: Deprecated: Function mysql_db_query() is deprecated in /home/vebsajt/public_html/hosting/config/functions.php on line 53 Deprecated: mysql_db_query() [function.mysql-db-query]: This function is deprecated; use mysql_query() instead in /home/vebsajt/public_html/hosting/config/functions.php on line 53 the file in line 53 functions is: $check_login = mysql_db_query($db, "SELECT * FROM … | |
please help..i need a basic code in printing using vb.net..the scenario is..im going to print a delivery reciept..the data will be came from my tables...i need the code on printing..basic printing.. thanks in advance rudner | |
Hi, I have this fileupload in my program and I want to set it's extension to .xls only, Is it possible? If yes, how can I set it so it's file filter will only be .xls? Thanks | |
Hi everyone, I am very new in this forum as well as in Data base management. Currently started my degree and studying database management system. I need serious help. My 1 assignment was already failed so if I fail this one too then I have to repeat whole subject. Please … | |
Hi friends, I need to make a simple parser for parsing PHP files (classes, functions et al) and I have read both Flex and Bison manual. I have read somewhere that I must build Abstract Syntax Tree (AST) and utilize that. But I cannot find any tutorial on how to … | |
I have created a frame , which cannot be maximized , but i want to make the frame non drag gable, want the frame in fixed position. | |
Hi everybody, Good morning...need to ask some question.. Below is my code for the cinema booking system. [code] import java.util.ArrayList; import java.util.Hashtable; import java.util.Scanner; public class CinemaBooking { final int rows = 7, cols = 4; char[][] seats = new char[rows][cols]; ArrayList<String> reservedSeats = new ArrayList<String>(); public static void main(String[] … |
The End.