64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for sibotho

Hi all I want to select data from a database and display it on a GridView. My problem is it doe not return anything when i use the WHERE clause but when i use SELECT * it works. I am new in ASP.NET, please help. here is the code i …

Member Avatar for w_3rabi
0
130
Member Avatar for apines

Hi all, I need some advice in implementing a new ADT that has length of n and the following operations: 1) Init() : Initializes all n elements to 0. Can assume that this is the first one called and called only once. 2) Write(i,x): write value x to position i. …

Member Avatar for ~s.o.s~
0
82
Member Avatar for sibotho

Hello there I want to retrieve data from the sql database according to departure plase and Destination selected on the dropdownList, Something like "WHERE departurePlace = @DeparturePlace AND Destination = @Destination", I want to display the results on a different page (i am not sure if its possible). Can you …

Member Avatar for ManicCW
0
118
Member Avatar for IwalkAlone

Q. WAPC to read a string into an aaray and capitalize the first character of every word in the input. Solution I tried [CODE] #include<stdio.h> int main(void) { char string[50]; char *ptr; printf("Enter string\n"); fgets(string,sizeof string,stdin); printf("string= \"%s\"\n",string); for(ptr=string;string!='\0';ptr++) { if(*ptr==' ') { ptr++; *ptr=*ptr-32; } } printf("The new string …

Member Avatar for IwalkAlone
0
1K
Member Avatar for jaepi

hello there...im new in c++, i need your help with this one...i want to create a program that will create an .ISO image file. the user will be asked to input all the files that he wants to compress..i just want to know what topic in c++ i will study …

Member Avatar for jaepi
0
116
Member Avatar for rati

hi all, i am writing a program in which i am checking if a string contains another string(same what strstr does). i assumed intially that the string1 is a long string with spaces and string2 is a word(which might be or might not be present in string1) i have used …

Member Avatar for rati
0
107
Member Avatar for squinx22

hi, I want to make a chat program using c++. Can you give me any site where i could find the concepts in building chat program? I will make a chat program similar to YahooMessenger.

Member Avatar for squinx22
0
116
Member Avatar for jwjazz

This function is part of a program to convert numbers between different bases. [code=language] num = 32 b1 = 10 b2 = 2 x = 1 def increasex(num,b2,x): if num%(b2**x) < num: x = x+1 increasex(num, b2, x) else: print x return x print increasex(num,b2,x) [/code] The parameters are the …

Member Avatar for jrcagle
0
138
Member Avatar for shmay

