199,114 Archived Topics
Remove Filter ![]() | |
In this assignment you will implement the following recursive function in a ZFunction class. You must implement a main that will gather the parameters for the recursive function and display the result. Use JOptionPlane for the input and output. Given the function Z(x,y) where x and y are (small positive) … | |
helo what is the right coding to link my databse(sysbase) to vb.net?and how to insert the txt box value into database table value?the problem is when i put the [CODE]Insert into ad_Report values("' + txtName + "',"'')[/CODE] as example into the coding,it wont appear in database and error will display … | |
I am trying to solve a problem from a lab challenge. I can not get the program to compile correctly. Please look over and let me know where I need to be looking to solve this Use a two-dimensional array to solve the following problem. A company has four salespeople … | |
OK, this should be easy (in theory) but I'm having issues with the java applet showing up in the HTML. The applet works when I run it within the IDE, but when I try to run the applet, a message in the bottom left of the applet window says that … | |
Hi! I have this function (well, it's pretty good explained in the code-tag, but okay.) which is supposed to see if a string is found first in a line in a text file. Anyway, this code gives the message (while running in debug mode in MSVC++): "Debug assertion failed. Expression: … | |
I opened the command promt inside VC++ and this solved it. I have encountered a problem. When I compiled a program it came up an Error Message and the VC++ 2008 Express Edition was closing. When open VC++ again and press on my project that I work with. This message … | |
It has been a long time since I have used C++ (I am only 20, so maybe not that long) I have been using several languages in the last couple years(Java, ActionScript2 and 3, PHP), polluting my mind with many different idioms, and now need to hop back to C++. … | |
Hello, I am messing around with javascript. I am trying to create a function to which i can pass a constructor and recieve back an object. Kinda (read exactly) like the new keyword. call it a learning exercise. I have a working model but i don't like it. here it … | |
So I know how to delete a descriptor from an array, but I can't seem to edit the code to add a new line to the data. The line consists of a name, one space, and then a 3 digit number. I was wondering if anyone could help me edit … | |
i want to know simple coding how to check duplicate record. | |
I am trying to do a program that produces random limericks and this is what I have so far... I am posting this again, because I don't think the first one went through. Sorry if it did... #include <stdio.h> #include <time.h> #include <stdlib.h> #include <string.h> #include <ctype.h> int main(){ char … | |
Hi all, I have read an YCbCr image by using fopen, fread using C. I wanted to extend this to read multiple frames like in a Video. How should I proceed? I should take a while loop, but then what is the limit of the counter. After reading those images … | |
I am trying to firgure a way to store test scores to a arr or something so i can sotre 20 different scores and twenty different possible points values. but i cant seem to get it right i have almost everything done acept storeing the vales so i can recall … | |
ok i have this program dealing with date Class. im having trouble with the overloaded operator % which returns a date with smallest component month, day, and year for two given dates. your help is very appreciated. For Example: d1 is May 5 , 1942 d2 is August 1, 1970 … | |
Guys check this site.. [url]http://symbian.mobilethemes.com/downloads/info/24346.jsp[/url] If you are not logged in.. it gives a IE tool bar saying "You are not logged in."similar like the ActiveX warning of IE.. Any idea how this was done.. | |
I need to write a program, that if anyone ever played memory when they were younger does exactly that, that asks a user for 8 numbers. the numbers the user inputs need to be scattered across a 4x4 array. for example if a user enters 4 there need to be … | |
this is simulated data on daily vehicle traffic crossing a bridge for one week. From Monday through Sunday the daily vehicle counts were {986, 818, 638, 763, 992, 534, 683}. Create an input file named cars_data.dat containing these numbers. Write a program that will read these values from the input … | |
I'm having trouble running my compiled program on other computers. The script is a wxPython GUI app that creates a task bar icon. The script works perfectly on my computer both standard, in the pdb and compiled. But on two other computers it gave two different errors. The first one … | |
IS THERE A POSSIBILITY OF SELECTING TWO DATABASES/TABLES AT THE SAME TIME??? I MEAN IN ONE scripts(login.php). Simply i need when someone login in my web,Just after login All his info two display including his photo which is in Different database Or table. AnyOne two help Me? | |
I am having this compatibility probelm with IE vs. Firefox. The below code works perfectly fine in IE but not in Firefox. Essentially it is a pair of radio buttons and an Iframe below it. I want the Iframe content to change when the radio button option is selected. the … | |
The problem is that my program crasches when at line 13. Pot10 i an int and lgth is an int so whats the problem? I can't figure it out:( [CODE=c]typedef struct ArrInt{ int intM[100], lgth; } megaint; void scanMeg(megaint *x){ int Pot10 = 0, ret,IntArr[100]; char c; while( (c = … | |
Hi I have been programming for about 3 weeks now and am really starting to get somewhere with it, but I have encountered a problem with this text rpg that I am making, the problem is I have made 3 header files being 1.character(contains character class) 2. monster(another class file … | |
Hi, I have made a DataProject in VB6 with Access as back-end. Using Jet OLEDB 4 as provider. Programme is running well on my Computer. When I Installed the project on another Computer where VB6 is no installed on Hard disc, Error comes. When I try to show Report in … | |
for some reason I cannot add integers in an array of structures. here is the code. [CODE=c++]#include<iostream> #include<iomanip> using namespace std; const int SIZE = 5; struct playerInfo { char name[30]; //Players name int number; int points; }; int main() { int total = 0; // to hold total points … | |
Hi there, Is there any way, maybe using mod_layout, to force certain subdomains to have ads forced on their pages? I.e. for a free hosting company. Thanks, | |
after i put earch code in my project : Private Sub cmdSearch_Click() Dim search search = InputBox("please enter card no", , "") Data1.RecordSource = "SELECT * FROM waqf WHERE cardno LIKE (""" & "*" & search & "*" & """)" Data1.Refresh End Sub ------------- the search working but appear problem … | |
hi, I am trying to learn winforms, the dropdown is taking its value from database. i want to disable the textbox when the selection is first option, but if it is second i want to enable the textbox.. how would i do this ? thanks | |
Hi there, I'm very new to programming, and I have this assignment where I'm supposed to create a 2D game in python. The character in the game is Homer Simpson, and I'm trying to get him to move within the maze thats already been created for me. I believe I … | |
i want to learn VB.NET clearly. how should i follow to learn VB.NET | |
i'm using adodc. i want to empty all the text box when form load i already use to reset all that but it cannot work private sub form_load txtname.Text = " " txtIc.Text = " " cboroom.Text = "<choose room type>" cbocheckin.Text = "<choose>" cbocheckout.Text = "<choose>" cbomonth.Text = "<choose>" … | |
Hi all, I need a more elegant way to do the convertion between different cultures First I parse the field into the default culture (en-US) like this, [code]Dim Format As New System.Globalization.CultureInfo("en-US", True) Dim sFecha As Date = System.DateTime.Parse(me.TextBox1.Text.Trim, Format, Globalization.DateTimeStyles.None)[/code] What I need is a way to show in … | |
There is no pointers in Java, But how could java solve the problem of Dynamic Memory Allocation ???? [ As we know that pointers in C++ solve this problem ] Is there a solution WHAT is it ? and HOW to use it ? Please, explain with Examples... Thanks in … | |
Hello everybody , Im created an Application in java . In that application i have to store data in a web Mysql database.How can i connect ? | |
[code=html]<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> <%@ page import="com.py.db.*, java.sql.*" %> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <link rel="stylesheet" type="text/css" href="style.css"> <title>Registration</title> </head> <body> <% String id = request.getParameter("login_id"); String password=request.getParameter("password"); String email= request.getParameter("email"); DataSource ds = new DataSource(); ds.executeUpdate("insert into user … | |
Maybe a dumb question but is there a way to redirect/forward a form (and all it's parameters) to another host using jsp? Like this [url]http://www.xxx.com/form.jsp[/url] -> [url]http://www.xxx.com/redirect.jsp[/url] -> [url]http://www.yyy.com/response.jsp[/url] I've tried with sendRedirect which doesn't pass along the parameters and forward that for some reason doesn't seem to work with … | |
Hi, I wish to save value entered by user in textbox in a session variable.my form contains many elements and i need to navigate back and forth.so i want to save the value once entered by the user in a session variable so that i can retrieve it and display … | |
Hi All, I m working on a project that has different sub-projects. I would like to include a link to a file that is placed in another folder. For ex. My file whose path is ProjB/FolderB/FileB.asp --I want to write a line of code that will enable me to link … | |
i need to know what's the meaning in pattern defintion in c#? | |
import java.io.*; public class k { public static void main(String args[])throws IOException { k s1 = new k(); s1.menu(); } public void menu()throws IOException { int input = 0; System.out.println("Pick from 1 of the following Options"); System.out.println("1) Twelve"); System.out.println("5) Exit "); System.out.println("Enter Number: "); BufferedReader br; br = new BufferedReader( … | |
Hi, I've question regarding visiting and printing nodes for tree traversal. the main purpose of my program is to create tree for an arithmetic expression and then perform in-order and post-order traversal on the tree. The structure tree need to be hard-coded in the program using linked-list/pointer stored in one … | |
[url]http://www.samair.ru/scripts/[/url] with sockets ? | |
hello everybody I need your help please I have Q for u write C++ code to display all emrip numbers between 2 and 1000 and returns their count to the program | |
Hi, I have a webpage set up that allows users to upload a file to a server from the fileupload control, which is then saved to the database with the blob file and the file name. What I would like to do now is retrieve this file by selecting a … | |
I have know solved the syntax error in the FROM clause. I have been trying to solve No value given for one or more required parameters, but have not been able to solve it. Could anyone please give me a suggestion. Error happens on da.Fill(ds, "RoyalYachtingAssociation2") I have tried changing … | |
:confused: I am doing a project and i need to be able to add, record, search and delete customer bookings. I am using VB.Net 2003 and microsoft access 2003 and i need help on how to do this. Can anybody help me?? PLEASE?!?! Basically i need the information that is … | |
i am new to VB.NET and need to add a e-mail button to my last form. my project is not linked to a database so i' am unsure who to create an e-mail button in my project help would be really helpful | |
In my web application: I want to store a .Doc file(word file) in database and then retrieve it and display it in the same format in a web page. I am using ASP.NET 0.2 and SQL 2005. thnx. | |
[code] public void addRowsAntGrouping(){ Vector vectorAddRow = new Vector(); vectorAddRow.add(""); vectorAddRow.add(""); ((DefaultTableModel)jTableAntGrouping.getModel()).addRow(vectorAddRow); } [/code] Hi, I am in need of replacing the textfield of a table with combobox. the rows in the table are declared as vectors. there are two fields in the table. the first field is text and … | |
Hello, I've been Google'ing(?) like crazy for the last hour or so trying to find an answer to my problem, however the problem is simply that I'm not too sure [i]what[/i] to search for :S My basic problem is that I want to change the default way in which the … | |
Hi , I am working on a web Application..i have a Login Page..I have a problem with the password authentication..the password does not accept "space" in between the password characters but it does not validate the "space" given after the last character of the Password..it does not say invalid login … |
The End.