199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Tank50

Hi guys I have a problem in my project.Below I mention the coding I wrote it for testing purpose. In below coding the second while loop never run,only [CODE] SqlDataReader reader = DbCon.Get_Invoices(); int x = 0; while (reader.Read()) { x++; [B][COLOR="Red"] 1[/COLOR][/B] } MessageBox.Show(x.ToString()); chart2.DataBindCrossTable(reader, "ExecutiveCode", "Date1", "Total", ""); …

Member Avatar for Tank50
0
149
Member Avatar for ramesh.a

I have two website projects in vs 2008 and i need to integrate with these two projects and i want session to be shared amoung the projects, Is it possible in vs2008?

Member Avatar for ramesh.a
0
85
Member Avatar for smithu.simi

Hello, i need to use fork() for the below problem Problem statement is program would accept various 2d arrays as inputs as long as the user wishes to enter.. Every individual sum of the array is calculated and sum of each array becomes the element of a resultant array and …

Member Avatar for BestJewSinceJC
0
112
Member Avatar for DisembodiedLoaf

I have two programs I've been working on for my class but I keep getting different errors. First one: Write a boolean function called isTriangle that receives three numbers and returns true or false based on whether or not the numbers are possible lengths of a triangle. If the sum …

Member Avatar for shadwickman
0
181
Member Avatar for phalgun_g

hello everyone.. I have been given an assignment to do a mini project in my college using C.As such im in dire need of ideas for the same. I need ideas for programming games,innovative programs etc.. till date they have taught us C pointers structures & arrays.. So ill have …

Member Avatar for MosaicFuneral
0
161
Member Avatar for Barefootsanders

HI, I'm trying to write an application in C++ that has two things - a TCP server (listen server) as well as a TCP client where it can send to other TCP servers. I currently have both parts set up simultaneously. I did this by calling fork() and having the …

Member Avatar for Duoas
0
130
Member Avatar for rabbithaveit

Iv used arrays to store usernames Iv stored the array data in a procedure called "Usernames" But im wondering if its possible to then use the arrays to do a crosscheck validation for a login. Iv done some extent of research and Im either typng it wrong...Or I dont know …

Member Avatar for vb5prgrmr
0
203
Member Avatar for jschri4

Im suppose to read in a file (which it isn't doing) and get numbers form them to see if they pass or fail certain specifications. Can someone help? the exact specifications are: The company you work for, Acme Environmental Monitoring, runs sensors to test air quality at different locations. These …

Member Avatar for SeeTheLite
0
175
Member Avatar for mrcniceguy

i would like to know if i can check spaces between symbols in PHP. because i want the username for a member in my site not to contain space. for example:(joshua mwatu),this name contains space. i would like the script to check if the username contains space and display error! …

Member Avatar for digital-ether
0
137
Member Avatar for mike6850

Getting back to coding after15 years. Looking to purchase VB4 Language Manual to help me remember all that I've forgotten. Thanks for any help.

Member Avatar for vb5prgrmr
0
51
Member Avatar for jspeakers

Hi, I am not that great with C++ but I am trying to write code that will be able to import 2 wave files I have - the first file is my sine wave sweep file the second is my impulse response of the room. Once imported I wish to …

Member Avatar for nucleon
0
400
Member Avatar for Danny_501

Hi all, i asked this question a few days ago bit its still unsolved. I'm reading a text file of strings, line by line, and storing them into an array. when i try and print them using this function: [CODE=cpp]template < typename T > void printArray(T * const array, int …

Member Avatar for Danny_501
0
98
Member Avatar for firebolt

how would you code this then: when you drag the scroll bar, the value changes as you DRAG thanks

Member Avatar for abu taher
0
84
Member Avatar for rEhSi_123

Hello everybody! I am creating a Book library system in C++. I created a login class where the user types in a username and password and if successful is able to log into the menu system. Now, everything goes well unless and untill the user types in the right credentials …

Member Avatar for SeeTheLite
0
5K
Member Avatar for GDICommander

Hello, everyone! I am using Xalan to parse a XML document. This is a glimpse of what I do: [CODE] std::string fileNameStr = fileName.Tofilename(); XalanDOMString strFileName(fileNameStr.c_str()); LocalFileInputSource srcFile(strFileName.c_str()); XalanDocument* document = parserLiaison.parseXMLStream(srcFile); [/CODE] What I want to do is to know the encoding of the source document. There is no …

Member Avatar for GDICommander
0
120
Member Avatar for shea279

Does anyone know how to use let the user define a custom hotkey with the control IDC_HOTKEY, then register it on a system wide scale, so it sends a message back to the application when its pressed? And I have googled, without much luck.

Member Avatar for shea279
0
104
Member Avatar for yssirhc

Background - this code adds & deletes file inputs from the screen as well as adds & deletes them from an array that will be used in the uploading process. I'm having trouble splicing the correct value from an array. In the remove function, I think it is always removing …

Member Avatar for digital-ether
0
103
Member Avatar for Zcool31
Member Avatar for iTsweetie

Hi all, I've been instructed to write a program that inputs a dollar amount to be printed on a check, and then prints the amount in a check-protected format with leading asterisks of necessary. Nine spaces are available fore printing an amount (max of $99,999.99). The program looks like this: …

Member Avatar for iTsweetie
0
138
Member Avatar for blahblah619

Help please! How do I change this so I input the letters instead of numbers? I'm confused. I want to make it so I can enter "R" instead of "0" etc. Also, I don't know where to put an if-break for the user to enter "Q" or "q"... [code] #include …

Member Avatar for SeeTheLite
0
3K
Member Avatar for popey118

If you like rune say Runescape Now! and get in this Chat. Its now or never :O You can Talk to people online and maybe meet maney diffrent people:) :P =p

