64,152 Solved Topics
Remove Filter ![]() | |
I have several files and am receiving errors message when compiling and would appreciate any help. Thank you in advance. Model class file: [CODE]class Model extends Product5 { String genre; //add product to product inventory double restockFee; //fee for restocking //initialize constructor public Model( String genre, String name, int identificationNumber, … | |
Hi I'm a beginer programer and I need your help I'm using visual studio 2005 writing with c#, Iwant to make a small program at console this program give the root of a number. I writ this code [CODE]double one = double.Parse(Console.ReadLine()); for (double x = 1; x <= one; … | |
Hi all. I'm having a minor problem with cases in my program. If I enter a number that is out of my case range (say I enter a 10 when there are only 4 cases) I've got my default to output an error prompt. When I enter a character, say … | |
Python's system of deciding for you what type to give all your variables is nice and all, but is there a way to force it to give a variable a certain data type? For instance, if you give it the following: [code=Python]n = 2 m = 3 print n/m[/code] It'll … | |
there is a imformation when I write "javac Test.java" that is " Test.java uses or overrides a deprecated API. Recompile with -deprecation for details." yes,I want to see the detail,but how,how to do? for example ,I write like this:javac deprecation Test.java ,but fail,nothing display..... who can tell me how to … | |
hi, i'm really a newbie in xslt. i try to add string to a variable using concat (there is some how my xslt processor doesn't know string-join, but that's not the point here =P) this is some part of xml code [code=xml] <node0> <node1> <node1name>xxxx</node1name> <node2> <node3>01</node3> </node2> <node2> <node3>02</node3> … | |
Hi there, i am a beginner so please don't laugh at how basic my question is. I don't understand why when i check the radio button the constant doesnt appear in the label..i'll put in the bit of code i am working on but if you need to see the … | |
Hello all, I have been working on a simple web app but have run into a small problem. I am still fairly new to php and have found nothing on this topic searching google. I have a getimage.php page that fetches an image from a SQL Server Express 2005 database. … | |
Hi I have a database with a Contacts table, in this table I have 2 columns emailAdd and byEmail. I want to select emailAdd where byEmail = Y and add these selected items into a Listbox. Please help how do i do this this is what I tried but does … | |
When I searched the web, I found an intersting program, I dont think I can explain a bit. But, I would like to share it. It displays my home country thats the most I can say about it! Here goes, [CODE=C]#include<stdio.h> main() { int a,b,c; int count = 1; for … | |
How to get lpBaseAddress to pass it to : BOOL WINAPI Toolhelp32ReadProcessMemory( DWORD th32ProcessID, LPCVOID lpBaseAddress, LPVOID lpBuffer, DWORD cbRead, LPDWORD lpNumberOfBytesRead ); It will be very helpful to me if someone can provide a snippet of code how to achieve that. Thanks a lot. | |
Is there a way to chose where a program outputs text to a file ?(or read text from a file). As in selecting which line to start from.? Any help is welcome. :) | |
Is there anything I can do to adj. searchList1 parameters? I noticed ?null: in the searchQuery1. What does this denote Thanks Steve query = java.beans.Beans.isDesignTime() ? null : entityManager.createQuery(resourceMap.getString("query.query")); // NOI18N list = java.beans.Beans.isDesignTime() ? java.util.Collections.emptyList() : org.jdesktop.observablecollections.ObservableCollections.observableList(query.getResultList()); searchList1 = java.beans.Beans.isDesignTime() ? java.util.Collections.emptyList() : searchQuery1.getResultList(); searchQuery1 = java.beans.Beans.isDesignTime() ? null … | |
hi! we have a project where on frm_playername there is a textbox where the user enters a player name and then a button on that form takes you to the game screen form and on this form there is another textbox that should display the name entered on the frm_playername … | |
Does anyone know how to convert a "String^" data type in a visual studio 2005 forms app to an "int"? Ive tried atoi and casting to no success. Any ideas? Thanks. | |
Hi all, I would need your expertise/advice on the problem I encounter right now when I tried to parse in the contents of .csv file. Here is the scenario: 1) I have csv file with the possible entries as follow: ProjCat,RefNum,ProjTitle,MemberName,ProjDeadline,ProjGrade --> Header I,0001,"Medical Research in XXX Field,2007","Gary,Susan",20.05.07,80 R,0023,Grid Computing … | |
Hi there, I've been writing in c++ for a little while now and am starting to feel more confident, I've noticed a possible error in a game I've been making, it is that when the player is inputting a character name, it is a possibility that they may put in … | |
I need to prevent the user from changing tab in a tab control until it clicks on the "Finish" button on the current tab. Thats all | |
[code] double two( double, double); [/code] if the parameters are 17.5 and 18.3, what will it return? Please help | |
This was a comment from ee_programmer in reference to one of the Python code snippets. [code=python]""" I was expecting the first class instance to only have one dictionary entry {'person0': 0} rather than two dictionary entries. Similar expectation with second class instance. How do I create and assign value to … | |
[code] int test(int, char, double, int); double two(double, double) char three (int, int char, double); [/code] I need a statement for the function test with the actual parameters 5, 5,7.3, and 'z' please help | |
Hello friends, I want some help. If anybody can help me out for my problem. I am new to JSP. I am using NetBeans6.0 IDE , MySQL server for the database. I have differentiated my work between servlets,Javabeans and JSP. The logic of my project is stored in the servlet … | |
Hi ! This is Me.... I want to start learning ASP.NET. I have done ASP and know the basics. So I just want to share the views of all the other members of this forum so that I actually learn the aforesaid subject very nicely.... Thanks Rupam 06/may/08 | |
i m doin a project in which i need to use ftp for that i need to include the modJPEG.bas anyone know how? thank u very much | |
iam having usernames and user id in an xml file and iam having a .net apllication , when i give the username and password it should check with xml file and it should login if it is a correct user, otherwise it should not login. i need code for this … | |
Hi i am getting the following error when running my web application Server Error in '/' Application. -------------------------------------------------------------------------------- A potentially dangerous Request.Form value was detected from the client (TextBox1="<html><head><meta ht..."). Description: Request Validation has detected a potentially dangerous client input value, and processing of the request has been aborted. This … | |
Im trying to figure out how to utilise a program that uses Aggregation of Classes, Im having trouble calling the operations of the Classes in my main. Could anyone assist where Im going wrong?! horse.h [code=cpp] #include <iostream> #include "distance.h" using namespace std; class Distance; class Horse { private : … | |
I need a way to convert a variable to an int or to ascii code, tried atoi, static_cast, didnt work very well... The objective is to detect if the user inserted any character other than a number, a number smaller than 0 or larger than 5, and send a message … | |
I'm trying to make a class registration page, but for some reason, when I dump my query results into an array and use array_search on it, array_search comes up null. Any ideas? [code] <?php /* - if classes[] is set, see if any of them were selected - if yes, … | |
I am having trouble setting a query property for searchQuery1 I must be a return from a getter() (getSearchQuery()) Is it possible to set this query property using a return from a method? init: deps-jar: compile: run: [TopLink Info]: 2008.05.06 07:54:48.192--ServerSession(17548445)--TopLink, version: Oracle TopLink Essentials - 2.0.1 (Build b09d-fcs (12/06/2007)) … | |
I am studying for a C++ exam and the study guide says "Be able to initialize arrays using literal arrays." Ok then, so I think well yeah that is easy, a literal array is something like.....Wait, I have no idea what a literal array is! From what I can find … | |
I have succesfully done this but with one error. using ... ifstream input("infile.txt",ios::in) while(input.good()) { input.getline(file,100); outputfile<<file<<endl; } then I have some new code that writes this into another file. You may laugh when you hear this but the problem is that it add an extra line to the output … | |
Hi all. I am having a hard time trying to properly declare a header for my assignment overload operator function. My prototype for the function is: [code] const BSTree<T>& operator=(const BSTree<T>&); [/code] And my attempt to write the header for the method is as follows: [code] template <class T> const … | |
Using java and netbeans to write a query How does the (:) colon change this String? [ICODE]String partial=("SELECT c FROM content c WHERE c.artist LIKE \"%" + like + "%\""); String partial=("SELECT c FROM content c WHERE c.artist LIKE \"%" + :like + "%\"");[/ICODE] | |
I have a CheckedListBox1 that contains checked and unchecked Items. What I am trying to do is to save everything into a vector. Like below, I can save all Items Text into vector<string> TextInfo but what I am trying to do is also for each Item save if that specific … | |
I been seening ajax all over the place. The only time I have used is in the news feeds script I got from dynamic drive. The first question I have, is do you need to have a database dns sort of thing to be able to begin learning it. Where … | |
Hi, When I execute queries which have a lot of data returned in the recordset my VB app seems to hang (IE: This program is not responding) I'm using ODBC to connect to the database and am using Postgres DB [CODE] Public db_name As String Public db_username As String Public … | |
Hey All, I have a simple query form that displays from a mysql database, a list of names and phone numbers. What i'd like is a column heading at the top of the page but I can't seem to figure out how to put it in there. Here is my … | |
Hi! It's been a while since i last posted, and now I'm in need of some expert assistance. I've found this Control written in C# with .NET 1.0 on vbAccelerator and wanted to use it with my current project. I decided to convert the entire code to VB.NET but one … | |
I have a CheckedListBox with 95 Checked Items and 5 Unchecked Items. Every Checked and Unchecked Item has a "string" name. What I am trying to do is to locate All the Unchecked Items in this box and put these strings into my vector with the pushback method: Unchecked.push_back(); The … | |
The Microsoft write-ups for Visual Studio 2008 said that it can target various version of .NET. However, it seems to set up all projects to target NET 3.5. Does anyone know how to make it target earlier NET versions? | |
Hi, Not sure if I'm doing something stupid here or not, I want a map of integers and objects (Rooms) which I've done, but whenever I create a new room to add to the map it appears to use the same memory location as the previous Room(s). The upshot being … | |
I am wanting to learn more about ajax. But I don't know if you need a database the server to be able to learn it. Since I don't have one of those. I am not sure if I should move on to something else. Where would be the best place … | |
Hey guys, i've got a right headache from this piece of code at the moment, it's a simle login script and it just sin't working, the MySQL query looks correct to me and all the other stuff looks ok, but then again i'm no PHP expert. Could someone look at … | |
Hi,all everybody :) I just curious how C can be made. Do any of you know it?? | |
Hello Experts I have a CF app (MX 6.1) that creates a text file, inserts some data (mainly numerical values along with a text header and footer), zip/encrypt/password protect with Winzip command line and then email to a 3rd party and CC some users. When the text file is opened … | |
I was wondering if anyone could help me with what should be a simple PHP script. I want to write a text file, inputing different strings to different lines using some predefined lines and some input from a text box, then save it with another extension (such as .ini). Here's … | |
Hi. I am using WAMP5 Version 1.7.2, which includes : 1. PHP Version 5.X 2. MySQL Version 5.X 3. Apache Version 2.X 4. Php-MyAdmin But it does not recognize DB.php file, I dont why...I get the following error [B] failed to open stream: No such file or directory in F:\wamp\www\XXX[/B] … | |
Hi everyone and thanks for taking the time to read. There's a specific section of my website that I would like to be dynamic. It has the possibility of having one or two paragraphs, possibly even more. What I had done was set up a MySQL database with a field … | |
I am making a google map as part of a university project. [URL="http://intweb.tech.bcuc.ac.uk/~20318219/project/index.php"]here[/URL] and am having a few problems. Basicly for some reason my markers are not appearing as i don't think my array is being read. Using the firebug plugin i am getting the following error message: markers is … |
The End.