199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for mem81

Hello, I am trying to get the currently selected values from dropdown lists and textboxes from a web page and write them to an access database. I am using MS Web Developer 2005 Express. To do that I have created data Source , for the InsertQuery Property of the DataSource …

Member Avatar for mem81
0
140
Member Avatar for nedsnurb

Hi, I have written a number guessing game in java, where the user can select the number of guesses and the range of random numbers. It will display higher and lower and correct however it will not calculate when the number of guesses has been exceeded and the appropriate message. …

Member Avatar for javaAddict
0
107
Member Avatar for emiola

I keep on getting this message: Parse error: syntax error, unexpected T_ECHO in /home/lsschnln/public_html/Registration Form/quiz_regedit_2.php on line 32 after running the script [code=php]<html> <body><?php if (isset($_POST['submit'])) { $to = "quizentry@lagosschoolsonline.net" ; $subject = "Quiz Entry" ; $SchoolName = $_POST['SchoolName'] ; $SchoolAddress = $_POST['SchoolAddress'] ; $Locality = $_POST['Locality'] ; $MobileNumber = …

Member Avatar for nav33n
0
143
Member Avatar for vuyiswamb

Good Day All i have a table that carries a Field that has data like this [CODE] 10101010101010[/CODE] Now the Function that adds this 1's and 0's is working like this. If its selected insert "1" else "0", So if i can interpret the above if will be [CODE] 1 …

Member Avatar for sknake
0
99
Member Avatar for localp

[code=syntax] package testone; import java.io.*; public class fileread { private String[] a = new String[100]; String x; String sh; public void read(){ try { // Open the file that is the first // command line parameter FileInputStream fstream = new FileInputStream("test.txt"); // Get the object of DataInputStream DataInputStream in = …

Member Avatar for stephen84s
0
98
Member Avatar for lipun4u

I have been learning DrScheme (Textual MzScheme) as my Pre-ILP. Is there any equivalent operations in list like string-ref, substring, string-set!, string, etc ?? Thanx

Member Avatar for GDICommander
0
112
Member Avatar for ARYT

I’m actually going crazy. After spending a lot of time working on Decision making (if-else, switch and …), I really cannot figure out the basic difference between iteration and decision making. In some problems, the tutor asks us to use “While” loop and “break”, instead of “if-else” and it makes …

Member Avatar for r.stiltskin
0
288
Member Avatar for Sohvkhan

As of this moment I have been switching back and forth between various iterations of my first foray into Python programming software, in any case part of my assignment calls for finding the count of even and odd numbers in a set of values that the user inputs, here is …

Member Avatar for sneekula
0
1K
Member Avatar for smileyme74

hi guys: I just need help in how the srl instruction works in my program. I would like to know the interpretation. Like if I input de decimal number 8, which is 1000 in binary. I would like to know how it works. this is the code, it converts decimal …

Member Avatar for GDICommander
0
118
Member Avatar for eawade

I allow a member to create new styles for a program. They can save each style to a table called style_custom. A person can have more than one style in that table and the name of each can be found in the column called name. All I want to do …

Member Avatar for nav33n
0
106
Member Avatar for luckyads

Hi! Error - Conversion from string "DataItem.partOne" to type 'Double' is not valid. I have written the following databinding code in the datagrid and the am getting the above error - [Code=asp.net] <Columns> <asp:TemplateColumn HeaderText="Part B" ItemStyle-HorizontalAlign="Center"> <ItemTemplate> <asp:checkbox runat="server" ID="partTwo_Edit" checked= '<%# DataBinder.Eval(Container, "DataItem.partTwo") %>' Enabled = '<%# IIf(DataBinder.Eval(Container, …

Member Avatar for luckyads
0
102
Member Avatar for number87

So basically I am creating a client/server kind of program. The client/user enters a question eg "Who are you? " The server part receives this and checks it with a txt file and returns eg "I am a computer" or "Answer not found" So when i compile and run my …

Member Avatar for Comatose
0
356
Member Avatar for arshadalishaikh

I am using php 5.1 version and in dom module domxml is enabled. I am generating xml with php and i checked it generates correct xml. But when I use if( !$dom = domxml_open_mem() ) { // } then i got the following error: Fatal error Call to undefined function …

Member Avatar for pritaeas
0
177
Member Avatar for selvaganapathy

Hi, I am using VC++6, MFC Application I am having the member variable - CArray < Coordinates, Coordinates & > mCoordinates. Coordinates is a structure, contains x, y, and z. When i return reference to this object, there is no problem. but When i assign to some reference i get …

Member Avatar for selvaganapathy
0
147
Member Avatar for comanighttrain

Problem: I have an enumerated type which has description tags in the following style: [URL="http://xml.indelv.com/data-binding-enum.html"]description tag tutorial[/URL] . I have a Windows SQL Server Database from which I am pulling the data (as integers then castine to Enums) which is then being bound to a datagrid. Instead of pulling and …

Member Avatar for comanighttrain
0
152
Member Avatar for eapln
Member Avatar for eapln
0
95
Member Avatar for Shaun Mahy

I have created a Microsoft Tabbed Dialog Control (SSTAB) with 5 tabs using VB6 When I run my program and click on Tabs 0, 1, 3 & 4 the entire tab control is shown and correct, however, if I click on tab 2, the width of the control is automatically …

0
57
Member Avatar for StarZ

This is a assignment I have to do for school. The program is about attack and defend. This is how it suppose to look like when it outputs: [url]http://i43.tinypic.com/bew6q.jpg[/url] Mine is basically done accept the part where it says "Your Health is:" the health is suppose to be "health = …

Member Avatar for jlm699
0
126
Member Avatar for JP Romano

Hello all... working on a queuing project for about 10 users, which is pretty simple in theory. I have the tables and forms done (or close) but am not sure exactly how I'm going to get the data from an FTP server into my table. The table was set up …

Member Avatar for JP Romano
0
112
Member Avatar for firoz.raj

Can anyone tell me why this codes are not working. here is the code What i have written.Simple i want to modify listview data using modify button.Kindly find the attachment also. [code] Private Sub Command2_Click() Dim con As ADODB.Connection Set con = New ADODB.Connection con.Open ("Provider=Mirosoft.Jet.OLEDB.4.0;Persist Security Info=False; Datasource=\\asfserver\itp$\product_tabletest.mdb") Set …

Member Avatar for firoz.raj
0
103
Member Avatar for millsy007

Hi, I would appreciate some help, I cannot get my query to work: [code=sql]UPDATE journey j SET j.occupancy=j.occupancy-1 Inner Join passengers p On p.journey_id = j.id Inner Join shuttle s On s.id = j.shuttle_id WHERE s.id = '1' AND p.passenger_name = 'bill gates'[/code] It is used when a cancelation is …

Member Avatar for millsy007
0
79
Member Avatar for devilz

In my AccessDB the column monthDate having data type: “date”. In VB6.0 label.caption is the value which I need to save in monthDate. Like: Label1.caption= 2/24/09. Problem is how will I convert the label.caption as date value so that i can save it in monthDate column. I don’t want to …

Member Avatar for debasisdas
0
98
Member Avatar for ahmksssv

Hi frnds.... i have a colmn in database like [B]CONTENT[/B] ..it contains 20 lines of of data....but i need to select only 5 lines of data to a single variable...... plz tell me how can i do?

Member Avatar for nav33n
0
119
Member Avatar for pancgom29p

Hi, I rather my dev team has a PDF file that needs to be compressed before it goes to download by users. Is there a way the compression can happen programatically without human intervention. step a) PDF file upload b) A script compress the file to a preset or acceptable …

Member Avatar for peter_budo
0
109
Member Avatar for devonte15

import javax.swing.*; import BreezySwing.*; public class PaymentDDJ extends GBFrame { //Declare variables for the window objects.// private JLabel purchasedprice; private JLabel name1; private JLabel downpayment; private JLabel interestrate; private JTextField nameField; private JTextField purchasedpriceField; private JTextField downpaymentField; private JTextField interestrateField; private JButton enter; private JTextArea balance; //Define the other instance …

Member Avatar for verruckt24
0
209
Member Avatar for sacarias40

i am new to RSS and for that i have no idea where to start to get it on my webpages. i know i need a reader? and i need a feed, how can i get these? regards.

Member Avatar for bryansmith123
0
122
Member Avatar for Seedy

Hi folks I'm looking for a way to take an RSS feed, filter it according to some predefined rules and then email the results. Ideally this would work on a linux based webserver. I'm not a developer - so it would be great if there were some tools out there …

Member Avatar for bryansmith123
0
108
Member Avatar for k2k

hi, i am trying to read the file and parse the info to the text field of the awt gui form thing. i got the info out successfully by testing with the "system.out.pritnln(variable )" .. however, using the variable values wouldn't successfully set to the TextFeild for output. //the first …

Member Avatar for masijade
0
341
Member Avatar for hinasaeedali

Respected, There is problem in making the shopping cart.But only by using the jsp not other languages. And database is designed by using M.S.Access

Member Avatar for nishantdaniweb
0
118
Member Avatar for ranjinibiliya

I have developed a login window using asp, in .aspx format. This i need to link to an another program where it is windows application in the sense, homepage.vb form. I need a code to link login.aspx with the home page.vb form please help me as early as possible. Thanks …

Member Avatar for ranjinibiliya
0
107
Member Avatar for Teapot

Hi, Does a newly published application always need to connect to the internet to finalize installation? Is there any way around this? Thanks loads in advance

Member Avatar for Ramy Mahrous
0
89
Member Avatar for amarjeetsingh

connection polling in struts based application i have a application,in which, required maximum 50 users when the database connection is happened then i have the requirement of connection pooling in which i create maximum 50 obects for the database connection how can i do it

Member Avatar for verruckt24
0
68
Member Avatar for death

first of all, i wannee say that im new to this forum :D i have a great idea for a language, so i was wondering how can i make an actual programming language??

Member Avatar for C.G.P.
0
237
Member Avatar for crewxp

I had 2 assignment that were due tonight and I completed both of them in Visual Studio, but we're required to make sure they compile in linux before submitting them. I'm getting undefined reference errors when trying to compile Assignment3. Assignment2 consisted of marble.h and marble.cpp, runs fine. Assignment3 #included …

Member Avatar for crewxp
0
140
Member Avatar for PinoyDev

good day to everyone! I just want to know regarding on how to connect to quickbooks using vb6.Ive worked on a company that uses quickbooks but i want to integrate vb to quickbooks. Please help Does anybody know.> God bless on this mother earth.

Member Avatar for PinoyDev
0
121
Member Avatar for netviper

Guys, I need some help. I installed a mod on oscmax for updated product attributes. It works fine, BUT now the products in my site won't pull up. Everything looks fine on the site until you actually click on a product, then you get. Warning:mysql_fetch_array(): supplied argument is not a …

Member Avatar for cwarn23
0
167
Member Avatar for ahmksssv

Hi frnds.... i am inserting bulk data into database...here i phase small problem...when the data having (') single quotes it shows error...because php takes ' as many ways..... i think htmlentites() tag is there in php...i dont know how it uses perfectlyy... plz resolve this problem asap..

Member Avatar for ahmksssv
0
82
Member Avatar for devonte15

This is the question? The German mathematician Gottfried Leibniz developed the folling method to approximate the value of pi: pi/4 = 1 - 1/3 + 1/5 - 1/7 + ...... Write a program that allows the user to specify the number of iterations used in this approximation and displays the …

Member Avatar for VernonDozier
0
1K
Member Avatar for HB25

Hi Could anyone help me with this problem, I am trying to use php to insert user record into table (tblusers) using mysql command but I do get this error (Parse error: parse error, unexpected ';' in register.php on line 30 ) I don’t know what is wrong with it …

Member Avatar for Lizapotter
0
75
Member Avatar for olgratefuldead

Hello. I have written the code below but when I compile my program, I get Taxable Income Amount Filing Status Tax Amount ------------------------------------------------------------------------------- $50,000.00 null $0.00 I initialized my String output as null but I do not know how to initialize it otherwise. And I need my output to be …

Member Avatar for olgratefuldead
0
218
Member Avatar for schnautzr

Hi...I came here because I had problems posting at the C# Corner. Hopefully this forum will actually post my question instead of deleting it once I hit post.... I'm working on homework. Yes, I have given it quite some effort, from experimenting to researching. I've even looked everywhere for a …

Member Avatar for schnautzr
0
259
Member Avatar for sonia sardana

[code] public partial class FrmNewUser : System.Web.UI.Page { SqlConnection conn = new SqlConnection("Data Source=SONIA-B408A4159\\SQLEXPRESS;Initial catalog=sonia;Integrated Security=true"); string query; SqlCommand cmd; public string name="Code"; protected void Page_Load(object sender, EventArgs e) { btnRegister.Attributes.Add("onclick", "javascript:return LenofPassword()"); } protected void btnRegister_Click(object sender, EventArgs e) { try { query = "Insert into Newuser values(@UserName,@Password,@FullName)"; cmd …

Member Avatar for sknake
0
527
Member Avatar for MJV

Im getting an "unknown selection" error on this code. Can anyone help me. I don't know what is wrong. My two text boxes both have English selected. blankl and blanlkw have both been initialized as decimals. if (bunitsCB.Text == "English") { switch (dieunitsCB.Text) { case "English": dielTB.Text = Convert.ToString(blankl + …

Member Avatar for sknake
0
290
Member Avatar for laxminarayanaou

There is a text box in html page in that we type any id (i.e string) then automatically it show a drop down list bellow the text box. And that list having ids those r retrieving from Mysql database table. (Totally it is like igoogle search box and button) please …

Member Avatar for laxminarayanaou
0
86
Member Avatar for comp_sci11

hi there!! i'm having problem with my winforms. because when i run it at a different computer's resolution it doesn't look like the one i made. like for example, i build it using a 1280X1024 hence it runs fine at using this resolution but when i run it on a …

Member Avatar for sknake
0
425
Member Avatar for MJV

When i write case statements my last line is always: default: throw new Exception("Unknown selection"); how can I change this so a message comes up for the user to do something with the data he or she inputted so the default will not occur.

Member Avatar for sknake
0
328
Member Avatar for changeco

OK, basically I want to check the DB against the elearningid... if the elearningid startdate and enddate are valid, continue, else redirect to expired.php... EXAMPLE: [code] <?php function TimeBomb() { rs = sql.Execute(" SELECT * FROM elearning WHERE elearningid=@elearningid AND GetDate() BETWEEN startdate AND enddate "); if (rs.RowCount > 0) …

Member Avatar for mschroeder
0
95
Member Avatar for sardarji

Hi, I am having trouble installing python 2.5/2.6 correctly on my linux box. I am trying to install in my home directory as I do not have root access. The poor python documentation in this regard makes it impossible to get this right. I want to install python in $HOME/local/lib …

Member Avatar for woooee
0
184
Member Avatar for chriscross86

hi, there... im doing a page that shows report of a delivery boy in a courier company. But, I can't get any results and i don't know where i've gone wrong...please help [code=asp.net]<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="_Default" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head …

Member Avatar for chriscross86
0
218
Member Avatar for gangsta gama

Hello again I have a problem. I was following tutorials and I came up with some code to register for the game witch I have no problem doing, but it is sending email conformation. Here is my code. The problem is I dont get the email and when I submit …

Member Avatar for FlashCreations
0
251

The End.