199,114 Archived Topics
Remove Filter ![]() | |
How to run a Asp.net page with database(Sql Server2000) on a browser? for eg: When I run a Asp.Net page involving login on Visual Studio 2005, the user is logged into his account but when I run the same page through a browser, user is unable to login. The error … | |
Hey :) I wonder how i can make my program make a shortcut to itslelf, and put it in a specific directory? | |
What am I needing to do in order to make this work ? Please advise ? I am getting the $song_title from another part of my PHP I am just setting it as something in this example in order to post what I thought should work ? any help would … | |
Hi, in order to organise the functions based on its usage, i want to add a new code file to the project. I tried to add a new code file and gave a name to it and then wrote a function in it . This function is called from another … | |
hi all, Im desperatly looking for a .db format rhyming dictionary and have managed to get hold of three database files which I think will be VERY useful to me but I cannot open them. Can anybody help me to get them open? I have attached the files in a … | |
I have a folder with my game on Desktop. I've installed py2exe, 'cause it seemed to be a very good game and I wanted to share it. Now, I did everything right (i followed youtube tutorial), but when I start command prompt and typed 'a.py py2exe' it returned a message … | |
Hi. First of all, I am new to asp.net development. What i have is, a C# aspx page with, lets say an ordinary button. What i need is, any kind of video player that can, upon click on the button, play/stop a windows media server stream from a url. Where … | |
I want to use MySQLDB to connect MySQL but I got a problem. the problem is: --------------------------------------------------------------------------------- cs6201:/home/lamwaiman/python/data # python dm.py Traceback (most recent call last): File "dm.py", line 11, in <module> import MySQLdb File "build/bdist.linux-i686/egg/MySQLdb/__init__.py", line 19, in <module> File "build/bdist.linux-i686/egg/_mysql.py", line 7, in <module> File "build/bdist.linux-i686/egg/_mysql.py", line 6, … | |
Hi, I am trying to make some "a la captcha" it must be simple, but not for me. my code is: [CODE] using System; using System.Configuration; using System.Data; using System.Linq; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.HtmlControls; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Xml.Linq; public partial class _Default : System.Web.UI.Page … | |
What i want is when i click upload button upload the file with progress bar [CODE] <form action="image_upload.php" method="post" enctype="multipart/form-data"> <input type="file" name="filei" id="filei" /> <input type="submit" name="button2" id="button2" value="Upload" /> </form> [/CODE] this is my php file [CODE] <?php $name=$_FILES["filei"]["name"]; $size=$_FILES["filei"]["size"]; $type1=$_FILES["filei"]["type"]; $dirpath = "upload/"; //upload image if ((($_FILES["filei"]["type"] … | |
As the Title states I'm trying to Display a Form that has a Listbox Docked to "Fill", theres no problem displaying the form but I want to Display the Items in the ListBox as each line is added to it (in this case the lines are added programatically through the … | |
in jsp,i created login.jsp. in login.jsp,i created username,password and submit button. my login.jsp goes through database. i am okie BUT i want validation in login.jsp which goes through database. | |
[CODE]import java.io.*; import java.util.*; class Telefon { public static void main(String[] args) throws Exception { /* IO */ BufferedReader sisend = new BufferedReader(new FileReader("telefon.sis")); // IN PrintWriter valjund = new PrintWriter(new BufferedWriter(new FileWriter("telefon.out"))); // Out int n = Integer.parseInt(sisend.readLine()); // Reading first integer String abi; String abi2; String[] numbrid = … | |
Can any 1 help me or give me a tip i know that i have some mistakes what I want to do is : - Read the input until eof keeping track of each letter that occurs in the input as well as the number of occurrences of that letter. … | |
I have a class which extends LinkedList and implements Runnable. I also have a main class which modifies the extended LinkedList. So, the issue is, the LinkedList is being modified by 2 threads: main() in the main thread and run() in the thread which is created from implementing Runnable An … | |
I have a gameboard class: class gameboard extends JInternalFrame In the constructor i have the line: setDefaultCloseOperation(DISPOSE_ON_CLOSE); my gameboards are actually in an array myboards[500] were each is an object of this class. the deal is I want to be able to tell which are open and i want to … | |
G'day all, The program i'm currently working on has a search feature, I want to be able to search a Folder and any Sub-Folders contained within that structure. I'm really confused at the moment as to how i'm going to keep going deeper into a directory and still manage to … | |
I've been trying to read this binary file I wrote with a python script. The format of the file is this, first there is an integer that tells how many floating point numbers follow that integer(there will be 5 times this number), then the floats follow, another integer, etc. I've … | |
Hey just need to ask a few questions hopefully one of you can answer as i have spent hours trying with no results and my code is a bit unorganised at the moment as im still learning: (code down bottom) 1.How do you stop your picturebox clearing when the form … | |
Hai friends First of all please excuse me if this is a answer less question. I developed a web site using PHP and MySQL and I likes to give email ids to my users along with my sites name. ie " [email]username@mysite.com[/email] ". I likes to develop a mail facility … | |
I'm working on a website that creates an object called player that can contain any number of event objects that get added to the player object from an event-driven xml parser. So what I've been trying to do is use an array but that does not working, from my understanding … | |
Hello, I am building a servlet which handles the login process after the user clicks the submit button on the previous HTML form. The servlet should get the data entered from the form then perform an SQL statement to select all the data in the registered users table. Once all … | |
i am a student of mcs and doing my project in the agent technology.but there is problem that how the agent monitores the user activities and propose the required solution for them.can any one help me that how can monitor the activities using java code. | |
Maybe someone can help me understand what I need to do. I am trying to set up billing for a website. The processor (ibill.net) says that I need a URL for them to post to. The company who sales the script I am using for my site says they I … | |
[CODE]<?php //Start session session_start(); //Include database connection details require_once('config.php'); //Array to store validation errors $errmsg_arr = array(); //Validation error flag $errflag = false; //Connect to mysql server $link = mysql_connect('localhost','root',''); if(!$link) { die('Failed to connect to server: ' . mysql_error()); } //Select database $db = mysql_select_db(shop); if(!$db) { die("Unable to … | |
So ok, I have been doing like java for a year and a half, and this is my lovely 4th day of C++, and I have already read up on pointers, dynamic memory and all that fun stuff. I do know what the header file class does. However I got … | |
Hi to all. How can I easily convert HTML to well formed XML? Does anyone has an idea how I can do that? Thank you for your time. | |
Hello all. im new to mySQL database so dont know very much so sorry if its a daft question. I have a mySQL database with a company called 5quidhosting but my hosting is with heart internet. Can i get a web page hosted with heart to access the database on … | |
Given 1 GB memory, input a file which contians 4 billion integers, output one integer that is not in the file. What if you have only 10 MB memory? how to go about this problem??? any efficient algorithms... | |
i have been trying to make a program to transfer any kind of files through [B][COLOR="Green"]serial port[/COLOR][/B] using [COLOR="Green"][B]VB6[/B][/COLOR], i was able to transfer the text file but not other files so please help me on this | |
hai friend's how to use the bullets in HTML , we use the editor for hmtl is dreamviewer , ya i use the bullets but the aligment change's if i use the bullets' | |
How can I write a media files like wav or mp3 in c#? because i don't know how i can start :?::?: | |
First of all, hi to everyone. I need help with an assignment, need to translate this C code to assembly. im getting pretty desperate and thats why im turning to outside help... This code is suposed to calculate sqare roots of 16bit numbers, and is to be implemented on another … | |
Hello again! I have a new question. I have run a script and wants to run it again with a "keypress" input from the user, how do i code that. Like this: import subprocess drive=input(" If you want to start the script again , press 1: ") if drive == … | |
I am currently writing a basic program scheduler (just started) which we have a text file with format of Process(id) (space) (quantum) (space) (priority). I am working on the first bit of the program actually reading in the text file and am trying to assigned the process ids, quantum and … | |
Here is what is required: Create a new console application project and name it "Week1Lab_YourName". Create a new class called DayOfTheWeek. The class should have a data member that can store the day of the week such as Mon for Monday, Tues for Tuesday etc... STEP 2: Create the member … | |
Heyah Does anyone know how can I change the bacground color of my textfield by using : the commands if & else It's for one of my school assignments but I really can't get to solve it by myself i searched through web but nothing :S We must use the … | |
hey is there anyone out there wanna help me make a text based mafia game with me we can both be admins in the game we mite make profit in this game according 2 my plans if there is wanyone illing 2 help plz can u pm me i understand … | |
Hi, I am using Linux, and I was looking for free source code ( Python) for speech recognition, I found "Speech" for Windows. I have tried to run it on Linux, I got errors of missing modules, I found most of them online but when I got this error: [COLOR="Red"]No … | |
Hi, I am reading a csv file and i read it line by line.. but there is a problem. It reads the csv line but put the spaces between each charachter.. and the line gives problem when i use it write in the mysql table.. Here is the out put … | |
why this function display [B]sharma[/B] not love on browser [CODE] <?php $a='abc'; define("h",sharma); define("h",love); echo h; ?> [/CODE] and second [CODE] why this will show nothing on browers? <?php $a='abc'; bb(); function bb() { echo $a; } ?> [/CODE] | |
Can someone help me create a function to print all items with a Prod_Stockcount less than 5? Its missing some code but all you need is to add and then create a function to print items with stockcount less than 5 [CODE]# include <stdio.h> # include <string.h> # include <iostream> … | |
Im trying to solve a ACM problem 10189, LINK: [url]http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=13&page=show_problem&problem=1130[/url] It looks ok to me...but, online judge is showing wrong answer... can anyone help me to figure out the problem. [CODE]#include<stdio.h> int row = 1, column = 1,i=0, j=0, a=0, b=0; char array[100][100] = {0}; int change(int a, int b) … | |
Hello, I have a quick question I want to ask. How can I copy the data from a allocated variable, so that when I free up the allocated variable the copied data isn't erased with it. Thanks, -A2H | |
[CODE]<script language="javascript" type="text/javascript"> function updateonlines() {alert('you are updating the online users set the user field to online');} function updateofflines() {alert('you havve to set the online users to offline when they leave the page');} window.onload = updateonlines; window.onload = updateofflines; </script>[/CODE] SORRY NEW PROBLEM! I FIXED IT IT WORKS. but i … | |
Hi, I have a problem with two classes who both has instances to each other. Here are the header files... [code] #ifndef ENVIRONMENT_H #define ENVIRONMENT_H #include <vector> #include "item.h" #include "actor.h" namespace game{ class Environment{ public: Environment(){} Environment(std::string name_, std::string description_); enum directions { north = 0, north_east = 1, … | |
Java implements pass by reference right? So when I do cons("item", stack) with the following code I should print out --> itemabcd. But that isn't the case, why? String stack = "abcd"; cons("item",stack); System.out.println(stack); // public void cons(String item, String stack) { stack = item + stack; } | |
I'm having a hard time with implementing SSL on this one particular page that uses asp.net wizard (The entire site does not require SSL, only a couple of pages.) My logic is such that if a page that requires SSL is not secure, redirect it to https version of it. … | |
hello , i am starting to program my project in c++ i need help in direction. my project is like wikpedia . i should enter about 3 value in each catagory (3*7) . the search will be by pressing some value and then a list will open with all the … | |
Hello there fellow users, I have been entrusted with the task of designing and implementing a financial system for a charity foundation where I live. The charity foundation requires its work (addition and retrieval of records, for example) to be done online, using a web app. The app connects to … |
The End.