199,112 Archived Topics
Remove Filter ![]() | |
I've got some code using a lot of complex if statements that I'm using for a VIN decoder. I finally got it working and I'm hesitant to alter it but these if statements are huge! If a switch statement could be used to accomplish what the if statements are doing, … | |
Is there a way to copy the image's data (the actual picture) to another image? I am using Borland C++ Builder. Thanks a lot. | |
I have a client who I simply don't have the time for any more. I wrote his website in PHP and it's worked fine for over 6 years now. I've told him to find someone else, but upon telling him I want him to find someone else: 1) he's only … | |
Is there a way to check for a keypress every time through a loop without forcing a key to be pressed. ie. if you use scanf, the loop will not continue unless a key is pressed. I'd like to say "if a key was pressed, handle it. If not, keep … | |
How can i detect mouse button clicked? does i have to use api function? | |
Hello, I would request you to give some information regarding FLOAT CODE. With Regards Narendhar.G | |
help me to make a factorial function. Please help. any help will appreciated much... | |
I have a program that has several header files in a folder. Is there a way I can have the program automatically search through this folder whenever the particular .h is called? | |
Hey guys, I have a script calling the value from a hidden field from the previous page and then writing it to the page. What code would I have to use to say: IF hidden field value from the previous page is empty then the hidden field value should be … | |
Hello, I'm getting a compile-time error in jdk1.2.1 which says "Identifier expected" and points to this line in the code: [CODE]Vector<Fish> fishes = new Vector<Fish>();[/CODE] Aren't vectors supported in jdk1.2.1? I'm unable to catch the problem. | |
Hello everyone, I have a question regarding the web browser in visual studio 2005. At the moment I have a web browser that navigates to the URL that I have typed into the combobox when the 'GO' button is pressed. I'm wondering is it possible to extract specific links from … | |
can any1 help me to connect my project to ms access database. i'm a newbie in vb.net. this is my code in vb6 to connect to the database can any1 help me to do it vb.net..hope sumbody can help me.. this is how i do it in vb 6 1. … | |
I am currently taking a class in C online and I have a homework assignment to create a random sentence generator with arrays of specific words. I have the random part working, but I am unsure as to how to capitalize the first letter of the first word in the … | |
binary '+' : 'System::Int32 ^' does not define this operator or a conversion to a type acceptable to the predefined operator. I have this error in this line : [code] Account = Account + 100; [/code] Account is pointer to Account i main class. some stange is this, that this … | |
can any one tell me how jsp is loaded on to apache tomcard server????? | |
hey Guys and Gals, There has been lots of discussion about fopen64, fseek64 and fread64 functions in C / C++ and Linux. So Far no one has produced anything useful. Just lots of false rumors. Anyone see an implementation that I can use right now? I need it for RHEL … | |
Hi I am making a program that collects data and then saves it to a text file. Then i want it to print the text file on a Network Printer and i was wondering how i would go about doing that? | |
I'm using ASP.NET and VB 2005. I'm trying to get a QueryString passed in the URL into a UserControl and I need to pass it as an integer because that is how it will be pulled from the database. Here is part of the .aspx page: [code] <%@ register src="frmOrderProductDisplay.ascx" … | |
Hello , I'm having trouble with a C++ assignment. We're supposed to create an inventory program for keeping track of books, CDs and DVDs. We are supposed to use an abstract class InventoryItem, and classes Book, CD, DVD. Also a class Inventory will contain all the functions needed to enter … | |
Hi 2 all, How to upload .doc file into SQLSERVER2005 in c# windows application and again how to retrive it from DataBase...... I want it only in Windows..... Advace Thnxxxx | |
Anyone know where I can get an implementation of this? Some code to read in a set of vertices/triangles and then do some simple intersection tests? If you can point me in the right direction that'd be great! Thanks, Dave | |
Hi, First thing is first, I wasnt sure whether to put this in this section or in the VB.NET section as it has aspects of both but I decided the issue was probably more relevent to this section so here it is. Secondly this question may seem trivial (any question … | |
Another assignment, another due date, another exams, thats how I describe my life these days Im trying to read a date from the user and compare it with the date in the file and if the date is foung I have to print some user details... so my problem is … | |
I need to make a hangman game but I have code but it won't end the game even if you ges the word, and it won't show the gesses all at once. This is what I have [code] #include <iostream> using namespace std; int main() { char solution[20]; char blank[20]; … | |
Hi all, I want to just write a simple test case for a method which multiply two numbers. I am using the Linux platform. in the web ([URL="http://cpptest.sourceforge.net/tutorial.html"]http://cpptest.sourceforge.net/tutorial.html[/URL]) there are some examples. But I do not know what is the header file that should include. please can anyone help me... | |
Hi guys I'm a fairly lightweight (in virtual world only, sigh) hobbyist who finds programming fascinating. I enjoyed teaching myself C++on my old machines. Bloodshed Dev C++ I found particularly robust and reasonably forgiving in older Windows OS. We recently switched to Linux for most of our machines and I … | |
Hi.. Note that Iam quite new at this :) What I try to do is to give the option to members to update/change their password or email. How do I tell when nothing is entered in password field lets say not to POST anything. The code below checks if username … | |
i have set up a page with some button on which load different pages up. the buttons are held within a form and the target is set to blank. this part is fine for the first set of buttons but i need one of them to reload the page but … | |
[code]#include<windows.h> #include<stdio.h> #include<conio.h> int main() { system("mkdir c:\\Imp"); getch(); }[/code] How to check this Imp folder exists or not?? if exists not creating again?? | |
Hallo everyone, Im new to this forum, but not new to PHP, I do a lot programming in it, but sometimes I have to [B]less[/B] knowledge to solve the problems I get. The title is not very explained what my problem is, so mods, edit it if you want. [B]The … | |
does anyone know how to run any app that it write some vbscript or javascript or html from in vb??? | |
Hi, Can you please help me? I need to store the path to an image in a mysql database. Would anyone be able to provide me with a script that can do this? Thanks Col | |
[code]SearchString = "SELECT * FROM Breakdown WHERE BFrom = " & txtFrom.Text ' & " AND BTo = " & txtTo.Text Dim Con As New OleDbConnection(BCalc_ConnectionString) Dim Search As New OleDbCommand(SelectSearchString, Con)[/code] I want to stop users from being able to save a duplicate record in my Access database. I … | |
Dear all, me new to this xml..i need detailed codings for converting excel sheet into xml file. Thnks in advance | |
Hello Everyone Im a begginer in HTML and I have to make a Quiz page. and when the visitor finish from choosing the questions and clicking on " finish", the results & the grades will appear in the " Result's page " . I want something very simple. And I … | |
I need to implement a search function button to my project where you click an input button which asks you to input a ID number then displays the details of that record in a form. Thanks. | |
The following program is giving error as follows. please get me the solution how to debug this error. Error: Debug Assertion Failed! Program: ... File: d:\program files\microsoft visual studio 8\vc\include\vector Line: 1556 Expression: ("this->_Mycont != NULL && this->_Myptr != NULL", 0) [code] #include<iostream> #include<vector> #include<deque> #include<list> #include<algorithm> #include<functional> #include "print.hpp" … | |
I am having problem with sorting and need help with it. I have to sort the integers in an array and finally after sorting the index number of all the elements before sorting are to be preserved. I have used merge sort. The sorting is done but the index numbers … | |
Hi all, I am having trouble understanding BST recursive algorithm. Here is the code: [CODE] int maxDepth(struct node* node) { if (node==NULL) { return(0); } else { // compute the depth of each subtree int lDepth = maxDepth(node->left); int rDepth = maxDepth(node->right); // use the larger one if (lDepth > … | |
Im a B.E. final year student please message me an title and detail of ASP.Net project or VB.Net project or c# project | |
I wrote the code for Arithmetic, relational and binary operations. Here i have intilaised all inputs. I want to give inputs from keyboard instead of intialisation or direct Push_back from loop. How to do this? Please check the following code and please help me to give inputs from keyboard. [code] … | |
I was just curious; what exactly does the line cin.ignore(INT_MAX) actually do? I was always told to use it just to keep the program screen up when inputting something. | |
Each time I start debugging my application in VB.net, I encounter this error. I couldn't go through the application any further. "The application failed to initialize properly (0xc0000005). Click on OK to terminate the application." :sad: What seems to be the problem? | |
Hi I have been doing text programming for a while now and i was going to start doing some graphical interfaces for my programs but i was wondering which one is the best for beginners and also what and ther advantages/disadvantages of each of them. Thanks | |
I am displaying a GridView on some specific criteria which is entered by some textboxes say studentid, studentname as input from textbox and show records in GridView. For this I m using a stored procedure which returns a datatable based on inputs came from textboxes. I want an Edit button … | |
Hi, Can anyone tell me how to create calendar using javascript using asp.net2005? Thank you. | |
How can i actually detect the time as shown below? If the user select the data from the database between 2008/06/05 12:00:00 and 2008/06/06 12:00:00 and the database type is varchar? I can select that particular data out, but i need to further categorize it according to hours, like this: … | |
Hello all, Does anyone have a good tutorial that explains how JFrame works and how it can be implemented? | |
Hi all, I have a disk file define as [CODE]TCHAR szTempFile[MAX_PATH];[/CODE] What I want to do is, read that file into memory stream. To a buffer. How can I do it. | |
This is my vB.NET assignment and i have no idea what it requires. I have not done this practical before b'cause the lecturer has not taught us about the joining the SQL in VB.NET and I'm seriously dont know how to do this......so i need help and pls do help … |
The End.