199,124 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Puppetmaster

Is it possible to have a program run multiple functions at the same time? Connectionist neural network programming seems suitable for object oriented languages. But brains seem to be able to have multiple faculties working all at the same time, and in orchestra with each other. BTW I'm a complete …

Member Avatar for Prahaai
0
105
Member Avatar for Zermoth

Try to do 3 things. The 1st see if a database exists in a certain location: if it dose then connect. else show error message. The 2nd see if the database is open: if open the display a message to the users that they are going to get disconnected. pause …

Member Avatar for Zermoth
0
148
Member Avatar for Demonisya

O.k My teacher game me a take home exam which will be submitted on monday..... and also I have to defend what I composed so I will ask you many questions so that I will understand this program..... my teacher said Never use C... do it in your own ideas.... …

Member Avatar for Demonisya
0
107
Member Avatar for Zermoth

is there a way to disconnect a user/s from a database and/or display a msgbox to the users telling them that there are about to be disconnected? ms access 2003

0
84
Member Avatar for sancti

hi all, I am developing a web application. I have loaded some block of text into the text box. Now i want to print only the contents of the text box.Can anybody help me regarding since i am new to asp.net thanks in advance

Member Avatar for 4advanced
0
892
Member Avatar for vikingGirl

I have an image that I have created using the new image draw functions, but I need to have separate areas of the image as links to other pages. I know that the html map tag can be used to do this, but the problem is I can only get …

Member Avatar for vikingGirl
0
82
Member Avatar for seeda

Hi, I'm facing a problem. I need the user to input a string, and then I have to add the string character by character to a queue so I can perform some parsing on it, I'm doing something wrong that I don't know. I've used sizeof(), length() and strlen() built …

Member Avatar for seeda
0
122
Member Avatar for manoj_582033

Hi friends, could anybody guide me , how to find that a date exists in between two dates ? For example : 23/09/2008 -- 28/09/2008 - I'am on leave. When a attendence is entered for the date 24/09/2008 , then i should get a msg saying, that the given date …

Member Avatar for NEo4
0
142
Member Avatar for bhavna_816

I am creating a folder watcher application. If a new powerpoint file gets added in the folder it should get started automatically. So if I put .pps file into the folder then and I say [code]System.Diagnostics.Process.Start(fullPath);[/code] it works fine. This is not the case with .ppt files Only the powerpoint …

Member Avatar for LizR
0
623
Member Avatar for TriceD

Hi all, I'm fairly new to programming as a whole and so I would be grateful if you can help me out. I'm trying to write a program in VC++ or C++ that would intercept print jobs from another program and save this information in another file(to be formatted later). …

Member Avatar for TriceD
0
503
Member Avatar for Srinivas14

Hi can any one send me the code for receving sms through gateway using java program. first i want recevie the sms from mobile through gateway and the i want to send sms to mobile through gateway..plz send me the sample code to achieve this.. Thanks in advance..

Member Avatar for stephen84s
0
102
Member Avatar for sleign

I have written a guestbook in php using a MySQL database to store the entries. I am now writing the backend for it so that the rows in the table can be modified via a form. The way the form works is this: A table is displayed on a page …

Member Avatar for sikka_varun
0
2K
Member Avatar for samtwilliams

HI All, I am currently following a tutorial on mysql and php and I am getting this error on displaying results ready for an update in a form. Warning: mysql_numrows(): supplied argument is not a valid MySQL result resource in /home/site/update.php on line 11 [CODE]<? $id=$_GET['id']; $username="web183-sql"; $password="sqlpassword"; $database="web183-sql"; mysql_connect(localhost,$username,$password); …

Member Avatar for sikka_varun
0
186
Member Avatar for darkyere

Ive made a Security Screensaver whit the options to show random pictures. and it show the start time, time went and then im trying to get it to show time left by minus lasttime whit currenttime It just doesnt work, if anyone could help me i would very much appreciate …

Member Avatar for LizR
0
192
Member Avatar for Xadavus

Hello, I am very new to Visual Basic and try to teach myself again after years and years of not using it. Learned very basic codes back in school but that was too long ago. So far I have wrote only ONE application. Basic input, calculate and output. Came out …

Member Avatar for Xadavus
0
142
Member Avatar for lerkei

reading a specific data in .txt file to put in specific tag in xml in vb.net..pls help.. sample: BL% PHP 103025 and so on... NL% .. .. BL% and NL% are indicators where data should be placed in a specific segment in xml PHP must be placed inside <currency></currency> tag.. …

Member Avatar for NEo4
0
206
Member Avatar for Akangel

Hey everyone, well ill be quickly...ive gotta a JSP page indexMembers.jsp with a button "Show My Reservations" when u click on that button it calls a JFrame (with a JTable inside) with the data from the databse that the user wrote before. now if i click on another button like …

Member Avatar for stephen84s
0
100
Member Avatar for gamer12223

Hey guys, I am tying to get my program to work, I don't have any errors but I cant get an output from it. I am supposed to output the second set of three from the nine inputs. Thanks to those who reply. [code]#include <iostream> using namespace std; class TMoney …

