199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for ctsmith84

This is my first night, and first post here. First off, let me just say I'm glad I found this site. Since I started looking I've found one-too-many boards where all the users there do is complain about there being no jobs in IT. Anyway, I'm a business BA that …

Member Avatar for ctsmith84
0
205
Member Avatar for bhavna_816

I have a datatable which is having n no. of rows and each row has a unique field say ID. Now I want to get a particular row for a specified ID. eg. there are 5 rows in a datatable and the id's are 1,2,3,4 and 5 and if I …

Member Avatar for rickyenjohns
0
225
Member Avatar for FlavaK

[CODE] public class ProcessResults { private static int[] PayNum; private static String[] Surname; private static String[] FirstName; private static String[] DoB; private static String[] Dept; private static Scanner keyboard = new Scanner(System.in); private static int NumStaff; public static void main(String[] args) { final int MAX_STAFF = 10; PayNum = new …

Member Avatar for FlavaK
0
128
Member Avatar for natostanco

Usually to print on screen a integer of 2 numbers i divides it for 10 and then use int 21h with mov ah,2 to print the 2 results. However with integers with more than 2 numbers it starts getting complicated and the method i use becomes really too long . …

Member Avatar for untio
0
116
Member Avatar for ello

Hey guys, Im going to try and explain this the best I can, maybe a bit difficult, but here goes anyway: I have AJAX calling a php function which displays a random quote when a user clicks a link. Every 5th click a div is echoed over the quotes, that …

Member Avatar for ello
0
315
Member Avatar for f_atencia

I have a bunch of code [CODE] var xmlDoc = new ActiveXObject("MSXML2.DOMDocument.3.0"); xmlDoc.async=false; xmlDoc.loadXML(sHTTP); var rootElement = new String(xmlDoc.documentElement.Name); Response.Write(rootElement); [/CODE] The problem is that when I try to display the rootElement Node Name, it appears as 'undefined' on my browser. I also tried xmlDoc.documentElement.NodeName. Any help will be greatly …

Member Avatar for hielo
0
83
Member Avatar for David_Omid

Hey guys, I have a problem with a chess game I'm creating using Windows Forms. The purpose of this code is that I have a load of panels with picture boxes inside them. When the user moves their cursor over the panel or the picture box, the panel lights up …

Member Avatar for David_Omid
0
217
Member Avatar for warlord902

I configured a logger namely "My Log" in my main class which can write errors in a log file named mylog.txt Now I want to use this same file for all packages and classes there in. I tried to put this in other class Logger.getLogger("My Log") //Did nothing Now what …

0
133
Member Avatar for moni94

Hello. How can I run a thread and get an event raised when it runs for a certain amount of time? For example: Let's say I have an encryption program. When the user presses encrypt the thread Encrypt starts. But when the thread Encrypt has been running for more than …

Member Avatar for moni94
0
116
Member Avatar for ArtOfShred87

Hello i have to say i am new to programming for safety sake, i did take a computer programming class in high school but the teacher talked like the clear eyes guy and it was difficult not to fall asleep. Anyway i've always had an interest, and my goal right …

Member Avatar for jordan0420
0
241
Member Avatar for Mr.BunyRabit

Hey there. How do i execute the code in button1 when i click on button2? I have no idea and will save me alot of coding thank you =)

Member Avatar for Mr.BunyRabit
0
77
Member Avatar for jfunchio

I'm writing a program for a class that does operations with rational numbers. I'm not finished with it, but right now i'm working on the is_negative() function which is required to be in the program by the teacher. He has set up a make file to test each part of …

Member Avatar for Fbody
0
355
Member Avatar for Mr.BunyRabit

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 …

Member Avatar for Mr.BunyRabit
0
147
Member Avatar for kitjo

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

Member Avatar for jordan0420
0
185
Member Avatar for sling blade

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 …

Member Avatar for ddanbe
0
110
Member Avatar for jonnod123

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 …

Member Avatar for jonnod123
0
107
Member Avatar for Adami

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 …

Member Avatar for Banfa
0
125
Member Avatar for JannuBl22t

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" …

Member Avatar for Ketsuekiame
0
139
Member Avatar for RenanLazarotto

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 …

Member Avatar for RenanLazarotto
0
10K
Member Avatar for stelman

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 …

Member Avatar for stelman
0
236
Member Avatar for puvi

Hi ppl, I am facing this weird problem with php newline character. [CODE] <?php echo"Hello World!! \n Im new to php"; ?> [/CODE] can anyone pls point out what is wrong in the above code?? the output should be: Hello World!! Im new to php but the output goes on …

Member Avatar for lyrico
0
167
Member Avatar for soomro_moon

how to change the texebox properties through php? plz give syntx or any little example.

Member Avatar for soomro_moon
0
124
Member Avatar for samsons17

Hi, I get this code somewhere from the web and wanted to implement it on my website. This code is basicly doing something like facebook's posting time. But in the code, there is the $session_time that i need to set first. How do i do this using the PHP? Thank …

Member Avatar for samsons17
0
186
Member Avatar for Shalvin
Member Avatar for debashishm
0
146
Member Avatar for masterfact18

...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' …

Member Avatar for AndreRet
0
544
Member Avatar for martin11ph

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.

Member Avatar for AndreRet
0
2K
Member Avatar for sam1

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 …

Member Avatar for AndreRet
0
187
Member Avatar for piyushdhamecha

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

Member Avatar for AndreRet
0
417
Member Avatar for Tech B

[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 = …

Member Avatar for Mahnaum
0
187
Member Avatar for cyph3r x3r0

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

Member Avatar for Ketsuekiame
0
141
Member Avatar for johnt68

Hello If I have one radio button list with one required field validator and I press a submit button without making a choice I get an error message, I can make a choice and everything is fine and dandy. The problem that I am having is that if I have …

0
82
Member Avatar for apanimesh061

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 !!!!

Member Avatar for ziggystarman
0
114
Member Avatar for sudipan007

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 ; } } …

