199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for davetheant

Hello everyone. I am getting a [CODE]java.lang.NoClassDefFoundError: gnu/regexp/REException'[/CODE] when I run my code. Is there any way around this? I understand it has something to do with a class not being in the write path. I'm using BlueJ as my IDE and I'm trying to use the methods in someone's …

Member Avatar for ~s.o.s~
0
406
Member Avatar for kureiki

I am trying to use my textboxes and checkedlistboxes to insert data to a ms access database that is local just as a preliminary step to get my app running to show what it can do. I have connected to the database through the datasource connection in Visual studio 2008 …

Member Avatar for jugosoft
0
807
Member Avatar for public-image

Hi Guys! :) Erm I have made a section for members to post messages although I know some members will post messages to just observe what effect it may have on the layout as such or just to be pests. My problem is: I have got a table that displays …

Member Avatar for public-image
0
72
Member Avatar for electrox73

Ok, I have no idea how to make this becuase I need to be able to update the Name & Password database for the Web or somewhere else. Regards

Member Avatar for jackmaverick1
0
2K
Member Avatar for vedro-compota

hi everyone)) Please tell me - where is the mistake here - [CODE]struct address {char* city ; char* street; int housenumb ;}; struct addinf {int age; struct address* address;}; struct student {int number; int kurs; char* name ; struct addinf* addinf;} stud; stud.number=1; stud.addinf.address.housenumb =123;[/CODE] thanks in advance)

Member Avatar for vedro-compota
0
302
Member Avatar for moroccanplaya

is it possible to copy specificity from a file for example i want to copy x number of bytes from x position to x position?

Member Avatar for Narue
0
97
Member Avatar for please1234

I'm working on application in c# that will download mp3 files to usb, mp3 ipods etc. but my problem that a sansa clip mp3 does not recognized as one letter(like f:\) so how do i recognize a sansa clip when it's inserted? thanks alot!!!!!!!

Member Avatar for ddanbe
0
62
Member Avatar for zetologos

this code doesnt work, as in it only asks the user for getchar once and putchar once. i tried putting it in two method and it didnt work either. also whether it be char or int it is the same. that leads me to another question. why is it allowed …

Member Avatar for Narue
0
136
Member Avatar for inilahs

Hello everybody .. This is the first time i post on to daniweb for a favour. Am just proceeding with a math contest. in general say n , need the catalan series with formula 2n!/(n!*(n+1)!) . i am in need of the answer for n=1000. I thought cud try this …

Member Avatar for JamesCherrill
0
118
Member Avatar for marooh

hi, i'm trying to write a program that changes the 23h interrupt with my own handler which is to display "bonjour"32000 time and when ctrl break is pushed a msg"do you want to exit the program? y/n" is displayed.if the user select y the program will exit else the "bonjour" …

Member Avatar for marooh
0
138
Member Avatar for Nassarofficial

Hello, i have to split my code into parts so i split a dragimage demo from the wx demo package which is this code: [ICODE] import wx import images #---------------------------------------------------------------------- class DragShape: def __init__(self, bmp): self.bmp = bmp self.pos = (0,0) self.shown = True self.text = None self.fullscreen = False …

Member Avatar for loveerl
0
255
Member Avatar for vedro-compota

Hi guys! please tell me - how to determine the length of the input stream without reading simbols ? (for save the input string) thanks in advance ))

Member Avatar for vedro-compota
0
86
Member Avatar for ichigo_cool

I have a problem with refreshing the page layout. Since I have all the contents load in a div, when the page first loads it loads a default link into the content div. When the user clicks a link I want that page to be stored in a session variable($last_page), …

Member Avatar for blocblue
0
150
Member Avatar for AmerJamil

can any one please tell me am i done my question right? my question is to store store 1035 to 1265 random in a character array and display the array. and im not sure whats this srand is doing? [code] #include<iostream> #include<stdlib> #include<conio.h> int main(){ srand(1035); char b[30]; for(int i=0;i<30;i++) …

