199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for ohara

Hello, i wan to do c++ program in ubuntu that able to write a summary on the directory example is drwx-x John 4096 d-w--x John 14 lrwx-x John 2300 How to i use array to put per column into array then access them so i can generate a report so …

Member Avatar for ohara
0
112
Member Avatar for ajhais

Given a n*n grid with free spaces and obstacles in the form an n*n integer matrix. We need to find shortest between any two given points (x1,y1) and (x2,y2) through the free spaces. We are not allowed to move in diagonal. Please help me figuring out an algorithm for doing …

Member Avatar for Prabakar
0
105
Member Avatar for Chyke o

I am a beginner in Visual Basic and currently writing gymnasium software that seeks to do the following • Collects data from users and recommends various exercises to be done. It calculates the Body Mass Index ( BMI ) of the person and gives the user various advice based on …

Member Avatar for Ramy Mahrous
0
262
Member Avatar for tom.anson

Hi, I am new to this site. I am in a pinch here and need to get this figured out quickly for a customer of mine. I am designing a simple site that will include a custom sign-up box for a Constant Contact newsletter. This requires that I use their …

Member Avatar for Ramy Mahrous
0
249
Member Avatar for fidan

Hello, I wrote a program which takes CNF-files as input. It takes from 1 sec up to 1 hour to finish its task (Checking satisfiability). However, there is one CNF file which takes about 1 hours before it spurts out the message: aborted <core dumped> ... and creates an *.exe.stackdump …

Member Avatar for GDICommander
0
163
Member Avatar for emilio

hi i have a table which contains a datetime type column. i want to create a stored procedure that gets a surtain month and year as parameters and returns all the rows with the date column in the month and year range i sent as parameter. for example if i …

Member Avatar for emilio
0
86
Member Avatar for sam1

hi, as a new comer to asp.net i want to know what are the advantages of using asp.net over say php and other technologies and what are the disadvantages. thanks

Member Avatar for sam1
0
111
Member Avatar for nubs

Hello newbie here! I'm a student working on a small project with Visual Basic Express. I'm about finishing my project and been trying to publish it to a CD. This project contains labels which read data from text files stored in the bin directory and a login database. But I …

Member Avatar for Comatose
0
160
Member Avatar for karthi_selva

hi, i am doing some windows application program using .net. i show the information in treeview. when user selects the data from treeview. i like to show in datagrid view. i do't know any direct mapping is present or not. if present please share ur ideas. (now currently i m …

Member Avatar for Ramy Mahrous
0
388
Member Avatar for tomtetlaw

before i ask this question i want you to keep in mind that i am asking it in general, and i also want a general answer :) i am making a 3d first person shooter and i want to know how i would go about getting a gun infront of …

Member Avatar for _adam_
0
182
Member Avatar for JerryShaw

I have an SQL2005 table loaded with ICON (image) BLOBs. I need to dynamically add ToolStripMenuItems to my Windows form including the same row Icon from the database table. This is a Plugin system where I pull the plugin file (assembly) names from the database according to the operator's rights …

Member Avatar for JerryShaw
0
200
Member Avatar for jobi116

First of All i would Thank this forum. Most of my programming queries were solved here. I dint had to write any new thread.. I am new to windows Application programing. but i am some how managing .. But now i need a start to do something like [URL="http://f.imagehost.org/view/0916/Untitled-1_copy"]This[/URL]. If …

Member Avatar for jobi116
0
107
Member Avatar for daviddoria

