132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Alishaikh

Please help me, I need to turn this in tomorrow. I need to do it so I can make my stick figure move using arrow keys. I've made everything, but I don't know how to implement the keys. Can someone please guide me? And give me sample code and where …

Software Development java
Member Avatar for Alishaikh
0
453
Member Avatar for sumitpatki

Hi, I am getting a java.lang.NoClassDefFoundError for one of the classes in a IBM Jar file being used in our application framework project. This IBM JAR file is no longer supported by IBM but is used by one of the application framework projects. This jar file is not there in …

Software Development java
Member Avatar for sillyboy
0
113
Member Avatar for zawpai

Hi, Could anyone give me some suggestion? How can I detect the button is pressed continuously? Actually, I use [ICODE]Command1_MouseDown[/ICODE], but it is not succeed. I would like to do the application continuously if the button is pressed. If the user release (mouse up), I will stop the application. How …

Software Development visual-basic
Member Avatar for Jx_Man
0
270
Member Avatar for gouki2005

[CODE]namespace Empleados { class Empleados { private int edad; static private int numeroemp = 0; public Empleados(int edad) { this.edad = edad; Empleados.numeroemp ++; } public void mostrarInfo() { Console.WriteLine("el empleado tiene {0} aƱos",edad ); Console.WriteLine("Numero de empleados creados {0} ", Empleados.obtenernumeEmpledos() ); } static void Main(string[] args) { int …

Software Development
Member Avatar for BlackSun
0
88
Member Avatar for Rockstar_021

I m using asp.net 3.5(visual studio 2008) and sql server 2005/2000. I want code for validation of Account number and password. i.e. when user enter the Accountno and password and click submit button it should check the data with that enter in database. If it is correct it should go …

Software Development asp asp.net visual-studio
Member Avatar for virang_21
0
195
Member Avatar for DeboJackson

Ok I have this problem which is very simple yet I can't find the solution anywhere. I have a simple function: [CODE] bool MyClass::close(int fd) { // code shutdown(sockFd, 2); close(sockFd); //code } [/CODE] This function does a lot of work and one of the things it needs to do …

Software Development c++
Member Avatar for grumpier
0
156
Member Avatar for ruelk

First of all, I have absolutely know knowledge of using C# for communicating with websites. I am under some time constraints so I am trying to crash through it but I getting more lost than anything. What I have is a windows application that a user can build content files. …

Software Development c# php web-browser
Member Avatar for ruelk
0
365
Member Avatar for xabi

I'm an elder learning Java, and am somewhat a bit confused when it comes to algorithms and such like. I have had to create an application that when a user inputs a number of crazy frogs hit with a hammer, your points score is given back to you. If 2 …

Software Development java java-swing
Member Avatar for Ezzaral
0
123
Member Avatar for inked

hi ive got this segment of code that im struggling with the code does what i want it to do in the sense that if i put in the filename of the file that i have created it works but for a random user the code will not produce the …

Software Development perl regex
Member Avatar for KevinADC
0
122
Member Avatar for P.I.M.P

3. Using User Defined Functions do the following question: my_array = { 3, 61, -5, 38, -17, 21, 92, -64, 41, -6} Find the sum of odd and even numbers in the array !!please help me to answer this question!!

Software Development c++
Member Avatar for VernonDozier
0
143
Member Avatar for xer0

I want to copying a specific shortcut that is on my computer to multiple Computers on our network. Source Shortcut \\"SourceComp\c$\Documents and Settings\Source.User\Desktop\"Shortcut" Destination \\"CompName"\c$\Documents and Settings\All Users\Desktop\"Shortcut" So if I want to copy Source Shortcut to Destination, What will I need to use mainly? ( can I get a …

Software Development
Member Avatar for LizR
0
120
Member Avatar for shazzy99

Getting the following error Error `'System.StringSplitOptions' does not contain a definition for 'RemoveEmptyEntires'` string[] lines = File.ReadAllLines(fileName); char[] delim = new char[1]; delim[0] = ' '; foreach (string line in lines) { if (line != string.Empty) { string[] words = line.Split(delim, StringSplitOptions.RemoveEmptyEntires); // here you've got all your words in …

Software Development
Member Avatar for shazzy99
0
122
Member Avatar for ahspats

have a very simple question: how can i write something into a .txt file? could write only few lines of code and got stuck. have no idea what to do next. can someone help? [CODE] #include <stdio.h> int main(){ FILE *textfile; textfile = fopen("test.txt", "w"); return 0; } [/CODE]

Software Development c
Member Avatar for ahspats
0
98
Member Avatar for Clockowl

Hey guys, I'm getting this kinda vague error: Zeal\src\window.cpp|19|error: cannot declare member function `static unsigned int zeal::window::getWindowCount()' to have static linkage| With the following code (only what I think is needed, if you need more please do ask) window.h [code=cpp]namespace zeal { class window : public element { public: static …

Software Development c++
Member Avatar for Clockowl
0
87
Member Avatar for tableray

lets say i have a text file with the string "ffffffffff" in it and i want to insert "666" after the 2nd "f" in it.. how to do it? i tried the following and it doesnt work.. [code] Dim stream As New System.IO.StreamWriter("xxx.txt") stream.Write("ffffffffff") stream.BaseStream.Position = 2 stream.Write("666") stream.Close() [/code] …

Software Development file-stream vb.net
Member Avatar for rapture
0
101
Member Avatar for nimalka

i wrote a program using file handling tips but still couldent run it there occuring some errors pls help me nn

Software Development c++
Member Avatar for Salem
0
91
Member Avatar for a10m84

Hello , I am developing an application in realtime and I need to update some values in an array. What is the best method to add a value to every position of an array? Thank you for your help.

Software Development c++
Member Avatar for Salem
0
145
Member Avatar for d0ne

I try to make monthly calendar. I want to join, day and month and year, and it show me just month. For example ; i join 5 Sep 1985. It show me just 1985's September calendar. Anyone can help me ?

Software Development c++
Member Avatar for Sky Diploma
0
88
Member Avatar for RahulV

Hai, Once again im here with a problem. Can u help me write a program to search a file in the project folder. I also want to use a progress bar to represent the search status. Can anyone help!!! Thank you!!!

Software Development visual-basic
Member Avatar for RahulV
0
481
Member Avatar for ribena500

Hi, Can a user determine the size of an array through the programme? For example, At the beginning of the programme it will ask the user 'How many students' exams grades would you like to process today' Therefore create the array to be of the size that the user has …

Software Development c++
Member Avatar for Nick Evan
0
133
Member Avatar for Coyboss

I think I have 90+ percent of the coding right for this but I am having an issue with the program stopping after the "welcome to payroll program statement" I can't figure out what goes after while on the liine after the boolean stop line. Any help would be greatly …

Software Development java
Member Avatar for Coyboss
0
571
Member Avatar for deathdarts

Hi everyone, I am trying to read off the "System" Event Log of a remote system. I am getting the following error `"Cannot open log System on machine 10.50.212.129. Windows has not provided an error code"` when i try to access the Application log, my application encounters the same error …

Software Development open-source
Member Avatar for Ramy Mahrous
0
121
Member Avatar for localp

i am trying out this code that i got from one of suns tutorials, it deals with echoing an input back to the command prompt. this is where i got the code [URL="http://java.sun.com/docs/books/tutorial/networking/sockets/readingWriting.html"]http://java.sun.com/docs/books/tutorial/networking/sockets/readingWriting.html[/URL] this is my code, and i am getting the message [COLOR="Green"]"Couldn't get I/O for the connection to: …

Software Development java
Member Avatar for localp
0
228
Member Avatar for daviddoria

This problem comes up quite a bit for me. I'll have a project that I work on for a couple months (the point is that it is a large project with multiple classes, etc). As an example, say I made a program that draws a square. So I have this …

Software Development c++ visual-studio
Member Avatar for daviddoria
0
100
Member Avatar for caps_lock

Hello My recursive file scan is not doing what I want it to do. I want it to be able to go through all roots (drives)... With no user intervention, so without including "C:\\" or "." as a string in the source, or without a TextIO.java class. [ICODE]import java.io.*; import …

Software Development file-system java
Member Avatar for caps_lock
0
188
Member Avatar for creativehacker

I am adding checkbox to datagridview. how can I add a checkbox to the header so that when I click that all the checkboxes should be checked and corresponding rows should be deleted.. I am able to delete one row at a time. How to delete multiple rows.. [CODE]DataGridViewCheckBoxColumn chkBoxColumn …

Software Development dataset
Member Avatar for BlackSun
0
158
Member Avatar for deathevan

hi all, could someone help me to make a mfc program that shows what is on a harddrive with treewiew and listwiew controls? i have no clue how to do it so any help is welcomed. Thanks in advance :)

Software Development c++
Member Avatar for Ancient Dragon
0
70
Member Avatar for ribena500

Hi, I have a calculation (shown below): total[i]=(dogs[i] + cats[i]); I want to be able to store the answer for total[i] I stupidly tried to put a cin statement underneath but that doesnt work. What would i use?

Software Development c++
Member Avatar for iamthwee
0
77
Member Avatar for jvignacio

Im trying to figure out a python script where, If there is no user input, it generates a form which asks for the user's name and email address by using the action form. any ideas ? any help much appreciated..thanks guys

Software Development python
Member Avatar for Freaky_Chris
0
68
Member Avatar for sackymatt

hi there, i have a form in Vb6 and a msacess 2007 database connected using ADODC, on a form is a listbox that i want to populate with the table data from the database, the name of the database is Storenw and the table from which i want to access …

Member Avatar for sackymatt
0
341
Member Avatar for maxcoder

Hello everybody, are there ANY free VB compilers that I can use on my flash drive? Size does not matter. Just as long as I will be able to use it on different computers. Also, Is it even possible to make MSVB like this? THANK YOU!

Software Development flash vb.net
Member Avatar for Ramy Mahrous
0
85
Member Avatar for yrpchoudary

Hi, I have 1 xml file and 1 xsl file. I need to generate new html pages dynamically based on some values by passing the parameters to xsl file from console application using vb.net. Can any one suggest me how to create html pages dynamically using vb.net or C#?

Software Development html-css vb.net xml
Member Avatar for sierrainfo
0
144
Member Avatar for Stefano Mtangoo

Hi all, I have been trying to write and retrieve data from SQLite Database. So far I can make connection, cursor; but cannot get table populated(fails to execute SQL statement). Since I read somewhere that it is recommended to use ? instead of % then I tries it but I …

Software Development python sqlite
Member Avatar for Stefano Mtangoo
0
2K
Member Avatar for Mehh

Hello all, im Mehh and this is my first post. Im also a rookie in programming and im making Multi Document Interface program from a MDI Example in DevC++. My problem is that i cannot change Font Size in MDI example and its so small that my friends cant even …

Software Development c
Member Avatar for Mehh
0
186
Member Avatar for rajeesh_rsn

Hi i am a php programmer. Kindly let me know a good book for begin python from its basic ??? Thanks

Software Development python
Member Avatar for Stefano Mtangoo
0
84
Member Avatar for virang_21

Hi there, I am using third party ActiveX control in my application. It requires RecordSet as a input parameter to its method. I am programming my application in C#. When I call the method after creating RecordSet it throws an exception "ActiveX cannot create an object". What is the potential …

Software Development c#
Member Avatar for Ramy Mahrous
0
170
Member Avatar for regberds

Guys i have problem about fle handling.. i dont know howto update the text in the file.. or in the NOTEPAD this is my code.. Private Sub cmdUpdate_Click() Dim ndx As Byte Dim tmp As String Open App.Path & "\data.txt" For Output As #1 Write #1, txtname, txtaddress, txtphone.Text Close …

Software Development visual-basic
Member Avatar for regberds
0
93
Member Avatar for reza_danesh_197

I want to display a charactar in x,y coordinate in console.Please help me!?

Software Development display
Member Avatar for LizR
0
45
Member Avatar for vandenzergen

Hello everyone, I'm still having a problem about saving the [I][B]data values[/B][/I] of an array variable or any variable. You know, every time we run a program the values of the variables can change anytime by means of looping or other inputs that a user might do. All I want …

Software Development open-source
Member Avatar for LizR
0
156
Member Avatar for mrjoli021

I want to incorporate a file browser into my windows app so users can select which file to copy. I am running vs2008.

Software Development file-system
Member Avatar for mmaster
0
162
Member Avatar for knowledgelover

hi there, is there a browse control in C# windows application form , if so , plz, how can I add it to my toolBox and how can I use it to allow the user to browse any file she wants, if not how can I implement the idea og …

Software Development c#
Member Avatar for mmaster
0
183
Member Avatar for cVz

Ah man , ive been adjusting the code so much ... I am trying to make a treeview that display's all the directories and files on theserver (SO FAR SO GOOD) ... Here's my code to retrieve Directories and files [code] public string[] GetFileList() { string[] downloadFiles; StringBuilder result = …

Software Development
Member Avatar for LizR
0
355
Member Avatar for ashneet

Well i need to make a program which would display a certain string in a triangle form in the middle of the console something like this: [code] t eee sssss ttttttt [/code] it wont display right here but i think you get the point. I am somewhat able to do …

Software Development
Member Avatar for LizR
0
150
Member Avatar for devbrat_ghosh

I'm still working om 2003 version since company's project is devloping on it. Persons who worked previously on 2003 version kindly highlight the difference or simply provide link for such article with Regrds Dev:idea:

Software Development asp asp.net c#
Member Avatar for LizR
0
148
Member Avatar for Ghostenshell

Can anyone simplify this for me? I don't know if it is going to work I tried to adjust the code to fit on the page. Might have to delete the extra [ICODE]+\[/ICODE] [CODE=python]def main(): try: infile = open('text.txt','r') files = infile.readlines() lower,count,blank,dig = 0,0,0,0 #Counting uppercase for line in …

Software Development python
Member Avatar for Stefano Mtangoo
0
972
Member Avatar for PhiberOptik

Hey guys, I'm creating this as an admin program for another program I've made. Basically all that happens at this point is show a bunch of buttons and the titles of the buttons are the computers that the using accounts from my MySQL database. This is just the panel, but …

Software Development java java-swing
Member Avatar for PhiberOptik
0
111
Member Avatar for deepak777mishra

Hi i m working on project "Apriori algorithm simulation" on java. Can anybody tell me which r the neccesary software tools is needed.means which software needed

Software Development algorithm java
Member Avatar for BestJewSinceJC
0
46
Member Avatar for fomi101

I have to sort the bars but i have to show them sort, by delaying it. Can someone help me add delay to make it work. I used Selection Sort --- [code] import java.applet.Applet; import java.awt.*; import java.util.Random; import javax.swing.*; public class SelectionSort extends JApplet { //Variables and arrays Rectangle[] …

Software Development algorithm java java-swing
Member Avatar for BestJewSinceJC
0
57
Member Avatar for altrim
Member Avatar for jimbob90

program read from cin what the user wants to do ("add" a name to list) or ("lookup" a name). in add just add whatever was read in to the file. in lookup print out a line of text with the string that wa read in. hopefully that makes some sense …

Software Development c++
Member Avatar for deepglue555
0
183

The End.