199,114 Archived Topics
Remove Filter ![]() | |
Does anyone know or can direct myself to a php audio character output? For example if i code this and outputs it not only visual but audio also. [code] $abc = "ABC"; echo $abc; // or even $a = "A" $b = "B" echo $A . $B; [/code] You get … | |
Hi. I have this assignment and have absolutely hit a wall here. I will give the assignment details, then say what the issue is: Consider a collection of songs in an MP3 library where each song is characterized by artistName, songTitle, album, playTime (in seconds), musicCategory, and albumProducer – hence, … | |
well kind of... I want to check to for updates on a webpage/website but only refresh if it finds a change from the page currently loaded in the webbrowser control on the form. More or less refresh in the background and only actually display the refresh if it finds a … | |
hi can you help me make a program that convert decimal to binary,octal & hexadecimal, binary to decimal, octal & hexa, octal to decimal, binary & hexa and hexa to decimal, binary & octal? That's our project in logic design. thanks in advance... | |
hi :D! i had this idea were i wanted to create a program that starts an action by a user command on a different pc or any web device like a mobile phone or an i phone. i thought of the idea of hosting a web site that had just … | |
Hello all! I'm trying to make an IRCbot, but I have an issue I just can't seem to get through. [CODE]<?php class irc { // server connect public $host = "irc.freenode.net"; public $port = 6665; public $channel = "#dinksmallwood"; // client-side public $username = "GlennBOT"; public $hostname = "ti0184a340-0784.bb.online.no"; public … | |
Hello everyone, i'm fresh new here, and i already have a question regarding...well, C#. I've made a Forms Application in which the user submits an image (bmp,png,jpg or gif), and the image suffers some byte-level modifications (obviously, i'm using the LockBits() method). Now, after the modifications are done, the user … | |
hello I am trying to create an robot and I have been having a problem parsing the full string from the conf. As example the IRCServer, botnick, botname parameter does not contain the all the data. as the output shows: [code=output] ##################### # Ablaze Bot # ##################### Loading conf file: … | |
hi frnds i had got a problem, i want to increase the serial number automatically when page is loaded and it will be inserted into the database...... pls reply me answer.... here i use vb.net coding......... | |
I use [url=http://www.en.wampserver.com/]WAMP[/url] to develop my PHP/MySQL applications locally before moving them to a production server. I want to start teaching myself Python and wish to add Python to my installation. I have downloaded and installed Python 2.5 and also installed mod_python. Unfortunately getting Apache to recognize that Python is … | |
HI everyone, I am new the world of C and am having some problems with a class assignment. Can anyone help? [CODE] #include <stdio.h> #include <math.h> #include <string.h> #define Max_sites 10 /* maximum number of sites allowed */ typedef struct { int site_id_num[4]; /* id number of the site */ … | |
I made this code: [CODE]import random wish = "j" max_multiplications = 10 while wish == "j": multi = 0 right_answer = 0 while max_multiplications != multi: randomint1 = random.randint(1, 10) randomint2 = random.randint(1, 10) print randomint1, "*", randomint2, "=" ik = float(raw_input ("Insert your answer ")) multi += 1 answer … | |
using Windows 7 and calling: [CODE]OpenFileDialog LogoLoad = new OpenFileDialog(); LogoLoad.InitialDirectory = Environment.GetFolderPath(Environment.SpecialFolder.MyPictures); LogoLoad.Filter = "Image Files|*.jpg;*.gif;*.bmp;*.png;*.jpeg|All Files|*.*"; LogoLoad.Title = "Load Dealer Logo"; LogoLoad.FilterIndex = 1; LogoLoad.RestoreDirectory = true; if (LogoLoad.ShowDialog() == DialogResult.OK) { filenname = Path.GetFileName(LogoLoad.FileName); path = Path.GetDirectoryName(LogoLoad.FileName); extension = Path.GetExtension(LogoLoad.FileName);[/CODE] Problem is picturebox1.ImageLocation comes up as Null … | |
Hey guys, I'm trying to design a custom control to extend a datagridview. The customer control is basically made up of two datagridviews, one will host the extra features, the second will offer all the usual methods/events of a regular datagridview. What i want to know is, can i automatically … | |
hi is there code to auto reload images if it doesn't loaded at first time in users browser ? | |
Hi, I have a program that finds out if people are "compatible". The problem I have is that Java seems to be blatantly telling me that 130-130 is greater than 25 [CODE]public boolean checkMatch(Female other){ if (this.getA()<26&&other.getA()-this.getA()>1){ return false; }else if(this.getH()-other.getH()>25||this.getH()-other.getH()<-25){ return false; }else if(this.getP().equals(other.getP())&&this.getS().equals(other.getS())&&this.getD().equals(other.getD())){ return true; }else{ return false; … | |
i have 2 database & need some code to solve this problem. table 1 (food_place) : fp_id | fp_name 1 | McD 2 | Burger King 3 | Pizza Hut -------------------------------------------- table 2 (promo) : p_id | p_name | p_pid 1 | Disc.10% | 1 2 | Free f. fries … | |
I have been teaching myself python for several months and have started working on an rpg project. Right now I am trying to code an armor class for a basic character. I am not sure if my approach is even a correct way to go about implementing this class. The … | |
So, after way too long, I'm finally starting college this coming January. I plan on going full time, but I still have one more class to fill up the gap. My question to this wonderful community is this: I'm already taking an intro to C class, but there's also an … | |
Hi experts, I am a student working on a project for my company. I work using Microsoft Visual Studio 2005. Language is vb.net. I also work using windows application. I have a form(EmailContacts) which contains a datagridview and a button to add the data to a textbox of another form. … | |
Hi I am trying multiple related selects using coldfusion and javascript. I have four dropdown list first one is related to the second one and thrid one is related to the first one. It is working as per expected if i have two drop down lists which are related to … | |
I am having trouble getting my if/elses to do what they should. It's probably something dumb that I'm overlooking. Can anyone help? [code] if(isset($_POST['homePageReg_submit'])) { $db = new connectDB(); $db->username = ""; $db->password = ""; $db->hostName = ""; $db->dbName = ""; $db->connect(); $rf_username = $_POST['homePageReg_username']; $rf_email = $_POST['homePageReg_email']; $rf_validateEmail = … | |
hi in my project inside Cpanel server PHP MING Extension is ok BUT in Plesk have Problem by GIF and PNG file and this file must be change to dbl to work version of Extension MING in plesk is 0.4.2 i need a script to convert online png/gif file to … | |
Hi, I have 2 drop down lists, in which the selection value of the 1st drop down list will determine the content of the second drop down list. Is that I need to use javascript function to achieve this? If yes, how should I code the javascript and how should … | |
Dear all, I am really stuck with inserting record into access database using ASP.net and C#, as in university I am only allowed to use access. I am trying to create new room reservation for meetings its not a hotel room, I have two time slots AM and PM and … | |
Hope I chose the correct forum. I have a dataset object with one table that comes to me from a common custom component's GetDS method. I need to pass XML to another process (chunked as byte array). I have it all working but the XML is missing some attributes that … | |
hi , I have my python code but I couldn't solve it. here my sample loop: [CODE= python]import os import sys whileloop = True while(whileloop): initial_drive = "C:\\" inputline = input(initial_drive) <<< PROBLEM... if inputline == "exit": whileloop = False elif inputline == "about": print("no input") elif inputline == "": … | |
write a program that prompts the user to input three number.the program should then output the numbers in ascending order. | |
![]() | Hi, I would like to add discount to an order, but the tricky bit for me is the following: **Example** 1 photo = £15.00 But for every 3 photos i want to subtract £3 and for every 3 photos after that another £3 off the total order So 3 photos … |
I am trying to send a command to the external command line (cmd.exe) from the Windows form application that I'm writing in VB.NET (using VS2008). I can only access the external program thru the command line (its not my program) and I must do so from a form app. I … | |
Hi i am wondering if its possible to do the following,say i have 2 integer pointers containing numbers,and i want to add them together to a third integer pointer,is this possible? | |
Can you please tell me why i can't run this sample test program?? [CODE]from PyQt4 import QtGui class testui(QtGui.QTabWidget): def __init__(self,parent=None): QtGui.QTabWidget.__init__(self) def test(self): QtGui.QMessageBox.warning(self,"Hello","This is a test message") def frun(objec): time.sleep(8) print('hello') objec.test() app=QtGui.QApplication(sys.argv) obj=testui() obj.show() threading.Thread(target=frun,args=(obj,)).start() app.exec_()[/CODE] But in real i want to receive messages from the threads … | |
hi i want to pass variable from php to javascript.i want to pass my group[name please tell me.the current code is not working [CODE]<? session_start(); require_once('common/dblayer.php'); $db=new dblayer(); $id=$employer_id; $empid=$db->getgroupname($id); $groupname=$empid[0]["group1"]; echo $groupname; ?>[/CODE] javascript code [CODE] //Contents for menu 1 var menu1=new Array() menu1[0]='<a href="employercp.php">Job Portal</a>' menu1[1]='<a href="cggroup.php?id=<? echo … | |
Hi, I'm wondering what you all have got out there. I know you have the following: \t => tab \n => new line What do you have more? Anyone got a link to a webpage or a word that I could search for in google to get a list for … | |
I have written code to use the automatic CD-Burn routine inside WinXP and above. But I cannot start the CD Writing Wizard by python code. Has anybody any idea how to do it? This is my code so far: [CODE]#!/usr/bin/env python # -*- coding: utf-8 -*- import os, sys import … | |
Okay, I am in the middle of creating a rather large console RPG. It'll include ability to equip armor, weapons, interacting with NPC's, battles, saving/loading characters, etc. I don't want to save all of my classes and functions in the same file, for easier readability. I have a few questions: … | |
Hi everyone. I'm new to Python and programming in general. I'm currently reading [URL="http://www.dickbaldwin.com/tocpyth.htm"]this[/URL] tutorial. In the scripts section he mentions "setting the path" and that it needs to be done in order for scripts to work. How do I set the path in Windows XP? Thanks! | |
How Many Databases are there? I know some of the databases, but i want to know many more databases, & what are they? | |
This code is not getting values when I press update. Its showing the values from Db in fields. But at the time of update whrere I SET Values it gets null values. I am using name of input as acmake[] and then using for loop but its not working. [CODE=php]<strong>Update … | |
How can I put a progress bar inside this code: (I was trying to use PerformStep method for counting rows in data table, and put this code, but no luck: [URL="How can I put a progress bar inside this code: (I was trying to use PerformStep method for counting rows … | |
Hi all, I'm currently stuck with a simple problem, which I cannot seem to get it to work for the past few days. I'm trying to get the CheckBox type from a ControlCollection and it is displayed within a Table However, it don't seem to work regardless of how I … | |
HI All, I am not able to run a jar file in UNIX. I have a shell script which is throwing this error. [CODE]Exception in thread "main" java.lang.NoClassDefFoundError: dao/Demoface[/CODE] classpath no issues as i am executing all files in the same directory named scripts folder whch has all jars files … | |
I have one big picturebox of the house plan. for the sake of example, assume it is 1600 * 1200 pixels. And on the most top and left of that house plan (position top 0 and left 0), I have another small picturebox of desk (let's say, 30* 30 pixels). … | |
I'm not entirely sure if this thread belongs here, or in "JavaScript / DHTML / AJAX". Anyway. I have a bit of a problem here, hoping that a kind soul might be able to help. On one of the webpages for the site I'm developing I have a bunch of … | |
I need a code for log-in which will be stored as attendance for students... I am a student and i have tried so many codes but it doesn't work... i am using a mysql server for my database is it ok? | |
hi all, i want create multi language website. i need to website into dutch language. any one suggeste me ?????????? ![]() | |
Hello all :) Well, im trying to display a list of categories from values fetched from my database. I have a class called CategoryList which has the function initialise as below: GetCategory actually uses PDOStatement::FetchAll [CODE] public function init() { $this->mCategory = Catalog::GetCategory(); print_r($this->mCategory); } [/CODE] Then i have my … | |
below is the code for running and capturing image from the webcam [CODE] Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load 'Jpeg compression quality Dim nQuality As Short = 45 'Shout a picture from my webcam Dim cam As CAMSERVERLib.Camera = New CAMSERVERLib.CameraClass() Dim picture As … | |
This is one of the two action listeners I have for two text fields. The exceptions to ensure the proper datatypes used is working. And the exception to make sure that int pos is within the array's range is working. The problem I am having is getting the out of … | |
Hey guys! I seem to be posting here a lot the past few days but as I am new to SQL Server I am finding to quite a pain to get used to! I am having a problem referencing foreign keys. I did post another thread about this but this … |
The End.