199,114 Archived Topics
Remove Filter ![]() | |
Hey guys, I have a datagridview called DataGridView1 which has four column each are combobox's, I need to be able to change the items in one of the comboboxes based on the previous one. For example I have a column named FieldName which has the following values: 1.Product 2. ID … | |
I have finished writing my Dynamic, Linked-List implementation of the ADT List, but I can't figure out what the book includes the "void retrieve" function for. Insertion, deletion, the constructors, deconstructors, etc. all have clear purposes, but what is the purpose of the retrieval operation? The header file (class declaration) … | |
I am opening a file for writing and changing it a bit. I have changed all uppercase characters to lowercase. I have also deleted all characters that are not alphabetic, but I can't delete apostrophes that occur after and before another alphabetic character (i.e. the word "there's" or "don't" would … | |
Hi, I am getting Error 302 "Object moved to here" from Spiders and from msn.com Click [URL="http://search.msn.co.uk/results.aspx?q=www.taylorsnet.co.uk&geovar=en-US&FORM=REDIR"]Cached Page[/URL] Can any body explain? The page contains one Response.Redirect(URL, True) in code but it if in a button It also contains five SQL Select statments Is this caused by ASP.NET, Me or … | |
Everything is working on this program except for the output to the table at the end. It will only display the second student I enter but not the first. [CODE]#include "stdafx.h" #include <iostream> #include <fstream> #include <string> #include <cstdlib> #include <iomanip> #include <cmath> #include <vector> #include <algorithm> using namespace std; … | |
I need to make a code that opens a file that contains random numbers and then calculate and display the number of numbers, the sum, and average. I have it so that it will open the file and check for errors and close it. I am also able to get … | |
[COLOR=green]Hi[/COLOR] [COLOR=green]I have a C typedef struct that I need to change to a C++ class.[/COLOR] [code] [COLOR=green]typedefstruct structTag3DScene[/COLOR] [COLOR=green]{[/COLOR] [COLOR=green]p3DObjectGroup pObjGroupArray; /* array of grouped scene objects */[/COLOR] [COLOR=green]int numObjGroups; /* count of grouped scene objects */[/COLOR] [COLOR=green]}[/COLOR] [COLOR=green]f3DScene, /* 3D Scene */[/COLOR] [COLOR=green]* p3DScene; /* pointer to 3D … | |
I looked at tons of previous threads, and didn't find anything to help with my specific need. I have a page where I want to swap a large image using navigation AND pass text related to that image to the area underneath. ([url]http://vinegar-works.com/casestudies.html)[/url]. I used layers to show and hide … | |
I am compiling a program with an ant build script. I have a fileset with several include files that looks like this: [code] <copy todir="Packaging/Core/web/webapps/cwa/help" > <fileset dir="${webhelp}" > <include name="*.*" /> <include name="images/**/*" /> <include name="scripts/**/*" /> <include name="ug/**/*" /> <include name="wwhdata/**/*" /> <include name="wwhelp/**/*" /> </fileset> </copy> [/code] … | |
I am writing code that accepts a string of a filename, then capitalize the letters, not changing any numbers or special characters. I think I am on the right path, but can some one give a little push to the right direction. [code] #include <stdio.h> #include <string.h> #include <stdlib.h> #include … | |
suppose that x is an int variable, y is a double variable and ch is a char variable and the input is 15A 73.2 choose the values after the following statement executes: cin >> x >> ch >> y; a. x=15, ch='A', y=73.2 b. x=15, ch='A', y=73.0 c. x=15, ch='a', … | |
How do you compare two decimal numbers in python? | |
if alpha and beta were int variables, the statement alpha = --beta is equivelent to what statement? also what would alpha = beta++ be equivilent to what statement. i know you add 1 to the first one but it doesn't seem right. any help would be appreciated. | |
Okay folks. I am writing a c++ program that will take a text file filled with test scores. Test1, Test2 and FinalTest. There are 32 test scores to be processed. I finished this first assignment using pass by reference using things such as: Prototype: [code] void doStatsRef(int [], int, double&, … | |
Hi, I have a question regard to assign the values to each memebrs of the class objects because I have a large list of class objects. Can I do the following? If not, how can I achieve the same thing? Thanks in advance. class person(): def __init__(self): self.name = ' … | |
Its been years since I've used Java, this one is stumping me... I implemented my own Observer/Observable interfaces for use with a 2-way RMI setup(I'm sure theres a better name but I don't know it yet). I have 2 interfaces ToyStore and ToyFactory. ToyStore extends Remote implements Observer, ToyFactory extends … | |
I have a simple php file for example: [CODE] <? header("Content-type: application/octet-stream"); header("Content-Disposition: attachment; filename=file123.xls"); header("Pragma: no-cache"); header("Expires: 0"); print "test"; ?> [/CODE] What I want to do is export php result and save it in excel file. If I run this from web browser like IE,firefox, I have no … | |
Peoples i have tried to make this simple progrem in C... that will print alphabets A to Z and their equivalent ASCII code.. like this A 65 B 66 . . . Z here is da source code... int main (void) { char code; for(code = "A";code <= "Z"; code … | |
hey guys i need some help with this input file program im getting input file invalid all the time i have no idea what to do. im supposed to create data files with data for up to 10 students and calculate their average from five perecentages i think i got … | |
I'm very new in vb.net. Please help to do :- 1) create login form, which validdate the username and password. 2) Import and export txt file to the sql server. thanks | |
I haved developed a software in Visual Basic 6.0 and i want to convert it to VB.Net without re-writing the code, pls help me out | |
Hi, i am using Data Environment to connect VB with my Access Database. Can i use SQL statement in my script (manualy)..?? Please tell me how to do it Thanks RE -Denpasar- | |
Hi Everyone, I have the following xml from which I need a particular output . [code=xml] <items> <item id="film"> <category>entertainment </category> <category>drama</category> <category>music </category> </item> <item id="sitcom"> <category>entertainment </category> <category>tv</category> </item> </items> [/code] Output I would like film|entertainment film|drama film|music sitcom|entertainment sitcom|tv But the code I have displays the output … | |
Hi i am new to asp.net. i am preparing an asp.net application which is of like this it will have a webpage,which consists of multiple tabs when i click on each tab it will display different information in the same webpage. my problem is how to create a multiple tab … | |
[code=php] <HTML> <?php if (empty($CSP_Name) || empty($Supervisor) || empty($Rep_Number) || empty($Department) || empty($Account_No) || empty($First_Name) || empty($Last_Name) || empty($Phone) || empty($ShipTo_Address) || empty($ShipTo_City) || empty($ShipTo_State) || empty($ShipTo_ZIP) || empty($Accept)) {echo "<h2>Please make sure you have filled in all required fields. Please use your browsers Back button</h2>\n"; echo "<h2>******REQUEST WAS NOT … | |
I am currently using a database within my program and I have no problem backing it up or restoring it when i am simply debugging. However if it is published and downloaded it cannot find the path that it needs to get to the database to copy it. My code … | |
This may seem like an odd question, I'm not sure? I have been programming exclusivley using Dev C, and I now have to complete a project using Visual C++ 2005. I am trying to figure out just exactly how to properly use "handles". Maybe I'm barking up the wrong tree? … | |
Hi all, its me again..I'm a newbie in javascript. I'm having trouble with the bold style in my javascript. It works fine in IE but not in firefox. Here's a code snippet of what I did. var anchoryou = new Array(3); anchoryou[0] = document.getElementById('First'); anchoryou[1] = document.getElementById('Second'); anchoryou[2] = document.getElementById('Third'); … | |
please can anyone help me with a c++ project that includes classes,datafile,functions, and some minimal graphics for my class XII project. thank you | |
Trying to write code to concatenate two arrays of pointers to chars (char* example[]) The program should randomly generate a sentence using 4 arrays of prepositions, nouns, adjectives, and verbs. I found a concat algorithm somewhere on the net and modified it to fit my needs but whenever i execute … | |
Hi everyone. I'm having trouble getting groups working in a list box.I'm trying to have two groups. One will be "Done", and the other will be "todo". I'm getting these errors: [QUOTE] In function `LRESULT WindowProcedure(HWND__*, UINT, WPARAM, LPARAM)': `ListView_EnableGroupView' undeclared (first use this function) (Each undeclared identifier is reported … | |
HI, plz can you help me i have a text file like this : [CODE] [LIST=1] [*]telemetre_18_04_2007_11h_08_mn_50sec.dbt [*]1176887334023317 1 D 3 1.486789 124 -17.150263 [*]1176887334050289 1 D 3 1.506669 125 -16.790839 [*]1176887334077692 1 D 3 1.521077 126 -16.517200 [*]1176887334103341 2 D 3 1.579571 127 -15.251071 [*]1176887334130332 2 D 3 1.557395 … | |
hi i've been playing around with RTF for few days now and there are a few things that i need advice on : 1.) Does RTF allow hierarchical grouping? 2.) Is it even correct to have multiple header within one RTF? I noticed RTF reader (well microsoft word in my … | |
Greetings! I designed a simple program in VB6 with a background picture in my main menu form. but when i try to install this program to other computer having different resolution or sized in the screen settings my background picture appears not fit in the entire screen. I used jpeg … | |
Please note this is in Visual Basic 6.0 language not .net : I am facing alot of probem while creating a program which can show 5 different timezone of US on a form on 5 different label in connection with the system time. for Eg label1.caption "should be IST" Indian … | |
I am using borland c++ builder 6.0 can you tell me how to solve this error? [Linker Error] Unresolved external 'hasp_login' referenced from C:\PROGRAM FILES\BORLAND\CBUILDER6\PROJECTS\DONGLE C TESTING VERSION2\UNIT1.OBJ | |
My brain must ave rolled back too. Can someone point out why this is giving me an error (actually a windows error) when i run it, though it compiles with no errors in MV c++? [code=c++]#include <iostream> using namespace std; int returns300() { return 300; } void main() { int … | |
Hello everyone. I am interested in building a Content Management System of my own, from scratch. I program in PHP and MySQL pretty well, but mostly just for E-commerce and dynamic content. I have been using blogger and wordpress as blogging programs, and notice in the admin area that you … | |
I am doin a project for class that involves c++ programming. I am having trouble gettin it started though i posted the link below to the problem. Can anyone give suggestions to how i should approach this? THanks alot in advance [url]http://cis.poly.edu/cs1114/homeworks/hw03/hw03.html[/url] | |
i want to print date like 1st dec 1983,2nd,3rd 4th can any body tell me thanks | |
i have a problem calculating the cost with this code. the code is supposed to use the different call rates to calculte but it only uses the first rate. it is supposed to get the total cost of around 4 calls with different rates..sorry if it is too long but … | |
Hi... i am a newbie in VB Programming right now i am tryng to make a simple programme that will connect VB with an Access Database Can i use a variable inside connection sintax..? Something like this.... What i want to do is accessing field NmPeg that suppose to use … | |
I get the following error in my code: Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in.....line 20 This same thing occurs in lines 28, 54, 55, 108, and 109 I get another error in line 51: Warning: Cannot modify header information - headers already sent by … | |
Hi guys I'm trying to do this java exercise and I'm getting nowhere with this So I was wondering if anyone can help me out with this. 1. Create a PizzaOrder.java class with the following attributes and methods: PizzaOrder -size: String -toBeDelivered: boolean -count: int +PizzaOrder() +PizzaOrder(size: String, toBeDelivered: boolean) … | |
hello guys , i got a problem with string let's say: i got a string like this : dim Amount As string [B]no error [COLOR="Red"]Amount = 0000780080[/COLOR] error [COLOR="Red"]Amount =000060005A[/COLOR] [/B] the problem now is the amount contain a value A at the end of the string. how am I … | |
i don't understand how to process back button in Ajax? | |
Hello everybody :) I have a problem about sorting a linked list. The following is the code that I wrote in C, it works well at this moment; it just generates random numbers, it just prints the random numbers generated and the even numbers. But I need to sort these … | |
I know how to right c++ code to determine in an (int) is odd or even. How would I add a boolean function to do the same thing. I have to input an number then determine if it's odd or even. I have to add 3 numbers one at a … | |
hey there! i would like to ask help on how to use the dlsym() in making a dll test program. can somebody gave me a sort of reference for me to study? THANKS | |
I need help with enums. I don't get them. This is part of a larger assignment, so all I need to do is fix this. I'm trying to assign year levels of school to constants. [code=java] public class Student extends Person { public Student( String name, String address, String phone, … |
The End.