199,113 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for jacksantho

hi, [CODE]print "<tr><td><b>click</b></td><td><a href=test.php?id=$id&code=$pcode&name=$pname&section=$psection target=\"_blank\">Click</a></td></tr>"; [/CODE] I am passing all the values to test.php through hyperlink. Problem is: I can able to get only id and code. $pid=$_REQUEST['id']; // values getting $pcode=$_REQUEST['code']; //values getting $pname=$_REQUEST['name']; // values not getting $psection=$_REQUEST['section]; // values not getting I don't know to find what …

Member Avatar for Morta
0
154
Member Avatar for NOVICE3

Using the following code: [CODE]public byte[] dxfData; int dxfpointer; byte newbyte; StringBuilder layerName = new StringBuilder(); newbyte = dxfData[dxfpointer]; while (newbyte != 0x0d) //stops at a CR { layerName.Append(newbyte); dxfpointer++; newbyte = dxfData[dxfpointer]; } string newstring = layerName.ToString(); label1.Text = newstring;[/CODE] The label shows the numbers for the ASCII letters …

Member Avatar for Momerath
0
129
Member Avatar for kingsonprisonic

Hi, all I am trying to create a software where video files play continuously using a timeline like Windows Movie maker or Pinacle Studio. So i have no idea how to maintain the time line. Will i use Timer Control for that or any other methods are available. I dont …

Member Avatar for lolafuertes
0
315
Member Avatar for nishu.tbz