Member Avatar for hhheeellllllooo
0
82
Member Avatar for Falkoner1

Okay, I'm trying to have a linked list autonomously delete itself, however, the destructor function I am using doesn't seem to work, it just keeps constantly looping, until the program just ends itself. Here's the function: [CODE]node::~node() { if(this->next != NULL){delete this->next;} delete this; }[/CODE] Basically, this should run through …

Member Avatar for Falkoner1
0
171
Member Avatar for mimis

Can i make a function with a vector<int> parameter instead of an int array?

Member Avatar for NicAx64
0
92
Member Avatar for Nemoticchigga

I have a struct. I want to declare a pointer to that struct. Now I want 10 of those structs. How is this declared? I have tried (call the struct foo for example): foo* test[10]; when I make a call to test[0]->whatever or test[5]->whatever it seems to always write to …

Member Avatar for MrSpigot
0
116
Member Avatar for samarudge

Hi, I have the following Javascript code for loading my Google custom search: [CODE=javascript]Search = '<form action="http://www.ututorial.net/search" id="cse-search-box"><div><input type="hidden" name="cx" value="partner-pub-3996237323979957:tenb6ft9bbh" /><input type="hidden" name="cof" value="FORID:10" /><input type="hidden" name="ie" value="ISO-8859-1" /><input type="text" name="q" size="31" /><input type="submit" name="sa" value="Search" /></div></form><script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=cse-search-box&amp;lang=en"></script>'; function set() { document.getElementById('Search_Content').innerHTML = Search; }[/CODE] This works fine …

Member Avatar for almostbob
0
149
Member Avatar for daviddoria

This simple example fills a vector with numbers 0-9. Then I use find() to find where the 7 is. Then I saw online you can get the index by simply subtracting V.begin() from the iterator that find() returns. Has - been overloaded for iterators to do some magic and return …

Member Avatar for StuXYZ
0
95
Member Avatar for Andrewsc1

alright basically what the program does is convert Kilograms into pounds, then displays its on a table. There are two problems i am having the first one is getting rid of the even numbers. I've been trying combinations of modulator and the NOT expression and so far have been unsuccessful …

Member Avatar for Andrewsc1
0
109
Member Avatar for turbomen

I need to write a program that asks a user for their new password, to check that they have entered it correctly they must verify it by entering it again. If the two passwords matach then you accept the change and tell the user that they have been successful on …

Member Avatar for FlamingClaw
0
91
Member Avatar for jessica2009

[code=python]def main(): print (" PC : Hi there.whats your name?") userit = raw_input (" user :") print (" Pc : Nice to meet you " ) , userit , userit = raw_input(" Do you like python? (A=Its Great, B=Its Ok, C=Its Rotten)") if userit == A: userit = userit.upper() print …

Member Avatar for vegaseat
0
129
Member Avatar for snap!

ok so i am going to be taking a c++ course next semester and was wanted to get better knowledge so i have a proble that i was givin that am having some trouble, just some pointers on where/how to start will be helpful... Im not sure how to set …

Member Avatar for rahul8590
0
94
Member Avatar for turbomen

Question: I am to write a comparison program that outputs true mathematical statements. Ask the user for two numbers, and then output one of the following statements number1>number2 number1<number2 or number1=number2 The user must also be able to keep running the program with different numbers, when they have finished running …

Member Avatar for FlamingClaw
0
88
Member Avatar for shadiadiph

this seems to work but the new window doesn't resize and none of the attributes are working? [code] <form name="login" action="secure/checkuser.php" method="post" target="mywindow" onsubmit="window.open('mywindow','width=400,height=300,toolbar=no,location=no,directories=no,status=no,menubar=no,titlebar=no,scrollbars=yes,copyhistory=yes,resizable=no')"> [/code]

Member Avatar for leroi green
0
277
Member Avatar for serkan sendur

hi guys, i downloaded eMbedded Visual C++ 4.0 and when i run setup.exe it asks for a serial number, where can i find it? thanks

Member Avatar for jbennet
0
2K
Member Avatar for turbomen