Member Avatar for Murtan
0
162
Member Avatar for sayeo87

Hi, I'm new to the UI side of AJAX, and I was wondering if there was any AJAX framework (or an extension to the framework) which has the functionality like this: [url]http://tool-man.org/examples/sorting.html[/url] (scroll down to the section "Example: Sorting in two dimensions") Thanks, Suan

Member Avatar for Luckychap
0
68
Member Avatar for yuleball

I want to exchange the functioning of backspace and delete key e-g if i press backspace it should delete the character on the right side of cursor and vicee versa for delete key. How can i implement this in rtb?

Member Avatar for yuleball
0
373
Member Avatar for dmanw100

I was trying to find ways to improve the loading time of an application that I'm working on. It uses SDL to handle graphics and sound which brought up a question: which takes longer to load? If I want to load either graphics or sound into memory during the application …

Member Avatar for MosaicFuneral
0
82
Member Avatar for rusman

I need to read in a list from a file, but I want to always ignore/skip the first line of this file. Right now I'm just cat'ing the file and awk'ing the first column as that's all I need. However, this will also give me the first column of the …

Member Avatar for eggi
0
4K
Member Avatar for imput1234

Hey, I'm trying to only read the int's and the symbol - (negative) from the file. right now my code is where m,d, and y are dates. Everything works fine. Except I do not read the - symbol. Any one know how to solve this? [ICODE] fin.open(ifile.c_str()); fin >> m1 …

Member Avatar for imput1234
0
162
Member Avatar for Dannielf

I recently wrote a program to generate a tic tac toe game. The program should ask the user to select a number from the 'selection board', and this number will correspond to a spot on the game board. The user is playing against him/herself. I've encountered a pretty glaring bug …

Member Avatar for Lerner
0
116
Member Avatar for mrnutty

