199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for cooldj

I have windows form lab created in which I enter plane name and location, direction, speed and send it to listbox.. I need to show how many have i created in a lbl form.. which goes like this: Number of planes created: (number) how can I write this in code? …

Member Avatar for abelLazm
0
99
Member Avatar for farshad_emp

Hi Dears I want to print text throu a termal printer of embedded device.I implement it's code in c# but it doen't print.please guide me any one that know the below code lpt dll for printer and Nazanin.ttf is font that i will print my text my code : [CODE] …

Member Avatar for farshad_emp
0
257
Member Avatar for Tunnleram

I've setup the ability for members to select their favorite games. I probably could have built this better from a database design point of view so I'm open to suggestions there. Aside from that I'm trying to build a query that provides me with counts of the games so I …

Member Avatar for pratik_garg
0
88
Member Avatar for strungoutfan78

I really need help on my latest C++ assignment. The program was due a week ago and I'm still beating my head against a wall here. This is supposed to be a VERY SIMPLE linked list implementation. I have rewritten this dang thing countless times in as many different configurations …

Member Avatar for strungoutfan78
0
531
Member Avatar for reezox

i try to change this scrip into jsp but i stuck at switch statement - switch ($_GET['action'].. Please someone help me.. (T_T) [B]menu.php[/B] [ICODE]<li><a href="index.php?action=home">Home</a></a></li> <li><a href="index.php?action=aboutus">About Us</a></a></li>[/ICODE] [B]index.php[/B] [ICODE]<td width="20%" valign="top"> <?php include ('menu.php'); ?> </td> <td width="85%" valign="top"> <?php switch ($_GET['action']){ case 'aboutus': include 'aboutus.php'; break; case 'home': …

Member Avatar for reezox
0
152
Member Avatar for xXProgrammerXx

I wrote this script for my classmates where we shoot at each other, but after it compiles it says that there was an error and exits out. heres my script, if there is anything in there that needs to be fixed please help me. [CODE]#include <allegro.h> #include <process.h> #include <stdio.h> …

Member Avatar for xXProgrammerXx
0
201
Member Avatar for apanimesh061

This is program that return a concatenated string to the main() [CODE] import java.io.*; class ConCat { public static void main(String args[]) { String a, b ,c; a = "Animesh "; b = "Pandey"; c = concat(a, b); System.out.println(c); } } static String concat(String s1, String s2) { String C; …

Member Avatar for jon.kiparsky
0
171
Member Avatar for strungoutfan78

So I have this assignment to create a dynamic stack with template and I've got it nailed pretty much. My question, though, is: I tried to implement "stack2" originally with data type as string. It would not work. The compiler threw all kinds of errors. Could somebody tell me what's …

Member Avatar for strungoutfan78
0
172
Member Avatar for johndohmen1963

ihave a script for a multifile uoload my question is how can i create it so that i can upload only jpg files [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" content="text/html;charset=utf-8" /> <title>multiple file upload</title> </head> <body> <form action="" method="post" enctype="multipart/form-data"> <input name="files[]" …

Member Avatar for johndohmen1963
0
92
Member Avatar for yashsaxena

Hello All I want to learn PERL language. Till today I know C, C++, HTML and little bit JAVA. So is there any prerequisites for learning PERL? Which book you will recommend for me (that book must be available freely :) ) for quick learning PERL?

Member Avatar for roswell1329
0
134
Member Avatar for nightbreed

Hey guys! I'm trying to write a program that calculates the area of the convex hull of a set of points in a plane. I can find which points construct the convex hull but calculating the area is a little bit difficult for me. I guess the problem is that …

Member Avatar for nightbreed
0
2K
Member Avatar for Fibinacci85

ok hi guys i'm a fairly new guy to these forums, and i'm hopping some one can help me. the thing is i want to create a website which i've sort of done i'm not that fabulous in HTML coding. the scenerio is that i'v created a website where people …

Member Avatar for almostbob
0
145
Member Avatar for Gata_Salvaje

Hi ,There I hope you can help me with this I need a Java algorithm to help me find how much % is string A relevant to String B Example : String A => Java ,C++ ,C# ,Assembly String B => java ,c++ then Result should be => 50% relevant …

Member Avatar for ztini
0
5K
Member Avatar for 24x24

This is homework. Please do not write my code for me. I did look for this but only found things related to buttons or making a background, none of which had the answers I needed. I have been working on a game. The game has some images floating around and …

Member Avatar for mKorbel
0
163
Member Avatar for elshan0011

i have some formula. (find kubik feet) aswer = ((height(inch)/12 * height(inch)/12 * width(feet))/16 i want to solve this formula and asnwer in kiubic feet i am using double data type and c# language; ex: height = 48inch ,width =12feet double height_in_feet = 48/12; double width_in_feet =12; double ans=(4*4*12)/16; Messagebox.Show(ans.toString()); …

Member Avatar for ddanbe
0
219
Member Avatar for kali Annan

Hi guys, i want to create a registration page which has the fields like name,username,gender,dateofbirth,maritalstatus,etc... i have already created the form using html. now i need to encrypt the php code to insert these datas into the database which i have already created. Additionly i need to validate these fields …

Member Avatar for kali Annan
0
488
Member Avatar for phpDave

Hi. I use DW cs4 for pagination in order to let users page through a record set. It always worked until I use a $variable in a SELECT statement. If I hard code something, it works, variables don't. Any solutions to this?

Member Avatar for phpDave
0
126
Member Avatar for Ertzel

I'm trying to create a Chat program for people to talk to each other through. So far I have it so multiple clients can connect to the server and send/receive messages to/from the server. The problem I'm having is because of the way Clients that are connected to the server …

Member Avatar for template<>
0
1K
Member Avatar for Celtrix

I literally hate to ask this question but I am having trouble with Qt 4 basically all I am trying to do is clear the textEdit area with clear() but I am not sure of what to do. In C++ I would just [CODE]textEdit->clear();[/CODE] and it would do so. I …

Member Avatar for vegaseat
0
151
Member Avatar for komyg

Hi, I am developing a Java SE console application that needs to connect to a web page, get its contents (using HTTP GET) and get the value of a timer that was written in Javascript. If we take [URL="http://www.elated.com/res/File/articles/development/javascript/creating-a-javascript-clock/clock.html"]this[/URL] example page for instance. When I retrieve its contents using HTTP …

Member Avatar for NormR1
0
290
Member Avatar for IDC_Sharp

how can i take only the letters that after the dot (.) in the word? if i have the word: "Yes.No" i want that my string a will be equal to "No", but that should work in every word, not just in Yes.No

Member Avatar for IDC_Sharp
0
75
Member Avatar for ivan3510

Hi! I have two frames (frameset, let's call it frame1 and frame2). Frame1 has links..., and frame2. When some link in frame1 is clicked, it must be changed content of the frame2. Here's example: [URL="http://www.dlib.indiana.edu/variations/scores/adg7955/index.html"]click[/URL]. How to do that? (I don't see any javascript code) Thanks a lot!

Member Avatar for ivan3510
0
96
Member Avatar for Nirmeen Ased

Write a program toconvert from Fahrenheit to Celsius : Tc =(5/9)*(Tf-32) Tc : Celsius Tf : fahrenheit

Member Avatar for GunnerInc
0
109
Member Avatar for Nirmeen Ased

what's the wrong with it ..?[code]<asp:LinkButton ID="LinkButton1" runat="server" Font-Bold="True" Font-Size="14pt" Font-Underline="True" ForeColor="White" onclick="LinkButton1_Click" PostBackUrl="~/دخول.aspx">تسجيل الدخول</asp:LinkButton> &nbsp;&nbsp;&nbsp; <asp:LinkButton ID="LinkButton2" runat="server" Font-Bold="True" Font-Size="14pt" Font-Underline="True" ForeColor="White" PostBackUrl="~/التسجيل.aspx">التسجيل في الموقع</asp:LinkButton> <br /> <br /> <asp:TextBox ID="txt_search" runat="server" Height="32px" Width="272px"></asp:TextBox> <asp:Button ID="Btn_search" runat="server" BackColor="#999999" BorderColor="#3333CC" BorderStyle="Solid" BorderWidth="3px" Font-Size="13pt" ForeColor="White" Text="بحث" Width="73px" />[/code]

Member Avatar for Nirmeen Ased
0
91
Member Avatar for Inny

Im trying to merge the functions of two buttons In this script [CODE]<script language="JavaScript"> function setVisibility(id, visibility) { document.getElementById(id).style.display = visibility; } </script> <input type=button name=type value='Lock Up Geckos' onclick="setVisibility('geckos', 'none');";> <input type=button name=type value='Release Geckos' onclick="setVisibility('geckos', 'inline');";> <div id="geckos" style="position: relative;display: none;"> <div style="position: absolute; top: 0px; left: 0px; …

Member Avatar for Airshow
0
152
Member Avatar for johans22
Member Avatar for Derek Elensar
0
113
Member Avatar for evaldaskowka

Hi again, With silly question... I read about generating random numbers random(10); but it gives numbers from 0 to 10 and i need for example from 10 to 100. I tried random([10..100]); but i can't compile this :/ Could somebody help me?

Member Avatar for Wolfgan
0
176
Member Avatar for sudheer2250

Hi, I am trying to convert a word xml into another xml file format using XSLT. Here I need to check the all the following siblings with some condition. If that condition is satisfied, the control should exit from that loop. How can i achieve this, I am desperately need …

Member Avatar for sudheer2250
0
376
Member Avatar for Sekhrian

Hi guys! Can anyone provide an accurate code for me to do this please. I'm not having any luck finding particular codes on Google that work.

Member Avatar for Sekhrian
0
188
Member Avatar for agam360

Is there any possible way to return the expiration time of a pefeied cookie by [B]JavaScript[/B]? What I read so far: 1) Create another cookie to hold the expire time. -I don't want to use that because i do not intend to do it, simple enough. 2) I don't really …

Member Avatar for twiss
0
173
Member Avatar for evaldaskowka

Hello, I'm working on a snake based game in pascal. I'm using graph window. But here is the problem: Yesterday i was doing great my project compiled and everything, today i turned on my computer, open my project and it wouldn't compile... I checked the code the was nothing strange …

Member Avatar for TrustyTony
0
306
Member Avatar for sneaker

I just bought and read Jim Waldo's "Java The Good Parts". (ISBN 978-0-596-80373-5) It is a very interesting book that gives you insight in what happens under the surface. This is not a book about learning how to program in Java. It is rather a book for those who have …

Member Avatar for sneaker
0
566
Member Avatar for laokn

Can you help me with the following Mysql question? I get a table, say, three variables: ID, Date and Value, for example, ID Date Value 1 2001 2 2 2005 3 3 1986 7 4 1985 1 How can I add a variable, sum, to each line, with the condition …

Member Avatar for pratik_garg
0
218
Member Avatar for MARKAND911
Member Avatar for dina154

Hi, I don't know where i when wrong... But my program doesn't want to loop properly. I was ask to make a Simple calculator that will loop the ans till giving a exit. here is what i got... #include <iostream> #define NEWLINE "\n\n"; using namespace std; int main() { char …

Member Avatar for dina154
0
492
Member Avatar for kornerr

[youtube]rZ9RrAUGX7E[/youtube] [youtube]3u1sxg4K5sQ[/youtube] [b]Changes since 0.6:[/b] [list] [*]Most of code hase been rewritten from scratch. [*]Added autocamera. [*]Added save and load functionality. [*]Added Shisen-Sho game mode. [*]Added assumption of optimal settings at the first start of the game. [*]Added German language support. [*]Lots of interface changes. [*]Single archive. [*]Faster number of …

Member Avatar for kornerr
0
193
Member Avatar for sallecpt

Hey there I know one can use include [url]http://domain/page.php?var1=xxx&var2=xxx[/url] But I dont need an include This is what I need to do, and how on earth can I achieve this? I've burnt my brains already. Please help me. [CODE]$command = "/usr/bin/php5 -f /home/path/to/file/test.php?folder=777";[/CODE] then run the command. so, test.php needs …

Member Avatar for jnicholls92
0
114
Member Avatar for 24x24

I wasn't sure if this should go in games development or here but it's java so I put it here. This is homework so please don't write my code for me. My assignment is to create a game. It has to have moving parts, keyboard controls, buttons, the works. I …

Member Avatar for 24x24
0
388
Member Avatar for thijscream

hi, i'm having the following problem, normaly i work with html css and php but for this to work i need to make a litle javascript function and i'm still kinda new to it. so here is my problem. i'm making a search field where someone has to select some …

Member Avatar for Graphix
0
117
Member Avatar for DarkVision

ok here my code [CODE] libxml_use_internal_errors(true); $objXML = simplexml_load_file('MainRelease.xml','my_node'); // load xml file if(!$objXML){ $errors = libxml_get_errors(); foreach($errors as $error) { echo $error->message,'<br />'; } } else { $Result = $objXML->xpath('AllRelease/Release/name[@rdate="'.$DATERELEASE.'"]'); if(empty($Result)){ $AllRelease = $objXML->xpath("//AllRelease"); $releas = $AllRelease[0]->prependChild2("Release"); $dat = $releas->prependChild2("name"); $dat->addAttribute("rdate",$DATERELEASE); $releas->prependChild("comment",$COMMENT); $Anime = $releas->prependChild2("Anime"); $Anime->prependChild("popup",$POPUP); $Anime->prependChild("Title",$VIDEONAME); $Anime->prependChild("VideoUrl",$dir); $objXML->asXML("MainRelease.xml"); …

Member Avatar for DarkVision
0
155
Member Avatar for bioinfo90

i NEED A PERL SCRIPT TO CREATE NAME_DIRECTORY FOR ALL TRAJECTORIES. i've trajectory files like this, rep2.tra3M.bz2 rep2.tra4M.bz2 rep2.tra5M.bz2 rep2.tra6M.bz2 rep2.tra7M.bz2 i want a scipt to list all replicas,copy zipped replicas and unzip all replicas and create a file with list of replicas and call make_pdb.pl for all trajectories.

Member Avatar for d5e5
0
192
Member Avatar for dimitris4463

Hello DaniWeb, this is my first view at this forum as a member! I have an issue with my code. The application interacts with a MySQL database on a remote server, I have access to this server. When my app is running the insert into code I m getting this …

Member Avatar for debasisdas
0
240
Member Avatar for IWDesigns

hi guys... ive been working with codeigniter for over a year now, but ive been taking scripts apart and fixing errors/adding new functions, ....now im coding something from scratch and its proving to be quite annoying as the new version has a lot of stuff changed, so im pretty much …

Member Avatar for diafol
0
766
Member Avatar for [V]

Can someone please show me the best way to achieve this with the least amount of lines? Im a recovering PHP coder, I have one solution. I was wondering if there was a quicker more pythony way to do this: I have in "results" [ICODE][('Basp1', 'Aen2'), ('Basp1', 'Ahy18'), ('Basp1', 'Ahy26'), …

Member Avatar for vegaseat
0
156
Member Avatar for Tellalca

Hey; I have an assignment. My assignment includes the following tasks to be implemented under Linux: – Display a list of all available files (with their types) in the working directory, – Display a list of only regular files in the working directory, – Display a list of only directories …

Member Avatar for sergent
0
219
Member Avatar for rssk

hi all i hav a list like list = ['0', '344', '1', '345', '2', '346', '3', '347', '4', '348', '5', '349', '6', '350', '7', '351', '8', '352', '9', '353', '10', '354', '11', '355', '12', '356', '13', '357', '14', '358', '15', '359', '16', '360', '17', '361', '18', '512', '19', '513', '20', …

Member Avatar for woooee
0
103
Member Avatar for luisthedude

I'm trying to launch an .exe from a JButton on a java Jframe, any1 knows how to make it execute. [CODE]private void OKButton3ActionPerformed(java.awt.event.ActionEvent evt) { // TODO add your handling code here: } [/CODE]

Member Avatar for harinath_2007
0
114
Member Avatar for radical43144

This is my class project to be made in pythonCard : A local community centre desires to have a user friendly application to keep track of their community members. The application must allow a user to display information about community members, including the list of activities that individual members are …

Member Avatar for woooee
0
151
Member Avatar for PhysicsExpert

This worked in VC++ 6 but in Visual Studio 2010 assign needs a second parameter, in the context of this function would it be a better idea to use resize or reserve and why? [CODE] bool CN3ShapeExtra::Load(HANDLE hFile) { bool bSuccess = CN3Shape::Load(hFile); int iPC = m_Parts.size(); m_Rotations.clear(); if(iPC <= …

Member Avatar for PhysicsExpert
0
183
Member Avatar for khaleel_rashid

Hi i want to Color picker to wordpress website but unable to find any plugin to do it. i don't want it in admin section. i need it on my website.

Member Avatar for khaleel_rashid
0
107

The End.