199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for nix_xin

pls help me . . . give me some hints on how to do this program . . . a program that displays a mirrored-right triangle using asterisk. the program should ask the user to enter the number of rows and displays the mirrored-right triangle. the minimum is 3. there …

Member Avatar for Xufyan
0
175
Member Avatar for Mike_H

I am trying to show two hidden <div> (lines 54 & 55) depending on the value of a session variable. I know the "if" statement is working because the alert tests I have do show when the code is run. The "Viewing all whose payment has NOT been confirmed." should …

Member Avatar for Mike_H
0
34K
Member Avatar for nikita.chandra

Hi.... i am creating a website and on home page i want to rotate different images randomly,by the code given below i am able to rotate image at one place but i want to rotate image at more than one different places with different images. like this [1] [1] [1] …

Member Avatar for Taywin
0
229
Member Avatar for Hand

Hello, I need a simple open source audio library that can be used to play music and sound effects for C/C++. The audio files that I use are mp3, midi and ogg. My operating systems are Windows XP and Linux (Ubuntu). I need that the library be able to play …

Member Avatar for xtrmR
0
97
Member Avatar for ultimatebuster

Is it possible to import a and import b, but have functions from both a and b under a different name? Example under a.py there is function jopen() under b.py there is function ropen() i want be able to call both of them from c: c.jopen() c.ropen()

Member Avatar for ultimatebuster
0
127
Member Avatar for ivan3510

Hi! Sorry for my bad english! How to make one php file that will make a picture with some text, numbers...? How to make it if user doesn't have font that is used in this picture? How to make it with different, that one letter be largest that the second …

Member Avatar for ivan3510
0
112
Member Avatar for zaacze

hi everyone! i've been trying to make a program regarding returning the number of characters with even ASCII codes. For example, if a user input ABCDE, the output should be 2 since B and D are of even ASCII codes. Here's what i've done so far... [CODE] #include<stdio.h> #include<conio.h> #include<stdlib.h> …

Member Avatar for Ancient Dragon
0
176
Member Avatar for unnamed17

I have a txt file in this format: 111,5.67,2,4,566666,666667 111,5.67,2,4,566666,666667 111,5.67,2,4,566666,666667 111,5.67,2,4,566666,666667 Is there any way so i can open the file and at the end of each line binarynumber to become: 111,5.67,2,4,566666,666667,111000,111000 111,5.67,2,4,566666,666667,111000,111000 111,5.67,2,4,566666,666667,111000,111000 111,5.67,2,4,566666,666667,111000,111000

Member Avatar for Ancient Dragon
0
100
Member Avatar for xtrmR

Hi, Iam writing a algorithm that generates buildings using shaders and vertex buffers. Lets not go deep into it. What i need is. How to implement Field of Vision (FOV) in such a scenario ? How can i restrict the user's view ? Hope my question is clear enough.. Waiting …

Member Avatar for xtrmR
0
207
Member Avatar for srinivasan106

wat is the concept beyond COLUMN SORT??.. can any body guide me...Y column sort is introduced??

Member Avatar for Ancient Dragon
0
83
Member Avatar for Rashakil Fol

wordify: Converts any integer number (such as 123456000999) into a string ("one billion two hundred ninety-three million one hundred two thousand one hundred").

Member Avatar for v6ak
0
350
Member Avatar for smegal

Hi, I am working on querying a specific value from my xml file. Below is what I have so far. When running the entire script I get the error "Incorrect syntax near 'varchar'". Thanks -- Declarations needed to run sp_xml_preparedocument. This will create XML image. Declare @idoc int Declare @doc …

Member Avatar for smegal
0
197
Member Avatar for MDGM

Is there a way to, when the url changes, intercept it and take the user to a different page? For example, if the user types in "facebook:" and then some other random words, like "facebook: eating my dinner" it takes the user to the facebook share page instead of just …

Member Avatar for MDGM
0
100
Member Avatar for mrbungle

Ok, here's what I've got. I have a form that exports to an Excel worksheet (sheet1) and it works great, no issues there or anything. It's not a template, just a regular .xlsx spreadsheet, but I use it as my template. Now, the goal is for the end user to …

Member Avatar for kvprajapati
0
175
Member Avatar for Bhargavi V

I am getting the following Errors when I am linking the .pdf document I am using the following piece of code[CODE] String lPathPrefix = "file://muceap10.muc.amadeus.net/User Step Folders/BPS_Files/Outlooksoft CPM/01 - Production Environment/01 - Documentation Library/01 - Documents/Daily_Checks/"; String lPath = (lPathPrefix + doccolvalue).replace(" ", "%20"); URI lURI = new URI(lPath);[/CODE] java.awt.Desktop …

Member Avatar for sandcat
0
1K
Member Avatar for vinayak.v

