199,113 Archived Topics
Remove Filter ![]() | |
![]() | Hey guys, (btw am new here XD) I've been doing a project, and now I have 3 forms. Problem is, I want to open the last form I created to be launched first when I run the program. I've been able to do it using the .visible = True/False statements, … ![]() |
hi! I need a list of final year projects in Java.I would like to know whether computer games can be developed using Java(JDK ) without using J2ME.Reply as soon as possible. | |
The circular list code is incomplete program with lots of feature missing, it's only one specific section that I require help with but I thought it would better to show the entirety of it to help you understand better. The section surrounded by -------------------------- is where I'm stuck, basically the … | |
Hello Friends, Good day to you all I have been using Access as a base for all my vb projects. I am told SQL is more secure and can handle a wide range of data. I have therefore decided to give it a try, but I don't have any Idea … | |
Should I use sqlite or gadfly as database support for python2.5? | |
So, I'm making a simple program that can edit text files. I have a text input that says "Please enter the name of the file, followed by a '.txt'. ". Although, whenever I enter a name, it will only show you the first character of what you entered. So, how … | |
Instructions Please read the following instructions (related project code) carefully: You'll be expected to observe good programming standards. • Project code must follow C++ syntax • Data used in each project must be retrieve and saved in Text Files • Your project may cover the concepts learnt in CS201 particularly … | |
Hi, i think i have a pretty random question here and something i thought i would be able to do but unfortunately im struggling. I have an example I have found on the msdn website. It works fine however i want to move all the code so that it just … | |
which library can i use to scan folders for file in UNIX help please!!:'( | |
hi, i written a code for sending html maIL.MAIL FUNCTION IS WORKING BUT THE MAIL I AM GETTING I HAVE DISPLAYED BELOW.please do tell me how to send html mail [ICODE] $headers = "From: [email]cggroup@car.com[/email]"; $toa = "lydia@gmail.com"; $subject1 = "An Agreement has been signed for your Job Order"; $body2="<html><head></head><body>"; … | |
I was working through an client side struts from the internet, everything worked fine, until the alert came up displaying "???en_GB.errors.required???" instead of the values from the MessageResource.properties file. Does anyone know what the problem could be? | |
Hi, I need to send email with authentication. I have downloaded class.smtp.php and class.phpmailer.php files. I have tried to send an email but, i thing i miss something. Therefore, i cant send it. Can anyone help me to do this? Thanks guys 1-What settings do i need to do in … | |
The following example, when executed, returns: [QUOTE]Traceback (most recent call last): File "/home/des/programming/python/OOP/test.py", line 13, in ? demonstration(6).number() TypeError: 'int' object is not callable[/QUOTE] The example: [CODE = python] class demonstration: def __init__(self,number): self.number = number def number(self): fiveup = self.number + 5 print fiveup demonstration(6).number() [/CODE] Now, I know … | |
hi it me again. right now i had a problem with this code. when i open with ie6, it worked but if i use ie7,safari and firefox, the result didn't show up.here i provide the code. the error is where i mark it with the red color. please someone help … | |
I'm trying to create a program where the user enters a digit(more than one digit) and am planning to print the ascii version afterwards. Here's my source code with comments on the INPUT area. The input is a LOOP where it keeps asking the user to enter a number until … | |
hi i need help i want away to create aprogramme using C# that when i connect my USB flash to my computer it automaticaly run another .exe c# exist on my USB flash, how can i write aprogramme do that? if any one have an idea please help me Many … | |
hey somebody help me with site rating source code which can calculate in percentage on each 'yes' or 'no' clicked | |
hi all; I have code that proform the dropdown list of the country. then after submmitted, it show the ouput, but the country i select from my drop down list, did not display. here is my whole code of drop down list. [CODE]<?php echo '<input name="country" type="hidden" id="country" size="30" maxlength="75">'; … | |
![]() | Can anyone help? I have been fumbling around with a SQL statement for days trying to make this work. I am looking for a Statement that will output a table based on an incremented number. Example Table1: Value1.......Value2.......Incremented Number 14...............null.............1 12..............15...............2 12...............98..............3 15...............14..............4 17...............15..............5 1.................14..............6 5.................98..............7 Example Table2: Value1.........Value2 X030............1 … |
I am trying to make my script install a config file with the right settings so the it can be used by anyone. Here is the file that will create the config file: [CODE=language] <?php $dbhost = $_POST["dbhost"]; $dbuser = $_POST["dbuser"]; $dbpass = $_POST["dbpass"]; $dbname = $_POST["dbname"]; $location = $_POST["location"]; … | |
I am a new student in programming and having problems in writing a game where the user will input a word, character or munber values for processing. I will be grateful for the assistance. Thank you. Edward :) | |
I'm having difficulty passing variables to threads. I've recently compiled 5.8.7 with threads enabled and I am using the new ithreads. When running code as follows: use Thread qw(async); async { while(1) { print 1; } }; while (1) { print 2; } The code works as expected and prints … | |
Hi. I dont know where to put this post since it covers so many areas. I have a few queries and i would appreciate it if you guys can help me out. I am to create a web based application which will need some access to a database. The web … | |
I start a new thread about this. I need just a piece of code that reads a bmp file. I [B]NEED[/B] this. Every program i made used custom graphic files, and a very unpractical graphic editor made by me . It would be more comfortable to use paint to make … | |
i use an older compiler, borland c++ 3.1 and it doesn't have the bool variable type so i made my own bool type [code] enum bool { false = 0, true }; [/code] but always when i try to make comparisons or other thing i get the warning ASSIGNING INT … | |
I am web designer. I have skills in html, css and editing some javascript. I want to start studying programming specially for web development. Unfortunately, i do not have a basic background on programming. Can you please help me what is the basic or easiest programming language should i start … | |
Ive been programming in java for about a year and im starting to learn c++ and i tryed public Unit Human = new Human(); that just came up with a bunch of errors in c++ so i read some tutorials and changed it to Unit* Human = new Unit(); now … | |
can any one suggest some difference regards threading and processing | |
I need to know can i make a for loop to place fopen function to open a set of files like i want file1.in file2.in file3.in .......filen.in so on depending on n value i give for num of files to be created ... as i want to place set of … | |
Hi, I have a routine which reads a file using type='file'. I would like to be able to update the file and save it in the same location it came from, which would be in the C:\ directory. However, I cannot see how to get hold of the path associated … | |
[QUOTE]#include<stdio.h> #include<stdlib.h> #define MAX 30 int menu(){ int choice; printf("1. Add a new reservation\n"); printf("2. Show details of a reservation (given reservation number)\n"); printf("3. Make Payment (given the reservation number and payment amount)\n"); printf("4. Confirm a Reservation (given the reservation number)\n"); printf("5. Quit\n"); printf("Enter your choice: "); scanf("%d", &choice); return(choice); … | |
HI! My Problem is that an error occurs if I run this program: [CODE]Dim docsend As New MSXML2.DOMDocument30 Dim httpOB As New MSXML2.XMLHTTP30 Dim pfad As String docsend.async = False pfad = "C:\order2.xml" Call docsend.load(pfad) Call httpOB.open("POST", "http:// - Server Link -", False) Call httpOB.setRequestHeader("Content-Type", "application/x-www-form-urlencoded") 'Try Call httpOB.send(docsend) MsgBox(httpOB.responseXML.xml) … | |
hi everyone i m new to this site..... i have problem ....... i m trying to insert data which is in jsp page int bale but it is not happening my problem scenario is: i have one jsp page ,in which i m displaying data from one table say table1 … | |
how to load data to DOM select html after retrieve from database using javascript. any suggestion or sample?. | |
im a beginner in vb. i really want some help in using vb. actually i want link my vb interface to data in access using adodb. then how to list data (access) through vb interface according to some criteria that had been set by user. Example: using customer id: 102,103,104,105,106,107,108,109,120 … | |
when i click "button1" on my form..i get field name as ' Expr1002' and the data in it are -1.. i believe it is soemthing to do with the da.fill() .. can u please asssist me with thsi ? [QUOTE] Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) … | |
I have the code below but how do I submit the form to a table? [CODE=php]<?php ////////////////////////////////////////// //// MySQL Database Connection /////////// ////////////////////////////////////////// $host = "localhost"; $user = "theflick_divx"; $db_name= "theflick_divx"; $pass= "password"; $conn = mysql_connect($host, $user, $pass) or die(mysql_error()); mysql_select_db($db_name, $conn) or die(mysql_error()); //DivX Table echo "<form id=\"divx\" name=\"divxsubmit\" … | |
I tried to store session using.. String UserId=request.getParameter("username"); session.setAttribute("username", UserId); and when I try to access it in some other jsp/servlet using request.getAttribute("username") it is showing incompatible data types and showing value null.. but request.getParameter(); is working fine .. wht to do if I need to access this variable in … | |
[code=php]<?php //URL to file. $data1 = 'http://66.232.193.178/sampserver/scriptfiles/Onlinetext.txt'; $data2 = file($data1); foreach($data2 as $key => $value) { $data2[$key] = substr($data2[$key],stripos($data2[$key],"=")+1); $data2[$key] = str_replace(array("\r","\n"),"",$data2[$key]); } //Your base image. $gd = imagecreatefromjpeg("online.jpg"); //some colors.. $white = imagecolorallocate($gd, 255, 255, 255); $black = imagecolorallocate($gd, 1, 1, 1); $green = imagecolorallocate($gd, 0, 0, 255); $red … | |
I have a text file that I need to modify. It contains about 100 or so lines formated as follows: [CODE]123456789*DOE JOHN A *PY*SUPER HERO *179250*026450*000000*68*026450* *000000* *000000* *000000* *000000[/CODE] What I need to do is insert decimal points at specific places so it looks like this: [CODE]123456789*DOE JOHN A … | |
hello everyone, im a new portal developer and the portal developer that i replaced used ASP in all portals that he did. now, what i need to do is continue the unfinished portals that he did out of ASP. i am not familiar with ASP because i am using PHP. … | |
Hello, The piece of code below is basically where a member clicks on the link and then this should update that members exp_points field by the amount shown in the $points variable. So far I have managed to get it to work so that when a member clicks the link, … | |
My problem is that when i enter a second name into t it just ignores it or crashs the system, am running borland 5.5. When i enter Oli its fine but when i enter Oli Dl it crashs. [code=cpp] #include<iostream.h> #include<iomanip.h> void main() { char t[100] = {0}; char key … | |
hello, can anyone help me for the following C++ program. i want to write a program which reads a file of C language and Print Lines of Codes and print signature of all function (including main) in that file. please tell me either logic to develop this program or solution(code) … | |
It might sound stupid to most of you.....but it is the first time i want to write 2 columns of data in a txt file.....The first column will be an index of the second column. The second column has constant length but the index will have length from 1 to … | |
I've just taken a beginners project from Vegaseat and modified it to fit with a Tkinter tutorial. I'm just trying to get a Tk window that has a "Go!" button and by pressing it prints the sentence. I'm having lots of trouble. I've gained a lot from this though, so … | |
Hello all, I have overloading method problem with my miniproject. The code is below : [CODE] patients.UpdatePatientsDetail(patientsidTextBox.Text, patientsnameLabel1.Text); [/CODE] Error is : no overload for UpdatePatientsDetail takes '2' arguments Code for this method is : [CODE] public void UpdatePatientsDetail(string strPatientsID, string strPatientsName, string strPatientsAddress, string strPatientsTelephonenumber, string strPatientsDateofBirth, string strPatientsNric, … | |
I have an invoice type of system and am having troubles trying to update an item.. I have 3 tables that deal with the orders.. Here they are: [code] CREATE TABLE `dw_orders` ( `order_id` INTEGER unsigned NOT NULL auto_increment, `customer_id` INTEGER unsigned NOT NULL, `order_date` DATETIME NOT NULL DEFAULT '0000-00-00 … | |
I was wondering how this looks. I am trying to create a script that will produce a text file that has a list of the files in the present working directory. How do you go about testing this script? #!/bin/bash # # Matthew Smith# Comp230 ls >FILE.txt |
The End.