199,114 Archived Topics
Remove Filter ![]() | |
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 … | |
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 … | |
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] … | |
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 … | |
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 … | |
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" … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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="<? … ![]() | |
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; … | |
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 … | |
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 … | |
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 … | |
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 … | |
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); } … | |
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; … | |
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 | |
[url]http://portals.apache.org/jetspeed-2/[/url] how can help built my towns web-index? | |
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 … | |
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 … | |
[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 … | |
how to calculate columnwise total in excel sheet in java using HSSFworkbook | |
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 … | |
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 … | |
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 … | |
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 … | |
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? | |
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 … | |
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. … | |
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 … | |
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 … | |
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 … | |
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. | |
![]() | 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 … ![]() |
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 … | |
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 … | |
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] /** … | |
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 … | |
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 … | |
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 … | |
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 … | |
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! | |
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", … | |
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 … | |
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 … |
The End.