199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for kangarooblood

what's wrong with this code, when i try to make the pyramid, it's always the same height of the pyramid. and somehow onumber always has the value of 20, WHY??!! Here is the code and I'll also include a picture of how it looks. [CODE=c++] #include <iostream> #include <iomanip> using …

Member Avatar for Nick Evan
0
117
Member Avatar for rude04

hi guys!!can anyone show me the [B]simplest code[/B] to make a fully [B]transparent form[/B] ([I]only the form[/I]),,i need the[B] labels[/B] and buttons [B]completely visible[/B]..many many thanks!!!:)

Member Avatar for vb5prgrmr
0
133
Member Avatar for pixelerator

Hello my name is intekhab khab persuing BCA final i have some problem in Visual basic coding as i dont know any thing about Visual basic i know c/c++ php Ajax but i dont familiar with visual basic 6.0.Sir gave me assignment and two days of only please help me …

Member Avatar for vb5prgrmr
0
155
Member Avatar for ritu verma

ListView Properties- I set MultiSelect to False, LabelEdit to true,FullRowSelect to True. I have Listview with two columns. [B]1) [/B]When I select onw row in listview,On button click i want to get the index of selected row. I m getting it but using for loop,I want to know is there …

Member Avatar for babbu
0
104
Member Avatar for GregoryHouseMD

So I installed IIS, set up my site and now I have the 3 ticks on the list in the db panel but the + I'm suppose to click is greyed out...

Member Avatar for GregoryHouseMD
0
130
Member Avatar for emarshah

Hello all, Thanks in advance for any type of help, i want to create a text file from already created textfile, which will have all the "\t" characters replaced with "\n" e.g abc.txt ammar hassan shah naqvi new.txt ammar hassan shah naqvi here is the code i m using, but …

Member Avatar for Ramy Mahrous
0
183
Member Avatar for babbu

here is my code Dim oledbcom As New OleDb.OleDbCommand oledbcom.CommandText = ("INSERT INTO Customer Company, Address, Telephone values ?,?,?") oledbcom.Connection = oledbcon Dim oledbparam As OleDb.OleDbParameter = _ oledbcom.Parameters.Add("@Company", OleDb.OleDbType.VarChar, 30) oledbparam.Value = txtCompName.Text.Trim() oledbparam = oledbcom.Parameters.Add("@Address", OleDb.OleDbType.VarChar, 80) oledbparam.Value = txtAddress.Text.Trim oledbparam = oledbcom.Parameters.Add("@Telephone", OleDb.OleDbType.VarChar, 15) oledbparam.Value = txtContact.Text.Trim …

Member Avatar for Teme64
0
98
Member Avatar for sweetsasthi

Hai, We are working in a project which handles lots of data. How many tables can we have in sql server 2000 so that it can be managed efficiently.Is there any rule for separating the tables. We store information like candidate details,interview process.... Thanking in advance

Member Avatar for Teme64
0
107
Member Avatar for arunasingh

