199,114 Archived Topics
Remove Filter ![]() | |
I would like to learn java. Can anyone recommend an up to date java book. There seems to be many java versions, if that is the correct term of course, such as jdk 5, jdk 6 etc. Which one is good to learn. I posted this in a different thread … | |
Hi all, I am trying to send Binary data using In python raw socketusing socket.send(). For that i will do following. [CODE]s = '\x01\x00\x12\x59' # some binary data sock.send(s) # assuming "sock" is a valid, open socket object[/CODE] i have created a DATAGRAM in HEX in by sniffing a network … | |
I installed Oracle 11g R2 on my Windows 7 64-bit OS.When i'm trying to login to SQL Plus,i can't.As i remember my Username and password is correct.Is there any method to login without giving username and password? or is there a way to get my username & password?Please help me.... | |
Hi guys, i am facing problem when i need to create an excel file and insert some data inside. Can anyone help me? i am using vs 2005 and excel 2003. | |
Hi everyone, I have a text file which looks like this: [CODE] ( 3,3,0 ) 0.9984104 0.000503 ( 3,3,1 ) 1.000613 0.000484 ( 3,3,2 ) 1.001192 0.000571 ( 3,3,3 ) 1.002418 0.00063 ( 3,3,4 ) 1.003345 0.000583 ( 3,3,5 ) 1.000215 0.000512 ( 3,3,6 ) 1.000911 0.000537 ( 3,3,7 ) … | |
When I try to add a dll file into my project the following error occurs : A reference to dll could not be added. Please make sure that the file is accessible and that is a valid assembly or COM component. But I have imported the dll file using DLLImport … | |
it doesn't have any error but also i does not update in my database? [CODE]<head> </head> <?php include('connect.php');?> <body> <?php mysql_select_db("dbusers",$connection); $result=mysql_query("UPDATE tblinfo SET idno='$idno', name='$name', address='$address', birthdate='$birthdate', contact='$contact', email='$email' WHERE 'index'='$id'"); $result = mysql_query($update) ?> </body> </html> [/CODE] | |
I want to show record list in Datacombo through coding , using SQL Server 2000,VB6. Following are the coding. ******************************** Private Sub Form_Load() Dim CNN As New ADODB.Connection Dim RST As New ADODB.Recordset Set CNN = New ADODB.Connection CNN.Provider = "SQLOLEDB.1;Integrated Security=SSPI;Persist Security Info=False;Initial Catalog=Maintenance;Data Source=YASIR" CNN.Open Set RST = … | |
how to convert Month in words to its numeric equivalent.... example: <?php $month = 'JANUARY'; // code to convert the month JANUARY to its numerical equivalent... echo 'help please for the numerical JANUARY equivalent here'; ?> ----------------------------- SAMPLE OUTPUT 01 | |
i have problem here regarding update data when i checked value in checklistbox control. no problem when i want to insert data for the first time, but got problem when i want to update it where the previous data that i checked is still available, plus the latest data i … | |
Im using Matplotlib, and plotting a basic line graph. I have an very large set of data and I need my Y-axis to be much bigger. How do o make my graph much longer but not any taller? I found I can increase the overall graph size in proportion using … | |
[COLOR=gray]Hi,[/COLOR] [COLOR=gray]I work with Microsoft Visual Studio 2005.[/COLOR] [COLOR=gray]I'm about to build a simple paint editor similar to MS Paint program.[/COLOR] [COLOR=gray]of course, it has Edit menu, with Undo, Redo, Cut, Copy, Paste, Delete... etc.[/COLOR] [COLOR=gray]I have a problem with Undo and Redo![/COLOR] [COLOR=gray]How to do them with drawing?[/COLOR] [COLOR=gray]have … | |
Design a program using psuedocode to accept :name, gross salary, personal status, number of children (50employees) Calculate and print: name, gross salary, income tax for all Rules: personal allowance $12000 single person $23,000 married. child allowance $1000 per child. Taxabl;e income gross salary- personal allowance and child allowance. Income tax … | |
Hi, I am making an student registration program as my project in school. But I had some problems making it. Our professor asked us to make an program where there are lists of subjects offered. Then the student will choose what subject/subjects he/she likes, then it will be computed. The … | |
[CODE]<script type="text/javascript"> function populateHarga() { var x=document.getElementById("barang").value; document.getElementById("harga").value=x; var y=document.getElementById('barang')[document.getElementById('barang').selectedIndex].innerHTML; document.getElementById('nama_brg').value=y; } function populateTotal() { var y=document.getElementById("jumlah").value; var x=document.getElementById("harga").value; document.getElementById("totalnya").value=x*y; } </script> <body> <p> <?php mysql_connect("localhost","root",""); mysql_select_db("stageco"); ?> <table border="1" cellpadding="0" cellspacing="0"> <?php $nama_b=$_GET['nama_brg']; $harga_b=$_GET['harga']; $jumlah_b=$_GET['jumlah']; $total_b=$_GET['totalnya']; if($nama_b!="") { mysql_query("INSERT INTO temp('t_nama','t_harga','t_jumlah','t_total') VALUES('$nama_b','$harga_b','$jumlah_b','$total_b')"); } $result=mysql_query("SELECT * FROM temp"); $i = … | |
Hi, Hello can you help me please how can i make a refresh button so that i will never close the program if there is update in the data to be made in other computer... example if two computers or more..have installed the program and if one computer is making … | |
Hi All. I'm hoping somebody could help me out with this little problem I'm having, I've been at it for 8+ hours so far and just can't nail it. The 2 blocks of code below I'm using to log into a fresh install of phpbb forums, and they work just … | |
Guys need help. i'm having problem in setting the font-size of my jtfText. every time i set the font-size of jtfText all the panels and buttons is also getting bigger but not their font-size just the buttons. This is my code [CODE]import java.awt.*; import javax.swing.*; import java.awt.event.*; import javax.swing.event.*; import … | |
HiEveryOne, Does anyone know how to get the data where startdate is more than today'sdate and enddate is less than today'sdate and if enddate is NULL. Thanks for the help | |
i'm not too familiar with java...though... actually i'm trying to insert the values entered by the user into the access table but every time i click the add button on my application it shows [I]java.sql.SQLException: [Microsoft][ODBC Microsoft Access Driver] Syntax error in INSERT INTO statement. [/I] error... [CODE]String str="insert into … | |
I created a small c++ program. Now i wanted it to create an .exe file. Once i compile, i get the exe file in my BIN folder.. but, the alignment of the files are not correct. Well i do get the correct alignment in turbo c++ compiling..(ctrl + f9).. but … | |
hi, i am writing a program that keeps track of the money in my debit card account. i need the program to be able to pull out a value (such as 1.56356) from a text file, round it to the nearest hundredth, and put it back into the file. any … | |
Hello Everyone For a project from skool, I been in charge of development, and we already have the system, but they wanted to add images to the project, and since i been using the TableAdapter.Insert commando to add records to the database, I need to know how to send an … | |
Hi everyone, I need to use something in java that is similar to the C language goto statement. This is what i have in a function [code] public int ret() { if { //something //something //This is the part where i need to jump to the end of the //function … | |
So I'm trying to learn Python mostly for fun but also to prepare for graduate school next year (i'm going into a quantitative neuroscience program this fall where it will help a lot to be familiar with programming ahead of time). The problem is I can't seem to find a … | |
Hi, story goes... I need to process a timesheet - I want to use a csv file of the spreadsheet, so I was hoping to plug in the path to what Google said was a CSV output of a spreadsheet... [url]https://spreadsheets0.google.com/spreadsheet/pub?hl=en_US&hl=en_US&key=0AhhCntOrEg9FdF9PZkIwY08tZTdwd3lkYkJFNEtkMkE&single=true&gid=1&output=csv[/url] Unfortunately if you click on that link, it prompts … | |
I made several functions, and this one assignment keeps giving me "expected primary expression before '..., HELP!", what is a primary expression?, all my code is ok I have made different files for the different functions and im using extern but the void argument I think keeps giving me trouble … | |
I need to find a pattern of kind APP[a-z][a-z][0-9][0-9][0-9] in the body of HTML and then replace them with hyperlinks. I am using Beautiful Soup to replace as I am dealing with HTML content. For Eg: APPsd222 to [URL="http://www.dani.com/APPsd222"]APPsd222[/URL] APPfd333 to [URL="http://www.dani.com/APPfd333"]APPsd333[/URL] If you are not aware about Beautiful Soup, … | |
I'm a bit new to this so excuse my noobness. For the website I'm working on - I'm wondering about whether information like images, uploaded files, date of birth, edited details etc. can all be displayed on the same page (specific to the user who has logged in, not everyone … | |
Im in need of big help... (sorry bout the size of the post :$) Im just getting started in databases and need some magic.... Im running on the server; * Apache/2.2.17 (Win32) mod_ssl/2.2.17 OpenSSL/0.9.8o PHP/5.3.4 mod_perl/2.0.4 Perl/v5.10.1 * MySQL client version: mysqlnd 5.0.7-dev - 091210 - $Revision: 304625 $ * … | |
Hi, At the moment I am trying to open a log file with notepad.exe while the original process continues. As I am developing for Windows, fork() is not available for me. I googled alot and found a good reference to opening processes ([url]http://www.yolinux.com/TUTORIALS/ForkExecProcesses.html[/url]), however they all put the original process … | |
how can you remove the excess width in may datagridview??? after that long blank space theres another field.. as shown in the image.. my code goes something like this [CODE]//create a command builder OleDbCommandBuilder cBuilder = new OleDbCommandBuilder(dAdapter); //create a DataTable to hold the query results DataTable dTable = new … | |
thus iterators predefined functions? I am confuse between function and predefined functions. | |
Hi there, Here is the problem: I have a Text file with several hundreds of lines and I want to store line 100 to 200 in another text file. I wrote the following piece of code but result is all of the lines not just the ones that I need. … | |
Hello, Is there someway that I can randomly assign an x y and z axis to a geometirical object? Any programming language is fine just need some insight. Thank you, Suhail Rawal | |
Hi, I wanted to understand a java code that i picked from a website RoseIndian.net. It is about Binary Search three implementation in java. Can someone please explain how the retrieval of the node values [node.value] in the method "[B]printInOrder(Node node){}[/B]" being done, because the node.values are not being stored … | |
Hey, i was trying to implement the sqrt function in c, and this was what i came across, and it works abs fine. But i dont get this , is this a standard logic based on Taylor, Maclaurin or something ? Is this more of a programming question or a … | |
[CODE] public Integer countWeekday(Date startDate) { startDate.setHours(0); startDate.setMinutes(0); startDate.setSeconds(0); }[/CODE] I have this function and a parameter passed to it. setHours,setMinutes and setSeconds are deprecated. What else can i use? | |
Hi, I'm trying to display a message in the compiler output using VS2010. In C/C++ we can use:[icode] #pragma message(">> Win32 <<") [/icode], but for C# I'm not really sure what options are available. | |
Why do I get: Traceback (most recent call last): File "./2csvtbl.py", line 31, in <module> print row[k], row[-k] IndexError: list index out of range after running this code: #!/usr/bin/env python import csv import random alpha = 'abcdefghijklmnopqrstuvwxyz' e = range(0,99) x = random.sample(alpha,14) y = random.sample(e,14) c = csv.writer(open("test2.csv", "wb")) … | |
Hi, I am starting to learn C programming. I recently stumbled across a structure below #include <stdio.h> #include <stdlib.h> [CODE] #include <stdio.h> #include <stdlib.h> typedef struct { int value; } fteid_t; typedef struct { fteid_t *fteid; // Optional Ins 0 } context_t; typedef struct { context_t default_bearer; } send_request; [/code] … | |
I'm using jpgraph to generate GPA chart. the x-axis is for the GPA value, while the y-axis is for the year/semester. my problem is : i fetch the value for both x-axis and y-axis element from the database. i pack all elements in an array variable using array_unshift(). everything is … | |
Hello, Where can I find the source code/implementations of STL library? Thanks. | |
I'm trying to open a txt file that doesn't exist just to display an error but it doesn't! I already modified my php.ini [QUOTE] error_reporting = E_ALL | E_STRICT display_errors = On html_errors = On [/QUOTE] but still doesn't work. I haven't experience errors since I used PHP! It just … | |
how can i make the border line to the position shown in the attachment [CODE] package proj; import java.awt.BasicStroke; import java.awt.Color; import java.awt.print.PrinterJob; import java.awt.Graphics; import java.awt.Graphics2D; import java.awt.geom.Rectangle2D; import java.awt.print.Book; import java.awt.print.PageFormat; import java.awt.print.Printable; public class j extends javax.swing.JFrame { public int st,i,k1,k2;PrinterJob printJob = PrinterJob.getPrinterJob(); String str[]=new String[20]; … | |
Hello,,, Hi,can you help me please i apologize if i post here.I don't know if i get the right forum to post.... Here is my problem in the IBM DB2 i created the database and i have 4 tables,but the problem is i forgot where did i make the foreign … ![]() | |
what is the .net code for adding year in this form like 2001-2002,2002-2003, in dropdown with the asp.net | |
Hi all how can I find all sub files and list them in VB 6.0 ???? if I want to list all sub files for exambel C:\Folder1\fplder2\file.txt and I want to find all files in drive C ??? thank you | |
Hello, I have this code [CODE]#!/usr/bin/env python import csv import random alpha = 'abcdefghijklmnopqrstuvwxyz' e = range(0,99) x = random.sample(alpha,14) c = csv.writer(open("test2.csv", "wb")) c.writerow([x]) cr = csv.reader(open("test2.csv","rb")) for row in cr: print ', '.join(row) print "How many rows?" l = input() k = 1 while k < int(l): y … | |
Hi, guys! I really cannot describe my problem with a words, so I record debug process in a video. Here it is: [url]http://www.youtube.com/watch?v=5EVwNhdQ8o4&feature=player_detailpage[/url] Track changes of a IFormField<T>.this.value and object ID's in a memory and you understand what I mean. |
The End.