199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for hyperjase

I have some drop down boxes which are dynamically created via php, created from a number of either 6, 12, 24 or 36 - also created from a number of check boxes. What I want to do is show the total number of all the drop down boxes (so if …

Member Avatar for hyperjase
0
186
Member Avatar for breakforce

Hello, since i am new to the forum please excuse me if the topic is not in the correct section. I would like to ask how to do the next thing i mean when you have a limit on who is online and who does not say 30 users are …

Member Avatar for diafol
0
343
Member Avatar for SyncMaster170

Whats up guys, So I am debugging my companies program that the previous programmer has created. It is buggy and an annoyance in my life and I want to get this done as quickly as possible. Ive already fixed some bugs and published the updated version onto our server. HERE …

Member Avatar for SyncMaster170
0
177
Member Avatar for a1a4a

Greetings I am on a project where the application read a text and execute commands in the text... i am having problems in the part of finding the command from the text. So let's say i have a file with the following text : [QUOTE] message:Hello this is a message …

Member Avatar for a1a4a
0
355
Member Avatar for winnitbaker

Hi Guys, My task is a console application that is meant to read 2 text files full of words and to output one text file from both of these. The outpuuted text file must include data from both text files but remove any repeats. The code below is just not …

Member Avatar for skatamatic
0
99
Member Avatar for pwolf

How to return the sum of the last digits of the values in a list? i cant think of an efficient way. If it wasn't for being in a list i could do it, but im really lost. Can anyone advise me? im going to look for a way in …

Member Avatar for pwolf
0
4K
Member Avatar for shubham.joy

[CODE=c]#include <stdio.h> #define max( a, b) a > b ? a:b int main() { int i, j = 10; int k = 15; for( i = 0; i < max( j, k ); i++ ) { printf( "\nhi" ); } return 0; } [/CODE] The above code generates an infinite …

Member Avatar for nezachem
0
246
Member Avatar for CurlyFried

Right, i'm REALLY new to this whole thing, coding and everythiong. But for my first proper project I've decided to make a Text Based RPG. I've got most of it done now, but am having problms working out how to make random damage from the enemies. At the moment, each …

Member Avatar for WaltP
0
205
Member Avatar for jonnyboy12

I am trying to make a function like this but i need the parameters to be a string . [CODE] function viewrestaurant(int) { if (window.XMLHttpRequest) {// code for IE7+, Firefox, Chrome, Opera, Safari xmlhttp=new XMLHttpRequest(); } else {// code for IE6, IE5 xmlhttp=new ActiveXObject("Microsoft.XMLHTTP"); } xmlhttp.onreadystatechange=function() { if (xmlhttp.readyState==4 && …

Member Avatar for fobos
0
242
Member Avatar for trowe

I have a form created in VB.net. It is used to get some information form a user. The form is not bound to any data source. A combobox on this form is used to enter a cost. I want the value entered by the user to be displayed using currency …

Member Avatar for trowe
0
337
Member Avatar for 432

[img]http://i.imgur.com/3CDjN.jpg[/img] i want add Listbox; all item's id's and 'song' text Sorry my english bad. Please help me

Member Avatar for 432
0
108
Member Avatar for shantanusinghal

My distributed operating system lab requires me to implement the election algorithm (bully and ring) in c. My current idea is to run several instances of an ouput file on different terminal, each symbolizing a different process. Now i'm facing the following problem and if you guys could just point …

Member Avatar for DeanMSands3
0
301
Member Avatar for PM312

i was using ms access as my database where my default value for coloum was "" empty string . now i have shifted to sql 2008 where i cannot put empty sting as default value in the same manner as in access i.e "" . here i have to put …

Member Avatar for AndreRet
0
163
Member Avatar for kalaban

good day; please spare some of your precious time with me, i'm really having a hard time to analyze this. my problem is how to evaluate two dates if it is not the same date. the first date is the actualdate [CODE]$actualTime = date ('d M Y @ H:i:s', $time+28800);[/CODE] …

Member Avatar for diafol
0
184
Member Avatar for Karlwakim

Hi everybody, I am the admin of a small website running IIS 6 and i just found out that it may be vulnerable.So i used this script to see if it takes my website down. [CODE]# IIS 6.0 ASP DoS PoC # usage: perl IISdos.pl <host> <asp page> use IO::Socket; …

Member Avatar for Karlwakim
0
120
Member Avatar for Awais Ali

hy guyz, I want to create a windows '[B][I]shell[/I][/B]'(CLI based) in [U]C++[/U] (like Windows cmd) which has ability to Create folder or file, copy and paste and delete folders or files... So plz help me and tell me the which libraries will use because i have no idea about this. …

Member Avatar for thines01
0
698
Member Avatar for jpknoob

Hi all, i have a piece of code that selects some data from a database and displays the results in a table. I am trying to edit the code to allow me to email the table to a an address entered, but am having difficulties, can anyone offer any advice? …

Member Avatar for fobos
0
86
Member Avatar for DarkMonarch

hey guys, i have some work to do in C on a windows platform, windows 7 actually. now i've look into the suggested IDE compiler combo you guys suggested and i've pickup Dev c++ i just type a test program, just to see how the compiler works [CODE] #include <stdio.h> …

Member Avatar for DarkMonarch
0
268
Member Avatar for RazorRamon

Hello I'm looking to allow users upload pictures onto my site and have it displayed and linked to their site.. This process is for Ad purposes. Ive looked into php mysql uploading images but ive ran into a lot of threads condemning the practice and suggesting saving the images to …

Member Avatar for diafol
0
170
Member Avatar for BBA07

[CODE] proiect2 package; import java.io. *; public class String { static BufferedReader buffer = new BufferedReader (new InputStreamReader (System.in)); static String string = null; public static void main () throws IOException, NumberFormatException { System.out.println ("Enter string:"); String string = buffer.readLine (); while (sir.length () == 0) { System.out.println ("The string …

Member Avatar for DavidKroukamp
0
406
Member Avatar for iRoroKun

I need a help, do you know how can I automatically update a label by just putting something in a textbox? Let me give an example, when I put "Hello" in the textbox, the label will automatically change to "Hello". I hope you guys can help me. Thanks in advance! …

Member Avatar for AndreRet
0
106
Member Avatar for Hajira Khanum

Hi everyone:) I am still not able to complete this:( can anyone please help!!! [CODE]#include<iostream.h> #include<conio.h> class bingo { public:int a[5][5]; void input(); void play(); }; void bingo::input()//input a 5*5 matrix { int i,j,num,check=0,l,m; cout<<"\n Enter numbers 1-25\n"; for(i=0;i<5;i++) { for(j=0;j<5;j++) { cin>>a[i][j]; num=a[i][j]; for(l=0;l<5;l++)//check if number has repeated { …

Member Avatar for Hajira Khanum
0
174
Member Avatar for PF2G

Hi, i'm doing an app to manage a music school and i'm inserting instruments and i have to create the program (what do you learn) of the instrument. I'm doing a RichTextBox. Now i have some problems: 1st - is to save what i write in the richtextbox in a …

Member Avatar for Oxiegen
0
238
Member Avatar for robo-romeski

Hello all; I need a hand. this forum has solved a bunch of my issues and I have another doosie on my hand. I have some ajax code that I query information from database in table form. I am trying to add an image link into the table, once it …

Member Avatar for fobos
0
195
Member Avatar for scottd82

Hi everyone. I am doing my homework for my computer organization class and I'm running into a small problem. Before I explain what I've done, what I expect to happen and what is happening, I want to assure everyone that I am not looking for an answer to my homework, …

Member Avatar for Schol-R-LEA
0
366
Member Avatar for jackbauer24
Member Avatar for jackbauer24
0
99
Member Avatar for ebiti

i am trying to append more than 2 variables in URL using location.href in javascript. Here is the code: [code]location.href='Add_New_Project.php?project_name=' + project_name + '&cat=' + val + '&prj_desc=' + project_desc;[/code] The page is suppose to refresh when the code executes, but it wouldn't. Whereas if i try it with only …

Member Avatar for fobos
0
218
Member Avatar for mnewsome

seeking someone in the membership familiar with XBRL [Extensible Business Reporting Language]. It is based on XML as confirmed at: [url]http://xbrleducation.com/edu/basicxbrl.htm[/url] Hoping to correspond with someeone about the basic tasks using this platform. Guidance sought

Member Avatar for mnewsome
0
90
Member Avatar for IAreKyleW00t

Hello, I'm fairly new here and based on the help that i've seen people give I though this would be a great place to ask! Basically, I'm new with coding, so I decided to work with Minecraft - specific a Minecraft Server Starter. It has a built in text box …

Member Avatar for thines01
0
208
Member Avatar for PrimePackster

Here i have a working code, what i want to know is: When the user inputs elements to the array, i want it to be automatically aligned in form of an matrix. Instead of [ICODE] 1 2 3 4 5 6 etc....[/ICODE] But just as a matrix, like this [ICODE] …

Member Avatar for PrimePackster
0
258
Member Avatar for hbluthi

Hey guys. I am creating an ordered list using an array. Not an ArrayList or anything else. I can not figure out how to get all of the data from the OrderedList constructor to carry through to my "insert" method. Therefore, when I am checking if "count == 0" it …

Member Avatar for Philippe.Lahaie
0
196
Member Avatar for cloud02

Hi, is there anybody here knows how to store arrays in a text file? let's say the user inputs the id, name, and address and stores it on a text file then shows its output.. ex. 245656, John, 6534 Japan, Male. something like that. or anyone have a similar program …

Member Avatar for DavidKroukamp
0
168
Member Avatar for jade_91

Hi, basically ive been trying to write code to work out where the nearest station for a person is based on their current location. I did have it working to display nearest station name and distance from that station but something went wrong I must have accidently deleted something or …

Member Avatar for DavidKroukamp
0
142
Member Avatar for dbwalters67

Hello, I am using Visual Studio 2008 to create a program that utilizes Window's API to interact with a window that pops up on an external program. I am trying to populate a ListBox with particular text using LB_ADDSTRING & LB_SETITEMDATA but I am not having any luck in doing …

Member Avatar for dbwalters67
0
319
Member Avatar for goltu

[CODE]<asp:TextBox ID="TextBox3" runat="server" ReadOnly="True" ></asp:TextBox> <asp:CalendarExtender ID="CalendarExtender2" TargetControlID="TextBox3" runat="server"> [/CODE] I have use text box and calender

Member Avatar for bhartman21
0
117
Member Avatar for infinitizon

Hi everyone, I have an interesting situation at hand. I already succeeded in uploading files (.doc, .docx, etc) to both the database and a folder on the server. I can also download the files to client systems successfully without any issue. However, my manager wants people to be able to …

Member Avatar for sufyan2011
0
421
Member Avatar for Melow

Hy, I have to write a program witch recognizes the extension of the file it gets as argument after that it has to validate the file line by line. A file should look like this: ex: Name, Age, Email, OptionalField1, OptionalField2 Anna, 22, [email]anna@smting.com[/email], completed Mark, 24, [email]mark@smting.com[/email], completed completed …

Member Avatar for Melow
0
183
Member Avatar for arden_k

Hi All, I'm trying to get the JSP database connectivity according to (MVC) Model 2 tutorial to work but I'm missing something. I wanted to look at the files available for download to try to locate the answer to my question; danijsptutorial-database.zip and daniwebtutorial.zip. When I try to download the …

Member Avatar for peter_budo
0
207
Member Avatar for StephNicolaou

Hi all, This is also similar to web browsers which use the codes, &d for date, and &l&f&r for document name, etc. I would like to start the page number for 165, for example, is there a code to do this? (For within the print preview/page setup area). I've already …

Member Avatar for StephNicolaou
0
172
Member Avatar for Youg

Although, I could easily state quite a few people will be bored with these, I couldn't find someone else with my problem. The code below runs, though doesn't decrypt. It gets to the first "Error: Unidentified Character" and ends. Any help great appreciated. [CODE]#include <iostream> #include <string> #include <array> #include …

Member Avatar for Youg
0
248
Member Avatar for zck17

[CODE]string[] lines = System.IO.File.ReadAllLines(@"C:\Users\Admin\Desktop\ID.csv"); string sPattern = idBox.Text; foreach (string s in lines) { if (System.Text.RegularExpressions.Regex.IsMatch(s, sPattern, System.Text.RegularExpressions.RegexOptions.IgnoreCase)) { nameLabel.Text = "test success"; } else { nameLabel.Text = "test failure"; } }[/CODE] This is basically what I have so far. I am using Visual C#, which is probably obvious, but …

Member Avatar for thines01
0
253
Member Avatar for kelvin_8188
Member Avatar for sgt_toasty
0
129
Member Avatar for azegurb

Hi all again, i have read tutorial about javascript classical inheritance [B]Douglas Crockford[/B] wrote. But i did an example for the reason practizing as it showed in his page [URL="http://www.crockford.com/javascript/inheritance.html"]http://www.crockford.com/javascript/inheritance.html[/URL] for ex i did the following example. [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"> <head> <meta http-equiv="Content-Type" …

Member Avatar for azegurb
0
137
Member Avatar for ThaiAmL

Hello! I'm trying to write a program that will eventually carry out matrix multiplication (by another matrix and by a vector) among a few other methods for a homework assignment. However, the assignment says we first need to write a default constructor that creates the 3x3 Identity Matrix. I'm not …

Member Avatar for DavidKroukamp
0
854
Member Avatar for anubhavk

I am working on improving the visual appeal of table rows. The data in table rows is generated dynamically and has lots of information. There is a column in that table which gives the time when that particular information row was issued. On the basis of the days/months etc before …

Member Avatar for Airshow
0
289
Member Avatar for rotten69

Hi everyone, I had this problem with phpMyAdmin and successfully fixed it. Then, after some days, I encountered the access problem with the WAMP server. I haven't changed anything yet. Or maybe, I need to set up the environment variables? The message I'm getting is that [QUOTE]Forbidden You don't have …

Member Avatar for rotten69
0
166
Member Avatar for concrete

I have been asked to develop a Reporting System for an English Class as part of an assignment for Uni. I have two tables [LIST] [*]Students [*]English [/LIST] the data going into the grading system are [LIST] [*]Exam Mark [*]Exam Comment [*]Coursework Mark [*]Coursework Comment [*]Poetry [*]Creative Writing [*]English Literature …

Member Avatar for simplypixie
0
164
Member Avatar for zachattack05

Long time no post! I hope everyone's well! I'd appreciate some input here on this one... I still, even after reading the MSDN documentation on the Listbox and ListControls, have no clue what exactly these properties are for. I'm assuming the SelectedValue property, when accessed, returns the "value" of the …

Member Avatar for phoenix911
0
172
Member Avatar for glut

Hey, I don't know if this is the right section, but there's no HTAccess section, so I'll just put it here. Anyways, I'd like to make one of those signatures that gets the IP of the person and then makes and image out of it with the IP. I think …

Member Avatar for cereal
0
168
Member Avatar for anand01

Hi all, when I use break statement like following it doesn't show any error [CODE] String o="": o = o + 2; z: for(int x = 3; x < 8; x++) { if(x==4) break; if(x==6) break z; o = o + x; [/CODE] but when I interchange the label(z) position …

Member Avatar for anand01
0
236

The End.