199,112 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for forwardlookguy

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

Member Avatar for silviuks
0
135
Member Avatar for SakisLam

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.

Member Avatar for Tigran
0
99
Member Avatar for Zemfik

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 …

Member Avatar for msteudel
0
126
Member Avatar for daviddoria

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 …

Member Avatar for Ancient Dragon
0
82
Member Avatar for Naruse
Member Avatar for Jx_Man
0
237
Member Avatar for narendharg

Hello, I would request you to give some information regarding FLOAT CODE. With Regards Narendhar.G

Member Avatar for Aia
0
133
Member Avatar for Vega_Knight

help me to make a factorial function. Please help. any help will appreciated much...

Member Avatar for Jx_Man
0
137
Member Avatar for timbo2000

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?

Member Avatar for timbo2000
0
93
Member Avatar for MDGM

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 …

Member Avatar for MDGM
0
91
Member Avatar for Jishnu

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.

Member Avatar for Jishnu
0
101
Member Avatar for SubProf

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 …

Member Avatar for SubProf
0
83
Member Avatar for x2per14

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

Member Avatar for Jx_Man
0
156
Member Avatar for fddrummer06

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 …

Member Avatar for jephthah
0
785
Member Avatar for mariaczi_pl

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 …

Member Avatar for Ancient Dragon
0
240
Member Avatar for sandeep soni
Member Avatar for jwenting
0
97
Member Avatar for Nematoad

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 …

Member Avatar for jephthah
0
133
Member Avatar for lllllIllIlllI

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?

Member Avatar for Ene Uran
0
93
Member Avatar for mindfrost82

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

Member Avatar for mindfrost82
0
319
Member Avatar for gctarzana

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 …

Member Avatar for Sky Diploma
0
2K
Member Avatar for swathi.ch

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

Member Avatar for JerryShaw
0
227
Member Avatar for daviddoria

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

Member Avatar for Alex Edwards
0
224
Member Avatar for CJL1980

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 …

Member Avatar for CJL1980
0
484
Member Avatar for Traicey

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 …

Member Avatar for Radical Edward
0
126
Member Avatar for timdog345

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

Member Avatar for joshmo
0
144
Member Avatar for rpjanaka

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

Member Avatar for daviddoria
0
168
Member Avatar for Frazinray

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 …

Member Avatar for Ancient Dragon
0
105
Member Avatar for Pavlos1316

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 …

Member Avatar for petr.pavel
0
149
Member Avatar for kevin wood

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 …

Member Avatar for Thirusha
0
93
Member Avatar for Aamit

[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??

Member Avatar for Nick Evan
0
918
Member Avatar for kvdd

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 …

Member Avatar for kvdd
0
86
Member Avatar for ITKnight

does anyone know how to run any app that it write some vbscript or javascript or html from in vb???

Member Avatar for ITKnight
0
79
Member Avatar for colcar2008

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

Member Avatar for peter_budo
0
78
Member Avatar for Estella

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

Member Avatar for Estella
0
189
Member Avatar for Jahira

Dear all, me new to this xml..i need detailed codings for converting excel sheet into xml file. Thnks in advance

Member Avatar for Jahira
0
120
Member Avatar for MoazMM

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 …

Member Avatar for somashekar
0
128
Member Avatar for mnbcxz

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.

Member Avatar for mnbcxz
0
137
Member Avatar for ambarisha.kn

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

Member Avatar for ambarisha.kn
0
171
Member Avatar for AnjaliAnuradha

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 …

Member Avatar for mitrmkar
0
121
Member Avatar for peachslasher

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

Member Avatar for Alex Edwards
0
118
Member Avatar for balamurali07

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

Member Avatar for technogeek_42
0
96
Member Avatar for ambarisha.kn

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

Member Avatar for Nick Evan
0
155
Member Avatar for sfurlow2

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.

Member Avatar for Nick Evan
0
115
Member Avatar for yajakin

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?

Member Avatar for Jx_Man
0
90
Member Avatar for lllllIllIlllI

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

Member Avatar for lllllIllIlllI
0
549
Member Avatar for bhavna_816

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 …

Member Avatar for bhavna_816
0
144
Member Avatar for rashmigs84

Hi, Can anyone tell me how to create calendar using javascript using asp.net2005? Thank you.

Member Avatar for rashmigs84
0
69
Member Avatar for eparse

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

Member Avatar for eparse
0
103
Member Avatar for orcboyx

Hello all, Does anyone have a good tutorial that explains how JFrame works and how it can be implemented?

Member Avatar for eranga262154
0
74
Member Avatar for eranga262154

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.

Member Avatar for eranga262154
0
321
Member Avatar for blue_moon

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 …

Member Avatar for Jx_Man
0
102

The End.