There was another thread about this ([url]http://www.daniweb.com/forums/thread114737.html[/url]) but it didn't seem to be resolved? If I have a vector of int's and another vector of the same length of corresponding names, I would like to sort the ints and have the names "follow" [code] vector<string> Doubles; Doubles.push_back("Name1"); Doubles.push_back("Name2"); Doubles.push_back("Name3"); vector<int> …

Member Avatar for kbshibukumar
0
134
Member Avatar for lrnzsmok1

Can anyone help me with this program?? Professor asked me to create a program that permits a user to enter a maximum of 50 characters into a stack Object, then have the program sort the stack contents into increasing order from A to Z. Is there any way i can …

Member Avatar for kbshibukumar
0
135
Member Avatar for sarithak

Hi frns.. here i am going to do paging ... upto now i got correctly what i mentioned([B]previous & next [/B]) here... but i need to add [B]last[/B] and [B]first[/B] also.... plz see this code with patience.... reply me asap.... [CODE] <?php include("config.php"); $page_name="index.php"; $start=$_GET['start']; // To take care global …

Member Avatar for forzadraco
0
283
Member Avatar for redmaverick

[code=Java]class Grade { public static void main (String args[]) { final int score = Integer.parseInt (args[0]); final char grade; if (score >= 90) { grade = 'A'; } else if (score >= 80) { grade = 'B'; } else if (score >= 70) { grade = 'C'; } else if …

Member Avatar for stephen84s
0
108
Member Avatar for sarithak

Hi frnds.... For searching.... when i comparing my input string with database string, i phase problem with case sensitive and white spaces.... plz give me a suggetion to do this.... ex: input = "bluefox"; but in my database that word is like "Blue Fox".......... i need to get results without …

Member Avatar for diafol
0
78
Member Avatar for PinoyDev

Good day again to everyone.! my project of online enrolment system is almost done, thank you for all your support. Just let me know if you have problem in vb6 i would surely lean on my help to0 because its my expertise. this might be the last problem ive ever …

Member Avatar for cwarn23
0
2K
Member Avatar for happymadman

Hi, how would I get the timer() class to change time display()'s self.time I'm new to threads and classes and have been sitting here thinking about it for the last half hour and still have know idea Thanks heaps for any help. [code=python] # Count down timer import time import …

Member Avatar for happymadman
0
105
Member Avatar for lldcrb328

Well, I was wondering if anyone could give me a script I can use to get a entered value from a post form (e.g Username) and check to see if the username exists in a plain txt file I have with usernames separated by a line break, thanks in advanced.

Member Avatar for cwarn23
0
121
Member Avatar for dyollretsel08

i have a homework. do a program using java that will ask a user to input a infix expression , and the program will convert it to postfix expression... help!!

Member Avatar for stultuske
0
133
Member Avatar for naveedanjum88

hi to all. I want to make a lexical analyzer that basically parse a switch statement. So where to start and how can i make it?

Member Avatar for Lord Soth
0
86
Member Avatar for srs_grp

Hello, I want to check uniqueness of id at the time of entry only.And I want to give message to the user at that time only.How to do this?

Member Avatar for stephen84s
0
181
Member Avatar for r.stiltskin

The code below is a simplified excerpt which compiles & runs, just to show the problem I encountered. I tried to use BoxLayout in the ColorPanel method, but the JLabel "swatch" was not visible in the frame at all. I found that I can get the effect that I wanted …

Member Avatar for r.stiltskin
0
76
Member Avatar for chebude

I have too collect a daily rainfall data from a certain model output. The model ouput gives out each stations daily data separately which I have to collect together and further analyse. [I have tried the following, it works but my data - thousands of pcp_#.txt which makes the process …

Member Avatar for chebude
0
173
Member Avatar for farooq82

Is anyone have idea of how we add new row in datagrid I want to add DR and CR Column in datagrid view DataGrid View have 4 column Sr#, Discription, DR, CR [CODE] Dim DR As Decimal Dim CR As Decimal DR = DataGridViewCashBook.Rows(index).Cells(4).Value.ToString() CR = DataGridViewCashBook.Rows(index).Cells(5).Value.ToString() DataGridViewBankStatment.Rows.Add() [/CODE]

Member Avatar for 4advanced
0
158
Member Avatar for tuukie

I have a query which works in MYSQL 5, but doesn't work in MYSQL 4.. anybody ?? [CODE] SELECT DATE_FORMAT(DATE_ADD(DATE_ADD(CURDATE(), INTERVAL 0 - '52' WEEK), INTERVAL 2 - DAYOFWEEK(CURDATE()) DAY), '%v') as date, DATE_FORMAT(DATE_ADD(DATE_ADD(CURDATE(), INTERVAL 0 - '52' WEEK), INTERVAL 2 - DAYOFWEEK(CURDATE()) DAY), '%Y%v') as date_ordered [/CODE]

Member Avatar for tuukie
0
152
Member Avatar for rahulrborkar

Folks, I am using xsl and xml for Report generation. In XSL I have created a table which has 6 columns and say 7 rows, in 6th column of each row I want to display multiple rows again. For this I am thinking of passing new line character after particular …

Member Avatar for rahulrborkar
0
145
Member Avatar for leegeorg07

i looked at the python 3k print module from griboullis and i want to use it for python 2.5 without having to import it every time, i think it needs to be builtin but how can it do this, i don't mind if the old print is still there but …

Member Avatar for leegeorg07
0
88
Member Avatar for vuyiswamb

Good Morning Guys I have a Problem on my ASP.NET Application. I have a Web setup Project created and it used to work fine before, but now , when i try to Compile it it gives a Warning [QUOTE]"Object reference not set to an instance of an object"[/QUOTE] And when …

Member Avatar for vuyiswamb
0
380
Member Avatar for dinilkarun

hi, I want to put a textbox over a bitmap in MS Excel sheet and populate the textbox with a value from VB code. Please guide me in acheiving the same. Regards, Dinil

Member Avatar for cguan_77
0
90
Member Avatar for websurfer

Hello, all: I have a simple chart, like... ID ACCOUNT YEAR JAN FEB 1 Utilities 2007 $20 $20 2 Utilities 2008 $25 $25 Let's say, customer wants to add a "year" like 2009, how can I check that this "2009" is NOT already in the YEAR column?? so that if …

Member Avatar for websurfer
0
356
Member Avatar for homeryansta

[CODE] ifstream inputfile; cout << "enter the name of the file: "; cin >> filename; inputfile.open(filename); string temp; int i = 0; while(filename != NULL) { while(isalpha(filename)) { temp[i++] = filename; } if(i > 0) { insert(temp, 1); i = 0; } } [/CODE] this is my code, what am …

Member Avatar for homeryansta
0
129
Member Avatar for Deepak.G

hi im trying to write a python script for a telnet client. So far im able to establish a connection with a server. My problem is that i want to print (at the client) all the activities at the server end. Let me put it this way. Suppose i send …

Member Avatar for Stefano Mtangoo
0
3K
Member Avatar for zaraeleus

Okay, I am having more difficulty with my Java class again. My professor assigned us a 2-D chart program... This is the output he wants: This program displays the annual cost of gasoline for different mpg and price per gallon of gas assuming 18,000 miles driven annually. MPG 1.50 1.75 …

Member Avatar for stephen84s
0
173
Member Avatar for Duki

I have an assignment question that says "Decide whether the [I]syntax[/I] of the following statements is valid or invalid." These are the statements: [code=c++] a) listData->next = ptr1->next ; b) listData->next = *(ptr2->next) ; c) *listData = ptr2 ; d) ptr2 = ptr1->next->info ; e) ptr1->info = ptr2->info ; f) …