can anyone tell me how to insert { in sql. Eg. insert into dm_dbo.prsn_ps_epm(product_id,imprint_name) values('123456','nisheeth{jain');

Member Avatar for Netcode
0
70
Member Avatar for ChronoSyntax

Hi hi all, I am new in here and I want asking, I have program that read the image from file with extension .ojn, I can show that image file into picturebox, Here my code to read the image: VB.NET Syntax (Toggle Plain Text) [CODE] Dim path As String path …

Member Avatar for lolafuertes
0
436
Member Avatar for Mz. Jackee

If X[0], X[1],...., X[N - 1] is a list of N numbers and the mean (average) of these numbers is M, then we define their standard deviation to be the square root of the number: ((X[0] - M)^2 + (X[1] - M)^2 + ... + (X[N] - M)^2) / (N …

Member Avatar for Netcode
0
122
Member Avatar for selma_aktra

Hello! I write a command line program with java on eclipse. I use this code to get a sound from the beep.wav file. But i can not hear anything from the eclipse. [CODE]try { File curdir = new File ("."); File soundFile=new File(curdir.getCanonicalPath() + "\\beep.wav"); Clip clip = AudioSystem.getClip(); AudioInputStream …

Member Avatar for selma_aktra
0
235
Member Avatar for Naveen2961

Hi There, I am trying to retrieve the data from MS Access Table to LIST-VIEW, its difficult for me to write the code as I am beginner, Need help on this .. Any suggestions, example or template ? Thanks in Advance..

Member Avatar for Naveen2961
0
1K
Member Avatar for alpa shah
Member Avatar for Ezzaral
0
97
Member Avatar for naazsayed

hello all i am making a project and in that getting storing and loop problems there are two fields serial no and quantity when quantity is entered serial number must be asked then only and the number of times quantity is entered that many times serial number must be asked …

Member Avatar for naazsayed
0
78
Member Avatar for Matth963

[CODE]import java.text.DateFormat; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Date; import java.util.Calendar; public class CheckIn{ Date today; void getArrivalDate() { DateFormat df = new SimpleDateFormat("dd/MM/yyyy"); try { System.out.print("Enter Date in dd/mm/yyyy format: "); String d = Keyboard.readString(); today = df.parse(d); df.format(today); } catch (ParseException e) { e.printStackTrace(); } } void getDepartureDate(){ Calendar …

Member Avatar for Matth963
0
262
Member Avatar for Virangya

hi i want to hide my php code. i don't want any other to view my code and copy it. So is there a way to do this?

Member Avatar for chrishea
0
163
Member Avatar for mkalinic

Hello all, I am having some trouble with my tic-tac-toe game. My main problem is that I do not know how to properly make it so that when i click a button on the form acting as spots for the x's and o's the proper letter will come up and …

Member Avatar for Reverend Jim
0
453
Member Avatar for jiapei100

Asking for a Linux command line to convert all files in current folder from UTF8 to ANSI, name unchanged. Best Regards Pei

Member Avatar for griswolf
0
282
Member Avatar for jiraiya

Hi all, I'm trying read in the contents of a series of text files located in a folder in the same directory as a jar file. I've been trying to work out how to do this for a while now, but to no success, so any pointers as to where …

Member Avatar for JamesCherrill
0
15K
Member Avatar for jenberden

Hello! using php....How to delete records on the database and how to update.? Thanh you....

Member Avatar for diafol
0
72
Member Avatar for sha11e

I made this tiny code: [CODE] public class main { public static void main(String[] argv) { System.out.println("Hey"); } } [/CODE] It compiles and run fine in eclipse, but when i go into cmd and do javac main.java it created a main.class then I did java main.class but I get errors.. …

Member Avatar for JamesCherrill
0
366
Member Avatar for zygimantelis

I programming project "ChildrenEditor". This is editor written in python/tkinter. Here write your own mistakes is not resolved. Please help solve them.

Member Avatar for zygimantelis
0
126
Member Avatar for traxzer

Hey I´m getting some errors, could anyone please help me to get rid of them? Main code [code] import javax.swing.JOptionPane; public class Kontotest { public static void main(String[] args) { Konto bok = null; String navn = JOptionPane.showInputDialog( "Skriv inn navn"); String nummer = JOPtionPane.showInputDialog( "Skriv inn kontonummer"); String saldo …

Member Avatar for JamesCherrill
0
2K
Member Avatar for Danielle87

I am trying to search for a word out of these 2 Principles. But by code displays both of the principles not just one. How could I make it display [U]only[/U] the principle where the word is located. [CODE] import re patterns = [ 'work' ] text = """\ 1. …

Member Avatar for TrustyTony
0
174
Member Avatar for sathya88

how to use messagedeigest class to bring security to a file...encode and decode a file... any suggestion ?????

Member Avatar for JamesCherrill
0
115
Member Avatar for babbu

Is is possible to create excel file with multiple workseets using response.setContentType.?

Member Avatar for masijade
0
72
Member Avatar for lochnessmonster

Is the only point of string encryption is to hide a hardcoded string from being scanned and found in memory/binaryfile? I dont see how string encryption works 100% of the time though...it seems if any string that needs to be used will be stored in memory. For example, i can …

Member Avatar for TrustyTony
0
147
Member Avatar for cse.avinash

Hello Sir, I am using DELL laptop and with the help of QEMU, NASM and GCC i am trying to compile a simple code which is not executing properly. I am using UBUNTU 10.04. here is the loader.asm assembly file. [code] global loader extern dmain MODULEALIGN equ 1<<0 MEMINFO equ …

Member Avatar for Schol-R-LEA
0
217
Member Avatar for johmolan

I am trying to export a datagridview ti excel, but i get an error I do not quite understand. I have made two click-events using two buttons looking like this: [CODE] Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim cnn As SqlConnection Dim sql As …

Member Avatar for bklynman01
0
251
Member Avatar for Virangya

HI CONSTANTS in my customer site are affecting my admin site. i don't know why. also when i browse for admin site and if index.php file is not available home.php file loads. i find this very weird... can anyone please help me? following is some of the errors it generates. …

Member Avatar for diafol
0
396
Member Avatar for Shizuo

lest say I have a inputbox in html and I want to compute the answer to ..hmm lets say 1 + 2 - 1 * 6 + 8 / 2 want is the basic function for this? you can just teach me the basics, or advice something . I'm new …

Member Avatar for diafol
0
530
Member Avatar for Mullaly

Hi, I am a newbie to C# and OOP.. I need some advice regarding my requirement.. 1st Part: There are persons who use mobiles, of many subscribers and also have many numbers in each subscribers. If we consider the XML tags it would be [CODE]<Persons> <PersonName1>XXX</PersonName1><Subscriber1><SubscriberName>ABC</SubscriberName> <Numbers><one>123456</one><two>123456</two>....<twenty>20</twenty></Numbers></Subscriber1><Subscriber2><SubscriberName>ABC</SubscriberName> <Numbers><one>123456</one><tow>123456</two>....<twenty>20</twenty></Numbers><Subscriber2> </Persons>[/CODE] Like …

0
107
Member Avatar for winecoding

I have a generic text file, which can be composed of text data and numerical values, like an article. It can have multiple paragraphs/lines and have various types of delimiters. My general purpose is to tokenize this text file into a string array. I am quite confusing on how to …

Member Avatar for JamesCherrill
0
250
Member Avatar for coolbeanbob

Hello, I have been given an h file. Below is a section of the h file, with the entire h file below it. I am trying to figure out how to invoke the section directly under this message. [CODE]template <class T> ostream& operator << (ostream& os, const List<T>& s) // …

Member Avatar for coolbeanbob
0
201
Member Avatar for TIP.Synergy

Hi, all i want is to generate a random number/letter in listview per row but i don't know how to play for each.... coz' i have a list of record has already been exported to my gridview>listview so that's why there no ID for each row all i want to …

0
104
Member Avatar for janice91

Dear experts, I am trying to practice inheritance coding on my own but i have met some difficulties. I ma supposed to come up with a Square Game with M representing the number of squares. For the start, i will be in the square 0 value and playing by throwing …

Member Avatar for JamesCherrill
0
125
Member Avatar for Rizi004

please help me i m having problem for making this program First Part: (Using Structures) Create a structure called Complex for performing arithmetic with complex numbers. Complex numbers have the form realPart + imaginaryPart * i where i = √(-1) Use floating point data to represent members of structure (i.e. …

Member Avatar for Narue
0
514
Member Avatar for yousafc#

I have a form of c sharp, In winch I have Five Button.I want hit all buttons one by one dynamically. Please send me complete Code of c sharp.

Member Avatar for yousafc#
0
123
Member Avatar for jumba_4u

hi all, here my problem is i'm preety new to vb.net programming. but have a little knowledge in vb6 programming. Say, when i press the 'edit' button a listview is shown, filled with records('empcode' field from empdetail) from a access table, say 'empdetail'. now if i doubleclick on a particuler …

Member Avatar for Lek Plepi
0
1K
Member Avatar for valestrom

Hi, I wrote part of a program in visual c++, but I use dev c++ at school, so I tried just copying my code: [CODE]char mainmenu[50]; char game[50]; int strength; int intelligence; int dexterity; int health; int mana; int damage; int defense; int k; int roll; int experience; int levelup; …

Member Avatar for Fbody
0
205
Member Avatar for Hayzam Sherif

Hello Everyone I Have Been Learning C++ For The Past 1 Year :D , So With This Much Experience Can I Make or Modify A Bootloader in C++ Paradon Me For My Bad English Any Replies Would Be Greatly Appretiated

Member Avatar for Hayzam Sherif
0
181
Member Avatar for ajaxx195

Hi, I just started learning Java.I had attached the doc file.The doc file is already printed on paper.I want to make a program such that only place left blank should b allowed for user to input data and when user print the paper it should b able to print exactly …

Member Avatar for NormR1
0
116
Member Avatar for crapgarden

I have this code: [CODE]#include <iostream> using namespace std; int main() { enum foxtrot {green, yellow, red}; foxtrot colorSelect; cout << red << endl; [COLOR="Red"]cin >> colorSelect;[/COLOR] cout << colorSelect << endl; } [/CODE] Line 10 gives me the result 2 as expected, but line 11 gives me a compile …

Member Avatar for ashishseo
0
209
Member Avatar for mith_cool

I simply want to forward a request of one servlet to another servlet. Authentication Servlet gets a request from a jsp page and thus authenctication servlet passes the request to another Addtocart servlet. AuthenticationServlet Code: [CODE] RequestDispatcher rd= request.getRequestDispatcher("/Addtocart"); rd.forward(request, response); response.sendRedirect("Addtocart"); [/CODE] Addtocart servlet code: [CODE] String pid = …

Member Avatar for Rameshwar Soni
0
122
Member Avatar for kaizokupuffball

Hi! I am animating on click, and when i click the element a box fades in, but i got a problem. Inside my div tag i fetch user info from a database, now if i try to click a member named Test i get the info from the Test user, …

Member Avatar for kaizokupuffball
0
186
Member Avatar for shujat132

Hello seniors, How are you? Well I need you help I am new student of php. Now I am trying to make user login system so that user can login through their password and user name. But I’m receiving this error. “ Fatal error: Cannot redeclare loggedin() (previously declared in …

Member Avatar for shujat132
0
226
Member Avatar for srednakun

Hello, I am not sure why, when I call my method, it goes into a continuous loop and prints out nothing. The operator - method is suppose to be able to subtract a Date object and a Date argument. I will clarify if anything needs clarifying, thanks for the help …

Member Avatar for tkud
0
157
Member Avatar for manzoor.ilahi77

Please help me on this file upload. [CODE] <form id="form_2" action="files_upload.php" method="post" enctype="multipart/form-data"> <input type="hidden" name="MAX_FILE_SIZE" value="50000000"> File:<input type="file" name="file" class="input" maxlength="350"" /><br /> <input type="submit" name="submit" value="Upload File"> </form> [/CODE] [CODE]<?php if(isset($_POST['submit']) && $_FILES['file']['size'] > 0) { $fileName = $_FILES['file']['name']; $tmpName = $_FILES['file']['tmp_name']; $fileSize = $_FILES['file']['size']; $fileType = $_FILES['file']['type']; …

Member Avatar for sv3tli0
0
553
Member Avatar for murnesty

I having problem of sizeof returning a hexadecimal value which I want it return decimal here is my sample code: [CODE]#include <cstdlib> #include <iostream> #include "stringCascade.h" using namespace std; void StringCascade (void) { unsigned char ucA[] = {0x02, 0x6F, 0x09, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0xFF, 0x00, …

Member Avatar for tajendra
0
137
Member Avatar for chiiqui

[CODE]public void starGame() { boolean gamestatus = true; casesSetup(); Welcome(); showCases(); setladies(); int choice = player.nUser(); myAmount = briefcase[choice].getAmount(); briefcase[choice] = null; cases--; while (gamestatus == true) { offer = player.offer(turn, briefcase); showCases(); if (cases == 25 || cases == 19 || cases == 14 || cases == 10 || …

Member Avatar for chiiqui
0
139
Member Avatar for rotten69

Hi everyone, I'm just adding these two binary numbers and not sure about the sub-questions(a,b) of the question that are below: Q1 - What is the (5-bit) result of adding the 5-bit unsigned numbers 10001 and 00111? Answer: 11000 Q1a - What is the value of the carry in to …

Member Avatar for rotten69
0
266
Member Avatar for rakwel10

Hi! I have this code that adds field when the user hit the "add new field" button. The problem here is, once you added an input field, then fill it out, then add a new field again, the info in the first field be erased. As how the code runs, …

Member Avatar for Morta
0
153
Member Avatar for Ehtesham Siddiq

Hi, I have two forms.Both having DatagridView.There are two comboboxes to filter the record from Database and fill in Datagridview.My requirement is when all the data is populated in DataGrid after selecting the comboboxes and when the user clicks on Delete. The comboboxes and Datagrid on second form should have …

Member Avatar for Ehtesham Siddiq
0
177
Member Avatar for joedy

I recently changed scripts on a price comparison site, and the structure is completely different. Under the old script there would be a page with a url like this [CODE]http://www.my-site.com/product/1/22/the-product.html[/CODE] But under the new script the url would be [CODE]http://www.my-site.com/index.php?search=the product[/CODE] A lot of pages are index in google, and …

Member Avatar for pritaeas
0
210

The End.