199,124 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Sheryl99

I am studying VB.NET in a VB 2005 book, but using VB 2008. What is wrong with this code? I am using ASP.NET to write a web page. For each reference to: ResultFahrenheit.Text ResultCelsius.Text ResultKelvin.Text I get errors that say: Name 'ResultFahrenheit' is not declared. Name 'ResultCelsius' is not declared. …

Member Avatar for 4advanced
0
152
Member Avatar for kibosh

Good afternoon, I'm hoping you guys can help me out with a simple problem. I am working on my first AJAX powered app, and I'm having a problem with the PHP portion. I am passing a value "q" from my app, that should return a Country name. Instead, I get …

Member Avatar for kibosh
0
124
Member Avatar for lmastex

Hi. Can you guys help me out with this link list method. The method issuppose to say if a list is in ascendent order or descendent order. I have this right now: [CODE] template <typename ListElement> int List <ListElement>::order() { NodePtr temp1; NodePtr temp2; temp1 = Head; temp2 = temp1->Next; …

Member Avatar for lmastex
0
136
Member Avatar for raelian1

I'm attempting to create a 3D object based only on bitmap images. Is there a tool or technique or anything that can help me accomplish this?

Member Avatar for PirateTUX
0
200
Member Avatar for blunt57

Hi all I am a beginner with mark up and am trying my hand at HTML, Javascript and PHP. Currently I am copying source code from sites so I can learn and understand the code and rebuild the sites with my own content. Just recently I came across a site …

Member Avatar for snadboy6371
0
2K
Member Avatar for acperson

[B]*When I compile the program it works. However, when I try to run the program, it outputs the first message then gives me the following error-*[/B] CSCI112LAB2.exe has encountered a problem and needs to close. We are sorry for the inconvenience. [B]*And when I tried to debug it*[/B] Unhandled exception …

Member Avatar for acperson
0
2K
Member Avatar for vishalsingwall

Hi, This is urgent if any one could please help me resolve the stated issue....... I know how to create cursors in ProC* and how to manipulate them. But I have to do it with a combination of C and MySql. Can any one guide me as to how the …

Member Avatar for Salem
0
137
Member Avatar for StarZ

i have just been learning python(tuple) at school. And this is my first assignment. I can't seem to figure it out. The assignment is on this website: [url]http://schools.tdsb.on.ca/danforthcti/python/main.html[/url] Go to lesson 8>scroll down>its called programming Assignment 9. Can someone help me out? It's simple enough right? thank you!

Member Avatar for vegaseat
0
162
Member Avatar for Dewey1040

I have searched google and the forums here and I couldn't find what i need, if there is a thread somewhere just forward me to it. I am attempting to create a program that will prompt a user for a string. The program will not recognize this string to be …

Member Avatar for Dewey1040
0
206
Member Avatar for adigha

hello, i need to create an applet for a "company", in which you log in, and according to your possition(ex: worker, manager) you can see and change different objects such as sallery and the abililty to fire people. im completely stuck on the login part, i have the gui set …

Member Avatar for PoovenM
0
199
Member Avatar for pixelmeow

Hello, I'm using VB6 and SQL Server 2000. I've got a problem with an insert statement that seems to be randomly failing. Its job is to copy everything from one table into another, removing duplicates using WITH IGNORE_DUP_KEY ON [PRIMARY]. Then my code copies the records back to the original …

Member Avatar for pixelmeow
0
176
Member Avatar for blazen

Here is a simple substring type function that I wrote in C. [code=c] char *substr(char arr[], int pos1, int pos2) { char str[100]; char *sub; for (int i = 0; i <= (pos2 - pos1); i++) { str[i] = arr[i+pos1]; } sub = str; printf("Sub: %s\n", sub); // debugging purposes …

Member Avatar for ArkM
0
138
Member Avatar for besktrap

Hopefully this is the correct place to post this, so here ya go. I'm learning HTML and just had a few questions. I was using some tutorials from w3schools.com, and I came across Event Attributes. So I have this textbox, and I want it, when clicked, to clear the the …

Member Avatar for essential
0
1K
Member Avatar for kiddo39

I have a small image with a black background and red lines in it and I need to count the red pixels. I know I need PIL, but I'm not sure which method to use. Then once I have the counts I need to equate them to a character, so …

Member Avatar for vegaseat
0
2K
Member Avatar for Kavitha Butchi

Hello all, For creating dynamic title tags, I tried using [code=php] <title>welcome<?php echo '$pagetitle';?></title> </head> <body> : : <?php : $pagetitle = '$row[2]'; ?> //closing rest of the tags. [/code] I get nothing displayed on title ! So i changed the code to, [code=php] <html> <head> </head> <body> : : …

Member Avatar for Kavitha Butchi
0
211
Member Avatar for acperson

I wrote a program for a class assignment that is supposed to use random number generator to produce sentences. The program has to use four arrays of (pointers to char) and each chosen word must be concatenated to the previous words in an array that has to be able to …

Member Avatar for acperson
0
3K
Member Avatar for Ugochukwu

Please fellow programmers am relatively new in programming and am currently working on a Library Maintainance and Administration software and am finding it hard inserting pictures with other data's into the database The picture insertion should be optional.Please i need to know the codes i need to achieve this Please …

Member Avatar for Teme64
0
180
Member Avatar for ALAZHARY

Hello Everyone, I found the following code somewhere, I understand it but I have trouble with understanding the sequence of execution, in other word, How can I monitor every little step of the function like that?[CODE]void EatSpace(char* Pbuffer) { int i = 0; int j = 0; while((*(Pbuffer + i) …

Member Avatar for Laiq Ahmed
0
179
Member Avatar for ITlang007

Hi everybody, I'm really new to java and I'm not sure how to do this, //Create an ArrayList of String type to hold first names of the students I created mine like this.... ArrayList<String> first = new ArrayList<String>();

Member Avatar for ITlang007
0
145
Member Avatar for Gaurav arora

Hello Sir, Can u tell me how to merge two tables(no relationship) in datagridview. I have used merge method of datasets but in vain

Member Avatar for Renukavani
0
108
Member Avatar for venkat554

[QUOTE=quansah;202627]i want to upload files into a folder and store the relative loaction of that file in a database using php and mysql. help[/QUOTE] how to upload image in vb.net.i need coding so please somebudy help me. thank you

Member Avatar for Teme64
0
2K
Member Avatar for ctaroz

can somebody help an old man? I started to study Python and I'm OK with IDLE. But I cannot understand how to use it as a server language with my local server Xitami (that I use very well with PHP). Please help me: I need very clear instructions Thank you, …

Member Avatar for ctaroz
0
171
Member Avatar for hunnyz

i have already created a toolstrip however do anyone know how can i make the toolbar dockable?

Member Avatar for waynespangler
0
73
Member Avatar for dr.eu

Hi! I have to write program, who print Triangle made with numbers from 1 to 9,like this: 1 21 321 4321 54321 654321 7654321 87654321 987654321 I wrote code: [code] #include <iostream.h> #include <stdlib.h> int main() { int first, last; cout << endl; for (first = 1 ; first <= …

Member Avatar for dr.eu
0
182
Member Avatar for polo_coins

I discovered that there is a such class like StringBuilder but I don't find any thing that convince me to use it. Explain me it's advantage and disadvantage and if you gave some examples I like to see them thanks a lot Sergey

Member Avatar for polo_coins
0
85
Member Avatar for wad

[CODE]<script> function asd(){ var msg = document.getElementById('email'); alert(msg); } </script> <form> <input type='text' id="email"/> <input type='button' onclick='asd()' value='<' /> </form>[/CODE] onclike return that message Object HTML Input Element

Member Avatar for freeonlinedatin
0
91
Member Avatar for -Observer-

Hi, I'm new to Java and I need help with the following if someone can help me: Write a program named Personnel that maintains salary information for the employees of a company. The program should display a text based menu, giving the user a choice of selecting a command. The …

Member Avatar for verruckt24
0
107
Member Avatar for Demonisya

Hello..... I want to ask you something..... My teacher gave us our final exam last October 16 & 17.... I want to ask you about this question: Create a program that could show this output * *** **** ****** using while or for..... what I put in my answer sheet …

Member Avatar for Demonisya
0
174
Member Avatar for Swetha Suresh

Iam developing a tool in VB. I need to access my database for few fields and print them as a table. How would i get a create a table in visual Basic. The question may appear bit odd but iam a beginner .. Please help. Thanks in advance

Member Avatar for sierrainfo
0
114
Member Avatar for AdRock

I would like to know how i check the first character of each line before I either ignore it and move onto the next line or add it to an array. What i am looking for is tags like <. If the line begins with that i move onto the …

Member Avatar for ArkM
0
3K
Member Avatar for tol

Thank God i found this site. my first day in VB and i was given an assignment to simulate how a lift runs in VB with 4 floors. pls can any one help me so fa i have been able to design the interface. please i need help in writing …

Member Avatar for Teme64
0
94
Member Avatar for mm2409

dear frnds, i hace wrote this code to generate unique id for questionnaire and a query to save it into database with two more value (response id and date) individually i have checked and unique id function is working. even insert query is also executing correctly. but when i put …

Member Avatar for xarz
0
162
Member Avatar for Kartikey

hello sir , i am getting problem with crystal report VB.net and SQL Server i want selected values to be printed in crystal report so i have written sql query for that . dataset shows selected values but crystal report shows all data in database Please help me . following …

Member Avatar for sierrainfo
0
132
Member Avatar for noktasizvirgul

As my homework I need to discuss contemporary issues in the design of programming languages, but I do not know what are these contemporary issues really. I neeed help to find these contemporary issues. Can anybody help me?

Member Avatar for Salem
0
174
Member Avatar for pochacco

#include <iostream> using namespace std; int main() { double num_one, num_two, num_three, num_four, num_five, num_six, num_seven, num_eight, sum, product, average; char ans; cout << "Please enter eight numbers: "<< end; cin >> num_one >> num_two >> num_three >> num_four>> num_five >> num_six >> num_seven >> num_eight; cout << "The sum …

Member Avatar for Salem
0
127
Member Avatar for Se7Olutionyg

[code] #include "magic.h" #include <conio.h> #include <iostream> using namespace std; int main() { float throttle; float frate_; const float time = 10000; float vvel_ = 5; cout << "Hey, this is starfleet, your orders are to safely land this ship" << " with a " << endl << "velocity greater …

Member Avatar for Salem
0
99
Member Avatar for benji_k

Help! I'm trying to solve a quadratic equation I keep getting the error : term does not evaluate to a function taking 1 arguments Heres the program. I highlighted the problem line // Macros 3 - finding the root of a quadratic equation // ax^2 + bx + c --> …

Member Avatar for benji_k
0
145
Member Avatar for sid78669

This one is really crazy cause i think my professor screwed it up. I have to write a class Bank. It contains objects savings of class Account. now say i have a savings array and a savings object has [code=cplusplus] Account savings = new Account[5]; //How do i return the …

Member Avatar for sid78669
0
214
Member Avatar for Manutebecker

for(int n = 0; n<blocksx;n++){ for(int x = 0; x<blocksy;x++){ I just want to be able to shorten this into something easy so I could just type in like one word to get it to work, it is used a lot and sucks to retype... thx

Member Avatar for Ancient Dragon
0
121
Member Avatar for smeezekitty

i have three problems first one is in vc++ 2008 express heres the code [code=c++]#include <windows.h> #include <iostream> #include <stdafx> using namespace std; int _tmain(){ console::writeline("Window Text"); } [/code] Second is in old turbo C++ 1.01 how can i use a similer to if ( X = X) for char …

Member Avatar for smeezekitty
0
152
Member Avatar for JRiga

I'm trying to develop a game that can be played by 2 players on different clients, and I can't figure out the mechanism how the server can communicate to both sites for the same game. A move on one browser gets communicated to the server, and the server must reply …

Member Avatar for JRiga
0
117
Member Avatar for MattEvans

If I add default arguments to the end of my copy constructor, is it still considered a copy constructor? E.g. will it still be used in the places where a copy constructor would normally be used (or automatically generated). I can verify that it works on one compiler (g++). That …

Member Avatar for MattEvans
0
222
Member Avatar for christiangirl

I'm having trouble making this program with linked lists work. Where I am having a problem is in printarea() [code] //**************************************************************** // This program tests creating dynamic linked list of // several Dynamic (descendents) // It uses: shape1.h header file // Filename: prtshape.cpp //**************************************************************** #include <iomanip> #include <iostream> #include "shape1.h" …

Member Avatar for christiangirl
0
155
Member Avatar for shamila08

hello, dear all [code=cplusplus] #include <iostream> #include <stdio.h> using namespace std; int count = 1; void print( int *arr, int SIZE){ if (arr != 0) { for (int i = 0; i < SIZE; i++) { // i = position cout << arr[i]; } cout <<"\n"; } } void circular_left(int …

0
142
Member Avatar for robgeek

I have an assignment to implement a salesperson class. Here is the layout I got from prof. My questions are typed in red between function prototypes. Any help is appreciated. Thanks. [code] cClass Salesperson { public: Salesperson(); //default constructor [COLOR="Red"]// I know that a default constructor is suppose to set …

Member Avatar for vmanes
0
145
Member Avatar for gotm

[CODE=C++]#include <iostream> #include <fstream> #include <vector> #include <string> #include <sstream> #include <stdio.h> #include <time.h> using namespace std; bool StringToInt(const string &s, int &i); int main() { // opening up and setting up the input file stream so we can read it // to perform the "account info" and the "history" …

Member Avatar for nmaillet
0
95
Member Avatar for Nanz

Hello all. I want to craete a empty double dimensional array. Later i will get the row and column length. But row length varies each time program. But i will be having the lenght of the row. So hoe to write a generic code for creating a empty 2D array …

Member Avatar for jlm699
0
63K
Member Avatar for BillyMako

I need to get the 'customers_info_date_account_created' from the 'customers_info' table where the field 'customers_info_id' matches with the field 'customers_id' in the following query: [code=sql]SELECT * FROM customers WHERE customers_id NOT IN( SELECT customers_id FROM orders )[/code] I basically have all the information in columns from the query and need an …

Member Avatar for BillyMako
0
131
Member Avatar for Brainsmith

Hello, I am not sure if this is a CF problem or not. One of our client's websites has two links to CFM pages that just will not work in some browsers on their network. It just brings up a blank page. It will work for them in FireFox, but …

Member Avatar for danarashad
0
167
Member Avatar for T'Scoopz

I'm trying to make a linked list, what's wrong with my syntax for adding a node? [code=c] struct data { char name[20]; char number[10]; }; typedef struct node { struct data list; struct node* next; } Node; Node *head = 0; Node *tail = 0; Node *New = 0; void …

Member Avatar for William Hemsworth
0
93

The End.