199,114 Archived Topics
Remove Filter ![]() | |
Hi all, I am extremely new to vb.net. I've been mucking around with the below project. I have also attached the original instructions to give you a better idea of what I'm supposed to be doing :) Anywho, here is my code. given that I don't get the results I … | |
Public final static Boolean FALSE=new Boolean(false); Public final static Boolean TRUE=new Boolean(true); what is the meaning of above two statements? | |
So I have these nodes I'm trying to sort as such, but it's not working. This is psudo code: Node first = new Node(23); //previously construted node [code] put method(newNode) { Node traverseInOrder = first; while (newNode > traverseInOrder) { If (traverseInOrder.successor != null) { traverseInOrder = traverseInOrder.successor; } else … | |
Hi, I commented every method of my source code using javadoc tags. But I noticed the private methods/variables do not show up in the api documentation. If I change the access modifier to public then they show up. I was wondering how to make them visible (without declaring them as … | |
I have developed a ASP .net website now I want to enable AJAX for this website , so plz tell me the procedure to Upgrade this Website to AJAX enabled website. | |
Im trying to use session variables to save the puzzle key, and than open a new file that prints it out, but it gives me Notice: Undefined index: puzzleName in C:\Apache2.2\htdocs\users\jmdrenning0\wordfind\wordfindkey2.php on line 13 i have no idea what it means, any help please. wordfind.php [CODE] function printPuzzle(){ //print puzzle … | |
[QUOTE] ; Source name : EAT.ASM ; Executable name : EAT.COM ; Code model: : Real mode flat model ; Version : 1.0 ; Created date : 6/4/1999 ; Last update : 9/10/1999 ; Author : Jeff Duntemann ; Description : A simple example of a DOS .COM file programmed … | |
I am writing a PHP registration form but when i view my page i cannot see the form, any ideas all my code is below. i have noticed that if i remove the [CODE]print '<h1> Please Register To Continue </h1>'; print '<style type="text/" media="screen> .error { color: red; } </style>';[/CODE] … | |
I am making a forum and i was wondering how trough PHP make a HTML page off that topic when the user creates it. ![]() | |
Hi guys, The following program works the way I want it to but there's one small problem; when it loads, it doesn't give a blank frame. It want it to show the output after I click on the blank area. Help me please. [CODE] import java.awt.*; import javax.swing.*; import java.awt.event.MouseAdapter; … | |
Hi Guys! Can you kindly run this code in your PC and see if are getting the correct output.... maybe there is something wrong with the path variable etc in my system... thanks I want to print numbers from 1 to 10 using two different Threads. The code below is … | |
Hi, I'm trying to create a simple shell in C for Unix. I've been able to do all the parsing of commands and execution, but I'm having a problem with piping. I think the problem is that I'm not hooking into the correct pipe for the input of the second … | |
Hello, I am having trouble with one of my assignments and was hoping someone could help explain why this problem is occurring. The following code is set up to ask the user if they would like another transaction after they have completed the program. The first time the user inputs … | |
Dear All I would be very happy if you could help me! I need to create a main() program which is be able to; * reads in a list of words and their associated meanings from the given test file(file.txt)(This file contains 10 lines) * provide an interactive menu interface … | |
How do I make something like [code] x = 5 while 0 < x b = raw_input("something: ") [/code] However each time it loops, I want it to change, like: first loop - b = raw_input("something: ") second loops - c = raw_input("something: ") third loop - d = raw_input("something: … | |
Hello, I am new to this C++ stuff and I am in need of assistance with this code for counting vowels. I missed a few days of class and am some what lost. I keep getting the error codes: C2228 saying it must have class/struct/union and C2109 requires array or … | |
Is this the proper way to zero the first 12 bits of an address? [CODE] void *ans = (void*)((unsigned long)addr & ((0UL - 1) ^ 0xfff)); [/CODE] Where addr is any user process memory address.. Note this method works...I just want to know if there is a better way | |
which c++ compiler is easy n best? i want to download........... guide me...... | |
; this code gereates maximum factorial of 8 decimal ; since, A is a 16-bit register and can hold max value of ;65535 dec (255h). ; MOV A,#8d ; value for the factorial (1-8max) MOV B,A ; B=A MOV C,#1d ; C=1 here: ; LOOP SUB B,C ; B-1 MUL … | |
This code when compiled ...saids it contains infinite loop but i don't how to fix it? can someone tell me what im doing wrong? ~thank you [CODE] #include <iostream> #include <string> using namespace std; // this program asks the user to order an ice cream int main() { string flavor … | |
I know Remembering secure passwords is difficult. So I made this. [code] import random, os a= ['a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z','1','2','3','4','5','6','7','8','9','{',':','>','?','}','|','!','@','#','$','%','^','&','*','(',')','-','+'] z = int(raw_input("How many words in your password?: ")) os.system("clear") List = [] for x in xrange(z): List.append(random.choice(a)) print "".join(List) print "1) Yes" print "2) No" b = int(raw_input("Would you like to save … | |
hi people, In my hour of need I didnt know who to turn to, until I came across this forum. People I'm really stuck on a creating a project for my final year and I'm hoping someone will read this and offer their guru advice. I'm basically studying a Multimedia … | |
Hi all, For a combobox I was trying to imitate the behaviour of this code example:[url]http://msdn.microsoft.com/en-us/library/system.windows.forms.listcontrol.valuemember.aspx[/url] So I have this class: [CODE=c#]class Planet { private string myName; private double myGravitationalAcceleration; public Planet(string strName, double Acceleration) { this.myName = strName; this.myGravitationalAcceleration = Acceleration; } public string Name { get { return … | |
Hey. I'm trying to simply input items into a list, then be able to sort them and do whatever. I've done this before for my previous classes, but we have we have to use class files out of the book and modify them to make this work and I'm having … | |
Hello :-)! There is a problem with building project in NetBeans. I've got two directories sphinx4-1.0beta3-src and sphinx4-1.0beta3-bin, which are part of speech recognition system CMU Sphinx, Sphinx4 is written in Java. In the directory S:\tutorial\sphinx4-1.0beta3-bin\bin I've got some .jar files, e.g. HelloDigits.jar. In S:\tutorial\sphinx4-1.0beta3-src there is no bin directory, … | |
Ok so I make my masks [CODE] short m1, m2, m3, m4; m1 = 0xF000; m2 = 0x0F00; m2 = 0x00F0; m3 = 0x000F; [/CODE] and then I test my masks [CODE]printf("%hd %hd %hd %hd\n", m1, m2, m3, m4);[/CODE] when I test it the values come out as [CODE]-4096 240 … | |
Hi, I have a question. Using the following code: [code=c++] #include <iostream> int main() { std::string s1; std::cout << s1.capacity() << std::endl; system ("PAUSE"); return 0; } [/code] In Ubuntu/KDevelop the output is 0. In Windows/V.Studio the output is 15. Can anyone suggest why it happens? I'm somewhat stumped by … | |
Hai.... "i want used confirm in javascript in code behind" i am used confirm button ,in code behind. if the confirm button worked the function is return the true... else the function return the false.. i want to get true and false value for my further proces.. this my code.. … | |
Hi friends !! I'm neophite about python, my target is to create a programa that find a specific string in text file. How can do it? Thanks fel | |
Hello.. Ive written this code which dont work, its jobis simply recieving names from the user in a structure [a] and delete a name that chosen by user, the compiler give me error flag in the line noticed bellow:) [CODE]#include <iostream.h> #include <conio.h> struct m{ char n[15]; }; void main() … | |
The following code works, it prints hello world. Also, depending on the second value, it either gives segmentation fault or doesn't gives segmentation fault. Can someone please explain me what is happening internally. [CODE] int main = ( cout << "Hello world!\n", 195 ); [/CODE] | |
Whenever I create a new database from a C# program and create tables for that database, the tables always show up under the creator's default database instead of being listed under the newly created database. This observation is from Microsoft SQL Server Management Studio Express. Is there some setting in … | |
1. Is it possible to draw a border line around a table and/or a cell 2. Is it possible to draw a color to the background of a label. 2bis If not, is there an other element that can have background colors 3 How can I set the default height … | |
HI I'm trying to use a menu on a datagridview, I have put a Contextmenutrip on the form. When I right click in a cell I would like a menu to pop up. but nothing happens. This is the code I have tried. [CODE] Private Sub CustomerPopMenu_ItemClicked(ByVal sender As Object, … | |
Hi All, I am working on a website in which paypal is working very well. But when paypal complete the transaction it sends some "Inavalid or Bad order" Like this type of mail . Means customer is getting such a mail I am showing here: [QUOTE]Subject: [Wed Nov 4 9:27:48 … | |
Newbie Here Edit: This is not homework, I am a chemical engineering student and a math minor. I'm doing programming on the side to help me automate certain calculations later in my career. Also always had a healthy interest in programming. I just read the not doing homework for people … | |
hi there, How to fix this ? i got below message when activating plugin from wp-admin Plugin could not be activated because it triggered a fatal error. Fatal error: Out of memory (allocated 15990784) (tried to allocate 77824 bytes) in …. plugins/wp-e-commerce/wpsc-admin/display-groups.page.php on line 187 I found below code at … | |
I was having problems with this program or better with the int main() function. The program is supposed to ask the user for his name and password. After that the user will be able to access different infos based on his security clearing. The comments in the code are English … | |
------------------------------------ ----------- --------- ------------------------------------ ----------------------------- ------- PRODUCT KIT TYPE STATE MAINTENANCE REFERENCED BY ------------------------------------ ----------- --------- ------------------------------------ ----------------------------- ------- HP I64VMS ACUXE V6.40-11P09A Full LP Installed HP I64VMS AVAIL_MAN_BASE V8.3-1H1 Full LP Installed HP I64VMS OPENVMS V8.3-1H1 HP I64VMS CDSA V2.3-306 Full LP Installed HP I64VMS OPENVMS V8.3-1H1 HP I64VMS … | |
we have two radio buttons with same name. when we check radiobutton no.of imagefile boxes appear. for example i have two radio buttons. if i check 1 radio button appear 5 image upload fields. now selects another radio button selects then appear only 10 image upload field. anybody help. ![]() | |
Hi there, I'm assuming the answer to this problem is really easy, but I just can't work out where the problem is. It's driving me insane and I'd really appreciate some help. I'm new to C++. My problem is this: I'm trying to pass a char array to a function, … | |
Hello i wish to retrieve rows from a table based on a particular column which contains null values in sql2000 server I try ed a lot but its not working please help me. | |
Hi all, after thinking for sometimes, I thought it will be grat opportunity to learn if I will start from scratch and build my own register/login system. Here is the thread that I will be posting the progress and I hope you guys will help me. The code below is … | |
hi..i am writng a program.....i have collected a lot of information(name,hobbies etc.....) of about a hundred students in my school.......i have also stored their photographs in .jpeg format.........i am using Dev c++ and windows xp..........i want to store all this info + photos in a single file....how do i go … | |
hi frnd... i want to remove/disable ADDRESS BAR from the new pop up window... now i m using this code....its working only for IE6..... [CODE]window.open(url ,'title', 'location=1,menubar=no,resizable=no,scrollbars=no,status=no ,toolbar=no,width=300,height=200')[/CODE] Also i want to remove expand button in browser...plz tell me how can i do it... Thanks in advance... | |
Hi, now i m working for musical website... here my problem is how can i create a playlist and how to pass the selected songs to my player.... i dont have any idea regarding this.. plz give me JAVASCRIPT, php code ... plz give me some suggestions...sorry for asking code..but … | |
Hi, I am trying to create a button group which can give me both Jcheckboxes as well as Jbuttons. The problem is that I am creating a button group and not able to fit the checkbox criteria into it. Actually I want to create 2 radiobuttons followed by one checkbox … | |
[B][COLOR="Green"]Hope for a fruitful reply....................[/COLOR][/B] Enter a number into a textbox(like 5 or 10 or something like that. Then that number of rows are inserted into the table ..."Master"( id,serial_no,password) . Like if i enter 10 into that textbox and submit then inserted 10 number of rows into a table … | |
Dears I need some help regarding a software development for P2P file sharing application. I need guidence in this regard. The application must contain PEER DISCOVERY, FILE SHARING, FILE TRANSFER, DOWNLOAD AND UPLOAD FILES, SEND AND RECIEVE MESSAGE AND MAINTAIN HISTORY. PLEASE GUIDE ME FROM WHERE I SHOULD START ALSO … |
The End.