199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for OmniX

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 …

Member Avatar for OmniX
0
89
Member Avatar for MrJNV

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

Member Avatar for jonsca
0
157
Member Avatar for Gixxer98226

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 …

Member Avatar for Gixxer98226
0
114
Member Avatar for jolianne

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

Member Avatar for mrnutty
0
77
Member Avatar for Omermintz

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 …

Member Avatar for Omermintz
0
95
Member Avatar for CyberPirate1

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 …

Member Avatar for rbrt13
0
291
Member Avatar for TotoTitus

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 …

Member Avatar for TotoTitus
0
10K
Member Avatar for matthewl

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

Member Avatar for matthewl
0
139
Member Avatar for kanuri1

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

Member Avatar for Ezzaral
0
137
Member Avatar for stymiee

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 …

Member Avatar for tweetychums
0
3K
Member Avatar for dennis.d.elston

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 */ …

Member Avatar for dennis.d.elston
0
111
Member Avatar for teenspirits

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 …

Member Avatar for teenspirits
0
94
Member Avatar for Dmennite

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 …

Member Avatar for sknake
0
96
Member Avatar for Geekitygeek

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 …

Member Avatar for sknake
0
195
Member Avatar for fuchsia555
Member Avatar for Moonrise_state

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

Member Avatar for Moonrise_state
0
144
Member Avatar for dw8081

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 …

Member Avatar for dw8081
0
114
Member Avatar for cnuzzo

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 …

Member Avatar for Mathhax0r
0
365
Member Avatar for soley

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 …

Member Avatar for Wards
0
112
Member Avatar for milhero

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

Member Avatar for milhero
0
2K
Member Avatar for sanm

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 …

0
100
Member Avatar for xylude

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

Member Avatar for ShawnCplus
0
85
Member Avatar for BehrouzPc

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 …

Member Avatar for RamiroS
0
179
Member Avatar for wonder_gal

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 …

Member Avatar for giahmed
0
241
Member Avatar for giahmed

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 …

Member Avatar for giahmed
0
233
Member Avatar for sdmcnitt

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 …

0
122
Member Avatar for fatalblade

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

Member Avatar for fatalblade
0
170
Member Avatar for ali zeeshan

write a program that prompts the user to input three number.the program should then output the numbers in ascending order.

Member Avatar for muzamal
0
99
Member Avatar for dan_ord

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 …

Member Avatar for kireol
0
85
Member Avatar for rfrei

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 …

Member Avatar for thecoat
0
2K
Member Avatar for StaticX

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?

Member Avatar for necrolin
0
105
Member Avatar for explorepython

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 …

Member Avatar for explorepython
0
616
Member Avatar for lydia21

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 …

Member Avatar for mehrab
0
281
Member Avatar for Kligham

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 …

Member Avatar for Kligham
0
114
Member Avatar for bunkus

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 …

Member Avatar for bunkus
0
279
Member Avatar for hondros

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

Member Avatar for vegaseat
0
91
Member Avatar for badboy00z

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!

Member Avatar for vegaseat
0
116
Member Avatar for foreversubu

How Many Databases are there? I know some of the databases, but i want to know many more databases, & what are they?

Member Avatar for chankya
0
102
Member Avatar for ayesha789

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 …

Member Avatar for cwarn23
0
179
Member Avatar for Mitja Bonca

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 …

Member Avatar for DdoubleD
0
205
Member Avatar for hubertoe

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 …

Member Avatar for Oxiegen
0
208
Member Avatar for palavi

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 …

Member Avatar for palavi
0
167
Member Avatar for neosonic

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

Member Avatar for vb5prgrmr
0
121
Member Avatar for Oxiegen

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 …

Member Avatar for Oxiegen
0
196
Member Avatar for van_smiles

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?

Member Avatar for Arianna
0
105
Member Avatar for rajabhaskar525

hi all, i want create multi language website. i need to website into dutch language. any one suggeste me ??????????

Member Avatar for diafol
0
103
Member Avatar for chupinette

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 …

Member Avatar for chupinette
0
82
Member Avatar for mshravs

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 …

Member Avatar for mshravs
0
124
Member Avatar for Afupi

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 …

Member Avatar for javaAddict
0
139
Member Avatar for GLT

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 …

Member Avatar for achied
0
400

The End.