199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for mstester

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 …

Member Avatar for dox
0
2K
Member Avatar for jacknight

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) …

Member Avatar for Narue
0
150
Member Avatar for ITapprentice

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 …

Member Avatar for Narue
0
219
Member Avatar for ptaylor965

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 …

Member Avatar for ptaylor965
0
969
Member Avatar for gator6688

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; …

Member Avatar for Narue
0
102
Member Avatar for drakkher

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 …

Member Avatar for stacyfrench
0
135
Member Avatar for sirkraven

[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 …

Member Avatar for twomers
0
102
Member Avatar for meangreta

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 …

Member Avatar for meangreta
0
231
Member Avatar for rwagnes

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] …

Member Avatar for rwagnes
0
436
Member Avatar for theteamdrunk

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 …

Member Avatar for Aia
0
210
Member Avatar for dblbac

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', …

Member Avatar for dblbac
0
162
Member Avatar for jobs
Member Avatar for dblbac

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.

Member Avatar for dblbac
0
87
Member Avatar for tones1986

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&, …

Member Avatar for Narue
0
137
Member Avatar for jliu66

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 = ' …

Member Avatar for woooee
0
167
Member Avatar for balgarath

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 …

Member Avatar for masijade
0
165
Member Avatar for michael123

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 …

Member Avatar for michael123
0
110
Member Avatar for piscean123

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 …

Member Avatar for Narue
0
147
Member Avatar for gee1288

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 …

Member Avatar for Ancient Dragon
0
117
Member Avatar for vekeneswari

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

Member Avatar for binoj_daniel
0
75
Member Avatar for popson

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

Member Avatar for binoj_daniel
0
277
Member Avatar for rtm_e

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-

Member Avatar for kb.net
0
245
Member Avatar for gvi

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 …

Member Avatar for jwenting
0
116
Member Avatar for Nareshp_123

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 …

Member Avatar for SheSaidImaPregy
0
446
Member Avatar for jaydude23

[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 …

Member Avatar for jaydude23
0
146
Member Avatar for Mr.Wobbles

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 …

Member Avatar for Triss
0
344
Member Avatar for spankyg

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? …

Member Avatar for Narue
0
129
Member Avatar for Dennis_Phils

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'); …

Member Avatar for ~s.o.s~
0
107
Member Avatar for k7_keshav

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

Member Avatar for k7_keshav
0
95
Member Avatar for weasel7711

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 …

Member Avatar for Narue
0
192
Member Avatar for curt22

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 …

Member Avatar for knopper
0
572
Member Avatar for mannantes

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 …

Member Avatar for mannantes
0
4K
Member Avatar for adrive

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 …

Member Avatar for adrive
0
75
Member Avatar for locsin

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 …

Member Avatar for SCBWV
0
620
Member Avatar for mohammadhaneef

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 …

Member Avatar for mohammadhaneef
0
89
Member Avatar for nshh

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

Member Avatar for tarekkkkk
0
205
Member Avatar for notathing

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 …

Member Avatar for Salem
0
74
Member Avatar for sagedavis

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 …

Member Avatar for rawat167
0
100
Member Avatar for jamesny89

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]

Member Avatar for Salem
0
160
Member Avatar for pawan_1983

i want to print date like 1st dec 1983,2nd,3rd 4th can any body tell me thanks

Member Avatar for mickinator
0
84
Member Avatar for joshmo

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 …

Member Avatar for Salem
0
116
Member Avatar for rtm_e

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 …

Member Avatar for debasisdas
0
118
Member Avatar for stp123

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 …

Member Avatar for RoryGren
0
105
Member Avatar for spick

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) …

Member Avatar for mickinator
0
155
Member Avatar for coco86

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 …

Member Avatar for coco86
0
83
Member Avatar for hoaivanapt
Member Avatar for NatalyC

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 …

Member Avatar for NatalyC
0
99
Member Avatar for WINPUSLIKR

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 …

Member Avatar for Ancient Dragon
0
57
Member Avatar for go939

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

Member Avatar for Duoas
0
138
Member Avatar for DeadJustice

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, …

Member Avatar for DeadJustice
0
191

The End.