199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for jb7643

I have just started today. I put the following code into DEV-C++: [code=cplusplus] #include <iostream> int main() { std::cout << "Enter two numbers:" << std::endl; int v1, v2; std::cin >> v1 >> v2; std::cout << "The sum of " << v1 << " and " << v2 << " is …

Member Avatar for jb7643
0
94
Member Avatar for jagdish.ind

hi, i am using crystal report to prepare reports. my database is in oracle 9i. i am using vb.net 2003. after creating crystal report whenever i am going to view the report in button click event it is asking me to give login id and password. for each and every …

Member Avatar for sbv
0
107
Member Avatar for JoePie

If anyone can throw a good suggestion my way, i 'd love it. I'm coding a piano that uses Swing and the piano keys are JButtons. A standard computer keyboard can be used to play notes by linking up to the JButtons. I'm only using two buttons for a prototype. …

Member Avatar for JoePie
0
1K
Member Avatar for kedi

Hello, I need to write a program which displays some images on the screen depending on some calculations. For example if the result of the calculation is 3 it will display an image file, if it is 5 it will display another image file. I don't even know where to …

Member Avatar for Nick Evan
0
285
Member Avatar for BBC59

Hereafter is a macro (VB6) that converts 2 adjacent lowercase consonants into the 1st remaining in lowercase and the 2nd converted into uppercase. Well, so far so good, but the problem is that it works only when both consonants are the same, i.e. cc, ll, pp, ss, etc. become cC, …

Member Avatar for BBC59
0
206
Member Avatar for nandhinijp

If i click the back button in browser i got some problem. i click the login and redirected to another page.after that i click the back btn its navigated to login page.but it didnt clear my session value login=true.still that user in login stage but that login page looking normal …

Member Avatar for nandhinijp
0
127
Member Avatar for successalways

I want disable my back button in internet explorer when i am logged out.. iam using asp.net platform for my project.. i hope u willl sent me the code which may be usefull waiting for ur reply.. thank you

Member Avatar for nandhinijp
0
105
Member Avatar for missileh

Hi... Does anyone know how can we get motherboard details using a c program for a Mac machine ? I want details like Motherboard Manufacturer, Its Model No., Its version and Serial Number. How can this information be obtained ??

Member Avatar for missileh
0
92
Member Avatar for Nyall

hi guys,.. am trying to get this asp form to send the information it has to me, however.. i keep running in to brick walls, as it returns fine, just with no information. so you can imagine its not ideal. anyway, ill supply the code here, i know its to …

Member Avatar for Nyall
0
88
Member Avatar for millanskie

Hi to all, Do anybody knows how to display the complete dialog of a printer properties, showing all tabs of a printer properties like when you are manually doing it on controlpanel>printer&fax... i wanted to show it that way... I have a program that can show the printer properties... here …

Member Avatar for ruifrazao
0
346
Member Avatar for sanzilla

Hi I am really little bit new to java , actually J2ME , really , can anyone know the API or libraries that can freely download to handle the vcf business card format that come with outlook express ? I really feel lazy to write my own code , anyone …

Member Avatar for sanzilla
0
144
Member Avatar for codeaa

[B]Background:[/B] I am developing a library for an existing (network) protocol that frequently changes. I want to develop the library to be compatible with the current protocol and support future changes, while maintaining backwards compatibility. Right now, my concern is about the protocol model. I'm trying to find the best …

Member Avatar for DangerDev
0
140
Member Avatar for sarko86

I downloaded the most recent vesion of winHugs and I installed it. I'm trying to follow a [url=http://www.ssw.uni-linz.ac.at/Teaching/Lectures/SpezialLVA/Stanczyk/]tutorial[/url] about the commands (hugs2List pg 3). I try to use the Prelude function isDigit, but this gives an error. -- File second.hs getDigits :: [Char] -> [Char] getDigits s = [C|c <-s, …

Member Avatar for sarko86
0
124
Member Avatar for david_bronsky

I have question about Temporary Web Page. When I click on link in my web application and redirect to ( for example) mywebsite.com/12.aspx. When event OnLoad() fire,I read value 12, which is Primary key and make query to the database,get record and represent on web page. But,I need temporary web …

Member Avatar for dilipv
0
155
Member Avatar for jinchiruki

can sumebody tell me whats wrong whis this code?? tried many times but still parse error..on line 53 and if i put validation on php,do i need to put the command at server side??? tq [CODE="PHP"] <table width="1000" height="95" border="1"> <tr> <td bgcolor="#0000FF">&nbsp;</td> </tr> </table> <? include("connect.php"); //this is your …

Member Avatar for nav33n
0
107
Member Avatar for kursist

Hi, I am new to bash scripting. I have some questions here, Can anybody help? I have a text file which has the following format. UserNam User full name road and house nr. post nr, city phone, mobil Department, job The first thing should be to open file and find …

Member Avatar for kursist
0
109
Member Avatar for u4umang2001