Member Avatar for WaltP
0
98
Member Avatar for diffuse

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 …

Member Avatar for WaltP
0
268
Member Avatar for DragoDraco

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 { /** …

Member Avatar for masijade
0
127
Member Avatar for zeni16

hi ... i am working on a tool using struts, here i need ur help, for following problem while i click on one tab(monitor) and select value in a combo box and go back on other tab(admin), den again if i come back on monitor page then i need to …

Member Avatar for zeni16
0
112
Member Avatar for guneky

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 …

Member Avatar for gracy zacharias
0
1K
Member Avatar for jrhitokiri

I have these strings as $remaining_time: "3h5m" "4h9m" "15m" "17h" "6d17h" What I want to do is be able to parse through them and output the results in unix format so I can add them up to my $start_time (in unix timestamp) to get the end time. Any suggestions how …

Member Avatar for jrhitokiri
0
192
Member Avatar for BLUEC0RE

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 …

Member Avatar for WaltP
0
178
Member Avatar for chaoticabyss99

I recently installed MS SQL Server 2008 Developer Edition (on my home PC with Win7 Ultimate 64-bit). I have been trying to get it set up for use, but am having some issue. I keep getting an error when trying to connect to the server. On the "Connect to Server" …

Member Avatar for chaoticabyss99
0
205
Member Avatar for Gsterminator

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 …

Member Avatar for Gsterminator
0
145
Member Avatar for RichIT

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 …

Member Avatar for faizshafie
0
138
Member Avatar for Poonam Mehta

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.

Member Avatar for chadz mutia
0
144
Member Avatar for maii_18

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: …

Member Avatar for maii_18
0
123
Member Avatar for paulablanca

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 …

Member Avatar for paulablanca
0
132
Member Avatar for aparnesh

Hi I need to build a online transaction processing system using php and mySQL. Sorry to say, I am a newbie at this. One of the requirements is that when a transaction is processed, a printed bill/invoice should be generated. Can this be done in php ? If I am …

Member Avatar for anggwa
0
188
Member Avatar for drdream100

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 …

Member Avatar for RenanLazarotto
0
127
Member Avatar for Mr.BunyRabit

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 …

Member Avatar for Mr.BunyRabit
0
159
Member Avatar for mrlol

Hi guys, I'm new with javascript, so I need help from you guys. Please help me to change date format to yyyy-mm-dd. I've tried few ways but failed. Please download the script here [url]http://www.javascriptkit.com/script/script2/datetimepick.zip[/url] Thank you :)

Member Avatar for mrlol
0
206
Member Avatar for benqb

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

Member Avatar for GDICommander
0
228

The End.