199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for paku_dnj

my password program can hide keyboard input . its invisible when i type password. But my qus is how can show password input as asterisk (*) can any one help me please? :p my code is here: public void login() { Scanner input = new Scanner(System.in);//create Scanner object System.out.println("\n"); Console …

Member Avatar for ~s.o.s~
1
10K
Member Avatar for srivardhanms

Hi, Can anyone tell me how to create a class in C++ such that, the instance of that class cannot be created on stack? Am not able to figure out how to do it. Thank-you in advance, Sri

Member Avatar for srivardhanms
1
173
Member Avatar for kingakeown

hey guys, i need help. am trying to connect my report viewer to mysql database through asp.net using vb.net codes. i want to do it through codes...including the parameters, filtering and generating the report as well...tanx..anybody with help????

Member Avatar for LastMitch
1
173
Member Avatar for tubzz

write a menu driven program to create a linked list, insert an item, delete an item, and display the list of items. the program should contain a class with the required data and functions. #include <conio.h> #include <stdio.h> #include <stdlib.h> //Structure containing a Data part & a //Link part to …

Member Avatar for Ancient Dragon
1
160
Member Avatar for G_Waddell

Hi All, I have a problem with a treeview class in my windows form. Specifically I'm try to detect when a user has expanded or contracted a node verses if they have clicked/selected the actual node. When the user clicks on the node, I want to expand / contract the …

Member Avatar for G_Waddell
1
270
Member Avatar for vizz

I need help to create **Process monitoring program.** (services, system, and user-run processes) If any **software/Process** wants to run, this program display it's details and ask user to **allow or block software/Process.** Also display List of All Running Processes with it's address(process related with perticular software) with **stop/block process** option. …

Member Avatar for NathanOliver
1
394
Member Avatar for woooee

The following code does the same lookups using a list and a dictionary. Lists are sequential in memory, meaning that the program has to get the offset for the beginning of the item it wants to use, go to that offset, compare to what it wants to find, and go …

Member Avatar for sepp2k
1
205
Member Avatar for nova4005

Hello everyone, I am sure the dice game has been discussed numerous times on here. I am hoping to get some feedback on my take of the dice game. This was a homework assignment and I have completed the requirements. I am just wanting to see where I could have …

Member Avatar for JamesCherrill
1
238
Member Avatar for UKnod

I have a problem with retrieving data from access databse. I make the connection and retrieve the data no problem. But when the data changes from another use of the database, I cannot get the new changed data without reloading the complete programme. Even repeating the load functions does not …

Member Avatar for UKnod
1
189
Member Avatar for piers

Hi, I am trying to create toggle buttons for a page with profiles in. I have around 60 buttons on the page and want to try not to define the click function 60 times: $(document).ready(function(){ $(".button1").click(function(){ $(".1").toggle(); }); $(".button2").click(function(){ $(".2").toggle(); }); $(".button3").click(function(){ $(".3").toggle(); }); $("p").css({display: "none"}); }); So I was …

Member Avatar for piers
1
1K
Member Avatar for atikah8890

Hi all. I'm doing a page for multiple choice questions. The question and answer choice are in two separate database tables (question and answer). The layout of the page is like this: Question 1 Answer choice (4 or 2 radio buttons) Question 2 Answer choice (4 or 2 radio buttons) …

Member Avatar for atikah8890
1
594
Member Avatar for mariozeph

Hello I'm new here and have been searching for a while but haven't came up with any results that satisfies my question. Basaically I'm making a tool that is sort of an account manager and needs to read some usernames from sample text file for example Sample.txt: username1:password1 Username2:password2 I …

Member Avatar for mariozeph
1
454
Member Avatar for Fedhell

Hello everybody, Im using datagrams to send a DatagramPacket, however, unless the router has ports forwarded, the clients dont recieve the packets. Is there a way to set this up so that my clients dont have to port forward on their router? How to main stream gams like LOL or …

Member Avatar for JamesCherrill
1
508
Member Avatar for KushMishra

Hi all, I want to develop a pie chart with functionality of dragging and resizing but not like a fixed size. Initially it should come as a quater sized and **should be ressizable to any angle** just like done with the MS power point. Any idea to kick start this …

Member Avatar for KushMishra
1
223
Member Avatar for piumiM

Hi, I need to implement java question answering system (similar to chatbot but domain specific) for my final year project. I first thought of using AIML to build knowledgebase. But I could not find how to access it in java. All I found was program D, program W and so …

Member Avatar for Lamirp
1
133
Member Avatar for asifalizaman

hi!guys can any one tell me how i make installer through java.. i have source code only i want to make it the installer that easily install to the other computers and other used this..........

Member Avatar for asifalizaman
1
171
Member Avatar for l.worboyz

I am trying to call two methods from another class which is linked to the current class i am working in. basically if it is a left-button click from the mouse, i want to call the addCounter method (of the myAbacus object). If it is a right button click, i …

Member Avatar for JamesCherrill
1
386
Member Avatar for DavidKroukamp

I have seen many questions on autocompeletion for *java text components* like `JTextField` `JTextArea` `JTextEditorPane` etc. There are not many options either: 1) 3rd party library (like SwingX) 2) DIY (i.e using `DocumentListener`, `JWindow` with `JLabel` etc and a few requestFocusInWindow calls) I chose number 2 and put the code …