Good morning everybody... the following code works well in .aspx page that is in web application.. now the same thing i want to do in windows form application.. can anybody help me.. The code is for without saving the pdf file take a print.. it works well in .aspx page …

Member Avatar for kvprajapati
0
180
Member Avatar for amulet_john

How do I retrieve Image in MYSQL using PHP? I am currently creating an online shopping cart. In my database(test) I have a table images where all image are stored. Now my problem is that, when the moment I retrieve them, all the features in my database will displayed in …

Member Avatar for hielo
0
125
Member Avatar for MrBlack

Hii i want to learn how to use visual studio toolbox and its inbuilt methods and attributes use to access them with C#. Can anybody give me a link to download an ebook,Plz help

Member Avatar for kvprajapati
0
66
Member Avatar for Lazarevski

I need to build a program which will upload a .txt file to the server, will read it using StreamReader and the populate an existing SQL table with the concent. The first Page (profiles) does exactly that and works perfectly.. It has a text delimiter and splits the text into …

Member Avatar for kvprajapati
0
128
Member Avatar for ata_tszx

Hello all, i'm doing a reservation equipment system and almost finish with it except that i have problem with double booking. I have no clue where to start and how to start, i included along with my system for you guys to check.. Where should i put the coding at? …

Member Avatar for AndreRet
0
158
Member Avatar for david_r

I'm sure this is something stupid but I cannot figure out why I am getting a syntax error with this. Thank you for taking the time to look at my code This is the code that builds the query. [CODE]$numElements = count($new_array_without_nulls); $i=1; // Don't add comma to last element …

Member Avatar for david_r
0
170
Member Avatar for pennylynne

Hi!! I have written three classes (two of which are most relevant) and am required to construct an operating calculator. This is the CalculatorPanel: [CODE]/* * CalculatorPanel.java * * Lab 19, COMP160, 2010 * * An alternative GUI front end for the Calculator class * */ import javax.swing.*; import java.awt.event.*; …

Member Avatar for JamesCherrill
0
524
Member Avatar for ranu jain
Member Avatar for MichaelWClark
0
72
Member Avatar for kimiko

okay i've been using bluej for learning purposes but i kind of hit a snag would it be possible for someone to code me a main method so that it works as stand alone program please [code] public class Circle { private int diameter; private int xPosition; private int yPosition; …

Member Avatar for masijade
0
211
Member Avatar for jbisono

Hi all. originally i have this problem [URL="http://www.daniweb.com/forums/thread283467.html"]http://www.daniweb.com/forums/thread283467.html[/URL] everything works good in IE but in firefox if i try to change the dropdownlist attach to the node in the treeview it seems like at the moment i click the dropdownlist a postback is trigger and dropdownlist go back to the …

Member Avatar for jbisono
0
196
Member Avatar for Wootens

Hi guys, I'm working on a program which is essentially Rock Paper Scissors Vs. the computer. Anyway I'm having a bit of difficulty with it and could use some assistance. I need to use a class method, so I decided to separate the computer's choice in the class method, I'd …

Member Avatar for Laidler
0
384
Member Avatar for Dale.E

Hi all, I apologise for possibly asking stupid questions and/or overlooking things that I possibly should not be. I'm quite new to this C# and programming in general, but it was forced upon me at university - and after a few lessons it looks something I enjoy and would like …

Member Avatar for Dale.E
0
149
Member Avatar for jtylerboy222

I believe all of my logic is sound, but syntax is off a bit... -ask for total numbers -for loop to input total numbers -1)input first number -2)throw exception "must be positive" -3)if negative > back to 1 -4)if no exception > calculate average This is my first program using …

Member Avatar for NormR1
0
2K
Member Avatar for Laidler

Im trying to create a program which acts like a fruit machine at the moment i am writing an action listener to work with the spin JButton. i have a number of IconImages constructed. could i possibly set these images as an array and then use the random int method …

Member Avatar for Laidler
0
825
Member Avatar for Sunshineserene
Member Avatar for julianmoors

Hi, I wish to select an <a>'s alt property and use it to create a message to display help to the user. This is what I've got so far: [code] <!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" xml:lang="en" lang="en"> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <meta http-equiv="content-language" …

Member Avatar for Airshow
0
115
Member Avatar for baconswife

Hello, I need some help figuring out which errors are syntax errors in this. Compared to what I started with this has come a long way but there are still some in there that I am having trouble spotting. I do know that they if statements are incorrect, i'm just …

Member Avatar for Fbody
0
123
Member Avatar for pythonstarter

Is there an way to create matrix[a][b][c][d] in python? It seems that you can write this way in Perl but not Python? Thanks!

Member Avatar for TrustyTony
0
124
Member Avatar for akvlko

Hi Friends ! I Need a Paging Script such as Gmail for my College Project Which is a CMS based on Windows Sky Drive with Email Facility....! Thanks in Advanced!

Member Avatar for Stefano Mtangoo
0
116
Member Avatar for genosy