Member Avatar for Ancient Dragon
0
181
Member Avatar for diafol

Hi All. I have been struggling with a form wizard all day. I'm using jquery stepy (form wizard) along with validation plugin. To cut a long story short, my first step is to get MySQL connection from form controls details. On submit ('next' button) a check is made on an …

Member Avatar for diafol
0
1K
Member Avatar for deanus

Hi, I've recently downloaded MSVC++ 10.0 Express from the Microsoft website, and I can't seem to find a new project template for 'setup and deployment'. Can I download it individually from somewhere? Thanks, Dean

Member Avatar for Ancient Dragon
0
97
Member Avatar for tutorim

Hi there, Noob here sry. Mysql DB 1. How can i insert an H1 tag <h1>Listings</h1> to a table structure as field ? A functional H1 tag. 2. How can i insert or import a nationalities csv file to a table ? Thx a lot and happy new year!!

Member Avatar for smantscheff
0
210
Member Avatar for shailaja mohite

hi, i am create one application. in this application upload the images. how to upload images without using licesen copy

Member Avatar for rakesh4java
0
113
Member Avatar for shack99

Hi all, I'm having a bit of a problem with my code. I've created an arraylist method and when values are inputted it prints them one by one. [CODE] import java.util.*; public class ArrayListDemo{ public static void test(int i){ List arrlist = new ArrayList(); arrlist.add(i); System.out.print(arrlist); } public static void …

Member Avatar for shack99
0
180
Member Avatar for AmerJamil

i have two questions 1st is can any one please tell me what is the role of setprecision in C++, why it is used? 2nd is : this statement [code]totalS+=sales[i][j];[/code] is equivalent to what, i.e what is the role of this += thanks alot

Member Avatar for frogboy77
0
148
Member Avatar for vedro-compota

Hi guys! )) please reply - how to clear the input stream of the console? thanks in advance ))

Member Avatar for vedro-compota
0
194
Member Avatar for dip7

Hi, I have come up with the source code to read files. However, this is source code reads the file 1024 bytes at a time. I would like to modify the code to read it byte by byte. This code wants to determine if 001 bytes ( oo oo o1 …

Member Avatar for Ancient Dragon
0
3K
Member Avatar for Crossbow888

Hi, New to programming. I have three Editboxes and a button - I would like to know how to make Button1.Enabled := true when all editboxes have at least one character of input and := false when even just one of the editboxes has no imput in it - is …

Member Avatar for Wolfgan
0
100
Member Avatar for payal888

Hello everyone, I've developed this java class [CODE]public class Counter { public static int counter; public static int getCounter() { counter++; return counter; } }[/CODE] and the Jsp file is [CODE] <html> <body> The page is <% out.println(Counter.getCounter()); %> </body> </html>[/CODE] jsp file is stored in the ROOT folder and …

Member Avatar for javaAddict
0
195
Member Avatar for petmol

Hi friends, I have an assignment to put three little programs into one, making each one a function of the main program, which is a kind of menu. The three work perfectly as separate entities, but when I put them together, the thing won't compile. Can anyone tell me what's …

Member Avatar for pranaymahajan
0
141
Member Avatar for facarroll

I have a problem with passing session variables between folders. I have a working login, and several session variables are created after a successful login. The session works fine until I try to use a script that is located in a different folder or directory. All of my scripts include …

Member Avatar for jkon
0
1K
Member Avatar for stevanity

I want to solve this problem. [QUOTE]There are 52735727364727372 students and 2889221271829121 teachers in a school . On children's day each teacher brings x toffees with him/her . All the toffees are collected and distributed equally to all the students . At the end it was found that there was …

Member Avatar for stevanity
0
125
Member Avatar for bob302

I am a newbie and am at a loss on how to clear field of a form. My current form is the tradition form that check to see if it has been submitted. After it has, validation of each field is performed and if all is ok a record is …

Member Avatar for pritaeas
0
78
Member Avatar for tcollins412

i have a div like [CODE]<form method='post' action='send'><div id='fail' name='cool'>300</div><input type='submit' value='submit'></form>[/CODE] now how would i call that into a variable in php? i tried [CODE]$cool=$_POST['cool'];[/CODE] but it didnt work. help

Member Avatar for morteza_ipo
0
97
Member Avatar for cj333

Here is the json show: [CODE]{ "results": [ { "title": "Conflicting Reports on Iran\u2019s Arrest of a Foreign Woman", "multimedia":[ { "caption": "Moktada al-Sadr spoke to thousands of supporters on Saturday, stating conditional support for the Iraqi government." } ] } ...] }[/CODE] I tried this code, but I can …

Member Avatar for cj333
0
82
Member Avatar for BDev338

Hi developers! This is part of a bigger application written entirely in C++. This is my first time developing an application of this size in C++, and also my first time using the Win32 APIs implementation of threading. So of course I was MEANT to run into errors :). This …