Member Avatar for bguild
1
1K
Member Avatar for George_91

I'm creating a website which requires a Login. When it logs in the system it creates a Session. But I don't know how to validate my next page. Because if the user types the name of the second page in the browser, it enters without problem. What I want is …

Member Avatar for Webville312
1
23K
Member Avatar for tinstaafl

Here's a simple wrapper for printing text. Built as a class library, this can be used in any .net application. This has automatic word wrapping. I figured that using the new constructor to accept different parameters would easily allow for printing different documents with different settings. I included Name, Font, …

1
582
Member Avatar for murnesty

I'm designing a embedded system and we have to oftenly report system fault in different code module. So I decided to create a source file to keep the error log and I'm building a struct for that. So that, every module reporting the error log and store in a data …

Member Avatar for mike_2000_17
1
259
Member Avatar for asifalizaman

/*Calculator =========================program*/ /****************************************************************/ /*****************************************************************/ #include <iostream> #include <conio> #include <stdlib> /*****************************************************************/ /*****************************************************************/ float a[1000]; int top=0,i,r; char u; float input(); float d,p,q,w; void push(float x); void get(); void show(float arr[]); /***********************************************************************/ /***********************************************************************/ void main() { get(); getch();} /*-------------------------------------------------------------------------*/ /*-------------------------------------------------------------------------*/ void get() { cout<<"\t\tPlease Enter number\t"; for(i=0;i<1;i++) { cin>>a[i];} show(a); } …

Member Avatar for asifalizaman
1
271
Member Avatar for JorgeM

I have a scenario that I am assisting with. I am not sure how to advise in this case. I am hoping that someone with a lot more database design/normalizing experience can clarify this for me. I am working on a simple database which will contain a table to track …

Member Avatar for JorgeM
1
248
Member Avatar for PixelatedKarma

Hey guys and gals, I know I could probably be posting this on the Joomla forums but I have come here instead to get a clear explanation from this community because it has always delivered great results in the past. My curiousity on how Joomla's index.php works is getting the …

Member Avatar for broj1
1
1K
Member Avatar for harry.lloyd.7503

Hi guys/ and the minority of girls. This topic is for my teacher, who has asked me to find information of the following for himself. How can he interface a USB port to run a motor through C++? He is relatively good with computer systems himself, so why he does …

Member Avatar for MandrewP
1
256
Member Avatar for pritaeas

