199,114 Archived Topics
Remove Filter ![]() | |
Hi I'm developing an application using jsp.In that i want to upload a file and insert the datas from that into database. I'm using file type input box to upload file. Its working fine in IE,but getting problem while running in Firefox 3.Bcoz of the security purpose,I cant get the … | |
Hi, Please tell me how to sign a PDF with a digital signature using VB programming. Thanks. | |
I am trying to get a program that gets a list from a txt files outputs it. then inserts a node into the list and the list grows dynamically. Everytime I insert into the list the list is filled with the same values following the insertion point. For this example … | |
Hi all, I am reading through the Non-Programmer's Tutorial and I would like to make a program with Python in which is similar to the one in the example. The difference with the program in this example is that you can only assign a number to a name, whereas in … | |
Hi, so I'm currently porting one of my applications (it's a media player) from Tkinter to wxPython and I am having some trouble as this is the first wx application I have attempted. I am trying to create something similar to [URL="http://i189.photobucket.com/albums/z266/Capn_Soul/DesiredLook.jpg"]this[/URL]. However, I can't figure out the wxPython code … | |
hi, please help me on how to use the textfield_change can you give me an example on this so that i will know how to use this..thanks in advance...hoping for your positive responds.... | |
My book says that interrupt chaining is a "compromise between the overhead of a huge interrupt table and the inefficiency of dispatching to a single interrupt handler." I understand how the interrupt vector table works & why dispatching to a single interrupt handler is worse than choosing from an array. … | |
hi guys i am a beginner to python. Just now completed a few sets of lessons and i'm trying out the exercises given at the end of each chapter. I have learned till the stage of basics in defining a function. But still i am confused. [code] ##This program runs … | |
I have a test table where I'm using the Last() function but it seems to not work, it always return the 2nd record when i have 10 records.. [CODE]SELECT LAST(Date_Received) FROM serviceRS; [/CODE] returns the 2nd record [CODE]SELECT FIRST(Date_Received) FROM serviceRS;[/CODE] returns the 3rd record X_X | |
This is a non technical question, I am not a programmer, but I have a question on creating a C++ program, I hope somone could answer for me, and to see if this could be done in C++, so I could hire someone to make this for me. I am … | |
I am having trouble adding information from a ".txt" file to a linked list... here is what i have. list1.txt: 1 2 4 5 6 7 8 11 [CODE] /** The LinkedList1 class implements a Linked list. */ class LinkedList1 { /** The Node class stores a list element and … | |
Hi guys Good day. I just want to ask help on how to hide the start menu and prohibit access to it as well as the task manager and the date and time when the form loads, and restore it back when the form terminate without restarting the computer. Thank … | |
Hi guys, got a few questions 1. i have initialised my collection with a few objects, how do i set the make etc when i initialise them (i have the set methods). So in the line below where would i put setMake()? would it work with a . accesor after … | |
This is an assignment I have and i'm running into problems on this part of it. I need to assign the value I get from scanner input = to a variable in another class. After I do that, I need to be able to call a method that will display … | |
To start off with this is a homework assignment for my Operating Systems course and I am stumped. The prof wants us to read in a source code file and take out all the comment lines and then output the file back into a new source code file. We can … | |
is it possible, for example, to make the text that appears as output on the command line appear in a certain colour using python? | |
Hi everybody, Actually I stuck in updating a date field in my page that I don't know why it doesn't want to update. I'm retrieving a data from my DB and I I made one column has Textfield that I enter the new date so I press the submit and … ![]() | |
arrgh. I've been messing around with displaying a serial feed in PyGTK. For some reason whenever I thread the little bugger the GUI hangs. YES, I've read the PyGTK FAQ (most of my code came from it) Any help would be really appreciated! [CODE] import threading, thread import gobject, gtk, … | |
[CODE] sendfile(string path) { int length; char buffer[10]; ifstream in(path.c_str() , ios::binary); in.seekg(0 , ios::end); length = in.tellg(); in.seekg(0 , ios::beg); stringstream infofile; string name = splitname(path); infofile <<"info" << " " << name << " " << length; string infoBuffer = infofile.str(); send(infoBuffer); while(!in.read(buffer , 1).eof()) { cout <<::send(sock … | |
I have a webpage with 2 images, mtastats.png, and mchammer.gif I want dragging mchammer.gif over mtastats.png (which is already an a href link) to execute the click() function in my code. I have it written out, but must be doing something small wrong. The script is at the top of … | |
Hey everyone, this program's been killing me. I have to create a program that takes another program as input and counts the lines. Pretty simple, except that to do this, you have to count semicolons which means you have to negate semicolons that are comment text or within double quotes. … | |
I've been given a practical where I have develop a random bubble sort algorithm and I've created one already where the user enters the elements needed to arrange the numbers, I now have to use a random number generator that uses a set of 10 random numbers from 1-10000 and … | |
How can I add a loop to this so that it asks the user if they want to calculate another loan and if they choose no the program ends, but if they choose yes, the program loops back and asks for loan amount? [CODE]import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public … | |
I am trying to make an istance of this Vector2f(20,20) How to I go about this? | |
I keep getting the warnings such as "warning: passing argument 2 of ‘strcmp’ makes pointer from integer without a cast" about strcmp and strdup. I'm pretty new to C and I feel like I've tried a million things with no luck...I don't really get what's going on. Any help would … | |
Hi all. I'm having some problems creating a dialog in VC++ 6.0. I am working in the dialog resource view. I have five groups of radio buttons, each of which is in it's own group box. Two of the five groups are behaving normally (i.e. mutually exclusive within it's own … | |
Hello everyone! I am new to Java so this may be a very easy question. I am trying to write a program and display just the remainder after two numbers have been divided. Here is where i am: import java.util.Scanner; public class Midterm1 { public static void main( String[] args … | |
I was working on the being of a cash register and I was testing this portion of my code. It compiles, but when I input my first items name I get a windows error and the program ends. I would appreciate any help an/or explanation. [CODE]#include <iostream> // allows output … | |
Hello, I have a software-based project of using human recognition algorithm to detect an intruder and be able to differentiate if the intruder is human or non-human. Any ideas on what recognition algorithms I could use?:) Thanks! | |
I got the files to build but with this link [url]http://www.site.uottawa.ca/~laganier/tutorial/opencv+directshow/cvision.htm[/url] the include files in step 2 don't show up anywhere. Help appreciated. | |
hello i install mysql , jdk and tomcat. when i run java file it give message that no database connection available . where to put mysql connector and how to set class path in environment variable . plz help me | |
Hi, SQL below returns 1, 2, 3 in three rows. I want to see only 3 because there are total 3 records. How can I solve this problem. Thanks [CODE]SELECT COUNT(*) as totalProduct FROM customers INNER JOIN uploads ON customers.id = uploads.fk_id GROUP BY name[/CODE] | |
hello , I am making a small game engine and I have 2 header files engine.h and objects.h they both include each other. However it seems that its not getting included into objects.h , what is the "right" way to fix this ? sorry , I'm too lazy to gut … | |
I have an asp FileUpload and an asp Button on a page. When i click the button, i want the bytes of the file which was supposedly uploaded to be stored in a session variable. Only problem is that they aren't stored. How should i do this? There's also a … | |
Hello everyone, I'm currently in college for Game programming and I'm coming in having known nothing about programming at all. I'm currently learning Object Orientated C++ Programming. I have been at this one problem for two weeks and I'm completely stumped. I currently have three files the main cpp file, … | |
hey there, I have the following code: [CODE]import java.awt.*; import javax.swing.*; public class TabelaEShahut extends JPanel{ public static void main(String[] args){ new TabelaEShahut(); } public TabelaEShahut(){ JFrame f = new JFrame(); f.setSize(500, 500); f.setVisible(true); f.setTitle("shah"); f.getContentPane().add(this); } public void paintComponent(Graphics g){ g.setColor(Color.white); g.fillRect(0, 0, 700, 700); g.setColor(Color.red); g.fillRect(50, 50, 400, … | |
I have had python2.6 for a while and have un0installed and re-installed it several times. Now when I right click on some source code the option to open with the IDLE is gone. I have tried "open with" but that doesn't work either. I'm on Windows 7 Home. | |
![]() | I need help to compare letters between two words, the first word letters should be used to compare the letters in the second word... I have an idea that i could use the for loop but im not quite sure how. Please help! ![]() |
I have been doing TC++ programing for the last 2 years.. This evening all of a sudden I made the switch to vc++.. here is the code.. my first ever Visual C++ programme.. it is compiling without errors but the console window poped and disappeared quickly.. what is wrong? something … | |
... I need help.. :( ....please teach me how to make formulas that can input in showInputDialog .. :( As a private math tutor for grade school children, you design an application to teach multiplication tables. As a prototype for your design, you begin with the number two. One set … | |
[CODE]// Calculator.cpp : Defines the entry point for the console application. // #include <iostream> #include <cstdlib> using namespace std; int GetNumber1(); void GetMathematicalOperation(); int GetNumber2(); int CalculateResult(); int PrintResult(); int main() { GetNumber1(); GetMathematicalOperation(); GetNumber2(); CalculateResult(); PrintResult(); int CalculateResult( int x, char chOperation, int y); int PrintResult( CalculateResult( int x, … | |
[COLOR="Green"]#face1.py[/COLOR] [code] from face import Face from graphics import * from button import Button def main (): win = GraphWin ("Faces",500,500) win.setBackground ("yellow") f1= Face (win, Point (250,250), 70) #f2= f1.smile(win,Point(250,250), 70) #f3= f1.frown(win,Point(250,250), 70) rollButton = Button (win, Point (400, 250), 55, 30, "Grim") rollButton2 = Button (win, Point … | |
Hi guys, I am having problems with a simple program I wrote, here's the source code: [CODE]//seventh #include <iostream> using std::cout; using std::cin; using std::endl; class Maths { public: void enterInstructions( int instructions ) { cout <<"I want to do a: \nAddition\nSubtraction\nType your choice here: "<< instructions << endl; } … | |
Hi How can i change my application default java icon with my own? The problem is that my frame dont have a name =( [CODE] ..... public Main() { super("PDB Viewer"); GLCapabilities caps = new GLCapabilities(); caps.setDoubleBuffered(false); canvas.addGLEventListener(new SecondGLEventListener()); canvas.addKeyListener(new SecondGLEventListener()); getContentPane().add(canvas, BorderLayout.CENTER); canvas.requestFocus(); initComponents(); pack(); setBounds( 150, 20, 800, … | |
Hello. I am trying to return an array and print the values. [code] public class Sample { public static void main(String args[]){ for (int i = 0 ; i<getNames().length;i++){ String a[] = new String[getNames().length]; System.out.println(a[0]); } } public static String[] getNames() { String names[] = {"bob", "jim"}; return names; } … | |
Hi, in a Java Applet there the keys control movement, I have a couple of questions (sorry for the disorganized nature of multi-item requests). 1.[CODE=C] if (key=KeyEvent.VK_RIGHT) { x++; } [/CODE] But, as you might have guessed by this post's title, the movement delays before continuing its motion, as a … | |
can anybuddy help to sort out my problem in .net actually i m beginner at this platform facing a very crucial error i think so i m making a web page connectivity to sql database for inserting the data......... my error name: Inserting is not supported by data source 'SqlDataSource1' … | |
Hey Guys I am working on an app which requires the modification of hex values of files. I have two questions: 1. Does anyone know where I can find a list of hex file markers E.g. each segament in a JPEG file starts with 0xFF followed by a byte indicating … | |
hi can u tell me how to connect to oracle from jsp please.i | |
I'd like to trap mysql warnings and log them as part of my debugging process. However mySQL warnings just print to screen. I'd appreciate if someone knows how trap warnings along with whatever other information is available and prevent users from seeing the warning. Thanks. David |
The End.