hi, Am having a problem Inserting into SQL 2008 database using stored procedure from a php webpage. My Stored Procedure is: [code=text] Create PROCEDURE [dbo].[udp_AddContact_Insert] @Contact_ID int, @Client_ID int, @STD varchar(10), @Tel varchar(20), @Mobile varchar(20), @EmailAddress varchar(100), @FirstName varchar(20), @LastName varchar(20), @Title_ID int, @Position_ID int, @User_ID int, @SourceURL varchar(1000), @PositionText …

Member Avatar for genosy
0
212
Member Avatar for arareyna

Hi! :) I have been starting this small GUI application on monitoring data sent via the serial port... I have made the necessary preparations, please see: [CODE]import wx import time import wx.gizmos as gizmos import datetime class MACE(wx.Frame): def __init__(self, parent, ID, title): wx.Frame.__init__(self, None, -1, "MACE PQ MONITORING SYSTEM", …

Member Avatar for Gribouillis
0
1K
Member Avatar for CoopOwnz

hey all, I'm writing a C++ console app that converts all the letters of a string to an ALT+NUM equivalent. e.g. e might convert to é (or ALT+1154) My problem is only with those ALT+NUM combos that have to start with a 0 For example with letter 'd' the only …

Member Avatar for Banfa
0
139
Member Avatar for Kerrai

Greetings from a new Java coder. I have ran unto a problem that i cant seem too solve on my own. And since next class is on Tuesday i hope you can help me out. When i compile this i get an error on "Line 57 : "Scan cannot be …

Member Avatar for musikluver4
0
227
Member Avatar for burcin erek

there are four playing cards . you choose one of them if selected card is 1 spades you win else you lose but ı want to make win card as random from 4 cards. i dont know how. [CODE] #include <cstdlib> #include <iostream> using namespace std; const int clubs=0; const …

Member Avatar for burcin erek
0
107
Member Avatar for alex-i

Hi everyone I need a help about checkbox. when I select 3 or 4 checkbox from 6 checkbox who I have in my form, and I click Submit button all name of checkbox selected to save on text document on drive c or any other location. thank you for help

Member Avatar for kvprajapati
0
82
Member Avatar for Isha810

hello everyone, I am using System.Timers.Timer class. its object is myTimer and am using myTimer_Elapsed event to raise the event. I have used two masked textboxes that takes start and stop time as input and one button. The timer is instantiated in button click event . The code is shown …

Member Avatar for nick.crane
0
209
Member Avatar for Nivass

Hi, I have a rich text box and i like to skip enter key on the rich text box. i.e; If user pressed enter key the rich text box cursor should not move to next line rather than it should do some action. I have achived this to some what. …

Member Avatar for kvprajapati
0
100
Member Avatar for kbalba

is there a possible way to create a speech recognition software program using C#??

Member Avatar for reshmiullas
0
79
Member Avatar for Towlie

I have two pages. In one page I am changing the value of a variable called t, in the other I am outputting it. The problem I'm having is in changing its value. Any help will be greatly appreciated. [code=html] <!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" …

Member Avatar for Thirusha
0
167
Member Avatar for varunrathi

Can anybody help me with permutation in c++. say if the entered string is "stop" then there must be 24 (=4*3*2*1) different words made by the letters s,t,o,p. Similarly if the entered string is "abcde" then there will be 120 (=5*4*3*2*1) different words made using the letters a,b,c,d,e. Please Help. …

Member Avatar for richieking
0
921
Member Avatar for pennylynne

Hi, I'm working on a program with GUI and I'm having a fair amount of trouble with the following code. As you can see below, I have an application and a support class. [CODE]import javax.swing.*; import java.awt.*; import java.awt.event.*; public class StyleOptionsPanel extends JPanel { private JLabel saying; private JCheckBox …

Member Avatar for pennylynne
0
115
Member Avatar for Ajith007

Dear friends.. i have been assigned the project of designing source code for Booth's multiplication algorithm in C. We have reached 60% of success but are now stuck.. if anyone has the source code in C or may be in C++ or even in microprocessor 8086 pls send it here …

Member Avatar for Adak
0
297
Member Avatar for NewVBguy

Hi There, I am trying to open a txt file with no header using vb6. my problem is that it's converting the first record as header. how can I solve this problem so that my first record will stay. Below is my code: [code]Private Sub ccommand1_Click() Dim cnn As New …

Member Avatar for peter_budo
0
138
Member Avatar for arjen

hello guys i need help is it possible to check if the customer input his complete name is valid or not? if yes how?

Member Avatar for JJCollins
0
176
Member Avatar for duggie

Hi, I have quite a bit of data processing to do and i would really appreciate some help to make it go faster. I have recorded a macro but I am having 2 problems with my coding. I have two spreadsheets open, Lets call them A and B. I want …

Member Avatar for AndreRet
0
111

The End.