Hi i am passing three parameters to my stored procedure. now in stored procedure i want to execute the query on the basis of given condition. suppose i m passing para1, para2 and para3. now i want update table1 if(para1='' or para1= null) then 'update table1 set para2='''+@para2+''' and para3='''+@para3+'''' …

Member Avatar for dilipv
0
120
Member Avatar for jino

Hi all,, My problem is that,,My query is not working correctly when the time of loading the page... But if we echo the query and try to run the same query in PHP MYAdmin then the query is running correctly... For example if i need all the records having sex …

Member Avatar for jino
0
102
Member Avatar for jaasaria

hi.. i tried to put picture on our system. in the employee form.. but i dont know the exact step on how. i have here a code for opening the picture.. but i dont know how to save it in my database together with the information of the employee... here …

Member Avatar for jaasaria
0
90
Member Avatar for rajeshkhanna_in

Hi all, I'm working in VB 6.0, when I try to put a component on my form for Crystal Reports XI, It gives me a error message (Unexpected Error) , error Number (35005). Can anybody help me? Thanks in advance Rajesh khanna

Member Avatar for rajeshkhanna_in
0
66
Member Avatar for aircraft

How can in the output, I want ONLY ONE LINE from 1 to 99, the windows is not enough.. myvector contains: 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 …

Member Avatar for Ancient Dragon
0
128
Member Avatar for aircraft

How to correct it? ompiling... 27.cpp C:\Documents and Settings\ashida\My Documents\MASTER C++\main\27.cpp(21) : error C2065: 'aTable' : undeclared identifier C:\Documents and Settings\ashida\My Documents\MASTER C++\main\27.cpp(21) : error C2109: subscript requires array or pointer type C:\Documents and Settings\ashida\My Documents\MASTER C++\main\27.cpp(21) : error C2228: left of '.size' must have class/struct/union type C:\Documents and Settings\ashida\My …

Member Avatar for aircraft
0
242
Member Avatar for lydia21

hi i have a application were the user admin will select a key word from the drop down based on the dropdown selection....it should search all the rows in a particular table.the corresponding matching data should get displayed to the admin.

Member Avatar for lydia21
0
164
Member Avatar for Roebuc

Hello all, yes yet again an Assignment problem I need help with haha ;) Anyways this time my code is correct, I think, but I am getting hung up on an ifstream issue. Here is the code: [CODE] ifstream infile; ofstream outfile; infile.open("C:\Users\***\Desktop\School\chapter5.txt"); if (!infile) { cout << "Cannot open …

Member Avatar for Roebuc
0
252
Member Avatar for pitbro

Could you please help me? what is wrong with this code? it prints only D->D->D->D (I want A->B->C->D) [code=c++] #include <stdio.h> #include <stdlib.h> #include <string.h> #include <malloc.h> struct node /* Declaration of structure "node" */ { char letter[1]; struct node *next ; }; struct node *start = NULL; main(void) { …

Member Avatar for Ancient Dragon
0
153
Member Avatar for balagod

Hi, I am trying to create a widget to display live stock quotes. then i have to deploy in iGoogle. Please explain me how can i proceed. 1.i need widget creation tutorial. 2.igoogle deployment tutorial. Server Language: PHP -Bala

Member Avatar for balagod
0
83
Member Avatar for nurulshidanoni

Can C++ draw a table for matrix? or I must draw a line like this? __________________________ __________________________ _________________________ _________________________

Member Avatar for ndeniche
0
169
Member Avatar for Roebuc

Hey guys, I was doing my reading last night and was trying to come up with a program other than the practice assignments. It has been hard remembering all the keywords when they are given to you in the practice assignment. I came up with one and kinda got myself …

Member Avatar for Roebuc
0
135
Member Avatar for ddwatkins

I have a set of 2 drop downs. Once a selection is made in the first one, the second one popluates based on the first choice...I also have a a dynamic table on my page that works fine but shows every record from what ever recordset it is based on....here …

Member Avatar for ddwatkins
0
301
Member Avatar for orangejuice2005

I have an assignment dealing with polynomials and adding two of them together. Am using vectors to approach this and i have one vector assigned for coefficients and the other exponents Am very very new to c++ and am at a lost. Here is my + operator [code] Polynomial operator+(Polynomial& …

Member Avatar for Duoas
0
2K
Member Avatar for aircraft
Member Avatar for Duoas
0
119
Member Avatar for shAq

I have to dynamically add user controls to a asp.net web page. I know that can be done as follows: [code=C#] WebUserControl webug = (WebUserControl)Page.LoadControl("WebUserControl.ascx"); cntrlHolder.Controls.Add(webug); [/code] In the above code cntrlHolder is a PlaceHolder/Panel. I need to add more controls of type WebUserControl into the same page. How can …

Member Avatar for boisellea
0
165
Member Avatar for wolverine_ramir

1) is it possible that i could create GUI application under Perl (*.pl) files? 2) what are the things that i need to consider and do? 3) i tried copying a perl program from a certain website and when i tried running it on command prompt for Windows, it says …

Member Avatar for wolverine_ramir
0
203
Member Avatar for Ankita B

Hi, What needs to be done to connect TOAD with oracle database ?....i have installed oracle client 9i..

Member Avatar for Jx_Man
0
127
Member Avatar for augussk

Hi, I am programming in VC++/MFC to make applications for Bus, Airline and other ticket booking softwares. In those applications i need to display the available Buses/Flights in as in Web pages. i.e., like tables. A row for a flight like that. Currently I am making such a view by …

Member Avatar for Duoas
0
121
Member Avatar for jaggesh

The question goes like this: You are given a file in which each line contains a list of space separated words. Write a program to find out: 1. List of words that are present in all the lines (words common to all lines) 2. List of unique words that are …

Member Avatar for Aia
0
103
Member Avatar for hallinan

write a bit of code to read from a file and compare a string but it dies before it finishes. the complier tells me there is a segment fault on line 31 can anyone help. [CODE] [LIST=1] [*]#include <stdio.h> [*]#include <string.h> [*]#include <stdlib.h> [*]#define max 100 [*]struct customer{ [*] [*] …

Member Avatar for Aia
0
162
Member Avatar for RexxX

I want to store a byte from fread as type char, and then be able to perform comparison operations on that byte as an int. I have [quote] int num; char buffer; num = fread(buffer, 1, 1, myFP); [/quote] and I'm sure it's not right.

Member Avatar for John A
0
115
Member Avatar for niladri.user

Can u pls. tell me? how to create a web page with a session locking functio. & also with login & logout facilities?

Member Avatar for nav33n
0
313
Member Avatar for Jennifer84

How is a string vector array declared using a Form application ? This seems to work for int in a Form Application: [Code] std::vector<int> Value(10); [/code] But if you change int to string in the same example the compiler says that 'std::vector' : class has no constructors

Member Avatar for Jennifer84
0
159
Member Avatar for pitbro

This doesn't work. Please help. (line 8: invalid conversion from `const char' to `const char*' ) const char *alphabet="ABCDEFGHIJKLMNOPQRSTUVWXYZ"; int i=0; do { new_ptr = (struct node *)malloc(sizeof(struct node)); new_ptr->next = NULL; if (start == NULL) { strcpy(new_ptr->letter, alphabet[i]); start = new_ptr; current = new_ptr; } else { strcpy(new_ptr->letter, alphabet[i]); …

Member Avatar for WaltP
0
95
Member Avatar for k2k

I need to let the user input a line of words and make all the 4 letter words in the sentence "love".... example: cin>> I hate programming output --> I love programming does anybody know if there is any library, or string member functions would help doing this task? below …

Member Avatar for WaltP
0
359
Member Avatar for Morty222

I am using the following query to pull categories from the DB then creating a select list. Can some tell me how to make the current value selected in the list when they open the category? <?php include("mysql.php"); $queryc = "select * from tbl_category WHERE active = 'yes' ORDER by …

Member Avatar for nav33n
0
124
Member Avatar for werks

Hi there programmers could you help me out. I need idea on how to create an Online Reservation of Books for a Library.. thank you in advance..

Member Avatar for werks
0
84
Member Avatar for nirmalarasu

Hi, I would like to know whether linux installed as default in all flavors of linux (redhat,suse) or in customized linux distributions. is not so is there any other script to be supported in all linux distributions? thanks

Member Avatar for Duoas
0
153
Member Avatar for m.cliter

Hi, I m new to JavaScript. And I have a webpage where a user can upload 5 images. so I have five input tags, but I want to give him add extra image option,when a user hit add extra image a new input tag appeare. how can I do that …

Member Avatar for m.cliter
0
121
Member Avatar for pitbro

is there a quicker way to fill the list with A,B,C,...,Y,Z whithout doing all this? 1. #include <stdio.h> 2. #include <stdlib.h> 3. #include <string.h> 4. #include <malloc.h> 5. 6. struct node /* Declaration of structure "node" */ 7. { 8. char letter[1]; 9. struct node *next ; 10. }; 11. …

Member Avatar for pitbro
0
95
Member Avatar for SiPexTBC

I'm trying to make a program that can hide a process that is running, and then restore it for you. I can successfully Hide the window using [CODE] private const int SW_HIDE = 0; private const int SW_RESTORE = 9; [DllImport("User32")] private static extern int ShowWindow(int hwnd, int nCmdShow); private …

Member Avatar for FreakyEddie
0
526
Member Avatar for Lynxus

I have a Petrol Pump system that runs a timer that simulates the litres that run and the display shows the images inserting into an image box. Then the Price at current is the litres * the set price per litre. Thats where the problem is because I can't get …

Member Avatar for Duoas
0
333
Member Avatar for cutebab

hi frens I am workin on website development project. I want to do a user login module in asp havin login page , registration page along with forgot password and members area features in it with acces db . plz guide me through this or provide useful links to a …

Member Avatar for katarey
0
95

The End.