199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for mistletoe667

I am trying to write a code that displays the contents of an array called rates in the ratesLabel using a For...Next statement. I think I have some of the work done. This is what I have: I have the click options for my display and exit buttons, the numbers …

Member Avatar for manal
0
80
Member Avatar for kodiak

Hi, I am an intermediate c++ programmer, and I'm looking for a tutorial on Visual C++ express edition. If anyone could point me in the right direction with a link (I've searched google, and just get loads of stuff from microsoft, or things that are irreleveant.), it would be help …

Member Avatar for Ancient Dragon
0
143
Member Avatar for Gregory Mieczni

Hi, I am relative new to Swing development, so please be patient... I have created a scrollable table and would like to add (at runtime) a JComponent (for example a chart linked to the table) that would sit on top of the table and would also scroll aong with the …

Member Avatar for iamthwee
0
105
Member Avatar for gator6688

I need to assign each student a letter grade. The way I have it set up now it assigns the letter grade of the second student to both students. How can I get it to assign each student their own letter grade? Also, I would rather output the letter grade …

Member Avatar for gator6688
0
327
Member Avatar for Chris147

Hi All, Does anyone know why I'm getting a 'Null Reference' error when I try to use a FolderBrowser? I have the following code (called from a Toolstrip Menu Item): <code> Dim fldBrowser As FolderBrowserDialog = New FolderBrowserDialog fldBrowser.RootFolder = Environment.SpecialFolder.DesktopDirectory fldBrowser.Description = "Which Folder do you want to use …

Member Avatar for Chris147
0
122
Member Avatar for Jacky1

Hi guys I'm doing a program for one of my class but the teacher asked us to write a language mangler to modfiy a sentence and make it nonsentence And he want us : - If any word has length 9 or more characters, insert into the word after the …

Member Avatar for Narue
0
101
Member Avatar for Alethea

heya... can any1 plz help me write this program. write a program that the user is converting from and to base, and also from value. thx

Member Avatar for Narue
0
136
Member Avatar for mimsc

Can anyone see it..I can't find it [code] <% RequestDispatcher dispatcher = request.getRequestDispatcher("/jsp/ErrorPage.jsp"); UserDataVO userData = null; String username = request.getParameter("username"); String password = request.getParameter("password"); boolean loginOkay = false; boolean trialOkay = true; boolean pageError = false; boolean hasBlanks = false; String menuType = null; String adminServer=request.getServerName(); String javaAdminServer=request.getServerName(); if …

0
80
Member Avatar for piscean123

