132,726 Archived Topics
Remove Filter ![]() | |
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 | |
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 | |
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 | |
[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 | |
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 | |
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++ | |
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 | |
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 | |
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 … | |
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++ | |
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 | |
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 | |
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 | |
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++ | |
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 | |
i wrote a program using file handling tips but still couldent run it there occuring some errors pls help me nn Software Development c++ | |
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++ | |
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++ | |
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 | |
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++ | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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++ | |
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++ ![]() | |
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 | |
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 … Software Development microsoft-access open-source visual-basic | |
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! | |
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#? | |
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 … | |
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 | |
Hi i am a php programmer. Kindly let me know a good book for begin python from its basic ??? Thanks Software Development python | |
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# | |
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 | |
I want to display a charactar in x,y coordinate in console.Please help me!? Software Development display | |
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 | |
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 | |
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# | |
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 | |
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 | |
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: | |
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 | |
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 | |
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 | |
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 | |
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++ |
The End.