199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for codeamazon

I have a form which is primarily pulled from Table1. Table1.fieldA is an integer representing a project phase. In the current Access display the form displays not the integer, but a String stored in Table2 that holds integer/String pairs representing all the phases. I'm trying to figure out the best …

Member Avatar for codeamazon
0
173
Member Avatar for choover12

I like to use pop out panels that would just slide but sometimes it looks bad. is there a way i can fix it to make is as smooth as possible? here is the code i use [CODE] dim pp as new point Private Sub Form1_Load(ByVal sender As System.Object, ByVal …

Member Avatar for codeorder
0
190
Member Avatar for Venom Rush

Hi all I'm rather perplexed as to how I'm supposed to select rows from a database without having to use 9999 in my limit and I can't seem to find anything on how you specify fetching anything from a certain row onwards. Using this at the moment [CODE=mysql]LIMIT 10, 9999[/CODE] …

Member Avatar for scarcella
0
108
Member Avatar for Techguruwanabe

I am a student and my assignment is to write a change calculator program.I have got to go from Dollars down to pennies (not to much work) but I lost my notes (Kinda stupid of me) and I dont know how to fix my program.Please help [CODE]print 'Hello please enter …

Member Avatar for cghtkh
0
2K
Member Avatar for dpirtle83

import java.util.Scanner; public class Compute{ public static void main(String[] args){ Scanner input = new Scanner(Scanner.in); System.out.println("Enter three numbers"); double.int= v0=5.5; double.int=v1=50.9; double.int = t= 4.5; System.out.println("5.5-50.9/(4.5)"); } } i am having trouble with writing this program, what am i missing to finding the average for this , or is it …

Member Avatar for brandonrunyon
0
131
Member Avatar for liamzebedee

I am getting System.IndexOutOfRangeException everytime I try to compile my program. This is where the error is happening. [CODE] public static string findlinks2(string source) { char quotes = (char)34; //sets the char variable to quotes since you can't use it in a string normally string searchstring = (quotes + "fmt_url_map" …

Member Avatar for liamzebedee
0
173
Member Avatar for ehrendreich

I have a windows form that references two tables with a foreign key constraint issue. This form uses detail views for both tables. The tables are tblContact and tblMembers. The relation is based on the ContactID that is in both tables. The parent is in the tblContact table. I am …

Member Avatar for ehrendreich
0
1K
Member Avatar for Awah Mohamed

i have this code but it cant work in my hosting usualy the error is : The following errors were reported: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''comments' ( 'id' int …

Member Avatar for rch1231
0
48
Member Avatar for jr042684

Hello all. I am new to programming. I have been working on this address book program for the past we ek and can not seem to get it to work out. I know I am pretty close. This is my final exam which is due tomorrow. I have been pulling …

Member Avatar for jr042684
0
156
Member Avatar for jorgempaz

The program at work now will end up in a drawing third dimension editor. I draw in the window but when I touch a window's control (a menu option, maximize, minimize buttons, other window, etc...) the image at window disappears, do I have to redraw everything? if so, which controls …

Member Avatar for jorgempaz
0
161
Member Avatar for 4824hbk

Here are the two functions that I'm trying to get to work together. Anyone know how to call my overDraft function into my withdraw function if statement? Thanks. bool withdraw(double amt, int pin){ if (amt <= bal) return true; if(amt >= bal) return ????; //Need this to call my overdraft …

Member Avatar for mike_2000_17
0
100
Member Avatar for SergeantJoKer

Hey everyone. I could use some serious help with a Java method that I have to construct for my CMIS class. Basically, I have to develop a static method that has two arrays in it, one a String array that has values of colors; the other, a Color array that …

Member Avatar for NormR1
0
184
Member Avatar for Peram

For some reason, it works when I just do the entering the name part it works fine, but with the rest of my program I'm having a problem. I'm trying to have the program make it where they enter a password to get in the program (Which I got to …

Member Avatar for Peram
0
152
Member Avatar for digiplaystudios

Hi There, For some reason the following is not working - Inside the text field it displays nothing: [CODE]<?php include 'dbc.php'; page_protect(); $rs_settings = mysql_query("select * from users where id='$_SESSION[id]'"); $row_settings = mysql_fetch_array($rs_settings); ?> <html> <head> </head> <body> <form action="index.php" method="post" name="regForm" id="regForm" > <input name="first_name" type="text" class="updateusersmall" id="first_name" value="<? …

Member Avatar for P0lT10n
0
155
Member Avatar for cogitoergosum18

I am trying to write a function that relates a color; for example, brown with a number, say 1. so when the user types brown 1 will appear, etc. [CODE]int colortonumber (int x) { int nka; switch (x) { case 'brown': nka=1; break; case 'red': nka=2; break; case 'orange': nka=3; …

Member Avatar for VernonDozier
0
304
Member Avatar for jimmy9pints

Total new question here - and I know [URL="http://www.daniweb.com/forums/thread76747.html"]a similar question[/URL] has been asked before - but I've done a bit of work on this and I'm stuck, so I'd appreciate some help. The exercise I'm stuck on is this: [QUOTE]Write a function that implements Euclid's method for finding a …

Member Avatar for jimmy9pints
0
126
Member Avatar for visual.c

Hi I am trying to write an application for connecting to JABBER chat server,something like a chat client.i know there are many ways to do this like using agsXMPP library or jabber-net library,i wanna know can someone help me and tell me how can i use Winsock (mswinsck.ocx) to do …

Member Avatar for visual.c
0
143
Member Avatar for kakaliki

Write a program that illustrates the growth of the world's population using as input: the start year the initial population size the annual percentage increase of the population the end year. You may assume that the input is valid. Output the year, the size of the population and the population …

Member Avatar for VernonDozier
0
573
Member Avatar for digiplaystudios

Hi There, I've set up a profile page where people can enter the address and then it displays all the information. However the URL doesn't seem grab the MySQL information for the certain ID. How do I do it? Example URL: [url]http://www.website.com/profile.php?id=[/url][B]1[/B] so when you go to that URL it …

Member Avatar for digiplaystudios
0
2K
Member Avatar for ethhunt

i have an external hdd and it has self installed software that comes with a website. when i click on the site launcher it gives a js error. [CODE]function loadResourceFile(file) { var req = window.XMLHttpRequest ? new XMLHttpRequest() : (window.ActiveXObject ? ActiveXObject("Microsoft.XMLHTTP") : null ); if(req!=null) { req.open("GET",file,true); req.send(null); } …

Member Avatar for Airshow
0
81
Member Avatar for praky

I am writing a code for arithmetic compression. But my problem is i can't open the file 2nd time for reading. code is: [CODE] #include<iostream> #include<fstream> #include<stdio.h> #include<math.h> using namespace std; #define MAX_SYM 255 struct node { char ch; int count; /*public: node() { //cout<<"constructor at work. \n"; count =0; …

Member Avatar for praky
0
91
Member Avatar for chinchan

hii all , I need to assign either 1 or -1 randomly to an 3 dimensional array where 1 corresponds to orange and -1 corresponds to blue can someone help me in C++ code Thank You, chin

Member Avatar for Colezy
0
204
Member Avatar for lse123
Member Avatar for NormR1
0
85
Member Avatar for ceyesuma

MusicSys:unsolved: Hello Could someone tell me which (if any combination of code to use to put a date in a derby db using a JFormattedTextField? [code] createBooking ...etc ..., book_date DATE, ...., ... [/code] here are the many tries I have so far [code] if (i == 3) { //I …

Member Avatar for ceyesuma
0
625
Member Avatar for convoluted

Hi all, Just started using Python a week or so ago, really enjoying it so far, but stuck with a project I'm working on. I'm trying to create a in-dash display system which uses Python to communicate with a piece of hardware and uses an HTML page to display the …

Member Avatar for SoulMazer
0
186
Member Avatar for plasticfood

[CODE]double wholeCost = kb.nextDouble(); double markupPercent = kb.nextDouble(); double markup = markupPercent/100.0; double retailT = calculateRetail(wholeCost, markup); System.out.println(retailT); public static double calculateRetail(double num1, double num2){ double markupPrice = ((num1 * num2)+ num1); return markupPrice;} [/CODE] i've been staring at this and can't figure what is wrong with it. the compiler …

Member Avatar for plasticfood
0
77
Member Avatar for rocky4everurs
Member Avatar for masijade
0
1K
Member Avatar for Defensor

Hello everyone. I am trying to copy data from a file stream into a char*. I know there are ways to do it with std::string and getline, but I have an assignment where I have to have a class that will take a char* into one of its constructors (which …

Member Avatar for Defensor
0
207
Member Avatar for kezkez

Hi Everyone, I have to add a static method Account consolidate(Account acct1, Account acct2) to an existing Account class that creates a new account whose balance is the sum of the balances in acct1 and acct2 and closes acct1 and acct2. The new account should be returned. (only accounts with …

Member Avatar for vaibhav1983
0
1K
Member Avatar for bmos31

So I'm having trouble performing a linear search of a linked list class. The inList() search function is supposed to recieve a value for an element and search for that element, return a bool value based on whether or not the value is in the list or not. Below is …

Member Avatar for bmos31
0
1K
Member Avatar for Little Bunny

A question was asked to me which is as follow: There is a class Fruitlist which has a sub class apple and there is a class Fruit which has a sub class orange FruitList uses Fruit (* not sub classed, only uses it) and Apple uses Orange Is there something …

Member Avatar for vaibhav1983
0
126
Member Avatar for avani20391

Hi,all. I'm B.sc computer science student.I am searching a project in vb.net.I want to make cybar cafe management system but not so clear about this system.Can anyone help me?

Member Avatar for TsadokBlok
0
164
Member Avatar for algarmon

I migrated a c application using the cc compiler from AIX version 5 to Solaris 10. First, I compiled my application with cc compiler using Solaris 10. I did not use special compilation options and compiled without error. Then, I run the application and found the first buffer overflow, then …

Member Avatar for N1GHTS
0
205
Member Avatar for reemhatim

Write a program that reads a string from the user and generates a histogram for the characters encountered in this string. A histogram is a representation of how many times each character appears in the input string. Use function Histogram that takes the string as input and displays its histogram. …

Member Avatar for reemhatim
0
84
Member Avatar for ryan.devine

I am new to visual basic. I have an internship at a real estate company and my project for the next couple months is to create a database for real estate. The overall project consists of a application that each agent will log into and will be able to search …

Member Avatar for TsadokBlok
0
125
Member Avatar for gaurav_13191

Hi, I have the code to add elements at the end of the linked list using recursion. [CODE] //Adds an element at end using recursion #include<stdio.h> #include<conio.h> #include<stdlib.h> struct node { int data; struct node *link; }; void addatend(struct node **,int); void display(struct node *); int main() { struct node …

Member Avatar for N1GHTS
0
559
Member Avatar for noniterum03

I am having trouble with tkinter and python on my Mac, I'm running Leopard.I did a port install of python2.6, numpy, scipy, matplotlib, but when I try and import matplotlib.pyplot, I get the following error. I think there is a conflict with the pre-built version of python that comes with …

Member Avatar for woooee
0
160
Member Avatar for bryt

Someone created a point of sale for a supermarket. Now i need to track all deletions made. We use f10 key to delete an entry. Can someone please help me with an idea or solution? Thanks in advance, your help will be highly appreciated.

Member Avatar for DenisOxon
0
80
Member Avatar for JayGeePee

Alright here we go... I just purchased a Javascript/css based login form that works very similar to twitters login form. Here lies the problem. The way my website works is this...Theres a login link you click on that takes you to the login page. Because my site is set up …

Member Avatar for P0lT10n
0
150
Member Avatar for Rikard

Hallo! I've been having some trouble getting a save/load function to work properly. I'm trying to save object and their properties to a file in binary using fstream. And then being able to load the object from the binary file the next time im running my project. Quick breakdown: I …

Member Avatar for Rikard
0
214
Member Avatar for arctushar

Hello I m not so expert in web design. I need ur help. I have two table. One has a [B]primary key[/B] and other [B]foreign key[/B]. I want that foreign key must be from primary key. other than primary key it will not except any value. I made relationship from …

Member Avatar for hielo
0
90
Member Avatar for packetpirate

I'm trying to draw a string at the center of an applet. The problem is that it's STARTING to draw at the center of the applet and going off to the right. I need for the center of the string to be centered. Here's my code so far: [CODE] /** …

Member Avatar for NormR1
0
1K
Member Avatar for rcplguy15

hello, I wanted to ask you all a question. suppose that my c++ program has read from a text file a set of characters like the one below using the command inData >> temp. i output the characters of the text file and stored all the characters in a string …

Member Avatar for rcplguy15
0
332
Member Avatar for virusisfound

Hi, I am working on tree View in taht i want to do two thinks i.e 1. add new node at run time 2. what data is stored in a database is shown in the tree view as parent node and its child for second i have do some coding …

Member Avatar for devaclement
0
147
Member Avatar for danholding

i am getting a ValueError message when running my code i am currently converting from 2 to 3 and have come across a brick wall any help would be great :) [code=python] # sorts files by modifed date, collects the 6 most recent files, and delete all others. #created by …

Member Avatar for woooee
0
419
Member Avatar for anraevlus18

Hi, In my perl script p1 i am calling another script p2 which logs into a remote machine and executes a script p3. The $file defined in p3 does not exist. So copy operation in p3 will error out with error code 256 and p3 stops execution with exit staus …

Member Avatar for mitchems
0
243
Member Avatar for sniper6560

this code is for bessel function Y n (x) 2nd kind I'm in the level 4 at computer engineering my prof. gave me that assignment , I want help to improve it to get an accurate results thanks!

Member Avatar for sniper6560
0
2K
Member Avatar for jnip

I am so lost with this Bubble Sort array. I am trying to alphabetize these baseball players. Having a lot of trouble getting everything right. [code] Public Class frmBubbleSort ' Declare array with Class (form) scope Dim players As String() = {"Crawford", "Upton", "Longoria", "Bartlett", "Pena", "Navarro", "Garza", "Shields", "Price", …

Member Avatar for agitorotot
0
117
Member Avatar for Dazamondo

Hi Guys, Probably a simple one but im struggling to find it in VS 2008. How do you enable a VB program to allow a user to press enter rather than click on the button? I have a text box which the user types a number and then clicks a …

Member Avatar for codeorder
0
1K
Member Avatar for BroncoTrojan

I cannot figure out the declarations to write to an excel file that is already open. I open the excel file and make it visible with this: Private Sub Button1_Click Dim objExcel As New Excel.Application Dim objWB As Excel.Workbook objWB = objExcel.Workbooks.Open("F:\My Software\files\test.xls") objExcel.Visible=true End Sub What are the declarations …

Member Avatar for BroncoTrojan
0
269

The End.