199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for abu taher

after complete all process when I press finish then show a msg: "unexpected error number 70 has occured: permission dinied." what I need to do.

Member Avatar for vb5prgrmr
0
91
Member Avatar for why1991

I must be overlooking something simple here, but I have no clue why it says that it is going out of bounds. Here is my entire program... [CODE]import java.util.Scanner; import java.util.Random; public class MadLib { static Scanner input = new Scanner(System.in); static Random rng = new Random(); static String t[] …

Member Avatar for BestJewSinceJC
0
195
Member Avatar for lovelyfire322

Hi, I was wondering how to get the computer to randomly select between 0, 1, or 2.

Member Avatar for noodlecode
0
97
Member Avatar for ablitz

Hi guys, I spent the whole day (thats 8 hours straight) trying to get a simple jQuery function to work but failed miserably!!! I very very new to the jQ scene and I know I have a lot of catching up to do! Could somebody get this to work for …

Member Avatar for Luckychap
0
213
Member Avatar for dhanh90

I have this code: [CODE]/* package lab; public class Main { public static void main(String[] args) { int t=0; int h=0; int w=0; String Name="http://hcmiu.edu.vn/mail/cuem"; char[] ch=new char[Name.length()]; for(int i=0;i<Name.length();i++){ ch[i]=Name.charAt(i); for(int j=0;j<Name.length();j++){ if((ch[j]=='/')&&(ch[j+1]=='/')&&(Character.isLetter(ch[j+2]))){ t=j+2; System.out.println(t); h=Name.indexOf('/', j+3); } } } System.out.println(Name.subSequence(t, h)); } } [/CODE] This code run correctly.But …

Member Avatar for dhanh90
0
166
Member Avatar for OldQBasicer

New to VB and using Visual Studio 2008. Trying to declare variables and arrays that can be used outside a specific procedure. I want to make the variable universally available within the program. I think I know how to do the declaration, I just can't find where in the code …

Member Avatar for SCBWV
0
91
Member Avatar for Stefano Mtangoo

There is good script by KKeith [url]http://www.daniweb.com/forums/post951182.html[/url] I want to use it as my base script with some modification. Before I customize it, I want to Make it OOPized into class with functions in functions.php and login+register.phps Please help me on doing that! I'm intermediate btn newbee and intermediate developer …

Member Avatar for Stefano Mtangoo
0
235
Member Avatar for gibson.nathan

this is my first program using more than one method. while i like it because of its modularity and cleanness, i despise it for its multiple new problems it introduces into my world where i was just getting the hang of the old style. i am supposed to be doing …

Member Avatar for ieshoes
0
192
Member Avatar for NT.

Hi, I am new to developing an application like peer to peer chat. I have no clear ideas how to start developing that and till now I didn't found any tutorial that are really helpful in understanding the basic concept behind peer to peer communication, Like how the peers communicate,h …

Member Avatar for mikiurban
0
2K
Member Avatar for s_mostafa_h

Hi All I Importing a Excel File to a DataGrid . I want to filter some rows have the code of "91" and "90" for i.e. in the [COLOR="red"]Column of "A"[/COLOR] : so , I added manually , A column in the DataGridView , name [COLOR="red"]"Column1"[/COLOR] . now when i …

Member Avatar for sknake
0
343
Member Avatar for phpbeginners
Member Avatar for phpbeginners
0
565
Member Avatar for GooeyG

[B]Here is the problem:[/B]There are (at least) two ways in which you can make a 12 hour clock. One possibility is to just store hour values from 1 to 12. On the other hand, you can just leave the clock to work internally as a 24 hour clock, but change …

Member Avatar for darkagn
0
470
Member Avatar for RayvenHawk

I have an assignment due for my Assembly class and I have a quick couple of questions regarding it. The requirement is initialize 3 variables as 16bit words with values (10, -60, 30) add those values as the following equation y = var1 + var2 + var3, use no more …

Member Avatar for NotNull
0
143
Member Avatar for j_limboo

Hi newbee to php mysql appreciate if anyone can help in change password in sha1 Current mysql table [CODE] `users` ( `id` int(255) unsigned NOT NULL AUTO_INCREMENT, `username` varchar(100) NOT NULL, `firstname` varchar(50) DEFAULT NULL, `lastname` varchar(50) DEFAULT NULL, `password` varchar(40) NOT NULL, `active` int(1) NOT NULL DEFAULT '0', `ip` …

Member Avatar for j_limboo
0
140
Member Avatar for jen140

Hello all. I have a small problem, i need to recieve a 8 digit number for example: 12345678 87654321 and so on. After i need to devide the value and use the int as a array, something like int i=123; System.out.println(i[1]); It should return 2 (therocially), but obviously the doesnt …

Member Avatar for jen140
0
406
Member Avatar for peck3277

Hey guys, seriously going mad here, any help is appreciated. I have a directory of .txt files. What I want is this. I want to go through this directory and display it like something like this: A All files beginning with A B All files beginning with B etc. The …

Member Avatar for peck3277
0
71
Member Avatar for Alex_is

write a program which asks the user how many days they will be working. then using your program calculate and print the amount of money they will earn if paid £1 for day 1, £3 for day 2, £9 for day 3 etc.....i have coded the inputing of name and …

Member Avatar for BestJewSinceJC
0
94
Member Avatar for senthil12345

[code] import com.sun.crypto.provider.RSACipher; import java.util.Random; public class RandomRange { static int START = 1; static int END; static Random random = new Random(); private static void showRandomInteger(int aStart, int aEnd, Random aRandom){ if ( aStart > aEnd ) { throw new IllegalArgumentException("Start cannot exceed End."); } //get the range, casting …

Member Avatar for BestJewSinceJC
0
129
Member Avatar for goody11

Hey, I was just wondering how do I make my edit boxes so that when the the tab button is hit the cursor will go on to the next edit box in windows API. I've done some research on functions that deal with the cursor but I can't string them …

Member Avatar for goody11
0
202
Member Avatar for Reprise

I have a templated class set up like so: [code=CPP] template<typename T> class treeNode { public: bool operator==(const treeNode<T>&) const; bool operator>(const treeNode<T>&) const; void print(); T field; int key; }; [/code] Using the > operator as an example of my problem, I have it overloaded like this: [code=CPP] template<typename …

Member Avatar for xxjay922xx
0
94
Member Avatar for Free1ancer

hi, Im trying to have a function that would return a pointer and i cant seem to figure out what it is that the compiler complaining about. I got the following error: 80 expected constructor, destructor, or type conversion before '*' token 80 expected `;' before '*' token heres an …

Member Avatar for Free1ancer
0
124
Member Avatar for kekkaishi

Hi, ive been trying to assign a value to a variable from within the ActionPerformed method, but the value seems to be lost as soon as ActionPerformed method ends. here's the code [CODE] public class Log{ private JTextField user = new JTextField(10); private JPasswordField pass = new JPasswordField(10); private int …

Member Avatar for kekkaishi
0
1K
Member Avatar for Stefano Mtangoo

How can I protect a folder with some files from being accessed by htaccess? I'm newbie so take it with grain of salt.

Member Avatar for Atli
0
121
Member Avatar for AnonSurf

Having trouble getting code to allow the cars to go off screen then come back on the opposite side of the screen! for top to bottom and side to side! -The code i was trying was [CODE]if self.position > rect.top self.position == rect.bottom[/CODE] not sure if this is gonna work …

Member Avatar for AnonSurf
0
164
Member Avatar for ylchen

Hi all, Here's the problem I have. clock() call returns 0 no matter when I call it.... Code: [CODE] #include <time.h> #include <stdio.h> #include <math.h> int main() { volatile double n, i, x; clock_t time1, time2, time3; int j; // while (time1 < 1) time1 = clock(); for (i = …

Member Avatar for ylchen
0
91
Member Avatar for sethm

I have recently had some help from a very knowledgeable person here on the forums about uploading an image and inputting the path into a DB. I have even been able to tweak this code to update the rest of the fields on the website, when I need to edit …

0
107
Member Avatar for eggmatters

Hello all, I am writing a java application where I have a Jtable with checkboxes next to the data. If the user checks a box, I want to store a specific value from the data table. I can do this inelegantly by setting setCellSelectionEnabled(true) and adding the following to the …

Member Avatar for eggmatters
0
142
Member Avatar for Kimmelivim

I have an assignment where I need to input a certain value, and the computer will then run through an 'txt' file to see if the value is in there, otherwise it will ask you if you want to create a new value or make a new input. [code] ifstream …

Member Avatar for Kimmelivim
0
167
Member Avatar for hezfast2

Hello, I've written a knight's tour program and handed in a working version of it already using a bunch of if statements for each possible move. I really wanted to use a couple of arrays for the moves and consolidate my code more, but I ran out of time. I …

Member Avatar for hezfast2
0
106
Member Avatar for poopynoob

Hello, I am new to c++ and attempting the for command. This is my code #include<iostream> #include<string> int main() { for (int x=1; x<=10; x++) { cout <<"Hello"; } } but the error : undeclared identifier comes up for cout. I have tried other commands such as cin but none …

Member Avatar for Grn Xtrm
0
180
Member Avatar for Alex_

Hello everybody. I'm trying to get the current directory, save it, changing the current dir, then coming back to the previous one. My code so far [code=asm] TITLE ep1_7 .MODEL SMALL .STACK 10h .DATA msg DB 'Current directory:',0h msg_l equ $-msg buff db 64 dup('$') ;f_handle dw 1 dup(?) .CODE …

Member Avatar for NotNull
0
252
Member Avatar for neutralfox

Hello everybody, Hope everyone is fine over here. Well .. actually, i am developing a networking application, or a client-server application where many clients on a LAN will connect to the server. Actually I am a bit confused with the database part, one of the features of my application is …

Member Avatar for DdoubleD
0
128
Member Avatar for kegathor

Hi, I just came across a piece of script that has been put into my source code throughout the site...and not by me. Im not sure how they did it but im fearing this could get more serious and end up them hitting my db. Here is example(kind of) of …

Member Avatar for meohoang194
0
147
Member Avatar for DARK_BYTE

Hi can someone please explain to me what is the difference between writing onclick="confirmLink()" and onclick="return confirmLink()" I tried both and they did the same thing and I am confused since the lazy fellows from my university have given me old notes in which they randomly include the "return" sometimes …

Member Avatar for DARK_BYTE
0
172
Member Avatar for gpss

Hello! I need some help please.. i searched a lot, and tried everything... can someone help me please.. here's the deal: i have this select: [CODE]SELECT * FROM localizacao, cliente, dispositivo WHERE disp_id = clien_disp_id AND disp_id = local_disp_id ORDER BY local_id desc[/CODE] it's output: [URL="http://i.imagehost.org/0746/tabela.jpg"]http://i.imagehost.org/0746/tabela.jpg[/URL] but what i really …

Member Avatar for gpss
0
142
Member Avatar for hajjo

I have a table, and insde the table dynamic inputtextboxes how can i set the id of textbox "row" + row number id of first textboxt row0, second one row1 and so on..

Member Avatar for Luckychap
0
91
Member Avatar for Unix*

I reached another part of my program where I have the following statement which prints out these values on screen. printf(" %d %d %d %d %d %d %d(%.1foC) %d %d(%s) %d(%.2f) %d(%s) %d\n", year, month, day, hour, minutes, evtStart, temperature, tempDegC, checksum, basicSelfTest, bstResult, batteryVolt, (float)(batteryVolt*0.0198), powerUpCode, statusCode, timeElapsed); I …

Member Avatar for William Hemsworth
0
153
Member Avatar for DanyLdon

Hi i will describe my problem. When focus is on TextBox and we press ENTER or ESC then we will hear that sound. I'm trying to disable that. Did any one got that problem before ? I was trying to create my own SilentTextBox which will inherit from TextBox and …

Member Avatar for DdoubleD
0
1K
Member Avatar for Gaiety

Hi, if any one has the idea of the internal system calls which gets activated by using high level statements ( like printf ,scanf or malloc and so on) please provide me the links or any related info. i have an idea that the internal system calls depends on the …

Member Avatar for Ancient Dragon
0
198
Member Avatar for techgossips

I’m going to demonstrate a very short and simple method of avoiding SQL Injection at the SQL query level. You’ll need MySQLi support, on Debian you can apt-get install php5-mysql will contain everything that you need, and would be installed by default with your LAMP Installation. Calling: [url]http://www.mynonexistentdomain.com/test.php?user_id=10&record_number=1[/url] Ignoring any …

Member Avatar for jomanlk
0
330
Member Avatar for TechComm

I need to make a program that reads the program its self and echo prints it to the screen. I appreciate any help. For example if the program was: [CODE] <iostream> using namespace std; int main (){ //This is my program } return 0; [/CODE] My output would be this …

Member Avatar for TechComm
0
494
Member Avatar for 3pid

hey guys, I`m a beginner in c# and I have a problem in using set/get in classes. actually I didn`t get why do we use them,can anyone please introduce them briefly for me?

Member Avatar for ddanbe
0
2K
Member Avatar for Gearspro

Hi guys, really need your help on this one. Because i have been searching the web all day today and i cannot find out how to it. The only possibility i found was to pay a professionally do it for me, but sadly i don't have the money to afford …

Member Avatar for Gearspro
0
157
Member Avatar for NinjaLink

Hi, I am new to stacks and need some help getting started with my first program in stacks. I have all the functions like pop,push etc. in my header file. I have to create a palindrome program with the objectives below. If someone can give me an idea on how …

Member Avatar for DemonGal711
0
168
Member Avatar for iris88

How to prompt user enter 10 integer then sort it in both ascending and descending order and also ask user either they want to sort it by insertion sort or selection sort or bubble sort??

Member Avatar for Tom Gunn
0
122
Member Avatar for suncica2222

hi to everybody on this most helpful programing board I have trouble setting up Dev C++ compiler,I have a lot of errors in 100% right code so I guess that compiler isnt set right. I want to work in C. here's example: [URL=http://img27.imageshack.us/i/111111af.jpg/][IMG]http://img27.imageshack.us/img27/4492/111111af.th.jpg[/IMG][/URL]

Member Avatar for gerard4143
0
191
Member Avatar for eliza2044

Hey guys, Can anyone post sample code about updating an object that is already in an std::list? I know that it sounds as a really stupid question, but obviously I'm doing something wrong. In my code I'm going through the list with an iterator until I reach the object of …

Member Avatar for eliza2044
0
6K
Member Avatar for whiteyoh

Hi all, I have a pdo connection script to mysql, which works fine. What im a little stuck on is that when i "include" the file, its connected, but how do i call the table to which my query is related to? The first snippet is the connection, and the …

Member Avatar for whiteyoh
0
122
Member Avatar for jess99

Where should I post for Visual Basic 2008 I m new at this and I encounter a problem with a program Thanks!

Member Avatar for jess99
0
77
Member Avatar for ki72

if and if-else statement: you will have to write a program that reads a 4-digit positive integer from the user and prints out the following information on the screen: 1. Whether the positive integer is an odd or even number 2. (display) The odd digits of the integer 3. (display) …

Member Avatar for freesoft_2000
0
103

The End.