i have a problem in dropdown :suppose i select id from dropdown then i want name of the employee is displayed matched with that id is displayed in textbox : i have use the following code con = New SqlConnection(constr) adpt = New SqlDataAdapter("select * from reg where f_name='" + …

Member Avatar for babbu
0
111
Member Avatar for TrintiyNoe

Hey, [CODE] #include<iostream> #include<sstream> using namespace std; void manage(vector <string> scoreSheet) { int i; stringstream q; string z; for(i=0;i<scoreSheet.size();i++) { q<<scoreSheet[i]; q>>z; cout<<z<<endl; } } [/CODE] I expected this program to print the first word of each string in vector but is printing the first value over and over again,any …

Member Avatar for kvprajapati
0
290
Member Avatar for kangarooblood

Since the very first time I programmed c++ I've been trying to make a program that looks like this [CODE=c++] #include <iostream> using namespace std; int main() { char name; cout << "please type in your name >> "; cin >> name; if(name == 'kevin'){ cout << "hello bitch" << …

Member Avatar for Sky Diploma
0
131
Member Avatar for dello

in c++ is it possible to have a maximum length of an input, say i am entering a number - is it possible just enforce a rule which says that only a 2 number integer can be entered? i.e 01, 02, 03, 10 20, 30

Member Avatar for Sky Diploma
0
360
Member Avatar for TrintiyNoe

[CODE]#include<iostream> #include<vector> #include<sstream> #include<algorithm> #include<cmath> #include<string> using namespace std; class ComboLength { public: int howLong(string moves) { vector<int> cc; int i,j,k=0; for(i=0;i<moves.size()-1;++i) { if(moves[i]==moves[i+1]) //Error k++; else cc.push_back(k); } return *max_element(cc.begin(),cc.end()); } }; [/CODE] I get a segementaion error in line if (moves[i]==moves[i+1]) any idea why?

Member Avatar for Laiq Ahmed
0
121
Member Avatar for kangarooblood

Been trying to make a substitution cipher decrypter, but it isn't working especially good. so I thought I might could get some help with it. [code=c++] #include <iostream> #include <time.h> #include <windows.h> #include <iomanip.h> #include <string.h> using namespace std; int main() { bool EndThisShit(false); do { string input; cin >> …

Member Avatar for kangarooblood
0
225
Member Avatar for sharal

hi forum i was working with odbc and used odbc_exec(). but when i used this in mysql this is not working i also used mysql_query() but this is not working too here is the code [code=php]$id; $sr; $cs='fa'; $q2="SELECT MAX(ser) AS mxid FROM (SELECT * FROM Table1 AS T2 where …

Member Avatar for sharal
0
246
Member Avatar for karin21

hi guys , i have this problem dealing with php its very simple but can anyone help me with this cause im only starting to learn this language and I don’t know where to start, its all about getting data from database using combo box , for example is when …

Member Avatar for aashishn86
0
430
Member Avatar for GeekByChoiCe

Hello I am coding an FTP program, the downloading/uploading happens in a seperate thread. The problem is now how to pause/resume the download (even on servers that don't support file resume), an easy/working way is to pause/resume the working thread with thread.suspend but it tells me that this function is …

Member Avatar for GeekByChoiCe
0
900
Member Avatar for jessejamesjjr

hey guys, i would greatly appreciate it if u wood help me out to see whats wrong with my codes.... heres my question and heres my code...... DONT 4GET TO MAKE THE TEXT FILE TO RUN IT !!!! <input.txt, output.txt> <fp_in, fp_out> 1. Write a program to average real numbers …

Member Avatar for wildgoose
0
175
Member Avatar for llemes4011

Hi. When I add a JComponent to my JFrame, it isn't the size of the remaining space in the frame. I want it to work in a way so that when i add a JComponent, it (and it's contents) stretches to fill the remaining space in the screen... Is there …

Member Avatar for llemes4011
0
144
Member Avatar for sweetsasthi

hai, In my project, i have a task of uploading a photo attached to the application form to the form designed in vb.net.Can you suggest some ideas of how to work on this.Is web camera preferable. thanking you in advance.

Member Avatar for kvprajapati
0
79
Member Avatar for GDICommander

Hello everyone! I'm developping a chat application in a client/server context and every client has a shared directory. I want the server to know the directory structure of each shared directory of every client. I'm asking myself if there's an existing class in the Java API that can keep a …

Member Avatar for ~s.o.s~
0
209
Member Avatar for sharao

hi frnds i installed apache 2.0.59 + svn-win32-1.4.0 when iam importing upto 5 mb it's accepting when i upload my java project nearly 12 mb its showing the following error [B][U]Invalid change ordering: new node revision ID without delete [/U][/B] also tried with apache 2.2.11 + svn-win32 1.5.4 even though …

Member Avatar for sharao
0
134
Member Avatar for woocha

Hi Guys & Gals, I have a JS file for an AJAX app that works great in Firefox, Chrome, and Opera, but not in IE6 or IE7. The JS file is located here: [url]http://www.russwilliamsart.com/scripts/imago.js[/url] and the XML file it grabs info from is right here: [url]http://www.russwilliamsart.com/gallery/Giclees/gallery.xml[/url] I think the problem …

Member Avatar for FlashCreations
0
317
Member Avatar for catchmrbharath

[CODE=CPP]#include<iostream> #include<cstdio> #include<stack> using namespace std; bool opgreater(char ,char); bool opgreater(char a ,char b) { if(a=='^') return 1; else return((a=='*' || a== '/')>=(b=='*' || b=='/')); } int main() { int n; scanf("%d",&n); while (n--) { stack<char> exp; string initial; string final=""; int i=0; bool x; char temp,temp2; getline(cin,initial,'\n'); initial+='\0'; while(initial[i]!='\0') …

Member Avatar for csurfer
0
227
Member Avatar for S2009

I am trying to create Update trigger which should be invoked only if the ReturnedOn column is clicked. I have used the following code-snippet but it generates the error: CODING: [code] create TRIGGER trg_ForUpdateOnBookIssuedDetails on BOOKISSUEDDETAILS For update as begin declare @Rows1 int,@Rows2 int if(update(ReturnedOn) begin IF EXISTS(SELECT 1 FROM …

Member Avatar for kvprajapati
0
130
Member Avatar for S2009

Hi all, I am creating a windows application. I have a column in the backend - MS sql server 2005 as ID which stores Patient Id. The values for this column should start with PT and contain the serial numbers in ascending order. Eg. PT001 PT002 PT003 I want to …

Member Avatar for kvprajapati
0
140
Member Avatar for jcwm249

can anyone be specific with me on trying to figure out this error....I have been reaqding my book and looking all over the net trying to solve it but all i have left is these two errors!!!!!!! [code] #include <iostream> #include <string> #include <fstream> using namespace std; void add_Record(); void …

Member Avatar for Ancient Dragon
0
152
Member Avatar for StefaRSA

HI, I am using Roshan's Ajax dropdown code for my two ajax dropdown menus. All is working fine, but when I want to use $_POST in the submitted form with FireFox, its not working...??? Its working fine in IE. Can anybody please help me with this problem? The Form where …

Member Avatar for essential
0
160
Member Avatar for jonnytabpni

Hi folks, I've got a C# client which can currently communicate with a C# server. I am considering re-writing the server in Java (to make it work better on Linux). Currently, the C# setup uses BinaryReader/Writer on top of a Network Stream on top of a Socket. Is there some …

Member Avatar for kvprajapati
0
120
Member Avatar for chrishtones

Does anybody know where I can find a good reference book or website about the Dark GDK Library?

Member Avatar for csurfer
0
109
Member Avatar for airefrais

Hi, I am doing my Final project on audio applications using Delphi and I would like to get a pascal (Delphi) programme on reading, modifying (amplitude of a wave file) and saving the resulting wave file. My purpose is to generate sine waves at different Amplitudes at 24 or 32 …

Member Avatar for mediastar
0
365
Member Avatar for lotrsimp12345

i am supposed to make 2 functions called find and they are supposed to find a character or string if they are similar when i do this progam gives me weird error: "use of search ambigious" "first declared as class search here. //main [code] #include <iostream> #include <cstdlib> using namespace …

Member Avatar for smart_pc
0
226
Member Avatar for bandidoquest

Hello, I'm reading the book "Assembly Language Step-by-Step" and I'm using the softwares that the author suggests (nasm as assembler, nasm-ide for editing, alink for linking), but I'm having a problem right in the first example - he gives a working code (eat2.asm) and asks me to type a wrong …

Member Avatar for leonardr
0
261
Member Avatar for daviddoria

i.e. [code] class A { int x = 5; }; [/code] I saw a mailing list post from October 08 where a guy asked if this was going to be added. gcc 4.4 was released April 09, so I would assume it would have been added by then? I haven't …

Member Avatar for Ancient Dragon
0
163
Member Avatar for leegeorg07

due to someone elses post about a keylogger, i wanted to use the program: [code=python] # get the character of a key pressed (no return key needed) # works only in the command window and with Windows OS # msvcrt.dll is the MS C library containing most standard C functions …

Member Avatar for shadwickman
0
178
Member Avatar for mrcniceguy

i have website,where people creates personal profiles and able to upload photos to their albums. Now i want to add a video feature,that member will be able upload his/her videos in his folder. i real dont have any knowledge with how to achive this,so any advice or links to tutorials …

Member Avatar for mrcniceguy
0
59
Member Avatar for Ibn Saeed

Hello I would like to know how to display orders placed on a certain day. For e.g. I would like to display orders placed today. My MySQL database contains the following tables: 1). orders 2). orders_statuses Under [B]orders[/B], I have the following fields: 1). orders_id 2). orders_placed_date Under [B]orders_statuses[/B], I …