I must display the number of values that are above, equal to, and below the average, with "equal" being within a tolerance .01. [code=c] void RelToAve (double ave, int numRead, double *array) { int abo = 0, equ = 0, bel = 0, i; for (i = 0; i < …

Member Avatar for shmay
0
148
Member Avatar for ReeciePoo

I have a text file setup called client.txt inside it has Halusa Decorations|Streamers|455892|$3.50 Kellys Floral|Frangipani|270272|$2.00 - Im using Listview in Report mode i was wondering how to grab each item e.g company|item|productid|cost into and put them into the Columnheaders [U]| Company Name | Product | Product ID | Price |[/U] …

Member Avatar for ReeciePoo
0
77
Member Avatar for EnderX

If I am somehow in error posting this, I apologize. However, I would hope that this is the best place to ask this question. I am dealing with a MSVC Compiler, version 1.52, on a system running Windows 98. I am using these rather antiquated pieces of equipment for a …

Member Avatar for EnderX
0
154
Member Avatar for laconstantine

I just started mess with Memory at c++ so i am very confused now, and this is why i am asking 3 questions that made me confuse so much. 1. Look at this: char *str = "Literal String"; Here we are creating a char pointer called str then we are …

Member Avatar for Narue
0
302
Member Avatar for eeeraser

Hi guys again, If I have an infinite loop for example: [code] MOV CX, 240 MOV DX, 320 HERE: MOV AH, 2CH INT 21H CMP DH, 1 JE DOT MOV AX, 0C00H INT 10H DOT: MOV AX, 0C04H INT 10H JMP HERE [/code] In the example I have an infinite …

Member Avatar for eeeraser
0
3K
Member Avatar for MidiMagic

OK, I know how to address all of the radio buttons on a page as an array, and address all of the radio buttons in a single group as an array. And I know how to create multidimensional objects in JavaScript. But how can I create a two-dimensional array of …

Member Avatar for MidiMagic
0
1K
Member Avatar for DeOiD

hi i want to obtain a value of a table with date restrictions, so i created two fields, one for the inicial date and other for the final date. when i try to do that the result is always null...i don't no why... i use this statement: "SELECT caminho_foto FROM …

Member Avatar for DeOiD
0
126
Member Avatar for bgagan911

Hi there guys..!! Well what I'm looking for is.. [IMG]http://www.dynamicdrive.com/forums/images/smilies/biggrin.gif[/IMG] Basically I want to have an HTML POP-UP Window, which would contain a FLASH File of the RESOLUTION "800x622". I want to have Google ads on both sides and at the bottom too. It's easy to define a layout for …

Member Avatar for bgagan911
0
130
Member Avatar for srik22

Hi In my LogIn screen , Including username and password we have provided secure card. This secure card displays three alphabets randomly with three textboxes to enter. like ( G __ C __ B__ ). There are 10 two-digit values are stored in LogIn table (from A to J). These …

0
78
Member Avatar for ssgatbliss

Hi, I'm fairly new to c++ and I'm having some trouble getting this to work as a function. Here's the error I get: error C2447: '{' : missing function header (old-style formal list?) I can work through the minor troubleshooting of basic syntax I just don't get how to call …

Member Avatar for ssgatbliss
0
154
Member Avatar for 2thestart

:@Hi i am currenty working on a basket ball game in one of my grade 11 classes. My teacher and I cannot find a way to make the exit code work even when the shot is being taken. Also to take a shot you have to hit shoot in a …

Member Avatar for 2thestart
0
71
Member Avatar for Radons

Hi! I hope some one is familiar with pascal. I've been trying to translate this code into c++ for quite a while now... And frankly I've given up hope of solving it. It's supposed to invert an integer from binary data it reads from a file into normal characters or …

Member Avatar for Radons
0
227
Member Avatar for ft3ssgeek

Hi guys I'm working on a small portion of a larger program here that will accept lines of text and based on the first word in each line needs to conditionally branch...I am using the tolower() function to make the words lowercase and then I test them in an if …

Member Avatar for iamthwee
0
142
Member Avatar for MattEvans

Consider the following code: [code="PHP"] <?php function important_function( $i ) { printf ("<p>Called for the %sth time.</p>\n", $i); return ($i < 3); } function loop_with_and( ) { $ret = true; for( $i = 0; $i < 10; $i ++ ) { $ret = $ret && important_function( $i ); } return …

Member Avatar for Infarction
0
123
Member Avatar for cmsc_illiterate

I am so lost. I don't know what I'm doing. Can somebody help me? What I'm trying to do right now is just store ID numbers in an array to use them elsewhere in my program. I can't even do that right though. This is my first time taking computer …

Member Avatar for cmsc_illiterate
0
121
Member Avatar for eeeraser

hi again .. Does anybody have any idea how could I draw a line between two points using assembly language? e.g. if you have the first point DX1, CX1 and DX2, CX2... I wanna draw a line between them, simply, I wanna program that I give him two points and …

Member Avatar for Salem
0
310
Member Avatar for ReeciePoo
Member Avatar for roketto

Hi there... I'm pretty new to java, just learning arrays now. I've written a program that deals a "poker hand" to 4 players, using methods, but the problem with that is sometimes the same card gets dealt more than once. I'm now trying to use a boolean array of size …

Member Avatar for thekashyap
0
2K
Member Avatar for Dhanesh.M

help! I have made three UI forms to accept inputs from the user (it is about airline reservation for my academic project),I want to open these forms in succession following the inputs from the user so how do i manage to open up these forms...Help me

Member Avatar for jwenting
0
92
Member Avatar for brightmohan

Hello Geeks! I have tried real hard trying to figure out the solution for why the getchar() and fputs() arent working in my program. I have already wasted so much time thinking and debugging about it and here I am after registering wid DANIWEB for the first time. I will …

Member Avatar for brightmohan
0
389
Member Avatar for Mashadar

Hi, I have created an on-the-side project to test some code which I hope to merge with my main program, however I've noticed that the output generated varies between two compilers (VC++ 2005 Express and Dev-C++). Since I am doing the project in VC++, it's output has had me scratching …

Member Avatar for Mashadar
0
168
Member Avatar for HLA91

Hi I got this script of a tutorial site and I placed it on my site but it seems to work fine apart from it doesn't send the email can anyone help me please. the contact us page [code] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> …

Member Avatar for HLA91
0
165
Member Avatar for ChadW

Hello and thank you for taking time to read my question. I have been charged with the task of creating a scoreboard for use by one of our local teams, the problem is that I am still very new to visual basic (I am using Visual Basic Express Edition). I …

Member Avatar for Dukane
0
270
Member Avatar for shy_wani

hi.. i wonder, what is wrong with my code? i want to let user update their previous question based on question number they selected. i have a dropdownlist called [B]qnum[/B]. when the qnum index changed, it should load respective question to textbox [B]question[/B]. however, i don't manage to update in …

0
96
Member Avatar for donaldunca

Could you tell me the mean of this code? [CODE] while(1) { // do something [/CODE] thanks!

Member Avatar for donaldunca
0
128
Member Avatar for ReeciePoo

How do you add columns in list boxes so u can have sortable sections for us in a database project | Column 1 | Column 2 | Column 3| |-----------------------------------------| | Data here | Datahere | DataHere | ______________________________

Member Avatar for PVBert
0
102
Member Avatar for ndeniche
Member Avatar for ReeciePoo

Im havin noobie problems like making OK and Cancel buttons any help please lol?.. also how do u go about makin seperate dialog boxes so that when i click on New Entry it opens a "New Entry" Dialog?

Member Avatar for sk8ndestroy14
0
89
Member Avatar for qwerty__123

Hey, I'm having trouble with an exercise from a book, here it is; " Write a program that reads the values for a random list of card from a file,(cards.txt) where each line in the file represents a single card with the rank and then suit seperated by a space. …

Member Avatar for bumsfeld
0
104
Member Avatar for pri_skit

I have application build in Embeded VC++ 4.0 project,now i want to include (.h) file in project which is produced from another (.exe) built in Win32(App) Console.I have added header file in project workspace.The problem is (.h) file is created after compiling the project.I want to include (.h) file before …

Member Avatar for pri_skit
0
254
Member Avatar for reabo

[URL="http://www.festra.com/wwwboard/messages/13064.html"]How do i create a insert button for a TDBCtrlGrid? [/URL]

Member Avatar for reabo
0
183
Member Avatar for reabo

I'm reting to open a project from college but it want open because my access file path isn't valid. How do i change the path so it works fine again. I try to access the date module but it keeps coming up with the error and closes the program. Need …

Member Avatar for reabo
0
112
Member Avatar for cyberman111

at the end of this program we have to add the average of all the students* add and divide by 3* also put a ** next to student who have over 95 % both thses should be displayed at the end so ANYONE dare to try #include <stdio.h> #include <math.h> …

Member Avatar for cyberman111
0
153
Member Avatar for yesm

Hello! I'm working on an assignment that requires me to store custom classes in an STL vector and do things like search, display, and delete them, then write them all to file. This is going well, but my code to delete an object (adapted from [URL="http://www.daniweb.com/techtalkforums/thread31636.html"][U]this thread[/U][/URL]) works on any …

Member Avatar for vijayan121
0
582
Member Avatar for IBGhost

Dim objNetwork Dim objExcel Dim objWorkBook Set objExcel = CreateObject("EXCEL.APPLICATION") objExcel.Visible = True Set objWorkbook = objExcel.Workbooks.Add() objworkbook.ActiveSheet.Range("A1").value = "DisplayComputername" Set objNetwork = CreateObject("WScript.NetWork") Dim strComputer strComputer = objNetwork.ComputerName Msg strComputer Set objNetwork = Nothing

Member Avatar for IBGhost
0
94
Member Avatar for nam5a

I was wondering if there is something in python similar to the begin expression in Scheme, and if not how would you write something in python to simulate it.

Member Avatar for nam5a
0
115
Member Avatar for grunge man

i created this program and it works perfictly but how do i make it so all the numbers,that this loop prints out, add together? heres the code[CODE]#include<iostream> using namespace std; int main() { int i,n,a,b; b=1; n=1; i=100; a=100; while (n<=i){ cout<<n*26*n<<endl; n=n+1; } system ("pause"); }[/CODE]

Member Avatar for grunge man
0
176
Member Avatar for kained

right basicly i need to make a class. I have a file called book.cpp which needs to be modified and i have no brain at all today. help is so needed. [code] //book.cpp #include"bookheader.hpp" Book::Book(void) { title[0]='\0'; quantity = 0; deleted = false; } Book::Book(string tit) { strcpy(title, tit.c_str()); quantity …

Member Avatar for kained
0
107
Member Avatar for countrygirl1970

I have a question I am writing this program for class where all of the output goes into one JOptionPane.showMessageDialog for instance I have the The sub total price displayes, the sales tax displayed, and the Grand total displayed in this I also want to display a message if the …

Member Avatar for stultuske
0
97
Member Avatar for Shad0wHawk

I am writing a simple (extremely simple) hangman program. Basically the user inputs a word, then they have double the number of letters in the word for guesses (for instance if the word has 7 letters they get 14 guesses). Please don't ask why I want the user to input …

Member Avatar for Shad0wHawk
0
350
Member Avatar for generalGOTCHA

say I need to the below to store as a string variable. Set autoUpdateClient = CreateObject("Microsoft.Update.AutoUpdate",strComputer) notice teh quotations ? How can I store all of this as one string with the quotations included ? I need to store this so I can manipulate it, but those quotes keep throwing …

Member Avatar for generalGOTCHA
0
102
Member Avatar for nottoshabi

I dont understand why I'm getting this error here. [code=c] #include <cstdlib> #include <iostream> #include <cmath> #include <string> using namespace std; int main(int argc, char *argv[]) { string value; int number; cout << "Enter an integer: "; getline( cin, value ); if( !isvalidInt( value ) ) cout << "The number …

Member Avatar for nottoshabi
0
202

The End.