Member Avatar for Duki
0
105
Member Avatar for JAGgededgeOB172

Hi all, The program I'm making needs to basically interpret long math operations (see the attached text file) and compute them. Simple right? I have to use stacks and queues to reorder the operation into the desired output (the output will compile properly if you run the program as it …

Member Avatar for cikara21
0
138
Member Avatar for ruri

Hi, I'm new to C, and an assignment for multithreading was just kind of thrown at me, so I'm kind of lost. I need to write a program that creates four threads. The first thread would have to read stdin, writes the char to array of 64 bytes, and after …

Member Avatar for ruri
0
109
Member Avatar for SoulMazer

Hi, so I just have a question that I at least think will be pretty easy. So, I am making a script that basically gives you a "vocabulary test". There is just one feature I would like to implement that I need help with. I would like to make it …

Member Avatar for SoulMazer
0
240
Member Avatar for karthiknv

Hi, For my project, i have to kill a Java.exe process of a particular application forcibly( i have other application runs on java.exe- i should not kill it). Can somebody do the needful....it's very urgent...please help me.... Thanks & Regards, Karthik

Member Avatar for SCBWV
0
277
Member Avatar for ryan311

hi can anyone help me? how can i convert to time if i inputted 2400 it should 12:00 then a running a time? for example i have 1 textbox if i input 2300 it should 11:00 how can i do this in timer? thanks

Member Avatar for SCBWV
0
90
Member Avatar for wookinhung

Hi all, I want to display a picture by moving the mouse cursor on a label or picturebox without clicking on them... How can I do that? PS: The picture would be big sized. Regards, wookinhung -VB noobie-

Member Avatar for wookinhung
0
122
Member Avatar for number87

I did a program to read the output of the UNIX command ls -ali and count the number of directories, write files, link files etc. But there seeems to be something wrong with my code and I cant compile it. I cant seem to find out whats wrong with it. …

Member Avatar for death_oclock
0
128
Member Avatar for eo868745

Hello, I'm having a bit of trouble here. I want to have two input boxes for entering numbers, a select box, and a button - "Compute". The select box contains options for "add", "subtract", "multiply" and "divide". When the "Compute" button is pressed, I want it to compute the arithmetic …

Member Avatar for ~s.o.s~
0
272
Member Avatar for rajeesh_rsn

Hi i had a big image in my web page. I need to do a preload in that image. Actually I am new to javascript. I tried many scripts but didnt work.. Please guide me ... Thanks Rajeesh

Member Avatar for almostbob
0
90
Member Avatar for mruane

I am preparing for my a+ exams, and am turning all of my notes into a test. I plan on doing this in python, of course. But, I am a little lost at what would be best. Should I create each question as a specific function, calling the next question …

Member Avatar for mruane
0
148
Member Avatar for abby2589
Member Avatar for dollmar

im new to vb6..plz help me to solve my problem.. 1.I make a textbox that can input time 2. I have a shape in form 3. I use label to display time how can i change the color of shapes in red when i input the exact time in the …

Member Avatar for dollmar
0
120
Member Avatar for Jigs_ff

Hi All, I am new to programming world, i wanted to make a script which will create folder when counting of files breaks. for Example- 1) I have 1000 no of jpg files in a single folder.(but ) 2) but these files has a number break in between. (like it …

Member Avatar for Comatose
0
110
Member Avatar for darkfury18

for example if i write hello on one line and then wanted to write goodbye right underneath what do i have to do? as when i press the enter key it just prints hello

Member Avatar for scru
0
4K

The End.