199,114 Archived Topics
Remove Filter ![]() | |
can anybody tell me what is wrong with my sql statement because it runs well if their is only one or but when I put another or it gives nothing to display [CODE]"SELECT * FROM tbldoctor_info i, tblmonday m, tbltuesday t, tblwednesday w, tblthursday h, tblfriday f, tblsaturday a, tblsunday … | |
I have a credit card verification that is giving me a little bit of trouble. I can get the program to verify everything but Amex. I'm only needing to verify Discover, Visa, MC, and Amex. It simply tells me Amex cards are invalid. I've used a few different websites to … | |
Do anyone could tell me how to display the date from the sql to a jtable? ![]() | |
hi guys, first time posting here. so i have this menu for a game i am making and the image that i have for the menu background has text and things already loaded onto it. what would be the best way to have the text clickable? would it be to … | |
Hey there, the following is what I get when I perform a typical query on my database: +--------+----+---+---+----------+ | length | id | l | p | username | +--------+----+---+---+----------+ | 50 | 12 | 1 | 1 | bibiki | | 50 | 12 | 1 | 2 | … | |
hello, I work with XNA 4.0 and in my project I keep getting the OutOfMemoryException while the game runs perfect on my college computer which is much much worse than my own. I have 6gb of ram and a GTX 460 video card. I've tested the code on several other … | |
I'm getting an error Notice: Undefined variable: temp. Event though my variable temp is declared; [CODE] if(isset($_POST['saveHomePageDescription'])) $temp = 'hello'; writef("./homePageDescription.txt",$temp); [/CODE] ![]() | |
I am finding an extraneous  in a very simple cfm page. It does have a cfinclude of straight text named as a .cfm template. This character shows up with or without the cfinclude -- I add the cfinclude content into the main page and the character is still there. … | |
i have a system that outputs a film review, when it is outputted i want the keywords that appear in it from 2 tables - negative and positive to be in a different colour any idea to do this ? The code is below [CODE] <?php // Connect to database … | |
Hi all I have to write code that ask the user to input a current (that will be split into two currents) and then the output from the code should display the two resulting currents given two input resistors. That part I can do but my problem is I have … | |
K so atm, I'm having problems understanding ENDIF and IFDEF preprocessor stuff.. I want to Use a specific method if a file is included.. If not, use a different method.. Since toupper is defined in CCType I tried to check if that file was included.. if it was, use toupper … | |
I have a question, I have a working application. I am using a splitcontainer with multiple different Panels inside of it. When a user clicks a button the following code is executed: [CODE] this->panelnameA->Visible = true; this->panelnameB->Visible = false; this->panelnameC->Visible = false; [/CODE] Now my question is lets say an … | |
I am developing a website for personal use and I want that when someone fill up the contact form on my website and press send button , all the data from the form should go to my specified email address and as well as on my phone as a text … | |
I wrote this code for a homework problem. The question asks for the inputs to be an array representing a polynomial along with the degree of the polynomial and the value of x. Then it has to return the derivative of the polynomial. Until I ask the program to output … | |
Hi, I am trying to install Magento in Win XP but not been installed. I tried so many times but that was erroneous. If any one can suggest the steps... thanks in advance. Subrata | |
this program works but i need to put in a loop that the user 10 times to input a value and you load it ino an array #include<iostream.h> #include<conio.h> //Author: //Object: //Date: void ctof(void); //function declarations (prototypes) void ftoc(void); float c,f; // (outside the functions) main() { int option; //--------------output … | |
how to print the sum of odd and even numbers taking upper and lower limit from user | |
How would i connect different tables with each other in vbnet2008 which ive connected by the database wizard ? im suffering from this problem for 4 days and i havent fixed it ..and o search over the net but they give me the solution by hard coded that are related … | |
Hi all, I am at a lost and do not know where to start from. Here is what I have to do "Given the data below, you are to design an IA-32 assembly language program to sort array X by the number of binary 0's in each member and save … | |
Hi guys what I want to do is set a new setSize which I can do but it just appears. Therefore what I want is for the setSize to move over time instead of just flicker and appear. Any help would be appriciated: [CODE] if (e.getSource() == set) { setSize(1000,1000); … | |
I just attempted to insert a .jpg image into an access 2010 database but now I want to retrieve it and now I have an error that says "parameter is not valid" [CODE] Con.Open() Using com As New OleDbCommand("Select Picture from MyImages where ID =1", Con) Dim imageobj = com.ExecuteScalar … | |
I have the following code that I am hoping to get working. The code will check for available DYMO printers and print the label. You are to create a template label and I saved mine as template.label. In that template label I have a text field referenced as TEXT1. The … | |
How would i explain this problem. hmmm... I have a program for the database of the patient's record and I have a different tables which are categorize, like table for personal information , table for gynecological history and so on, each table has the column "[COLOR="Red"]NAME[/COLOR]" which is for the … | |
hey i want to put two values into one dict and am not sure how to achieve this. i want it to look like this. what am trying to do is a dictionary that holds the date as the key, and a dictionary as its value. That dictionary will contain … | |
Hi guys just wondering if anyone could give me some tips on starting a moveable char function for my maze game. I wish to create a function that allows me to move the player through the maze shown below. I have a few ideas on how to do this however … | |
Hi guys! I really need help for my school task in c# TASK: [B]Write a method find (), which locates in the field given element and returns the index of the first occurrence of this element.[/B] [CODE]/ / <a> representing a box and the <el> element we are looking for … | |
hello buddy, I have a problem about listview update data the first I input data from textbox to listview, after listview have many data/row, I want to update data only one click button use query WHERE ID the problem : I just can save first row only, not all or … | |
Guys I need help on how to extract data from this web page [url]http://hidemyass.com/proxy-list/[/url] Its mainly the Ip address and port but i have no idea in where to start. I know to start out with this Dim elements As HtmlElementCollection = Me.botBrowser.Document.All but i dont know how i would … | |
I am using two ResultSet in a single statement..this code is a part of servlet.. [CODE] String temp=request.getParameter("cid"); int cid= Integer.parseInt(temp); Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); Connection con = DriverManager.getConnection("jdbc:odbc:Mydatasource"); PreparedStatement ps = con.prepareStatement("select * from Products where cid=?"); ps.setInt(1, cid); ResultSet rs = ps.executeQuery(); while(rs.next()) { out.println("<a href = 's_BikeServlet?pid="+ rs.getInt(1) + "'>" … | |
Hi, I have created a database, where it is possible to create posts and see them on a different page. On the page where it's possible to see all the records I want to create a delete link so it is possible to delete the record where you have pressed … | |
Hey there! I'm trying to figure out how to get a random letter generator for a program I'm working on in my computer science class (it's in C++). I need to generate 5 random capital letters between A and P (A, B, C, D, E, F, G, H, I, J, … | |
Below is an address book program I am working on. The way it stands now, when the data is entered and writes to a text file it writes the line of data like, John Doe 1234 Help Me Avenue Dallas Texas 98956 Johnathan Doe 2345 Derby Lane Omaha Nebraska 45678 … | |
Ok, so I am making a game and the music changes when you are in different regions or if there is an interruption, like with an AI. So I have JUST learned how to make music showup in my program, and now I am trying to make it stop, but … | |
Hi, I am having problems with deleting part of a record. The record has approximately 15 different fields, and I only wish to delete 3 of them using the following piece of SQL coding: DELETE [PMID 1], [PMName 1], [Price 1] FROM Subscriptions WHERE [Customer ID]="001" The code works absolutely … | |
I've been working on this code all night and i can't seen to find out how to do the math i think it needs a loop of some kind on line 17 and 18 also it wont print out the avg mpg please help def main(): 1 print("This program calculates … | |
My simple Serial Port code doesnt work. Not sure if its my code, or my USB adapter. Can someone try it / tell me what ive done wrong? [code] #include <stdio.h> /* Standard input/output definitions */ #include <unistd.h> /* UNIX standard function definitions */ #include <fcntl.h> /* File control definitions … | |
the project is about a debate, and there are 4 candicates in the debate, and we need to group them into 4 different dict and count the word frequence they said. the debate is line by line, and we should group the sentences by name tage, like PAUL: and then … | |
i want applet connect to another machine but the socket cannot connect to the server i searched the web and there is something about giving permissions to the applet but i donnot know how to do so | |
to anyone I am currently writing this C# program for a C# class I am taking and I have the correct formula which is Future Value=PresentValue*(1=Rate)Year the issue I am having is there is an error message for the futureValue= presentValue, the presentValue has the message Use of unassigned local … | |
I have a VB.net application that has three project in it. Two of the project are DLL with references in the primary project. I have a public Model "RegSaveGet" in the primary project listed below. When I look for the namespace for the module from one of the DLL projects … | |
Hello everyone, Ok my problem is that I do not get how to convert an array of characters to a string arrays. Like I do not get how to assign a null character at the end of a set of characters... how do I incorporate punctuation, spaces etc in this … | |
Hey guys, I need help finding out what is wrong with my code, I have no errors, but it is not doing what I want it to. I need my code to print a bar code when a user inputs a zip code. My program does not get to the … | |
Hey everyone, I am trying to create a random number generator with MIPS assembly. I have most of the code written, I just need to change my set number for a guessing game to a random number. I also want to ask the user if they'd like to play again. … | |
I'm trying to read a boolean value from a table. For some reason, when the statement executes it kicks me out of the method and back out to .show() method. The data read takes place in a procedure that is called by the Form_Load procedure. Any idea why it's kicking … | |
Hey all! I was thinking about how to make a program, in which you write some c++ code and program tests that code with given examples. For example you input following code in that program: [CODE]#include <iostream> using namespace std; int main() { int a, b; cin >> a >> … | |
Here is the code of my binary tree can any one plzzz write the delet function for it..... i tried my best but..... [CODE]#include<iostream> #include<stdio.h> #include<conio.h> #include<Windows.h> #include<stdlib.h> using namespace std; struct st { int marks; st *left; st *right; }; struct st * create() { struct st *p=new st; … | |
Hi guys>.< I'm trying to make a program that suppose to output like this: [QUOTE]Enter a String: [COLOR="red"]1231asd[/COLOR] No. of Digit: [COLOR="red"]4[/COLOR] End the Program? [COLOR="red"]y[/COLOR] [/QUOTE] *the [COLOR="red"]red[/COLOR] part is the input from the user. but the problem is, the no. of digits only display 0 and not the … | |
Hi, I am getting an System.OutofmemoryException when using Filestream to load zip file. the file is 521MB. My code is: //Insert using Filestream, file into SQL Server Table private void btnInsert_Click(object sender, EventArgs e) { OpenFileDialog openFileDlg = new OpenFileDialog(); openFileDlg.InitialDirectory = Directory.GetCurrentDirectory(); if (openFileDlg.ShowDialog() == DialogResult.OK) { FileInfo fi … | |
I have written a very simple bash script that runs on Solaris10. It runs a command and then sends me the output via mailx. I can run it at the command line (sudoed as root) and it runs perfectly fine. I then set it up to run from root's cron. … | |
hi i'm working with a database application and i want to check if there is a null value in a specific column but it works only when its not null but if its null it throws an exception automatically i tried to change the nullvalue property of this column but … |
The End.