A positive integer is entered from the keyboard. If it's even, all even integers from 2 up to and includng the entered integer are displayed. If odd, all odd integers from 1 up to and including the entered integer are summed, and the sum displayed. Please help me again.

Member Avatar for FlamingClaw
0
91
Member Avatar for konczuras

Hello everybody! There's something I can't figure out myself. I'd like to use an hscrollbar for setting a float value. The float would be from 0 to 1, like 0.02, etc. So I'd use the integer value of the hscrollbar, and divide it by 100. But if try it, I …

Member Avatar for konczuras
0
140
Member Avatar for Valaraukar

Hi, I am basically writing a program that reads in ASCII files exported from 3ds max in order to reproduce an object in OpenGL. My code works fine for one object and I've even got it working for two as long as the second object contains less vertices/facet windings than …

Member Avatar for nucleon
0
195
Member Avatar for ashkan3030

Dear my friends, Here is my serious problem, Is it possible get the TREE VIEW in right to left position in asp.net .

Member Avatar for brightline
0
116
Member Avatar for uaecasher

hello, I'm currently a PHP developer and I'm looking to learn new languages, what i found a good chose is ruby on rails. from what i came to know that ruby is much easier and fast way to develop web apps and uses techniques like MVC and DRY. however is …

Member Avatar for blocblue
0
115
Member Avatar for anitha joe

Hello frens, I am new to ASP.Net and I am trying to create an application where I want to send my form contents to my email ID. I used the 2 approaches. 1) HTML form: [code=html]<form enctype="multipart/form-data" runat=server action="mailto:abcd@efgh.com" method="post"> <p>Enter your name below:<br /> <input type="text" name="names" size="100" /></p> …

Member Avatar for brightline
0
171
Member Avatar for Talguy

For a project I am working on we're using libserial to communicate with out hardware. the problem with libserial is that when you call read() it returns an unsigned char and readline() returns a string. We're encoding our collected data from four sensors into 32 bit unsigned integer if I …

Member Avatar for Talguy
0
116
Member Avatar for OmniX

I am trying to use a variable to refer to a column of a fetch_array. Problem is it is not working: [code=php] $table_field = "name"; $result = "select * from table"; while($myrow = mysql_fetch_array($result); $text .= $myrow[$table_field] . ", "; // Note: if I use 'name' it works fine... } …

Member Avatar for OmniX
0
267
Member Avatar for ^CurryPork^

Hi all, I am newbie for JSP.i want to create a simple website which provide search function from Database(MySQL). I downloaded Apache Tomcat ,MySQL and JDK 6 Update 12 with Java EE.Who can tell me how to setup this simple website ? help! Thank You! :-)

Member Avatar for peter_budo
0
89
Member Avatar for ctrl-alt-del

Hello all! I have yet another question. Since I'm making good progress in learning C# I'd like to learn some new stuff that I have been putting off and to clean up my code. As such it seemed like a good idea to try and create a frontend for a …

Member Avatar for ctrl-alt-del
0
140
Member Avatar for boliu

Hi! here is my problem . I'm a psychology student and i'm trying to do a survey on my friends from my YM list . I want to send them forms in their inbox and they will answer back . My form looks like this : [code=html]<form method="post" action="http://mysite.com/feedback.php"> Question1 …

Member Avatar for boliu
0
106
Member Avatar for songweaver

Hey guys I am having a problem knowing where to start on writing this Leap Year program that wants a day number output. Here is the scenario: Write a function [I]dayNumber[/I] that returns the day number (1 to 366) in a year for a date that is provided as input …

Member Avatar for songweaver
0
699
Member Avatar for srpa01red

i had a table productcs with stucture as pid,name,description,applications,created_at as datetime,updated_at datetime. i will load the data from a csv file.now i want to insert the current timestamp while loading the data i.e the present time at which i am loading the data .is it possible to insert the current …

Member Avatar for nav33n
0
72
Member Avatar for andrewsCWD

Hello, The problem is I have made a second user account for my databases, every time I open the MySql monitor it doesn't prompt me for a username, it just assumes I want to log into the Root and asks for my Root password. It doesnt ask for a username …

Member Avatar for verruckt24
0
103
Member Avatar for nzkks

Hi, I am creating a data access layer through Visual Studio 2005 (dataset in appcode folder) for my asp.net (vb.net based) application connected with SQL server 2005 db. I have already created easy tableadapters for brands, categories tables. Right now I am creating Product tableadapter for product table. The product …

Member Avatar for nzkks
0
106
Member Avatar for lildaddyha

Hello, I have a login/registration script thats altered to correspond with my database. It includes the login, logout, change password, email validation, etc. I have it setup pretty well however, when I hit submit, the information doesn't go into my database. I get the error message "Data Missing" which comes …

Member Avatar for lildaddyha
0
190
Member Avatar for sgw

A question/curiosity: When using the time function, why must the argument be 0, as "time(0)"? I tried other numbers and it gave error.

Member Avatar for ArkM
0
23K

The End.