199,114 Archived Topics
Remove Filter ![]() | |
My teacher has assigned us a HW to do and I can not seem to figure out how to group the results the way he wants them. What we have is a database of properties and owners. He wants us to generate a report that contains only the Owner names … | |
Hey there, I have already built my system to log in but I am having difficulties in proceeding with the new panel I want to show after log in is successful. This is how I'm doing it: I have built different panels for each use case of my app. So … | |
I have just started using Access 2010 and am experiencing problems with it corrupting the database. To take one example I have a database with one module in it. Today when I open the module in design view Microsoft Access falls over with the error "Microsoft Access has stopped working" … | |
Okay ...Ive learnt Iterations and If Functions Arrays (1 dim and 2 dim) Structures ...In C++ as of now ...(Im still in school learning) I know that a good game would require "classes"....but i dont currently know how they work... So is there any way I can come up with … | |
hi i create a page that select 6 item form certain table in database and then in each page it shows 6 item of them order by id desc and now i decided to increase the number of item for displaying in each pages to 12. so the question is … ![]() | |
Hello, I'm writing a program that creates repetitions of a section of a word. I'm trying to get the program to evaluate the data i send to the tester method, and return true or false depending on whether or not it is a valid input. [CODE] import java.util.Scanner; public class … | |
Hi programmers! I'm new at c++ and i want help about a simple guessing number game. I want: [LIST] the player has 3 tries (the number is between 0 and 20)[/LIST] [LIST]if player doesnt guess the right number (in 3 tries), then the programm will close[/LIST] [LIST]if the player guess … | |
Hello everyone, I am currently taking up a project of making a Virtual Machine. I was wondering if anyone has any tips on making Bytecode interpreters, and Virtual machines. I am not really basing it on anything, I am just making a VM with 640k memory and about 8 32 … | |
Hi, I have to initiates a object to a variable in the private section of my class deceleration. The problem is that I can not add a try catch to it in this way. I Don't think I am explaining things to well (it's been a long day) so here … | |
Hey guys, I was wondering: suppose I created a standard console application and but I now want to make the program (well the code behind the program) into a dll file or some other reference object that can be added to other projects - how would this be done? I'm … | |
this is just a little project I'm working on for my converter I'll be asking for C++ to Py conversion since IDK C++ well enough to do it myself... but the project involves converting the current functions as well as writing opposite functions... (since the SDK only worries about writing … | |
Hi all i am new to kohana 3.2.x i used to work on kohana 2.3.x the directory structure is not same in both cases so i am getting problem while posting my form to any controller. [CODE] <form action="<?php echo url::base();?>admin/validateLogin" method="post"> <h3>Enter Your Credentials:</h3> <fieldset> <p><label>Email:</label><input type="text" name="email" /></p> … | |
Hello again. I have a property 'F' in class 'Club'. I realized that it doesn't function properly while going through debugging and locals. At first look it had normal, wanted values. BUT than every time I hovered over class->property F it increased by *2 or seomthing like that. Here's the … | |
I want to make following type of animation of balls how can I create I didn't have more knowledge in JavaScript but i want this very urgently [url]http://www.kidneypatientguide.org.uk/site/HDanim.php[/url] this is link please click on play button in movie and wait for 10-15 sec. thank u | |
Hi, networking is new to me in vb.net as I normally use third party components to do my networking like Winsock Orcas. However I want to make my own classes for networking. The following is what I have so far. It has problems. 1) Its disorganized...particularly the way I'm multi-threading, … | |
Does anyone know how to duplicate the top of the 'Torre Agbar' building? I've been able to make the whole colom structure but the top code is bothering me Pls help; need it for my school assignment What I'e got so far : [CODE]from visual import* import math #gegeven straal= … | |
![]() | Hi I want to read a string (Last name) from keyboard, concatenate it to another string (First Name) and then print it on screen. (Windows, EMU8086, EXE Template) First I declare the variables in data segment [CODE] msg1 db 0ah,0dh,"Enter your last name: $" ;prompt message msg2 db "Kamiar " … ![]() |
[CODE]#include <iostream> //standard input and output #include <fstream> //file input and output #include <string> //for strings #include <exception> //catches exceptions #include <sstream> //stringstream comes from here #include <algorithm> #include <stack> #include <queue> using namespace std; bool writeFile(const string &data); //writes strings to file bool readFile(); //read file bool palin(const string … | |
So I'm tasked with writing a subroutine to access a certain element of an array. When the subroutine is called, the pointer that points to it is [bp+1]. How would I make it so I could access say the 10th element of this array in the sub routine? | |
I keep getting the undefined reference error when calling a c function from c++ code: void proxy(char *str); In my funcs.h file, I use the #ifdef __cplusplus extern "C" { #endif wrapper, and include funcs.h in my c++ code. I also declare the function as extern "C" void proxy(char *str); … | |
how can i get the max date supported by a c# application i am trying to take input values of date month and year And if i am giving year 19999 i am getting error how can i solve this help me please thanks in advance | |
Am currently working on my end of semester project (online examination system )where questions are to be obtained from a database. The question is displayed in a label and the four options in radiobuttons.. this form has 3 buttons that can enable a user to navigate to the next question,previuos … | |
[URL="https://docs.google.com/document/d/1bXZixHNn4gsjU4ZxmaMIhicewVApoJpEbE_Yb3SOAYI/edit#"]https://docs.google.com/document/d/1bXZixHNn4gsjU4ZxmaMIhicewVApoJpEbE_Yb3SOAYI/edit#[/URL] | |
Hello, I need a label array for my windows form so I can easily edit the text in the labels. I've found this solution: [CODE] for (int i = 0; i < 10; i++) { Label[] labels = new Label[10]; labels[i] = new Label(); labels[i].Text = "0"; labels[i].Location = new … | |
Hello :) I need to get the selection position by js and make sure that this code work for all the browsers. For example, the user selected this text (red text is selected): [B]He[COLOR="Red"]llo wor[/COLOR]ld[/B] The function should return to me array or two values wich they are: 3,9 (start … | |
Hello Sorry about the stupidity of my question, I'm rather new to python. I'm writing a text analysation program. It reads from a text file and creates a list called 'line' which has variable length and is a list of words. I want to make a loop that will go … | |
I need to parse this document with email ids and convert them to a csv file... source. [CODE]xxxx@xxx.com; hello@gmail.com; John (john@hotmail.com);[/CODE] and so on.....lots of emails are there :D output: [CODE]NickName, Email ,xxxx@xxx.com ,hello@gmail.com John,john@hotmail.com[/CODE] Please help me. This aint a homework. Im trying to recover my emails... hehe. I … | |
Hi, I want to start learning OpenGL. I have searched for some tutorials and here is what I have done: 1. I downloaded the latest version of GLUT 2. I put the DLLs in C:\Windows\System32 3. I put the libs in C:\Program Files (x86)\CodeBlocks\MinGW\lib 4. Put glut.h in C:\Program Files … | |
SELECT * , 3956 *2 * ASIN( SQRT( POWER( SIN( ( 122.4058 - ABS( dest.lat ) ) * PI( ) /180 /2 ) , 2 ) + COS( 122.4058 * PI( ) /180 ) * COS( ABS( dest.lat ) * PI( ) /180 ) * POWER( SIN( ( 37.7907 - … | |
i have two forms in my program. The second form appears when button1 is clicked. I would like the information (textboxes) to be filled in when the second form loads. basically i have a complex calculator and when button 1 is clicked i want a second form to show with … | |
[CODE]import javax.swing.*; import java.awt.event.*; import java.awt.*; public class Login extends JFrame{ JButton SUBMIT; JPanel panel; JLabel label1, label2; public static int accessGrant = 1; JTextField username; JPasswordField pw; public Login() { label1 = new JLabel(); label1.setText("Username: "); username = new JTextField(15); label2 = new JLabel(); label2.setText("Password: "); pw = new … | |
Hello, I'm a mac user and starting a new module in Prolog and wondering if there are any applications that can compile and run Prolog for mac? Sounds silly, but can use terminal? Thanks :) | |
Dear All, I got a table as below where it can capture for a particular deposit different type of payment such as cash,cheque,credit card etc where I give each type an id and represented via the paymentID column. Below is part of my query and where I am stuck is … | |
hi, is it possible to have two different version of java on linux centos5 currently it is running 1.6.0 - which i would like to keep it that way sinse i have red5 but i also need 1.4 for a gaming server ES gaming server is asking to use at … | |
[CODE]ImageIcon tenP1 = new ImageIcon("10p.gif"); tenP = new JButton("", tenP1); ImageIcon twentyP1 = new ImageIcon("20p.gif"); twentyP = new JButton("", twentyP1); ImageIcon fiftyP1 = new ImageIcon("50p.gif"); fiftyP = new JButton("", fiftyP1); ImageIcon pound = new ImageIcon("pound.gif"); onePound = new JButton("", pound); ImageIcon twopound = new ImageIcon("twopound.gif"); twoPound = new JButton("", twopound);[/CODE] … | |
With this function I'm finding the highest average, but after I find it I want to find the name that goes with the highest average. I'm pretty sure I need to use the index of the highest average but I don't know how to do it. [CODE] void findHighest(int numItems,string … | |
![]() | Hi :) I am trying to make a program that will find the first x perfect squares. I have done and redone this many times, but it never works. So basically, it needs to do two things: check if y is a perfect square. If it is, it needs to … ![]() |
Hi frnds I am having some kind of problem in strings.. I have to write a String program whose output is like this Let the string is :- Enter string : "Computer Programming" C Co Com Comp Compu Comput Compute Computer Computer P Computer Pr Computer Pro Computer Prog Computer … | |
Hi, please tell me can we create function based index in my sql if yes then how...? if no the why..? i want to create index on this query, here we have a my sql query-- */ $sql="select count(opportunity_code) as opc, month(created) as mon from tbl_oppourtunities where abs(DATEDIFF(date(now()),created)) <= 365 … | |
[CODE]protected void Update_Click(object sender, EventArgs e) { //string query = "update [user]" ; //query += "set name ='" + "@name" + "',"; // query += "phone ='" +"@phone" +"'"; // query += "where (id = `@id`)"; string que = "UPDATE [user] SET "; que += "[name] =@name, [phone]=@phone1 WHERE (id … | |
I trying to remove a row from datagridview. it removes on datagridview but not from the database" [CODE] dataGridView1.Rows.Remove(dataGridView1.CurrentRow); [/CODE] how can i remove it? and if i have this colums in the database: AB || AC || AD || AE and on datagridview i have only : AC || … | |
Hi , In Visual Studio CLI. I have randomly generated numbers(zero to nine) which are a,r,g,b . One by one they are meaningless . Together they create a color code for different products. For example : [ICODE] id a r g b i 1 1 5 9 i+1 6 0 … | |
First of all, I'm new to GUI so I may have made some terrible mistakes.. right, so I have a two dimensional array of buttons and I need to identify which button in the array is clicked, hovered over, and hovered off. For now I just want my program to … | |
Good day expert, am trying to direct user to a web page if login is okay in python but does not work [CODE] if username==okay and password == okay: # direct to success_page.py print "Location: success_page.py\r\n"; else: direct to errorpage.py [/CODE] the code does not work as the web page … | |
I've looked everywhere and I'm sorry if I'm missing the obvious, but I'm irritated out of my mind trying to find this solution. All I want to do is start an application with arguments in a new window (cmd.exe or linux terminal). I don't care about piping the data from … | |
![]() | Hi there guys. I am soon halfway through AP computer science, where we learn Java. Right, now, I'm doing some extra credit programs, both for fun, and to learn this stuff better. However, I got stuck on a few of them, and I really need some advise. I have already … |
Hi guys i am new to this forum facing some issues with my php code. The code below says on click go to cart.php I want to add a condition to the same-- if(reasons==Internal) { go to="cart1.php" } else { go to="cart.php" } Kindly help me with the same.... <td> … | |
Following is the system and software info [b]Platforms: Windows XP and OSX Lion Activestate Python 2.7.2 wxPython2.9-osx-cocoa-py2.7 (for OSX) wxPython2.9-win32-py27 (for Windows XP)[/b] I am trying to create a UltimateListCtrl using ULC_VIRTUAL and ULC_REPORT mode. I would like to know how can I put a checkbox beside the first column … | |
Hi, I created an application in C# winforms. Sometimes disabled textboxes in my application loose their value (i.e. they become empty valued). Has anyone evre encountered that same problem and has a solution to resolve it ? Thanks in advance for you advice, Alex.M |
The End.