Member Avatar for Ancient Dragon
0
298
Member Avatar for ajijacobm

hi guys, Im doing a project that executes a java file through another java file.. I need to use Runtime.exec() funtion for the purpose. But, there is trouble in passing the input to the java file. Please help me solve the situation. my main funtion is shown below... [CODE] import …

Member Avatar for ~s.o.s~
0
167
Member Avatar for abelingaw

Im getting this error: [ICODE] Arguments are of the wrong type, out of range or are in conflict with another [/ICODE] Here's my code: [CODE] rivate Sub cmdPrintSel_Click() Call Con("Database.mdb") RecSet.Open "Select Payroll.EM_ID, Payroll.EM_Name, Payroll.EM_Dep, Payroll.Monthly_Rate, Payroll.dDate, Payroll.xBonus, Payroll.xOT, Payroll.GSIS, Payroll.PH, Payroll.InTax, Payroll.Others, Payroll.absences, Payroll.Advances, Payroll.NetPay " & _ "From …

Member Avatar for jhai_salvador
0
109
Member Avatar for alonewolf23

[CODE]#include <cstdio> #include <cstdlib> #include <iostream> using namespace std; digits() { If(num==1) cout<< "one"; } int main(int nNumberofArgs, char* pszArgs[]) { int num; cout << "Enter a number 1 to 9:"; cin >> num; digits(); system("pause"); return 0; } [/CODE] I just want to make a simple function that when …

Member Avatar for jonsca
0
841
Member Avatar for khurramraja

Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index i got this error in my code which is red here this error is generate from last 3 days i can't understand wt happen plz help me. [code] <script runat="server"> /// …

Member Avatar for kvprajapati
0
161
Member Avatar for stevanity

Guyz, im trying to figure out how to find solutions to there two problems 1. Consider a field which is square in shape and 100*100 units in area . I am standing at the North-West corner of the field . From any place I am allowed to take one of …

Member Avatar for mrnutty
0
101
Member Avatar for MasterGberry

So basically I am working on converting a C# project to C++. And i am confused on how the beginning of the C# project works, it has the following code in it, and I am trying to make this C++ compatible, but I can't seem to find where the arguments …

Member Avatar for MasterGberry
0
92
Member Avatar for amishraa

Slight problem when embedding HTML inside PHP. Problem #1 logon php page contains the form for user to login. With successful login, it brings up the user to the resume page. In order to maintain the uniform design throughout all the pages on the site, the logon page contains the …

Member Avatar for amishraa
0
223
Member Avatar for MasterGberry

Getting two link errors with my code provided below They are being generated by lines 38-46 I believe. I can't seem to find an issue... 1>AoE2Wide.obj : error LNK2020: unresolved token (0A000340) "public: static class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > AoE2Wide::Program::_gameDirectory" (?_gameDirectory@Program@AoE2Wide@@2V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@A) 1>AoE2Wide.obj : error LNK2001: unresolved external symbol "public: static …

