199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for BleepyE

Im making a top 10 leaderboard and ive added an option to hide yourself from the table if you dont want to be shown. This option removes you from the table completely. What I want to happen is instead of being removed from the table, have your username be replaced …

Member Avatar for BleepyE
0
97
Member Avatar for Slate2006

Is there a function used to calculate the length of an array. For instance, if someone enters John, the function outputs 4. Or is it necessary to write a function to do it, and how is it done. (This is not homework this time, just want to know for my …

Member Avatar for Sebelius
0
1K
Member Avatar for ashishgulshan

hello sir i am a student of** computer engineering** finally in my last year from **pune university** sir i took a gap after my 12th for exam preparation,nd it took **six year to complete my engineering** but sir i wanna say dat i **got failed in my first year **of …

Member Avatar for deceptikon
0
109
Member Avatar for ms061210

**PLEASE HELP ME. THIS CODE WILL RETRIEVE THE SEQUENCE YOU MADE. AND WILL OUTPUT IN THE TEXBOX IN THE NEXT FORM. BUT MY PROBLEM IS THAT IT DOES NOT RETRIEVE/GIVE THE GENERATED SEQUENCE. FOR SHORT NO OUTPUT T__T . PLEASE HELP.** Public Sub getJO() Dim oradb As String = "Provider=OraOLEDB.Oracle; …

Member Avatar for Begginnerdev
0
183
Member Avatar for LastMitch

Hi I'm been trying to enter numbers into the <input> so I can calculate **Add** - **Subtract** - **Divide** - **Multiply**. This is the equations: <?php $number = 20; $number += 10; print "\$number += 10;<br /> The answer is <b>$number</b>. <br /><br />"; $number -= 12; print "\$number -= …

Member Avatar for LastMitch
0
266
Member Avatar for kisetsukee

I m developing a C# CE application to read data from binary files which created by C++ progam to do item validation. Below is the coding of the C++ program.. // File Name: Ean2an.bin which is created by struct struct EAN2AN_TYPE { __int64 ean:40; // 5 bytes, up to 12 …

Member Avatar for TnTinMN
0
418
Member Avatar for adarshcu

Hi, [CODE] public void getTasksList(ArrayList<PerformTask> TasksList) { // TODO Auto-generated method stub try{ Class.forName("com.mysql.jdbc.Driver"); Connection cn=DriverManager.getConnection("jdbc:mysql:///test","root", "admin"); Statement st= cn.createStatement(); String s1 = "Select * from perform_task"; ResultSet rs = st.executeQuery(s1); System.out.println("Comes Here !! "); while(rs.next()){ rs.getDate("DateOfTask"); java.util.Date jDate = new java.util.Date(rs.getDate("DateOfTask").getTime()); TasksList.add(new PerformTask(rs.getInt("TaskID"), rs.getInt("PersonID") , jDate ,rs.getString("TaskDescription"),rs.getInt("TotalEffort"),rs.getString("TaskName"))); } }catch(Exception …

Member Avatar for rahul.pedduri
0
2K
Member Avatar for zvjezdan.veselinovic

I am making a mock financial aid account for a project and I wanted to know why my program is not working. Can anyone help me out?? After creating my class, I am trying to access my getName(student_name) function in my main(). It says: "error C2065: 'student_name' : undeclared identifier". …

Member Avatar for zvjezdan.veselinovic
0
222
Member Avatar for stevelll

I’m looking for a programming language that will: 1. Automate desk top processes running under Windows XP, like clearing the recycle bin & clearing recently accessed documents-programs under ‘Customize Classic Start Menu’, & 2. Open a Corel Paintshop program, run that program’s procedures & options, like optimizing photos, save the …

Member Avatar for tutux
0
172
Member Avatar for bobejoe

can anyone give me a simple assembly program in win32 and how to compile in

Member Avatar for untio
0
90
Member Avatar for Tcll

hey guys... I just need a little help with my encoder... this is the problem: [Click Here](http://lh3.ggpht.com/-UC0gFCTBDM0/UE9xMsYt_sI/AAAAAAAAEBw/sCXGlO4XWRQ/s1280/float%2520to%2520bin.jpg) my code: def f(byte_size,value): e=((byte_size*8)-1)//(byte_size+1)+(byte_size>2)*byte_size//2 m,b=[((byte_size*8)-(1+e)), ~(~0 << e-1)] OS= '1' if value<0 else '0' #sign I,F=str(abs(value)).split('.') I=bin(int(I)).replace('0b','') FB='' l=0; r = int(''.join(['1']*e),2)+m while l<r: B,F=str(float('0.'+F)*2.).split('.') FB+=B if F=='0': break l+=1 #print FB …

Member Avatar for Tcll
0
223
Member Avatar for HunainHafeez

i want to do something exactly like this in ASP.net , i am working on online reqruitment website, developing it for customer so i want to put a part like one mentioned in below link http://www.bayrozgar.com/ and chk the attached image to check that i am talking about . ![Capture54](/attachments/small/3/Capture54.PNG …

Member Avatar for HunainHafeez
0
132
Member Avatar for izam.lukman

hello, i get problem like this **[04-Oct-2012 09:31:14] PHP Warning: Wrong parameter count for mysql_close() in /home/u333556307/public_html/likes.php on line 44** 44 mysql_close($result,$connection); and this my full code ( likes.php ) <?php require 'facebook.php'; $id = trim($_POST ['postid']); if(empty($id)){ die("Hacking Attempt"); } else{ $token = $_GET["accesstoken"]; include('config.php'); //Create facebook application instance. …

Member Avatar for izam.lukman
0
184
Member Avatar for rubai

I have installed jdk and eclipse. but I can't start progamming. When I start from menu> New> class, it shows at the top "Source folder name is empty." Can anyone help me? My operating system is win7 64bit

Member Avatar for rubai
0
140
Member Avatar for Dendei

Hello im trying to get a hello world program to work from c# to wcf and then call it with php now have gone as far as i can get. **You have created a service.** To test this service, you will need to create a client and use it to …

Member Avatar for adam.adamski.96155
0
715
Member Avatar for crownedzero

Working with polymorphism collections, list, arraylists etc. I have a sorted collection that I would like to split based on one of the objects properties. All records > 0 to one; all less than to another. I'm trying to think of the best way to implement this. I'm thinking Comparable/Comparator …

Member Avatar for Taywin
0
220
Member Avatar for ougesh

#include<iostream.h> int main() { cout<<"*************Welcome************\n\n"; int pass; int option; int balance=50000; int withdrawal; int deposit; cout<<"Please Enter Your Password:"; for (int i=0;i<3;i++) { cin>>pass; cout<<"\n\n"; if(pass==2468) { cout<<"**Choose an Option**\n\n"; cout<<"1. Balance Inquiry\n"; cout<<"2. Withdrawal\n"; cout<<"3. Deposit\n"; cout<<"4. Mobile Refill\n"; cout<<"5. Exit\n"; cout<<"Enter Option:"; cin>>option; switch(option) { case 1: cout<<"\t …

Member Avatar for ougesh
0
111
Member Avatar for myk45

Hi All! This article is mainly focused at someone who is completely new to Software versioning. In this article, we see how Git can be used as a tool for versioning software. Please note that this is very brief. There are many videos/articles that deal in detail. 1) **What is …

Member Avatar for deceptikon
0
493
Member Avatar for gotboots

Hi all. Im wondering if it is common practice to encrypt the database contents. or is it normally left in plain text. for example, in a databse I have, the contents is stored in plain text: a select query would bring up "hello world", but should it be an encrypted …

Member Avatar for debasisdas
0
252
Member Avatar for azdine

Hi guys, I'm struggling with a basic stuff - A call to a javascript function within a XSLT transformation. Could you please help to find out what I'm doing wrong. Here is the XML input text <?xml version="1.0" encoding="UTF-8"?> <message channel-id="987b3452-5e34-4401-8106-ef81939f93e2"> <task-started task-type="task"> <agent-parameter multi-valued="false"><name>EPNIPRangeEndINT</name><value>168428543</value></agent-parameter><agent-parameter multi-valued="false"><name>EPNIPRangeStartINT</name><value>168428288</value></agent-parameter><agent-parameter multi-valued="false"><name>EPNRecordIPName</name><value>epn-2</value></agent-parameter><agent-parameter multi-valued="false"><name>IPPoolName</name><value>AzdinePool-1</value></agent-parameter><agent-parameter multi-valued="false"><name>NetworkType</name><value>AzdinePool-1</value></agent-parameter></task-started> </message> …

Member Avatar for Mike Askew
0
185
Member Avatar for chamo0683

Hi I need help with this program. I am trying to get it to store the person data into an array list and read from a file text but have not been able to figure out how to due it. This are the instructions for the program: Write an AddressBook …

Member Avatar for NormR1
0
1K
Member Avatar for jtok

Background: I am using Visual Studio 2005 Standard SP1 to create an ASP.NET website that accesses an SQL 2005 database. I am using vb.net as well. I am passing an ID in a query string from one page to the next, where I retrieve it using an SQLDataSource. The data …

Member Avatar for G_Waddell
0
2K
Member Avatar for nice_true

Hi! I work in NIC (National Informatics Centre). When I try to send email thorugh my asp.net code, I am not abe to do so, reason most probably being the ports being blocked by our ISP. To confirm, I fired telnet command for ports 25, 465 and 587, but in …

Member Avatar for G_Waddell
0
220
Member Avatar for prasenjit_das

Hi All.. This Code Write On aspx file .This Code set the value in hidden field..But This Code Does not Work Properly <html><head></head> <body> <script type= "text/javascript"> function showDialogue() { var a = Screen.Width; var b = Screen.hieght; document.getElementById('HiddenField1').value = a; document.getElementById('HiddenField2').value = b; } </script> <form id="form1" runat="server" > …

Member Avatar for G_Waddell
0
618
Member Avatar for ct_hunny

im trying to split the value using "," and it success but how i want to remove "," symbol at the of my array data example of my problme 1,2,3,4,5, expected result 1,2,3,4,5

Member Avatar for Reverend Jim
0
3K
Member Avatar for Thermalnuke

Hey guys Just learning about List Boxes, I have a quick Question Im Creating the Program where I have 3 text boxes and when I hit the add button it adds them to the list box off to the right if they already Exist in the list box then it …

Member Avatar for Thermalnuke
0
958
Member Avatar for rotten69

Hello everyone, I'm just wondering if there is another of calling functions in a different php file without making the app run strangley. So what I have got are a few forms without specifying their action. <?php 1- checking for the fields 2- if they are not empty and so …

Member Avatar for adam.adamski.96155
0
208
Member Avatar for sagarpulidindi

Hi can anybody plesae tell me is there any opensource BPM for .net other than www.netbpm.org...... i want to use this bpm software source code for my .net applications Thanks in advance

Member Avatar for Mike Askew
0
92
Member Avatar for prakhs

http://www.codechef.com/problems/NUKES I'm getting time limit exceeded in my code... Please some one help me out with this code. My algorithm is when A - ((N+1) ^ (p+1)) < 0 then pth chamber will have 1 particle and the new value of A in my recursive function is A - ((N+1) …

Member Avatar for L7Sqr
0
678
Member Avatar for seen

I am trying to creat a profile accourding to user input but getting many errors: here is my code public class Profile { public Profile() { } // method public string getMSG() { return "What do you look like"; } private string _eyecolor; public string eyeColor(); get {return _eyecolor} set …

Member Avatar for Mike Askew
0
128
Member Avatar for suncica2222

I'm using Netbeans 7, JEE project with application client, stateless ejb with remote interface, and JPA entity clasess made from sql script. Interfaces are in separate library project which is referenced in ejb and client project. **And the problem is the remote method that use custom interface object made from …

0
190
Member Avatar for //Gonz

Hello all I am writing a solicitor allocation application that will be used by multiple users at one time. Because of this, the database needs to be updated with every change. This is my code when a solicitor is chosen for allocation: private void FindSolicitor(int type, bool stype) { table …

Member Avatar for //Gonz
0
287
Member Avatar for scottlpool2003

I need to pull info from 2 tables using LIKE but also paginate the results. Table 1: publication Search by tags Need ID to search table 2 Table 2: publication_issue publication_id = publication.id <?php $query = ("SELECT * FROM publication WHERE tags LIKE '%news%'"); $result = mysql_query($query) or die(mysql_error()); while($row …

Member Avatar for smantscheff
0
481
Member Avatar for jalpesh_007

dear all, I have made one program, but i am stuck with one problem. I have taken one scrollpane in simple desktop GUI application in java. My hierarchy of Scroll pane is as below. JFrame |_JTabeedPane |_JScrollPane |_JPanelMain |_Jpanel |_JPanelA |_JPanelB Now all the components are in JPanelA and JPanelB. …

Member Avatar for jalpesh_007
0
196
Member Avatar for shhh

( ! ) SCREAM: Error suppression ignored for ( ! ) Fatal error: Call to undefined function session_is_registered() in C:\wamp\www\attendance\include\checksession.php on line 3 Call Stack # Time Memory Function Location 1 0.0010 183576 {main}( ) ..\admin.php:0 2 0.0015 185696 include_once( 'C:\wamp\www\attendance\include\checksession.php' ) ..\admin.php:3 <?php session_start(); if( !session_is_registered("ulogin")) { header("Location:login.php?invalid=2"); } …

Member Avatar for rotten69
0
335
Member Avatar for Boby Smith

I'm trying to add a "checked statement" based upon the users value already entered into the database. I've designed the database side as q1,q2 etc and have a single varchar with an "a","b", or "c". I basically want the code to retrieve the answer and put it into the checkbox …

Member Avatar for Bachu
0
104
Member Avatar for scapu

Hello, Can anybody help me in this program. [B]Write a C program to find the square root of a given number?[/B] I can understand only C and please i need answer in C only. In this question i should not use function and i have to write a code for …

Member Avatar for goyalPriya
0
3K
Member Avatar for mr-cracker

Hello, I'm trying to automate downloading from turbobit.net through php, i login successfully and get all the cookies. then when i try to intiate another connection to download a file i get these headers back > HTTP/1.1 200 OK Date: Thu, 26 Jul 2012 17:44:02 GMT Content-Type: text / html; …

Member Avatar for sftranna
0
880
Member Avatar for neithan

Hi! I'm trying to implement the easy curl function to get a website, `curl_easy_setopt(curl, CURLOPT_URL, m_sURL);`, where the third argument is the only one that i give, and it's in this part of the code: ... public: string m_sURL; URL() : m_sURL("http://www.google.com") { } ... Now, when I call `curl_easy_setopt(curl, …

Member Avatar for sftranna
0
239
Member Avatar for roachae

I need to combine several TXT files, the number of files may vary, and the data contents of the files will need to be in specific places in the combined file. Some of the data files will be similar as will contain values at different time steps. Each of the …

Member Avatar for G_Waddell
0
182
Member Avatar for jontennyeah

i have a 1 textbox namely txtplate. I want the textbox that can input only Plate number. (example WXY 123 (with space and the 3 letters are in uppercase)

Member Avatar for G_Waddell
0
435
Member Avatar for HibaPro

i have this two tables fields: table1 (BOQSectionsAndParts_ID,BOQSection,BOQPart,ProjectNO) BOQSectionsAndParts_ID is a primary key table2 (BOQItemEntry_ID,ProjectNO,BOQSectionsAndParts_ID,BOQ_Item) BOQItemEntry_ID is a primary key and BOQSectionsAndParts_ID is a forign key. this is a sql server in my vb forum : i view the BOQ sectin as a combobox what i need is when the …

Member Avatar for G_Waddell
0
221
Member Avatar for TMD

Ok I have a program that uses HTML to get some values from a user using a form and then it is passed into a javascript function that does some calculations with these numbers and creates a new variable name. What I need help with is that I want to …

Member Avatar for broj1
0
1K
Member Avatar for cruze098

Hi, this is my code: def items_string(items_list): """Convert a list of Id, number pairs into a string representation. items_string(list((str, int))) -> str """ result = [] for item_id, num in items_list: result.append("{0}:{1}".format(item_id, num)) return ','.join(result) class Compound(Item): def __init__(self,item_id,name,products,items_list): Item.__init__(self,item_id,name) self.products=products self.items_list=items_list def __repr__(self): self.items_list=items_string(self) return '{0},{1},{2}'.format(self.item_id,self.name,self.items_list) class Products: def …

Member Avatar for Gribouillis
0
383
Member Avatar for amitash

Hi, I want to store today value in a string in VBA Word, e.g. today is Oct 04 2012, the string will be = "04102012". Any simple code can achieve that? Thanks!

Member Avatar for AndreRet
0
296
Member Avatar for Dendei

Hey i would like to know how i can use a combobox to show alternatives which i will choose from but with more information when i choose like if a combobox has theese options Klas Maria Mat i choose Mat and the selected index is Mat now i want it …

Member Avatar for Dendei
0
379
Member Avatar for sk8ergirl

I've created combobox.. the user have to select from the combo class, subject or grade(A,B,C,D,F) if the user select class in the text field he should type wich class 7 grade or8grade or 9 grade if he type 7 he should get all of the student name, grade. how can …

Member Avatar for mKorbel
0
793
Member Avatar for jontennyeah
Member Avatar for ak47carbon

i want to give sms sending service through my website plz tell me how to send sms through php tell me in detail

Member Avatar for JMills330s
0
261
Member Avatar for Theanonymous

Hi I need some help with this problem Complete the implementation of linear-time algorithm for Stock Span Problem already I have this code : [CODE]for i=0 to n-1 do done < false while not(D.isEmpty() or done) do if P[i]>=P[D.top()] then D.pop() else done < true if D.isEmpty()then h< -1 else …

Member Avatar for jyotiswaroopr
0
455

The End.