132,726 Archived Topics
Remove Filter ![]() | |
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 … Software Development c# file-system xml | |
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 … Software Development visual-basic | |
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 … Software Development java java-swing | |
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 … Software Development gui java operating-system oracle | |
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. … Software Development python | |
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, … Software Development java | |
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) … Software Development shell-scripting | |
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 … Software Development java java-swing | |
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 … Software Development | |
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 … Software Development vb.net | |
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 … Software Development | |
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. Software Development 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 … Software Development java | |
![]() | 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); … Software Development c client-server socket-programming tcp-udp |
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 … Software Development c | |
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 … Software Development | |
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. * *** ***** ******* ********* ******* ***** *** * Software Development c++ | |
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???? Software Development c++ | |
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 … Software Development assembly | |
I'm having trouble with validating my textbox. My textbox should only accept decimal number, and should not accept negative number. i tried this code for validating the input type, but i fail. [CODE]If Not Char.IsDigit(numWeight.Text) Then MsgBox("Incorrect input.") End If[/CODE] And i don't know if this is the right code … Software Development vb.net | |
Hi, I am having problems with my IF statements. Basically, what I have done is set random numbers to 2 labels. (Random numbers are 1 or 0) What I am trying to make the IF statement do, is see that the label is holding one of those random numbers, and … Software Development | |
| |
how to disable and enable windows keys using vb6 coding? plz help me.................. Software Development visual-basic | |
Hey I have been looking at google page for some time now and can't seem to find a straight answer. I have a application that is released. Now I want to update that application. How can make a updater? It is released a Installable app, but I don't want to … Software Development | |
How to opet text file via open file dialog and print text? Software Development c# | |
hello. i have got a unique ID for each customer and i get the form to search this ID and all the customers details appear. but i want the option for them to edit their details by changing what is in the textbox. i can get it to save to … Software Development visual-basic | |
Hello to Dear Friends, iam creating data reports ,but the problem is i cant find the way to make report in LANDSCAPE...i heard sp5 or sp6 vb can do that ..but i couldn't found any option like that. kindly guide me how to create reports in landscape format... ithink there … Software Development visual-basic | |
I can not save an image on my form because the picture size is too big. how to store images in the table and what kind of typenya in the table to be able to load images. thank you Software Development visual-basic | |
Hi! :) As said in the title i try to get (as a string) the parent of a selected item, but i can't manage to do it. Of course i can easily retrieve the string of the selected item with GetItemText... But how do we retrieve its parent? Example: if … Software Development python | |
Anyone have knowledge on how to make a label during run time which it depends on the user on how many label should be made i have tried some codes but it won't work. [CODE]Option Explicit Dim m_memo, m_size, m_equation, m_jobs As String Dim i As Integer Dim lblfield As … Software Development visual-basic | |
Hi, I'm currently trying to learn programming in WinApi C++. Let's say I have a ListBox whose ID is "IDCL_LISTBOX" and I clicked a selection on it. A notification goes to my Message Procedure and I filter it through WM_Command. I look at what the LOWORD and the HIWORD of … Software Development c++ | |
Hey guys i have been working on a report card program lately and i hit a hard place i used a do-while but i cant restrict characters from being posted without the program crashing and i don't wanna be monotamous so can u guys help heres a piece of the … Software Development c | |
" After I have compiled my program I have an executable file. To execute it from the command prompt: test.exe <test.in >test.out Where test.exe is the name of my compiled executable, test.in is a text file for input, test.out is a text file that your resut will be output to. … Software Development c file-system | |
Hi, I have an XPATH expression which works in Firefox but not IE8. "//country/region[text()="London"]/../timeZone" The error message I get from IE8 is " Message: .. may not appear to the right of / or // or be used with |." Thanks, Redrose123 Software Development xml | |
I found this forum very useful to me as a beginner in VB.net and found similar thread regarding my concern unfortunately it doesn't for me may be could someone show me the solution. [URL="http://www.daniweb.com/software-development/visual-basic-4-5-6/threads/340634/1446506#post1446506"]http://www.daniweb.com/software-development/visual-basic-4-5-6/threads/340634/1446506#post1446506[/URL] i will provide screen shot on error I'm encountering. [IMG]http://i54.tinypic.com/15o9mvc.jpg[/IMG] Help much appreciated and thank you … Software Development vb.net visual-basic | |
HI guys, i have split and xml in two parts, and in the root element element of the second one(which in this case is the output) want to add an attribute...but do not have any idea how to do this... my XML:[CODE]<DataSet> <Input> <Order OrderNo="tesco10" DocumentTYpe="0001"/> </Input> <Output> <Order OrderNo="Order1" … | |
Hello, Can anyone help with this error? [url]http://img27.imageshack.us/f/errorpq.jpg/[/url] I try and click text in the list box and it crashes. Thanks, Matt :) Software Development c++ | |
Hello....Myself kumar..Am doing a automation code where am testing few test cases one after the other and storing the result(whether the test is passed or failed) in a result.txt file.Now what I have to do is after the test completion i want to send that file to my mail id … Software Development c++ email user-interface | |
[CODE]I have afile which has entries like BIG_CLUSTER106: cluster1150: CUB CUB CUB BIG_CLUSTER106: cluster1627: CUB Zona_pellucida BIG_CLUSTER106: cluster1632: CUB CUB CUB CUB CUB BIG_CLUSTER106: cluster1814: Kringle WSC CUB BIG_CLUSTER106: cluster2768: CUB CUB F5_F8_type_C F5_F8_type_C MAM DUF3481 BIG_CLUSTER106: cluster661: Astacin CUB CUB CUB CUB BIG_CLUSTER106: cluster687: CUB PDGF BIG_CLUSTER106: cluster701: CUB … Software Development python | |
Hi, I have a small problem with a DLL. The code for the solution is split into several projects which are then compiled and deployed to a web server. When the project is within Visual Studio I used a Linked file to get the contents of an app.Config file (XML) … Software Development assembly file-stream file-system visual-studio web-browser web-server xml | |
Hey people, I have a simple application which inserts data into database. The database is located on a remote machine. However this machine(which has SQL) has a router installed. My pc(which has application) can find this machine's IP address by using a code. Everything is okay till this stage. Now … Software Development | |
I am trying to rework some older code for Windows Vista and 7 (and other platforms as possible). I have almost all the source code (C and C++) but my developer did not make it clear which code was used to compile and link to make the 32 bit executable … Software Development c++ ide windows-vista | |
I got this code sample from the internet, [url]http://richardbowles.tripod.com/java/menu.htm[/url] was able to change the deprecated code to BufferedReader to read in the file, but don't know what's wrong with the errors I'm getting. This is sample code I'm trying to get to work so I can step through with a … | |
Hi, Below is the code I am compiling to a .dll & .lib but when I try to import the "Rand" module I get [B]ImportError: No module named Rand[/B], I renamed the .dll to .pyd then this error is removed but when I call the sub module Rand.myRand(10,30) it crashes … Software Development python | |
I am trying to develop a junk file cleaner that will take multiple directories using the checked property of checkboxes.There are many checkboxes in the form such as temp,search history,etc.. i am using following code for deletion : [code] string[] filePaths = Directory.GetDirectories(@"C:\folder"); foreach (string filePath in filePaths) Directory.Delete(filePath, true); … Software Development |
The End.