Member Avatar for MasterGberry
0
181
Member Avatar for BaSk

I'm trying to run a date range query which works, but I also need to get data outside of the date range inside of the same query which I get to work. The issue I'm having is when the start date is in say 2011 and the end date is …

Member Avatar for BaSk
0
246
Member Avatar for EddyLLC

Hello all, working in VB6 I want to pull all records from Access table named Answers that in a field named Color have "White". Within that record there are 10 fields of various numbers that I want to sum and average. In short I want to pull all records with …

Member Avatar for EddyLLC
0
117
Member Avatar for michael1999

Hi i have multilang website when you entered homepage default site if you are from polonia it redirect to you polonia page this script works perfect but the problem is if you are trying to see [url]www.server.com[/url] instead server.pl and if you are from polonia you not able see because …

Member Avatar for michael1999
0
103
Member Avatar for NewOrder

i have my main and a function that deals with an array. [CODE] public static void Main(string[] args) { Pieces [,] pieces; ChessBoard(out pieces[,]); // The IDE shows that the mistake is here. It says that the overloaded method has some invalid arguments! How can i make it so that …

Member Avatar for Mitja Bonca
0
99
Member Avatar for globberbob

I have been looking around a while, trying to figure out at the very least, how to take a string like "25 from a car accident" and have 25 as a useable integer and "from a car accident" as a useable string. what i'm trying to accomplish is doing this …

Member Avatar for globberbob
0
119
Member Avatar for discovery-power

Hi All, I have a log in form, I have had a couple of idea's. When a user logs in I want his/her name to print on the top of the main form with the current date, the data for the login form is collected from a sql database (not …

Member Avatar for jlego
0
123
Member Avatar for nasablast

This is currently the code I am using: [CODE]<?php //connect to database include 'global.php'; $case = date(ymdHis); //get form data $p1_firstname = addslashes(strip_tags($_POST['p1_firstname'])); $p1_lastname = addslashes(strip_tags($_POST['p1_lastname'])); $p2_firstname = addslashes(strip_tags($_POST['p2_firstname'])); $p2_lastname = addslashes(strip_tags($_POST['p2_lastname'])); $p3_firstname = addslashes(strip_tags($_POST['p3_firstname'])); $p3_lastname = addslashes(strip_tags($_POST['p3_lastname'])); $city = addslashes(strip_tags($_POST['city'])); //register into database $register_case = mysql_query ("INSERT INTO cases …

Member Avatar for brewbuff
0
81
Member Avatar for Viperino

Hello. I'm looking for a way to format lines on a MsgBox, so that the records don't seem out of place. What I have is this: [URL="http://sites.google.com/site/hqupt666/home/Untitled.jpg?attredirects=0"]http://sites.google.com/site/hqupt666/home/Untitled.jpg?attredirects=0[/URL] If you can't see it it's something like this: Num Name HF 1 something 11 2 somethingelse 22 3 andsomethingelse 33 I've been …

Member Avatar for Viperino
0
4K
Member Avatar for superhe

In the following program, I'M getting the following result.Could somebody tell me why? >>> class obdi(object): ... def _new_(self,nm='hechao'): ... self.name=nm ... print 'Create a class instance for ',nm ... def showname(self): ... print 'your name is ',self.name ... print 'my name is ',self._class_._name_ ... >>> foo=obdi() >>> foo.showname() your …

Member Avatar for richieking
0
286
Member Avatar for niths

hi all, i am doing a website where the client can upload images.. and for storing that images i am using this amazons3. so now i am in a confusion, like how to give path to store in amazons3.. can anyone suggest me.. Thank you.

Member Avatar for itknowledge_now
0
88
Member Avatar for o0OPatriciaO0o

Hi! This is a real simple and stupid exercise I thought I knew how to handle. The complete heading is: - Write a function in C whose input is a real number and whose output is the absolute value of the input number. The following is the code I've developed. …

Member Avatar for o0OPatriciaO0o
0
242

The End.