199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Noliving

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) …

Member Avatar for Noliving
0
167
Member Avatar for lemond

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 …

Member Avatar for lemond
0
150
Member Avatar for Moporho

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 …

Member Avatar for Moporho
0
4K
Member Avatar for CaffeineCoder

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 …

Member Avatar for CaffeineCoder
0
122
Member Avatar for Arne Kristoffer

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: …

Member Avatar for Ancient Dragon
0
865
Member Avatar for Jennifer84

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 …

Member Avatar for Colstel
0
625
Member Avatar for petzoldt01

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++. …

Member Avatar for Ancient Dragon
0
153
Member Avatar for AaronASterling

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 …

Member Avatar for AaronASterling
0
183
Member Avatar for aquariusdragon2

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 …

Member Avatar for Ancient Dragon
0
105
Member Avatar for zatie
Member Avatar for Ryano24

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 …

Member Avatar for jephthah
0
91
Member Avatar for rock_rocks

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 …

Member Avatar for jephthah
0
118
Member Avatar for cmoney12051

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 …

Member Avatar for cmoney12051
0
97
Member Avatar for h0neydip

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 …

Member Avatar for Ancient Dragon
0
372
Member Avatar for kaushik259106

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..

Member Avatar for phper
0
147
Member Avatar for angleyz14

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 …

Member Avatar for vmanes
0
80
Member Avatar for mikky05v

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 …

Member Avatar for hammerhead
0
150
Member Avatar for Islandstone

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 …

Member Avatar for Islandstone
0
328
Member Avatar for mrcniceguy

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?

Member Avatar for mrcniceguy
0
217
Member Avatar for kickinmhl

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 …

Member Avatar for ~s.o.s~
0
185
Member Avatar for samush

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 = …

Member Avatar for Salem
0
245
Member Avatar for Raptoricus

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 …

Member Avatar for Raptoricus
0
126
Member Avatar for drpaur

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 …

Member Avatar for wrichardson530
0
166
Member Avatar for Yellowdog428

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 …

Member Avatar for Ancient Dragon
0
87
Member Avatar for JNathanson

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,

Member Avatar for somedude3488
0
132
Member Avatar for nemag

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 …

Member Avatar for choudhuryshouvi
0
130
Member Avatar for sam1

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

Member Avatar for Jx_Man
0
119
Member Avatar for b04e3ian

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 …

Member Avatar for vegaseat
0
397
Member Avatar for Jaganathan
Member Avatar for Jx_Man
0
56
Member Avatar for hasmiza

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>" …

Member Avatar for choudhuryshouvi
0
103
Member Avatar for culebrin

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 …

Member Avatar for culebrin
0
100
Member Avatar for WalkmanXD

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 …

Member Avatar for jwenting
0
248
Member Avatar for duongkhangth2

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 ?

Member Avatar for jwenting
0
68
Member Avatar for Beryl

[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 …

Member Avatar for jwenting
0
98
Member Avatar for tte

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 …

Member Avatar for jwenting
0
143
Member Avatar for Ankita B

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 …

Member Avatar for jwenting
0
1K
Member Avatar for C#Novice

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 …

Member Avatar for C#Novice
0
120
Member Avatar for Genuis Man
Member Avatar for Katherine692008

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( …

Member Avatar for Ezzaral
0
133
Member Avatar for peachslasher

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 …

Member Avatar for Salem
0
152
Member Avatar for username99
Member Avatar for only me

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

Member Avatar for Salem
0
101
Member Avatar for Elmo_loves_you

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 …

Member Avatar for Elmo_loves_you
0
122
Member Avatar for baker4

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 …

Member Avatar for Nick Evan
0
114
Member Avatar for Lei24

: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 …

Member Avatar for Lei24
0
118
Member Avatar for jimmer12

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

Member Avatar for jimmer12
0
74
Member Avatar for brightline

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.

Member Avatar for Fungus1487
0
95
Member Avatar for ihtraa

[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 …

Member Avatar for masijade
0
92
Member Avatar for Heli

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 …

Member Avatar for Nick Evan
0
158
Member Avatar for vasudha k

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 …

Member Avatar for Fungus1487
0
85

The End.