Need your help in this code too.. this is the program to convert any entered number into its hexadecimal equivalent but the problem is that same result is printed for any number...:'( :'( [CODE]int main (void) { int n; printf("Enter Number :"); scanf("%d", n); printf("Hexadecimal Equivalent %x", n); getch(); return …

Member Avatar for piscean123
0
139
Member Avatar for SheSaidImaPregy

hi, I have only done basic sql queries and need help on this major one trying to combine many queries into one. What I need is to make the following queries into one: [code]SELECT Username, LastLogin, DateCreated, Views, MainPic, Logged FROM Users WHERE UserID=? SELECT COUNT(AlbumID) FROM ProfileAlbums WHERE UserID=? …

Member Avatar for fatihpiristine
0
136
Member Avatar for zandiago

Good day. My semester of c++ is coming to an end. I've got to complete a total of 7 assignments within the next 3 weeks. I've completed 5 out of the seven. I've got two left (1 has a separate thread by itself). So you can also take a look …

Member Avatar for Nick Evan
0
195
Member Avatar for clear1140

Is it somehow possible to retrieve a string and then convert it into a mathematical expression? for example i have this string '14200 * 5' and then i want to convert this into a mathematical formula so that i could get the result of it which is 71000.. .. i …

Member Avatar for fatihpiristine
0
72
Member Avatar for iown714

Hello, I have a quick question. I'm currently using MS SQL 2005. I have a main table which has many fields. I created a view#1 which imports all the rows from the main table but I only select the "City" field, "PurchaseDescription" field and a "Cost" field. Only the city …

Member Avatar for fatihpiristine
0
88
Member Avatar for lanesbalik

hi all, right now i'm trying to migrate from db2 running under linux to mysql v5.1. i manage to export out the db2 structure & data into a del (ascii) file. but when i try to load the data from the del file to mysql table, it generate an error. …

Member Avatar for fatihpiristine
0
179
Member Avatar for kiprono

I am developing a small application that enable users to surf at a fee. Now, I want this user(s) to remain logged in as Administrator but when the application is running, I want the following keys to be disabled : Ctrl+Esc,Windows keys,Ctrl+Alt+Delete, Alt+Esc. I only want the Supervisor access these …

Member Avatar for Duoas
0
81
Member Avatar for ashblynn02

I am writing an assembler code to do the following: ToUpper function converts a string of characters to uppercase, if they are not already uppercase. That is, the string already exists in memory (on the stack) (Yes it is Homework) I am trying my best to do everything I know... …

Member Avatar for Duoas
0
5K
Member Avatar for Golffor1

Hello everyone I have some code listed below, well with this code I it does not display anything in the listbox. When I have it displaying the stuff in the listbox it does not display the correct stuff...like less than 10. I have put the line of code in bold. …

Member Avatar for fatihpiristine
0
184
Member Avatar for markchicobaby

Hi I've been looking at site [url]www.cdbaby.com[/url], apparently they switched over from Ruby on Rails to PHP. I would like to know if anyone can explain how come none of the links have a "php" extension on them, and how this can be achieved? (...or is there a way to …

Member Avatar for fatihpiristine
0
426
Member Avatar for Hellodear

Hello, I am in the way to make a login page for my new website. It must be a database driven login page. [B]details:[/B] [B]fields:[/B] username, password [B]database: [/B]MS Access the guest who registering with these field; result must gone to database. so login is in compare with the above …

Member Avatar for SheSaidImaPregy
0
100
Member Avatar for limra

Dear Friends please help me., How to write data to parallel port and how to read data from Parallel port, If you have any API function please share with me. Regards M.Sakthivel

Member Avatar for binoj_daniel
0
81
Member Avatar for madhura09

hi im kind of a dodo in VB6 as a part of my project im trying to build a media player in vb using Windows Media Player control but the code that i had written on another system (windows 2000) is not working on my system (windows xp). the error …

Member Avatar for madhura09
0
292
Member Avatar for daver40

Hi! I'm a bit of a beginner at PHP, and I'm having trouble comparing two strings in a conditional statement. Both of the variables are strings, but one of them them is assigned from a MSSQL database. In this database, it of the unicode varchar data type. It doesn't seem …

Member Avatar for daver40
0
121
Member Avatar for petzoldt01

I am currently trying to understand how to rewrite URL's, but I am missing several pieces to the puzzle. I will have a directory stucture similar to the following... / /apps /lib /config /public /public/index.php /public/images /public/css /public/js I want /public/index.php to be called first on nearly every url request. …

Member Avatar for fatihpiristine
0
616
Member Avatar for thejunkie

I'm new at Java and I'm tryin to create a Login screen that prompts the user to enter a username and a password and then allows them into the program. Is it true that I cant use the "switch" on a string and only if else statements? If it is …

Member Avatar for ~s.o.s~
0
3K
Member Avatar for Barefootsanders

Hey everyone, I'm working on some javascript code. What i have now is a list box that contains certain elements and another list box, blank at the moment, next to it. I want, when someone clicks an element within the first list box, that in the background, a MySQL statement …

Member Avatar for lookof2day
0
106
Member Avatar for AXAsianXie

Hi can someone look at this program for me it wont fill out the whole address for me and when i search or go delete it doesn't do anything. [code=c++] #include<iostream.> #include <fstream> using namespace std; struct Person { char Name[50]; char Address[80]; char Phone[30]; }; void add(); void search(); …

0
68
Member Avatar for AXAsianXie

Hey i have a HW to do an address book storing the names addresses and phone #s and add to address.txt. and the phone is the key so i have to create a search using the phone #. i'm also suppose to use a mygetline function that i don't quite …

Member Avatar for Salem
0
121
Member Avatar for vsr

Hi I have a .aspx page that contains some javascript so that when a user presses a checkbox another cell in the datagrid is filled with the current date . That works fine My probelm.... when I have the user press the update button (which does a post back that …

Member Avatar for vsr
0
181
Member Avatar for kc8pdr

I was on sprint today and when you click on a phone the page get's see through and a windows open's open can someone tell me how to do it ?

Member Avatar for kc8pdr
0
59
Member Avatar for WhitePunk

i have a code which is in the if-then-else statement... then i want to use the select case statement... and i dont know well on this... hope you can help me... the code is Private Sub cmdGo_Click() Dim postA As Single Dim postB As Single If Combo1 = 1 Then …

Member Avatar for themaj
0
96
Member Avatar for wjyeo

Hi i've have this problem in my code when i do the overloading of operator >>. My problem for this code isnt encounter error but my input like say i input 7, the num.a output will change this 7 to 55 and num.b output for 5 to 53. below is …

Member Avatar for wjyeo
0
299
Member Avatar for mank

I want to create two functions, one that takes array values and lenngth and the other displays array values and length Here is my code, it gives me segmentation fault [CODE]#include <iostream> #include <iomanip> using namespace std; void input_array(float a[], int &n) { int j; for (j=0; j<n; j++) { …

Member Avatar for Ancient Dragon
0
111
Member Avatar for drsmith

I am attempting to use a PHP include with cgi-bin. Is this even possible? My other includes work fine. Here is the offending code: [code] <?php include ".../cgi-bin/Calcium40.pl?Op=ShowIt&CalendarName=City"; ?> [/code]

Member Avatar for drsmith
0
71
Member Avatar for disc

[code] class MyControl : public BaseControl { } class Base { proctected: BaseControl &mControl; } class MyClass : public Base { public: MyClass( MyControl &control ); void ReadControl(); } MyClass::MyClass( MyControl &control ) :Base(control) { } void MyClass::ReadControl( void ) { MyControl &control = (MyControl &)mControl; // <=== ??? control.DoSomething(); …

Member Avatar for disc
0
245
Member Avatar for domino.vbcoder

Hi all, im having issues with event's and methods. I have 2 forms, for example form1 and form 2. on form 1 i have a label and on form 2 i have a check box. what im trying to achieve is when the check box is checked in form 2, …

Member Avatar for manal
0
79
Member Avatar for â—„Medusaâ–º

Wondering if any of you can help me with this, I've been struggling with it for weeks and I've tried every relative example I could find for it. Basically my program loads an image into a picture box, and now I need it to scan the picture and return the …

Member Avatar for peteratoce
0
252
Member Avatar for noobyjoe

Hi There, It is my first post. I am currently workign for a company and have just been moved into R+D. Part of my new job involves C++ Programming. I am having trouble with numerous things, (was thrown in the deepend) Basically, This program is designed to keep track of …

Member Avatar for noobyjoe
0
166
Member Avatar for johaynser

How can I install VB.net 2008 after downloading from MSDN site . the size of the file is 3.05G and it is Image file. what is the way to do it.

Member Avatar for jbennet
0
101
Member Avatar for tnvkrishna

title was self explanatory.. i repeat .. can a class allow a friend method of a friend class to use it's protected or private members oh yes one more, can a friend method of a derived class use base class's protected members i am new to this type of concept …

Member Avatar for vijayan121
0
113
Member Avatar for lch07d

Hi, I am taking an Intro to Computer Science course. I have to translate a code to assembly. I was wondering if someone could help me out with the first line of the code. I am not sure what to do since it it ==. if (x==y) { thanks!

Member Avatar for Duoas
0
108
Member Avatar for ArrogantLegend

Create a text file with a letter on the first line, and two double-digit numbers on the second line. Write a program using fstream that reads in your text file, creates variables to manipulate that input and outputs the following results to a different text file: "The ASCII value of …

Member Avatar for Duoas
0
131
Member Avatar for itsjustme82

Hi I want to implement a program where client sends a file to server and server displays the message from the file. I have attatched my java files for reference

Member Avatar for masijade
0
119
Member Avatar for bStiffler582

It's a phone book program. Takes number, name, and address and saves them to addressbook.txt. It has add, search and delete functions. I got all but delete. Here's the search function(works): [code=c++] void search(){ char num[50]; char search[50]; ifstream input; input.open("addressbook.txt"); cout << "Enter phone number: "; cin >> num; …

Member Avatar for bStiffler582
0
167
Member Avatar for eldoc

Hi I am trying to connect a Flash client socket (XML) to a php socket server (using Flash 8 and php 5). My php socket server responds correctly when I connect to it with a php client socket but fails when I try to connect with the flash xml client …

Member Avatar for XBow
0
416
Member Avatar for aj_anil

i WANT TO change the caption using vb6. I changed the caption using form(.frm). I have made the changes in the code files but when I am compiling the new code the error which I am getting is regarding "MSComctlLib.Button". I also tried to include the mscomctl.ocx but it again …

Member Avatar for choudhuryshouvi
0
72
Member Avatar for TCMIMS16

What in the world am I doing wrong? Can someone please help me. I am especially lost on the last method. I am supposed to use two classes to perform one of three math operations depending on the user's choice. Use if statements to allow the user to choose which …

Member Avatar for jwenting
0
111
Member Avatar for Gadgetman_53

Hey, I'm still fairly new to C++, and even more new to this forum. Any help would be greatly appreciated. Could someone look at this segment of code for me and tell me what is wrong with the "if" statements to change the time. I'm not getting the output that …

Member Avatar for Gadgetman_53
0
876
Member Avatar for fhshockey05d

The ultimate goal is to send simple messages ("GH", "HC", etc.) to a CMUcam2 and to read what messages I get back. I need help in setting up a serial communications port in Windows. I have seen how to open the port on other threads on this website, but I …

Member Avatar for Ancient Dragon
0
201
Member Avatar for jaepi

I was advised by a friend of mine to use fread64, fwrite64 instead of fread and fwrite. Does this exist? Been looking for it's documentation but I haven't found one.

Member Avatar for jaepi
0
2K
Member Avatar for abarnett

I am to write a program that can be used to calculate the federal tax. The tax is calculated as follows: For single people, the standard exemption is $4,000; for married people, the standard exemption is $7,000. A person can also put up to 6% of his or her gross …

Member Avatar for WaltP
0
3K

The End.