Member Avatar for Ibn Saeed
0
122
Member Avatar for yisman

Ok fellows. I've tried EVERYTHING!! System OS: Windows Vista SP2 IIS: version 7 MSSQL: 2008 express ASPX: .NET 3.5 framework my global.asax has sqlcachedependency.start and stop at application start and end i have enabled sqlnotifications on the database. The database has a table for tracking the changes and the track …

Member Avatar for yisman
0
204
Member Avatar for dilan_n

[code=php]<?php $con=mysql_connect("localhost","root",""); if(!$con) { die('Could not connect:'.mysql_error()); } mysql_select_db(customer1,$con) $sql1="INSERT INTO details(companyname,companyadd,comstate,telephone,fax,email,fname,lname,nic,mobile,username,password);VALUES('$_POST[coname]','$_POST[coadd]','$_POST[cost]','$_POST[tel]','$_POST[fax]','$_POST[mail]','$_POST[fname]','$_POST[lname]','$_POST[nic]','$_POST[mob]','$_POST[user]','$_POST[password]')"; if(!mysql_query($sql1,$con)) { die('Error:'.mysql_error()); } echo"1 record added"; mysql_close($con) ?>[/code]

Member Avatar for Yayo_SK
0
123
Member Avatar for cedricdan

hi.Can anyone plz tell me how to link database with html? if you can plz do give the code. thankyou

