132,726 Archived Topics
Remove Filter ![]() | |
Hey there. I was wondering if it was possible to stop execution at a certain point without closing the Program? For example Private some button is clicked code code code code But here i want execution to stop as the user did something wrong code code code code I have … Software Development | |
Am teaching it to my self but i have found many problems. i need your help because i want to build a dictionary for my local language. the words i already havee them and i only need the codes forlinking to the database and extraction from the database Software Development python | |
Hi, I have an application that is getting long in the tooth and I am finding methods that are no longer being referenced anywhere in the code. I'm sure they were useful at some point but now just take up space and are confusing for the maintenance guys. I suspect … | |
Hi all, Just thought I'd quickly see if anyone had come across this before, or could point me in the right direction. I have several DataGridViews on various forms of an application I'm working on. I want to allow the users to update the DGVs and then click an update … Software Development | |
I try to imitate the first stage of pre-processor, which is to remove comments from a *.c file. The main principle is that a *.c will be read and the program will create another file *.c1 which is an exact copy of *.c but without comments(c/c++ comments). Example(in Linux): >./myprog … Software Development c | |
Hey! I have a problem with C# regex. Can you please tell me how I can match anchor: Atm I have it like this: [CODE]Regex.Match(pagecontent, @"<a (.*) href=" + url + "(.*)>(.*?)</a>");[/CODE] but some how it doesnt want to work for [CODE]<a target="_blank" href="http://myurl.com">Title</a>[/CODE] And I need to get "Title" … Software Development regex | |
Hey guys! I'm trying to change a textbox font size at run time with a track bar. But, when I add to my code: [CODE]Textbox1.Font.Size = Trackbar1.Value[/CODE] It says that Font.Size is a read only value. I haven't found any other way to do it. There is a way to … Software Development vb.net | |
Hello there, I am trying to create an application which will open once the associated file type is clicked. I have associated my application with the extension .agl, via Visual Studio. When I publish the application and install it, the file is associated properly with my application and when I … Software Development file-system visual-studio | |
Placing ComboxBox in DataGrid Cell is a task usually found in Invoicing application. Here is my version of same. Software Development asp.net vb.net visual-basic | |
...here is the scenario...in my inventory system i have database and it's fields are "Item Number,Description,Last Week Stocks,Deliveries,Total Stocks,Total Withdrawal and Current Stock...this is my logic if adding new stock it will add to 'Current Stock' and to 'Total Stocks' and if withdrawing stocks 'it will add to 'Total Withdrawal' … Software Development visual-basic | |
Is there any code that will enable me to click on portions of the form with the use of coordinates? I know most of you find it easier to just use controlname.click but it is not possible for my application. Hope someone can help. Thanks. Software Development pc-peripheral visual-basic | |
Hi, I am trying to output some data from sql db within excel to XML. I am updating the sql db from the excel worksheet and then outputting the records from the db to xml. I have used CDATA to parse html within xml but i can only get one … Software Development html-css visual-basic xml | |
i made report for invoice printing which contains 10 pages for single invoice, i want to Print Terms & condition on every next page it means my report will be of 20 Page.. please help me... thanks in advance Software Development visual-basic | |
[CODE] #include "windows.h" #include "loadbmp.h" // from http://gpwiki.org/index.php/LoadBMPCpp #include "fdlib.h" void main(int argc, char *argv[]) { int i, n, x[256], y[256], size[256], w, h, threshold; BMPImg *bi; unsigned char *bgrdata, *graydata; if (argc==1) { printf("usage: fdtest bmpfilename [threshold]n"); exit(0); } bi = new BMPImg(); printf("nloading %sn", argv[1]); bi->Load(argv[1]); w = … Software Development c++ | |
I am developing a LAN messenger in c# using sockets, i want to use XML for entire communication, can you people help me? or give me some link or code snippet? any help will be appreciated thanks in advance Software Development xml | |
You have a computer with only 2Mb of main memory. How do you use it to sort a large file of 500 Mb that is on that disk? This was a question that I was asked.... but I couldn't figure out the answer. Please help !!!! Software Development c++ | |
the following program displays the pth prime number.....but the program is not working ......plz help [CODE]#include<stdio.h> #include<conio.h> void main() { long int a=0,n=0,i=2,j , p ; printf("insert the number") ; scanf("%ld",&p); while(n!= p-1) { for(j=2 ; j<=i-1 ; j++) { if(i%j == 0) { a==1 ; break ; } } … Software Development c | |
Hi all, I know you guys get a lot of questions regarding hangman game programs and I'm sorry to bog down the boards with another question regarding the game. I've combed through previous posts trying to see if my issue has been resolved and I have been unsuccessful. Here is … | |
I could sure use some help. Here is what I have and it shows a problem which is : int tempCelcius = (int)((Double.parseDouble(tempTextField.getText())) (5 / 9) × (Fahrenheit – 32)); and here is all that I have: /** * * @author TJ */ public class FahrenheitConverterGUI extends javax.swing.JFrame { /** … Software Development java java-swing | |
Hello, I tried to convert below code, but I couldn't.. What is wrong? [code=c] void invert(unsigned char *image, int width, int height){ for(int i=0;i<width*height;i++) image[i]=255-image[i]; } [/code] [code=assembly] ---------------------ASM--------- invert PROC push ebp ; save ebp register mov ebp,esp ; get current stack pointer mov esi,[ebp+8] ; get first parameter … Software Development assembly | |
My program has a function that reads in information until it hits a designated character, takes the text just before that character, does something with it, and then comes back for more text starting at that designated character. So... Special character is: 'z' Text file: "This is a lot of … Software Development c | |
![]() | so i'm created a program that display the name and grade of students from a file, and also a boolean that checks to see if the names are in alphabetical order. The problem is that i've created a files that has a name in alphabetical order but it still returns … Software Development java ![]() |
Hi all, thanks in advance for your help. Is it possible (and if so how:sad: ) in Excel (using VBA or whatever easiest) to have 2 worksheets A and B where worksheet B is atomatically updated. A bit more complicated tho!! I enter data into A, and B takes that … Software Development visual-basic | |
hi i m doing thesis work and the title is to make a simulator for process schduling in any language. if anybody knows anything about it then plz help me. Software Development java | |
Hi. so i'm using ms access 2007 as a database, i have here a table of TRANSACT IP which has the following columns of Transact_ID, IP_ID, Date, Time, Average, Min, Max. i have to produce a report in which i have to query from this table with the follwing format: … Software Development microsoft microsoft-access sql | |
Hey guys! Can someone help me.? I have two tables named Questions and Examination, and two listviews named lstQuestion and lstChosenQuestion. I transfer the value of my lstQuestion to lstChosenQuestion through drag and drop and I already did that. My problem is saving the QuestionNumber equivalent of the transfered value … | |
hello!!! i would really appreciate a little help. here's the deal: i have a folder with some fotos in it. all i'm trying to do is make a program in whitch you can write the name of a foto in a textbox, click the "Search" button and find that picture … Software Development vb.net | |
Hey there, im stuck now with the datagridview not being able to discard the old headings in it and load another table in access. this is how the test program works i have 2 buttons. start the program, and press one button - the datatable loads close the program, and … Software Development microsoft-access | |
I am passing the given query [url]http://localhost:8080/show?key=1234&path=host[/url] in my python script i want to take the 'path' only how can i get it? i use [CODE] def get(self): data = self.request.get('path') [/CODE] but it not working Software Development python | |
Hi I have a problem with installation of numpy ! I followed the instructions from the page of scipy and tried sudo apt-get install python-numpy python-scipy too. It shows this message: [CODE]blago@blago-laptop:~$ python Python 2.6.6 (r266:84292, Sep 15 2010, 15:52:39) [GCC 4.4.5] on linux2 Type "help", "copyright", "credits" or "license" … Software Development python | |
More like general MySQL than vb.net itself, but still need help. The MySQL code below: [CODE] SELECT * FROM (SELECT resit_no,SUBSTRING(resit_time,1,19) AS entrystamp FROM DB1.receiptdetails WHERE terminal LIKE '%99' AND resitdate BETWEEN '2010-12-01' AND '2011-01-31' AND productcode BETWEEN '91000001' AND '91000009') res1, (SELECT expdate_resitno, SUBSTRING(TimeModified,1,19) AS moded_time FROM DB2.mtransactionstatus WHERE … Software Development vb.net | |
[CODE]public void actionPerformed(ActionEvent ae) { if(ae.getSource()==clear) { tname.setText(""); tpass.setText(""); } else { if(ae.getSource()==Admin) { try { a=tname.getText(); b=tpass.getText(); Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); Connection con=DriverManager.getConnection("jdbc:odbc:vote"); Statement st= con.createStatement(); ResultSet rs; rs=st.executeQuery("select * from votelogin where tname='"+a+"'and tpass='"+b+"'"); while(rs.next()) { aa=rs.getString(1); bb=rs.getString(2); } if(a.equals(aa)&& b.equals(bb)) { JOptionPane.showMessageDialog(this,"INVALID USER.TRY AGAIN"); System.out.println("invalid user"); } else { JOptionPane.showMessageDialog(this,"VALID … Software Development java | |
Hello, I am currently working on a school assignment, and I have spent a great amount of time on this, but I am coming up with a couple of error messages that I can't figure out. Here is my code: [CODE]#include <iostream> #include <string> using namespace std; class Date { … Software Development c++ | |
Hello I have some trouble interpreting a string and I hope you can help me. I have to convert a string, or a word in a number. Like five hundred fifty in 550. I dont know exactly how to do it. I was thinking to try to analize each word, … Software Development c++ | |
Hey guys, its me again. I think that wasn't 10 minutes since my last post :) Now is another thing. I run a external app that has exit codes, it is all in its own documentation. How can I get these codes inside my app? And, can I add this … Software Development vb.net | |
Greetings - I'm new to JAVA. I'm using NetBeans. I've been going through tutorials and examples - with some frustration. Question - when I find an example / tutorial to attempt, how do I "create" correctly the setup before I simply paste the code? Meaning if the example has: [CODE]public … Software Development java java-netbeans | |
My project is to optimize wind turbine placement in a given area. In order to do this, I'm using both a wind simulation program (openWind: awsopenwind.org) and the a genetic algorithm code base (Evolving Objects: eodev.sourceforge.net). The process should work like this: openWind will randomly place wind turbines in its … | |
Hi , I am a Newbie using SQL server and vb.net in VS2010. I am re-writing an exisitng application which is written in an old programming language. I have a table with invoice records waiting to be assigned an invioce number and invoice date. I have two ways of uupdating … Software Development vb.net | |
Hey there!I'm doing this symbolic differentiation program,and i have some problem with the code.The code in the "main" is ok ,but i have problems in the "to_term" function.Can you help me out to find where my mistake is?Please if you have any idea reply me now Thanks. [CODE]#include <iostream> #include … Software Development c++ visual-studio | |
Hello! I have to make a "Dice Applet" for school. It is all finished but the dice pictures do not display properly. It only appears in a line (not the full image.) But they seem to display fine if you maximize the applet then restore the applet to its original … Software Development image java java-swing | |
Hi there, I have done a small exercise (ex 4.17 on C++ how to program - deitel and deitel) which basically is about writing a program that uses a while statement to determine and print the largest number of 10 numbers input by the user. The program should use 3 … Software Development c++ | |
I'm a very new developer (if you could even call me that), and I'm killing myself here. Essentially here's what I'm trying to do. A user scans a series of documents which are sent through a program that places a .tif or .pdf of each document into a folder on … Software Development sql vb.net visual-basic | |
Hello Everyone. I am trying to use a string to set a color. i have tried Color is the string which says a color like black or red [code] g.setColor (Color.color); [/code] and [code] g.setColor (Color."color"); [/code] lets say the string color was red it should have this effect [code] … Software Development java | |
Hello, in java, if we want to extract all values between 10 and 100, how could we express between in java. Is there any symbol like && || ..? Thank you Software Development java | |
Okay down to the niddy griddy.... I am creating an application where I can log into my social networking sites that I have accounts with and entering my new websites url's. This is by no way spamming or anything since those type sites are designed accept new website urls. I … Software Development | |
RegisterClientScript and all variations are missing vb.net 1.1 there's nothing under page or me or clientscript or anything else i can think of Software Development vb.net | |
hi guys, i am using the vb 2005 to create an application and i created a database from the vb by adding a new Item(Database). i want to know how can i make the id wich is a number,to take an auto number and not to have to enter it … | |
Hi All I know it is possible to use the internal system speaker to generate sound. EG [ICODE] System.Console.Beep(500, 500) 'Beep(FREQUENCY,DURATION) [/ICODE] However i was wondering if anyone knows if it is possible and how to go about using said system speaker to speak - MESSAGE YOU ARE NOT AUTHORISED … Software Development vb.net | |
Hey everyone, I'm trying to do something like this: [code=c++]typedef void * socktag int gensock_connect (char * hostname, char * service, socktag * pst) { int retval; connection * conn = new connection; if ((retval = conn->get_connected (hostname, service))) { gensock_close(0); *pst = 0; return (0); } *pst = conn; … Software Development c++ |
The End.