I came across this plugin called [baraja](http://tympanus.net/codrops/2012/11/13/baraja-a-plugin-for-spreading-items-in-a-card-like-fashion/) by accident. Looked interesting enough to share.

Member Avatar for Dani
1
94
Member Avatar for vegaseat

A permutation is the arrangement of a set of items in different order. One interesting application is the rearrangement of characters in a word to create other words. If all the n characters are unique, you should get n! unique permutations. You can make a list of words unique by …

Member Avatar for vegaseat
1
6K
Member Avatar for analys

Hello guys, I'm working on my code vb.net to save data into access database. I'm kinda lost right now. Couldn't find the solution to the error. it highlight on dbcommand.ExecuteNonQuery() as state as the title problem. Here's my code. Appreaciate the help. ` Imports System.Data.OleDb Imports System.String Imports System.Windows.Forms Imports …

Member Avatar for analys
1
2K
Member Avatar for imspikey

I wanted to share this great game development kit called stencyl [stencyl](http://www.stencyl.com) its great for creating 2d games you can publish your game to flash iphone and soon html5 and android is in the way. I am currently developing a game myself using stencyl and going to upload it to …

Member Avatar for april88t
1
128
Member Avatar for coder91

Hi I am a student at university on my placement year, but a friend's boss has asked if I would be able to design their website for them. I know how to design a website i've experience designing a website using Dreamweaver in high school, HTML, CSS, JavaScript and PHP …

Member Avatar for JorgeM
1
197
Member Avatar for chr.s

Hi, I'm after some thoughts and opinions regarding the navigation/behaviour of a portion of a site I'm working on. The site is a shop, which is built with the Big Cartel framework, and is my first attempt at using more than just a couple of lines of javascript - or …

Member Avatar for chr.s
1
352
Member Avatar for happygeek

It's going to be a great Easter for Modern Warfare 2 gamers, and that's official. Robert Bowling, Creative Strategist at Modern Warfare 2 developers Infinity Ward, has [URL="http://twitter.com/fourzerotwo/status/10738022531"]posted confirmation on Twitter[/URL] that for the weekend of April 2nd to 5th there will be double experience points on offer to players …

Member Avatar for mamun0101
1
450
Member Avatar for happygeek

According to IT security outfit Kaspersky, which has just [published details](http://www.securelist.com/en/analysis/204792255/Kaspersky_Security_Bulletin_2012_The_overall_statistics_for_2012) of the information security landscape as it was shaped during 2012, 99% of all mobile malware threats now target Android devices. With 6300 new mobile malware samples discovered every month on average across 2012, Android has become the focus …

Member Avatar for peter_budo
1
298
Member Avatar for Lejan

Hi, Here is the code I’m trying to execute using MS Access database to return a dataset. And i get the error "No value given for one or more required parameters". Public Class Main_Form Dim conn As New OleDb.OleDbConnection Private Sub btnReset_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles …

Member Avatar for Reverend Jim
1
266
Member Avatar for geetajlo

hi friends... i want to search a record from a datagridview with an input box... Can anyone help me plz... It's 4 my project ... Need help plzzzz...

Member Avatar for Reverend Jim
1
10K
Member Avatar for bguild

It's surprisingly how little documentation `java.io.InputStream` has for a class of its complexity and importance. Almost every Java application uses it in one way or another, but how one uses it correctly is not completely spelled out. Naturally the documentation allows most of the methods to throw an `IOException` if …

1
134
Member Avatar for Violet_82

HI all, I am a bit confused about right justifying and formatting strings and numbers in general, and I was wondering if somebody can clarify this for me please. Ok, so let's take an example: // Fig. 7.2: InitArray.java // Initializing the elements of an array to default values of …

Member Avatar for Violet_82
1
1K
Member Avatar for chound

How do we create datatypes in C++. Eg. creating datatype called "myowndatatype" with sizeof(myowndatatype) = 3

Member Avatar for ravenous
1
272
Member Avatar for zuve_fox

Hi... I wrote code using vb.net [B]picturebox1.image=image.Fromfile("C:\a.jpg")[/B] picturebox1 display image a.jpg. if picturebox1 display, file a.jpg can't delete it because "being used by another person". how to close picturebox1 so file a.jpg can delete? i have tried to use picturebox1.dispose() and picturebox1.image=nothing but still can delete and display error message …

Member Avatar for hkkkk
1
1K
Member Avatar for Gribouillis

This snippet defines a Print function which can be used with python 2.4, 2.5, 2.6 and 3.0 (for 3.0 this is just the built-in print function). It's interface is that of the python 3.0's print. It simplifies the task of writing transitional code which runs under python 2.5 and python …

Member Avatar for Lucaci Andrew
1
824
Member Avatar for Aarowaim

Hey everyone. I do a bit of programming in my spare time, and I've been on hiatus for a while due to taking up a second language. Now that I am taking computer science classes, I'm back into programming. Admittedly, they're far too easy for me, and I find myself …

Member Avatar for mike_2000_17
1
213
Member Avatar for CPT

Hello everyone, I'm having problems grasping some concepts of parallel programming; to be more precise, given some pieces of code, I have to determine which of them can be parallel and which cannot(this was in a test in a parallel programming class): a) a=2; b=3; //yes-variables are independently initialised b) …

Member Avatar for rubberman
1
251
Member Avatar for pucivogel

I am following this tutorial http://www.css-resources.com/code-for-php-photo-gallery.html to create php photo gallery but i get errors undefined index photos, categories and cy when i run this code, it gets the category names in a textarea and adds them in the db, in the output also says no database selected but i …

Member Avatar for michel.cote
1
314
Member Avatar for wschamps42

So what would be the size of this array in bytes if on a 32 bit machine: double *arr[4] ;

Member Avatar for rubberman
1
282
Member Avatar for johslind

I'd like to share with others a discovery I made about using meta tags for other purposes than SEO. My issue was to have a number of articles shown in exactly the order I wanted them to be listed. I also wanted that certain articles shoule be shown as subarticles …

Member Avatar for diafol
1
127
Member Avatar for guyinpv

Hi guys, I'm looking for comments and suggestions regarding the use and place of jquery/ajax in site development. I know jquery allows a lot of cool stuff and so does ajax, but when a site becomes heavily based on these tools, the use of PHP dwindles. I am used to …

Member Avatar for guyinpv
1
459
Member Avatar for Asif_NSU

I wrote this code that checks whether a number is prime or not. It returns 1 if the number is prime or 0 otherwise. U just look at the bottom of the code... [CODE]#include<stdio.h> #include<conio.h> #include<assert.h> int is_prime(int n); void main(void) { int n=0; clrscr(); printf("An integer "); scanf("%d",&n); assert(n …

Member Avatar for Djoooleee
1
4K
Member Avatar for sk8ergirl

Hi .. I need topic for my java project and I need to use inheritance in the project I'm thinking of book store or employees , nut how can I use inheritance in book store or employees what class will I inherit from

Member Avatar for ruchi18
1
122
Member Avatar for bguild

*Code Complete* is a programming book by Steve McConnell which includes a second about how to choose a language for your project. It very briefly examines a wide variety of languages: Ada, Assembly, C, C++, C#, Cobol, Fortran, Java, JavaScript, PHP, Perl, Python, Smalltalk, SQL, and Visual Basic. It also …

Member Avatar for <M/>
1
233
Member Avatar for LOI_SE

I'm writing a VB.NET software application in which I want to plot some placemarks on a google map which is in a webbrowser control in the application. weburl = applicationpath & "/googlemaps.html" WebBrowser1.Navigate(weburl) To accomplish this I call a javascript function from VB.net in this button event: Private Sub Button1_Click_1(ByVal …

Member Avatar for TnTinMN
1
1K

The End.