Member Avatar for tack
0
61
Member Avatar for funfullson

I am sorry if it is simple or repetitive but I have problem with this. I make a play : I have python 2.6 or 3.0 a program in my c partition its name is test.py I want to compile it and it have to works in linux and windows. …

Member Avatar for shadwickman
0
113
Member Avatar for wanne

Sorry.. I am new to this forum. I tried to find solution from older threads but couldn't. Here I am starting a new thread. My doubt is that suppose i want to do one looping process to assign values, how I have to do. For example: Having one list like …

Member Avatar for woooee
0
97
Member Avatar for kes_ee

Hi All, I need one more help in string manipulation.. I am having a line as follows: [QUOTE] variable (x1|y1|z1)(x2||z2)(x3|y3|z3)[/QUOTE] From this I need to take values and store in lists like [QUOTE] xList = [x1, x2, x3] yList = [y1, 0, y3] zList = [z1, z2, z3][/QUOTE] Please help …

Member Avatar for shadwickman
0
129
Member Avatar for mansi sharma

I want to get image from the file..I m able to do it....But mine code do not close the file,after getting the image,I want to close the file.Cz after getting the image,I want to delete that file.....on Deleteing error is dere file is user by another process... Public Sub GetImagesContent(ByVal …

Member Avatar for mansi sharma
0
831
Member Avatar for thanatos1

Hi guys, i downloaded visual c# 2008 about a month ago and have been trying stuff out for myself. I'm attempting to make a text based RPG, i made big progress but i'm stuck now. Basically i want to show the player's HP in green whenever he has 51 to …

Member Avatar for ddanbe
0
149
Member Avatar for john_beginner

hello every one... i'm very new to c# in the following program (Console application prg.) i want to get "int" value of "eno","ph_no" in place of string type but i don't know how to convert string type to "int" type if i use like eno=(int)console.readLine(); then it will give error …

Member Avatar for ddanbe
0
170
Member Avatar for _dragonwolf_

Here we go again. As you can see, I have gotten much further. There are some elements however that I am unsure how to apply (i.e. bool tooMany). I haven't the slightest how to apply that. That is one snag that I have. Another, and the main one, is this: …

Member Avatar for _dragonwolf_
0
104
Member Avatar for balu naik

Haiiiiiiiiiiiii every one. i am totally new for VC++ i need a program on vc++ window application. i need to create a window, on that window i need 3 brouse button look like normal (file brouser) by using this button i need to get file path only.2 look like same …

Member Avatar for Stefano Mtangoo
0
82
Member Avatar for postal07
Member Avatar for codejoust
0
611
Member Avatar for breakid

it copy the file with 0 kb. can anyone please help me. I am working in this over a week no progress. server class [CODE] package javaapplication29; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.io.PrintWriter; import java.sql.ResultSet; import java.sql.SQLException; import java.util.logging.Level; import java.util.logging.Logger; import java.net.ServerSocket; import java.net.Socket; public class Server …

Member Avatar for ede
0
158

The End.