199,113 Archived Topics
Remove Filter ![]() | |
Guys ,i got this code in my project ,but i didnt understand most of it ,if any body can understand then please add comments in it to understand. [CODE] Private Sub cmdclose_Click() Unload Me Unload recoform frmmain.Show frmmain.Image1.Picture = LoadPicture(imagefile) frmmain.cmdont.Enabled = True frmmain.cmdpre.Enabled = True frmmain.cmdrecognize.Enabled = True End … | |
<select name="select" > <option value="0">Select any one</option> <option value="hide">Trainee</option> <option value="show">Product</option> </select> <td><input name="designation" type="text" id="designation" /></td> <td><input name="organization" type="text" id="organization" /></td> please help me how to hide both text box after select Trainee value from listmenubox and after select Product both textbox show please help how to hide and … | |
Hey Im sure everyone is familiar with the game connect four right? Well I am trying to make it in Java right now but I am stuck right now. Can anyone help me with this? Here is the question straight from the book: Connect four is a two player board … | |
hi I have been tryingto make the columnheader of a listview fixed so the user want be able to modify it manually by mouse scrolling but i couldnt find any solution een giving it a fix width didnt work so any ideas i would be thankfull | |
guys i just ask some questions about making a dev c++ codes in ascending numbers order. executing the first number then the next number increasing the number adds to it. its like a loop. tnx guys for d help. any help. pls. im needing dis for my defend. im starting … | |
Hello All, I am working with a program the reads data from a file and plots it to a graph in real time. My stream is coming from a microcontroller output and I am building an interface to display the data. I am using stream reader in my routine, but … | |
in which language are definitions of built in functions like printf written...assembly or C? | |
In the function largest, it works correctly for numbers greater than 2 such as 3, but does not give me the correct results for numbers 1 and 2 when entered. How would I fix this. [CODE]#include <iostream> #include <cmath> #include <iomanip> #include <fstream> #include <string> using namespace std; int nexta(int … | |
![]() | I have been looking for an answer for the last few hours on google with no success. I am trying to create a program that will determine what file to open from user input. For example: names of the text files are xaa through xzz. The text files contain integers … ![]() |
Hello I'm trying to create a program that reads a number(which is the amount of pairs) then you input the pairs and then for each pair it prints the prime numbers between the 2 numbers of the pair.Here's the code: [CODE=c++] #include <iostream> using namespace std; class Prime { int … | |
i m doing my final year project on "PC Maintenance Utilities" . Plz suggest me one good name for my project. it contains following modules: Junk Cleaner Privacy cleaner(browsers) Uninstaller Startup Auto shutdown/reminder System restore service manager process manager security tools Duplicate file finder disk analyzer empty folder analyzer and … | |
who can help me?? I got a datagridview, one of column in datagridview is checkbox call Finish. So that, when the Finish checkbox is checkbox, I want certain row background color become yellow color. when each time I run the program, it will display yellow color when that row Finish … | |
An acronyum is a word formed by taking the firs letters of the words in a phrase and making a word for them. I need to write a program tha tallows the user to type in a phrase and then outputs the acronyum in uppercase for that phrase. This is … | |
Hi all, I have created a registration form and a login form. But it is not working. The data would not go into the database. Can anyone show me the error. I have posted my pages and database structure. [B][U]registration_form.php[/U][/B] [CODE] <hr /> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" … | |
so im tryna save input from stdin to a node. but every time i run the loop it resets whats in my node. idk if that makes sense.. heres my code.. [CODE] #include <stdio.h> #include <string.h> #include <stdlib.h> struct queue_node { char word[11]; struct queue_node *next; } node; struct queue_node … | |
Hi Guys, I have an image upload script on my website however i got tired of uploading them one at a time so i decided to add multiple upload fields. Now when i submit the form i get the "Incorrect format..." error message appear from my code below. When i … | |
Sort the list using quick sort with the middle element as pivot. Show the state of the list after each call to the partition procedure. Pivot = 5 Smallindex = i Index = j ⇒ j ≤ 5 (pivot) 11 8 9 4 2 5 3 12 6 10 7 … | |
Hi, I am working on a refined search feature and I am having a little problem with the following code. I'm trying to get the "genre" values from the form. Then use them in a query to refine the results from the database. The problem is as follows. I need … | |
ok so for most of my error handling i throw and exception and log the info of the error to a file...my question is...what should i do if the program/system is unable to log it to a file? should i throw an uncatched exception? should i just call exit()? i … | |
One DNA strand gatcctccat atacaacggt atctccacct caggtttaga tctcaacaac ggaaccattg ccgacatgag acagttaggt atcgtcgaga gttacaagct aaaacgagca gtagtcagct [COLOR="Red"]DNA reads [/COLOR] gatcctccat [COLOR="red"]ata[/COLOR] ggt atctccacct [COLOR="red"]ata[/COLOR]caacggt [COLOR="red"]atc[/COLOR] cct caggtttaga [COLOR="red"]atc[/COLOR]tccacct [COLOR="red"]cag[/COLOR] aga tctcaacaac [COLOR="red"]cag[/COLOR]gtttaga [COLOR="red"]tct[/COLOR] aac ggaaccattg [COLOR="red"]tct[/COLOR]caacaac [COLOR="red"]gga[/COLOR] aac ggaaccattg [COLOR="red"]gga[/COLOR]accattg [COLOR="red"]ccg[/COLOR] gag acagttaggt [COLOR="red"]ccg[/COLOR]acatgag aca ggt atcgtcgaga acagttaggt atc aga gttacaagct … | |
how can i add color to the TabControl..? we can add color to the TabPage but how to Tab control. ![]() | |
I have a problem with <that> tag.My code this like this: <category> <pattern>HELLO</pattern> <template> <random> <li>Hello there, wellcome to counselling service</li> <li>Hello there what is your name?</li> </random></template> </category> <category> <pattern>_ NAME IS *</pattern> <that>HELLO THERE WHAT IS YOUR NAME</that> <template>Nice to meet you<set name="name"><star index="2"/></set></template> </category> But it does … | |
Hi, In the follwoing code,` siteIDs[i] `can't got the i value which defined in for loop. Can anyone help me? for (i=0; i<siteIDs.length;i++){ $( "#sites" ).autocomplete({ source: siteNames, select: function() {$('#siteID').val(siteIDs[i])} }); } | |
![]() | Here is the problem Im currently having: I save a Text that is made in a Richtextbox which save it contents in .rtf when I open it loads the .rtf into the richtextbox (rtf is the make up for the text (like font and color)) but the textbox shows no … |
I'm a beginner PHP programmer, so sorry if I'm asking some silly question. I've set up a MySQL database with a table carrying a list of boolean values. I want the PHP page count the number of 'true' on a column (from the table) and display it as a single … ![]() | |
Hello everyone! My name is Uriel, and I'm from the Philippines. I'm currently doing our machine problem in Java. I'm using the BoxLayout for this GUI. [ATTACH]20069[/ATTACH] I can't seem to find the correct set of codes to make these buttons function. What codes do I use for these buttons … | |
Hi, At the moment i'm trying to locate xml files to use their content. I would like to be able find all files that have a particular pattern in their name (for example student_James.xml; student_Chris.xml so "student" would be the pattern). I want to be able to do this using … | |
Hello All, I am a freshman at Virginia Tech and am currently stuck on an assignment our professor has given to me. We need to create a simple calculation output determining the high noon point of the day determined by the input of the sunrise and sunset. I was looking … | |
ok well I have written a function that is supposed to take the sql you give it an return an array for you to output. the problem is getting the array becasue the sql is different every time so I get an array of the column names names like so. … | |
hi there, i may have asked this question several times, but the tel number is being formated in a incorrect way. when the user enters the tel number i run the below code [CODE] public bool ValidateTelNo(string TelNo) { bool value = false; string rePhoneNumber = @"\d{3}\s?\d{3}\d{4}$"; string PhoneNoFormat = … | |
i want to repeatedly replace e by o from the words Hello World to be Holle Werld [code]import java.awt.*; import java.applet.*; import java.lang.String; import javax.swing.JOptionPane; public class StringExercise1 { public static void main(String[] args) { String textString; textString = JOptionPane.showInputDialog("Enter a string:"); replaceAll(textString); System.out.println(); System.exit( 0 ); } public static … | |
I have an installer application I am building in javafx but I can't figure out how to get the operating system it is running on so I can place files in the right locations for each system and so I can customize the interface for each. If anyone has any … | |
I'm trying to count the length of each word in a string of text and then count the frequency of times that number of characters shows up throughout the entire text. I can't seem to figure out where to go from what I have here. Any help is greatly appreciated. … | |
Can someone please help me find a method to this? The following recursive method addeven (...) is supposed to add the even indexed values of an array, i.e., a[0] + a[2] + a[4] + … There are bugs in the method. Trace the method using test data, find the bugs, … | |
i have create a checkbox in listview...so i wanna know how to check it and export only check item to crystal report so i can print item that i have check... please anyone help me.. | |
Hi, I am trying to get my sorting script to work, and add to it. Here is my code so far: [CODE]#/bin/sh echo "Name Exam1 Exam2 Exam3 Total Grade" > final.txt awk -f 9.awk grades.txt | sort +4 -5 >> final.txt[/CODE] and then 9.awk is: [CODE]#BEGIN {printf "Name\tExam1\tExam2\tExam3\tTotal\tGrade";} { if($2+$3+$4>90) … | |
I have already included string.h, I've even tried defining GNU but I still get the same warning/error when I compile it. below is not really code, its the warning/error I get [CODE]bravo:~/60-141/Assignment/Assignment3>cc assign3.c "assign3.c", line 94: warning: implicit function declaration: strndup Undefined first referenced symbol in file strndup assign3.o ld: … | |
Okay, So this code I have is giving me an error: non-static variable this cannot be referenced from a static context. Here is the code: [code=java] package macey; /** * @author WolfShield */ import java.awt.*; import java.awt.event.*; import javax.swing.*; public class DemoConv implements ActionListener { private JLabel answerL; public static … | |
Hey all y'all helpful people (:D), My Dad talked to me about making a program that would help him. Basically you enter a screen resolution (or video resolution), then it shows you a list of other resolutions with the same ratio. Let's say you have a picture that you want … | |
Hi, is it some one who know how to make a webcrawler? I am going to use that in a search engine. | |
hi and hello i have developed a desktop application and deployed it and it's working fine but what i simply want that my application should be installed in only one particular PC to whom i have sold it out but same setup should not install in other PC. becuase i … | |
I am working on Silverlight.... I am using MatriX XMPP SDK for facebook chat integration. I am following [URL="http://www.ag-software.de/matrix-xmpp-sdk/matrix-developer-tutorial/"]this[/URL] tutorial, under section 3.1 it talks about connecting to a XMPP server. I am using following details: Username: My facebook username ([url]http://www.facebook.com/username[/url]) Password: My facebook password Domain: chat.facebook.com Port: 5222 But … | |
Hello all I am running a shell script.What a need is i want to set a timer which show how much time is elapsed and how much time is left for completing the script. can it possible in Linux shell scripting. | |
Grating everyone I've to write a program that know how two animals related to gather, the program should first read the number of cases from file , and then the size of two matrices. i did that. and then should compare the first matrix with size 4 with the second … | |
![]() | Hi, I was wondering how to make client connect to multiple servers. I decided to use select for this but I don't see how it should work well like in the server. Pseudocode: void connect_to_server(char argv[]) { if ((sock = socket(AF_INET, SOCK_STREAM, IPPROTO_TCP)) == ERROR) { perror("socket problem: "); exit(1); … |
i'm currently wanting to do this in C. store the following into a giant string "======================" '\n' "Month : " [B]st.month[/B] "/n" "Day : " [B]st.day[/B] I could do this easily if i didnt have members of a structure that i need to obtain their value(they are bolded). How do … | |
Hello people, this is my first thread. I am looking for an SMS (and/or MMS) Toolkit for my Csharp.NET program. I have searched a lot on the internet, and can only find this company: [url]http://activexperts.com/xmstoolkit/[/url] I wanted to see if there are any other alternatives, and if somebody has any … | |
i got problems to do this c++ program..hope you guys can help me.. You may use output statements that print either a single asterisk(*) or a single blank. * *** ***** ******* ********* ******* ***** *** * | |
Is there any good C++ editor for Windows 7 ???? Generally turbo c++ takes 100% CPU processing in windows 7 so i am in search of a good and advanced c++ editing tool for windows 7 Is there any???? | |
Working on this code to sum up real numbers from an array, it's 32bit architecture so i'm using ecx and edx to hold the upper and lower values of the floating point number as of right now the code will output the last real number from my array, and not … |
The End.