This code Associates each number with cards, so 1 = ace of hearts/spades/diamonds/clubs, 2 = 2 of clubs/spades..... and so on so here is the code [code] void DeckToCards(int Deck[]){ //Sets each element into Cards; for(int i=0;i<52;i++) { switch(Deck[i]){ case 1:{ if(Deck[i]==1 && i<14)//Clubs char Aces_C[]= " A (of clubs)"; …

Member Avatar for dougy83
0
138
Member Avatar for TechnologyBoss1
Member Avatar for TechnologyBoss1
0
145
Member Avatar for designingamy

This may seem like a dumb question...well, it probably is. I am trying to write code for form validation. I wrote the code to check the information and then if everything looks okay, to use header ("Location....... and send them to the next page, but of course I get the …

Member Avatar for designingamy
0
82
Member Avatar for rottmanj

I have run into an odd situation with linking files in my application. I have written a method that returns data for other methods. When I use this method(with in the same class) I get this error from linking. Any help with this is greatly appreciated [code] RetsParse.cpp: undefined reference …

Member Avatar for Ancient Dragon
0
168
Member Avatar for kruglok

I got first part by creating it using for loop. But got stuck on while loop. Would you see what I'm doing wrong. # Calculating number of vowels using for loop count = 0 word = raw_input("Please enter a phrase: ") for letter in word: if letter in "aeiou": count …

Member Avatar for jlm699
0
17K
Member Avatar for radmaker3

Hi all. I'm getting back into programming and want to brush up so I was wondering if anyone has a reccomendation of a compiler I can download for free that will work for the vista64 OS. Thanks

Member Avatar for jbennet
0
286
Member Avatar for arulbell

I have to develop income tax project, from the following concept * farpoint * datagrid * forms controls which one is effective one based on performance? please suggest me which one i have to use?

Member Avatar for Salem
0
88
Member Avatar for ziggyz

Hello! I'm a newbie in assembly and i'm facing some difficulties with handling 64 bit integers in pcSpim. What i am trying to do is read a string, convert it to a 64-bit number and then store it in two 32-bit registers. Should i create a 'for' loop which reads …

Member Avatar for hammerhead02
0
69
Member Avatar for PhiberOptik

I created a GUI. with a bunch of classes (that extended JPanel) and one that extends JFrame and now I can't figure out how to transfer data between them. lets say I have a public variable set in the JFrame class and a get method like the one below: [CODE=java]public …

Member Avatar for BestJewSinceJC
0
219
Member Avatar for mrnutty

hi, I wanted to know how to generate random characters, but more specifically , only A,Q,K,J. This will be for a blackjack game program.

Member Avatar for dmanw100
0
136
Member Avatar for star100

Two-dimensional Arrays. My question is based on this info did i code the right ? if not then let me know where did i made mistake? Input Data File here : 88 90 94 102 111 122 134 75 77 80 86 94 103 113 80 83 85 94 100 …

Member Avatar for BestJewSinceJC
0
114
Member Avatar for didi00

hello,can someone help me? I must make a program which contains: Deck (the data in it must be integer(numbers)),(if possible,in header file). Sort the elements by the method of Shell Find the elements that can be divided by 5, and smaller then the largest number that can be divided by …

Member Avatar for didi00
0
153
Member Avatar for clutchkiller

[url]http://www.e-learningcenter.com/c_programming.htm[/url] Looks like it might be a pretty useful course and for only 69$. Before i spend the money, what do you guys think. Im not worried about the monetary value, but what kinda benefits i may get. I even noticed that thier copyright is up to date so this …

Member Avatar for clutchkiller
0
66
Member Avatar for Tekito

I need to display a DAG (directed acyclic graph), which is basically a Treeview, except children can have multiple parents. Any clue on a control or method to implement this in Visual Basic 2008?

Member Avatar for Tekito
0
180
Member Avatar for javlonchik

Hi folks, I was really excited to use lightwindow AJAX modules that it worked on local server. But once we made it live on our actual server, it's not rendering. It opens the AJAX window and makes the entire page black. Please see attached image for visual explanation. We are …

Member Avatar for javlonchik
0
77
Member Avatar for spodder

I have a problem with the MoveFile() function of the Win32 API. I cant move files which are in the same directory as the exe file,if i specify the pathname,it dosent work.I dont know how this function works.Need urgent help....... [code] # include<windows.h> # include<iostream.h> int main() { MoveFile("C:\File1.txt","C:\New Folder\File2.txt"); …

Member Avatar for Freaky_Chris
0
139
Member Avatar for ogi1989

I'm trying to read from a text file.I think that everything is correct!It gives me this error message: Debug Assertion Failed! Program: D:\Test\sign.exe File: fscanf.c Expression: stream != NULL For information on how your program can cause assertion failure, see the Visual C++ documentation on asserts. CAN SOMEONE HELP? [code=cplusplus] …

Member Avatar for Salem
0
181
Member Avatar for praetorian20

Hi, I'm using FindFirstFile and FindNextFile functions to get a list of files from a path specified by the user. Let's say the current directory has a sub-directory named 'subDir1' which has a file named 'file1.txt'. myDir <- pwd |_ subDir1 |_ file1.txt Now, if the user enters 'subDir1\*' as …

Member Avatar for praetorian20
0
643
Member Avatar for DJPlayer

I just need a direction to go with this.. a simple program that assists with unix and/or windows GUI creation. I have fairly simple program using classes, virtual functions and inheritance. The functions are all implemented by a switch w/ 6 options that call one of the functions. Now what …

Member Avatar for Ahmed_I
0
117
Member Avatar for trtcom1

Hi, I need somebody to have a look at my code below and help to see what I have done wrong. I have 3 tables:[B]Student[/B] [I][COLOR="Red"](studentNum,firstName,lastName)[/COLOR][/I], [B]course[/B] ([COLOR="Red"][I]courseID,courseTotalCapacity[/I][/COLOR]), [B]course_allocation[/B] ([I][COLOR="Red"]studentNum,courseID[/COLOR][/I]). The AIM is to allocate students to 2 classes (courses 101 and 102) as long as there is available space …

Member Avatar for trtcom1
0
168
Member Avatar for Filipe11

When I debug my program, if I maximize my form, i dont know how to align the center all my butons!!!The butons stay in the corner... Someone can help me!!

Member Avatar for ddanbe
0
71
Member Avatar for carson myers

how do I do it? I'm trying to make a conditional jump to a label: jz newmm but tasm says that the relative jump is out of range by 000D bytes. How do I change this to a long jump? How can I make it jump to an address, rather …

Member Avatar for carson myers
0
262
Member Avatar for wotthe2000

Is there any way of finding words in a 10 x 10 grid, going horizontally and vertically? For example, if i had a text file with the following in: xxxplanexx xrxxxxxxxx xexxxxxyxx xdxxxxxexx xxxxxxxlxx xxxxxxxlxx xxxxxxxoxx xxxxxxxwxx xkingxxxxx xxxxxxxxxx how would you be able to find the words red and …

Member Avatar for Murtan
0
279
Member Avatar for namehere05

Im trying to make this Hash Table to work, but I get these errors on linking time main.obj : error LNK2019: unresolved external symbol "public: __thiscall List::~List(void)" (??1List@@QAE@XZ) referenced in function "public: __thiscall HTable::~HTable(void)" (??1HTable@@QAE@XZ) StringTable.obj : error LNK2001: unresolved external symbol "public: __thiscall List::~List(void)" (??1List@@QAE@XZ) HashTable.obj : error LNK2019: …

Member Avatar for namehere05
0
243
Member Avatar for rborob

i'm currently writing a program that needs one small piece in my opinion in order to work. i have an array which reads in a bunch of numbers (call them addresses, an example is "003124") and counts the amount of addresses at the moment. i need this to be passed …

Member Avatar for namehere05
0
231
Member Avatar for andyT

Hello, I'm trying to find some help with code that I've been maintaining and currently trying to modify. Basically, I am working with a single array of length "m", call it the "max" array. Other than knowing that each entry in the "max" array is nonnegative, I have no other …

Member Avatar for andyT
0
117

The End.