199,124 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for nsyncpilu

Hy , I have a example tooken from the internet , and compiler gives me this error : The type CommPortIdentifier is not accessible due to restriction on required library C:\Program Files\Java\jre6\lib\ext\comm.jar The code is: [CODE]import java.awt.*; import java.io.*; import javax.comm.*; import java.util.*; /** * Open a serial port using …

Member Avatar for jackmaverick1
0
140
Member Avatar for dcparham

hi All - total noob[java] here; i have an app on the android written, but i believe the question here is totally java related. after my app adds field1 + field2 + field3 and displays the value in field4, how do i *start over*? thing is, if ea field is …

Member Avatar for jackmaverick1
0
173
Member Avatar for theguitarist

I'm not sure on which forum this thread should have gone,so I'm asking here. I presently don't have a personal computer to work on,and won't have one for another few months.I want to be able to continue practising C++. I have access to a computer centre facility.I don't think it …

Member Avatar for Narue
0
169
Member Avatar for highlite

I have created a simple gui using a windows form, which consists of some checkboxes, radiobuttons and textboxes. I also have my logic code which consists of several switch case statement and I want to know how to put my logic code into the gui I have created. Does anyone …

Member Avatar for highlite
0
353
Member Avatar for ubayedullah
Member Avatar for debasisdas
0
59
Member Avatar for gozo12

i have windows media player then its for etc open an mp3 file i want that when its playing mp3 the song name showing up into a label like Label1.Caption = w1.currentMedia.Name but its not work D:

Member Avatar for debasisdas
0
86
Member Avatar for james6754

I am taking a step backwards in to C from C#. I am studying C# at University but feel I may be rather restricted as to what I can do later on. For that reason I would like to learn C (also to get a good idea about the real …

Member Avatar for Narue
0
172
Member Avatar for Roy Gourgi

Hi, I am having some problems at times with converting to double and taking the square root. Sometimes it works and sometimes it does not and I am not sure why! I am adding the sum of the square root of 10 numbers for each of 50 rows into an …

Member Avatar for shams.expert
0
254
Member Avatar for DILO3D

hi all, for example. this is my mysql query result. A | B | C --------- a1| a2| a3 b1| b2| b3 c1| c2| c3 d1| d2| d3 i want to print the result like columnwise as following. a2|b2|c2|d2 Any suggestions please....

Member Avatar for IIM
0
113
Member Avatar for nishantharp

please hw to solve below problem? Warning: Cannot modify header information - headers already sent by (output started at /home/trojalk/public_html/includes/header.html:14) in /home/trojalk/public_html/includes/careers.html on line 15 Warning: Cannot modify header information - headers already sent by (output started at /home/trojalk/public_html/includes/header.html:14) in /home/trojalk/public_html/includes/careers.html on line 16 Warning: Cannot modify header information - …

Member Avatar for IIM
0
100
Member Avatar for PROgamer

Im having a problem with this program why i am not able to set present total price of product if gonna seect the product form combo and the remove button cant get the selected index,retrieve the selected item and remove the selected item from the list using its index or …

Member Avatar for PROgamer
0
241
Member Avatar for bradploz

how can you connect different user accounts to their respective info? for example:I login as bebi and then, all of my info will show up in a window from ms access 2007 and if another user logs in, the info of that user will show up in the window [B][COLOR="Red"]PLEASE …

Member Avatar for Netcode
0
109
Member Avatar for eVva

I have text box and button when i clik tht button it has to display all the data if it is relevent to the data else it has to say no data . my project is about track cd. name textbox that i want to search is txtTitle.Please help me!!Urgent. …

Member Avatar for Netcode
0
210
Member Avatar for biindhe

hi every body, I need to help me,i want search my database by entering Id number in the text box. My project is db_2008 and vb.net 2010. thank u for u'r helping. mohamed abdi

Member Avatar for Netcode
0
224
Member Avatar for dwinn

Hey guys, I have recently programmed a site that enables a user to upload and download files to and from an FTP site. I now wish to take it further by having an email sent out to a specific email account (Outlook 2010) confirming that a file has been uploaded …

Member Avatar for dwinn
0
174
Member Avatar for sreeram01

Hi, I want to get the information from the website using HttpURLConnection.I wrote this [code]import java.io.IOException; import java.net.MalformedURLException; import java.net.URL; import java.net.URLConnection; public class webPractice { public static void main(String[] args) { try { URL yahoo = new URL("http://www.yahoo.com"); URLConnection yahooConnection = (URLConnection) yahoo.openConnection(); yahooConnection.connect(); long s=yahooConnection.getDate(); System.out.println("date"+(String)yahooConnection.getContent()); System.out.println("Hi"); } …

Member Avatar for JamesCherrill
0
974
Member Avatar for ktsangop

Hi everyone! I am trying for the first time to write "proper" object oriented c++ (ANSI) code. Up until now everything was made easy to me using visual studio and working with mfc or .net which both handle a lot of the "dirty" stuff... To the point : I want …

Member Avatar for ktsangop
0
962
Member Avatar for emmas4impact

Dear all! I have a final year project on Google maps. The aim of the project create a map for a farm land in a city and to read the data to be displayed on the maps from a database. But the thing is I need someone who has done …

Member Avatar for emmas4impact
0
975
Member Avatar for neclark2

Does anyone know if there's a function in php that will allow me to convert a string into an image?

Member Avatar for cereal
0
759
Member Avatar for Kevin Lee

Hi all. my code is below: [code] <script type="text/javascript"> function gu_gid() { var ggid = document.getElementById("gid"); if(ggid.value != "" && ggid.value != "select") { $().ready(function() { $("#autocomplete").autocomplete("test.jsp?gid=" + ggid.value, { max: 50, width: 300, matchContains: true, selectFirst: false }); }); } } </script> . . . <form action="#" autocomplete="on"> <div> …

Member Avatar for urtrivedi
0
158
Member Avatar for Prosammer

i was just wondering why can't i point something to void. without getting any errors like for example [ICODE] class cs_PureFunction { public: virtual void DoSomething() = 0; virtual bool CheckThings() = 0; }; class cs_EnableOverrideAction: public cs_PureFunction { public: virtual void DoSomething() { puts("Test123"); } virtual bool CheckThings() { …

Member Avatar for Prosammer
0
194
Member Avatar for AngelicOne

I don't what is wrong but there's an error [B]Error: Incorrect date value: '' for column 'DateBirth' at row 1[/B] I searched for answers but there seems nothing wrong with my code. I used date as datatype for date of birth. my php script. [CODE] <?php $m = $_POST["month"]; $d …

Member Avatar for AngelicOne
0
175
Member Avatar for jacksantho

Warning: mail() [function.mail]: Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in C:\xampplite\htdocs\online\test2.php on line 27

Member Avatar for cereal
0
200
Member Avatar for ste713

Can someone help stop my head ache! Im sure its very simple (it is with php). I have run one query to get a users current cash [CODE] SQL = "SELECT * FROM money WHERE id='fred' Set Recordset = Server.CreateObject("ADODB.Recordset") Recordset.Open SQL,Connection Recordset("cash")[/CODE] This is correct and pulls the value …

Member Avatar for jcarbillon
0
93
Member Avatar for mpw5013

Good Afternoon, I'm almost done, but something is wrong. I have 19k records that I need to sort through in an array, but I can't figure out how to get the in between records. This works just fine: [CODE]$filterData = array( 'product_id' => array('lteq' => 6000) ); [/CODE] This doesn't: …

Member Avatar for diafol
0
151
Member Avatar for radiata

Hello so basically my project goes like this: Write a C++ program that reads in two positive integers that are 20 or fewer digits in length and outputs the sum of the two numbers. Your program will read the digits as values of type char so that the number 1234 …

Member Avatar for Caligulaminus
0
1K
Member Avatar for karthik_ppts

Hi Frendz, I have datetime field in database. now i want to filter out the record which are in today date using mysql query?

Member Avatar for karthik_ppts
0
150
Member Avatar for haimz

Hello, i want to paint somthing its meen that replace <?php $var = "hello"; ?> to somthing like: <?php [COLOR="red"]$var[/COLOR] = [COLOR="Green"]"hello"[/COLOR]; ?> i dont want to use hightlight_string i need other function thanks

Member Avatar for cereal
0
283
Member Avatar for weeon

"! > = " wrong not more the same as? ex: 4 not more the same as 9 thx's

Member Avatar for broj1
0
72
Member Avatar for uniquedevil65

hello everyone im new to this site and i require to submit a project title and i have to complete this project in html

Member Avatar for uniquedevil65
0
47
Member Avatar for Reliable

Hello Everyone, I'm trying to change the page content based on which link is pressed. Can someone tell em hwy my code doesn't work, please? Last error I got was a parse error on line 43. Thanks [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 …

Member Avatar for P0lT10n
0
174
Member Avatar for aa06ron

Hi there, I need some help with this error/warning Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource here is the code: [CODE=php] include "connect.php"; include "comment.class.php"; $result = mysql_query("select * from comments order by id"); $comments = array(); while($row = mysql_fetch_assoc($result)) { $comments[] = new Comment($row); } …

Member Avatar for P0lT10n
0
135
Member Avatar for devindamenuka

hi all , I was developing a blog where in admin control panel i can view the new comments. i want to set the approval to view the comments in the blog. problem is I used radio buttons to set permision but it did n't work properly. I need to …

Member Avatar for P0lT10n
0
211
Member Avatar for androidz

I use the splash screen of the vb.net found on windows form.Is there a way that i could put an initializing while my splash screen is running?like other programs do instead of progress bar. thank you.

Member Avatar for Netcode
0
289
Member Avatar for 7kemZmani

I creat this form which contain dynamic table: [CODE]<form action="<?php echo $editFormAction;?>" method="post" name="form1"> <table cellspacing="0"> <tr> <th>#</th> <th>ORDER DESC</th> <th>ORDERING DEPT</th> <th>ORDERING SERVICE</th> <th>STATUS</th> <th>SENDING DATE</th> <th>DELIVERING NO</th> <th>DELIVERING DATE</th> <th>COMMENT</th> </tr> <?php do { ?> <tr> <td><?php echo $row_medi['order_no']; ?></td> <td><?php echo $row_medi['ORDER_DESC']; ?></td> <td><?php echo $row_medi['ORDERING_DEPT']; ?></td> …

Member Avatar for datadiary
0
191
Member Avatar for sid78669

I am starting out with PHP and in my project I'm trying to fetch XML data from a url and parsing it for data. Now the url that I use is being fetched from a webpage and hence I know that it is correct and it exists. Still, when I …

Member Avatar for sid78669
0
263
Member Avatar for Sorcher

[CODE]$query = "SELECT * FROM image_share WHERE to='$username'"; $result = mysql_query($query); while($row = mysql_fetch_assoc($result)) { echo '<tr> <td width="100%" align="left" valign="top"> <div style="border-bottom:1px solid #6F6F6F;"><span style="color:#C0B184;"><a href=""><img src="'.$row['image_sharelink'].'" width="150" height="137"/></a></span><br/> <br/> </td> </tr>'; } [/CODE] cant figure out why it wont work. I got my error display on E_ALL mysql_fetch_assoc(): …

Member Avatar for IIM
0
106
Member Avatar for DragonSlayerX

[CODE]class Triangle: def __init__(self,x,y,z): self.x = x self.y = y self.z = z def perimeter(self): return self.x + self.y + self.z def area(self): ang = acos(self.y^2 - self.x^2 - self.z^2 / -2 * self.x * self.z) h = sin(ang) * self.x return self.z * h / 2 triangle = Triangle(input("Please …

Member Avatar for Gribouillis
0
133
Member Avatar for bhagawatshinde

Hi anybody can help me , i want to connect the sql serverdatase from local machine in windows application. i am trying this like this way but it give me an error my connection string [CODE] return new SqlConnection(@"Data Source=68.71.135.2,2121;Initial Catalog=DBTest;User ID=myId;Password=mypass;");[/CODE] how i connect to server database. Thanks in …

Member Avatar for bhagawatshinde
0
214
Member Avatar for ztdep

[CODE]// // Equation.h define the equation class to be solved. // #ifndef EQUATION_H #define EQUATION_H #include "Mesh.h" #include"Variable.h" #include"Media.h" #include"Simulation.h" #include <string> #include<vector> #include <assert.h> #include <iostream> using namespace std; class Equation { protected: // the equation name it should be the same with the variaible name string name; // …

Member Avatar for mrnutty
0
155
Member Avatar for harinath_2007

Great to hear that.. Java SE 7 is officially released today! After nearly five years of collaboration within the worldwide Java community, Java Platform, Standard Edition is ready for download! It's an important step in Java’s evolution. The major features of Java SE 7 are: • Project Coin- many small …

Member Avatar for jwenting
0
139
Member Avatar for br0wnm4n

Write a program that calculates the closing balance for an indeterminate number of checkbooks. The program must logically flow as follows: * Step 1. Ask for the data for the first checkbook- opening balance, withdrawals and deposits * Step 2. Display the opening balance, the number of withdrawals, the number …

Member Avatar for WaltP
0
1K
Member Avatar for laguardian

Hey guys! I'm trying to create an accounting system, one that can create worksheets, create balance sheets, etc.. Is it easier to do this in Java or some other programming language. Got any suggestions on how I can accomplish this?

Member Avatar for jwenting
0
173
Member Avatar for rayidi

Dear Friends, Am developing a sms based website. i bought the gsm modem. problem how to connect the com port through php and querying the gsm modem with AT Commands ?? Please help me out [COLOR="Red"]Modem:- Visontek 82GH USB MODEM It supports at commands. [/COLOR] Note:- Am sending sms and …

Member Avatar for vattana ybm
0
2K
Member Avatar for TheNinjaForce

Im confused on how to get pgpMyAdmin I went to the website and downloaded the phpMyAdmin-3.4.3.2-all-languages.7z I opened it and all I see is a bunch of files now what?

Member Avatar for trbograndnat
0
177
Member Avatar for rayden150

Hello good people of YA programming section I really need some help here, I made a function to find me the multiplication of the factorial of any number that I input but if I put say 100 it only gives back 0, when it should give 5050, maybe its the …

Member Avatar for WaltP
0
259
Member Avatar for pseudorandom21

I had a seemingly bright idea for a cleaner and easier to use operating system feature, for when the Windows clutter just gets too bad. Basically I want to alter the behavior of every window, such that when it loses focus it is minimized. But I don't know how to …

Member Avatar for pseudorandom21
0
142
Member Avatar for mosesmn

Am getting: Parse error: syntax error, unexpected T_DNUMBER $post_xml = "<?xml version="1.0" encoding="utf-8"?><PesapalDirectOrderInfo xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" Amount="".$order_total."" Description="".$transaction_details."" Code="".$code."" Type="".$type."" PaymentMethod="".$payment_method."" Reference="".$reference."" FirstName="".$first_name."" LastName="".$last_name."" Email="".$email."" PhoneNumber="".$phonenumber."" UserName="".$username."" xmlns="http://www.pesapal.com" />"; $post_xml = htmlentities($post_xml); If I use single quotes the error dissappears but it does not function the way i would like it …

Member Avatar for mosesmn
0
156
Member Avatar for mrbungle

Quick question... Say I have a login form with a user ID, then a text box on the main form. When the main form closes, it takes that value from the text box and inserts it into the column based on that users ID Here's my code- [CODE] '// Save …

Member Avatar for mrbungle
0
146
Member Avatar for Joemeister

Hi everyone! I'm really struggling at the moment calling these two functions. The one function checks that all the fields are filled in and the other to validate the date in a certain format. The function that checks all the fields works but when I try to call the second …

Member Avatar for Airshow
0
582

The End.