199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for MagnetoM

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 …

Member Avatar for pro_learner
0
110
Member Avatar for debasishgang7

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 …

Member Avatar for debasishgang7
0
1K
Member Avatar for pro_learner

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....

Member Avatar for pro_learner
0
267
Member Avatar for nokomoli

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.

Member Avatar for Nikita Jetani
0
2K
Member Avatar for SakuraPink

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 ) …

Member Avatar for Aia
0
319
Member Avatar for mohana88

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 …

Member Avatar for mohana88
0
8K
Member Avatar for lastgame2007

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]

Member Avatar for kurtopia
0
332
Member Avatar for yasirfarid

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 = …

Member Avatar for Rajeev3010
0
367
Member Avatar for lloydsbackyard

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

Member Avatar for karthik_ppts
0
157
Member Avatar for aaje

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 …

Member Avatar for aaje
0
226
Member Avatar for [V]

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 …

Member Avatar for griswolf
0
471
Member Avatar for Nana.vb

[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 …

Member Avatar for dyahalifda
0
726
Member Avatar for Renzeeks

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 …

Member Avatar for Momerath
0
224
Member Avatar for jadzrev13

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 …

Member Avatar for jadzrev13
0
3K
Member Avatar for Lius

[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> &nbsp;<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 = …

Member Avatar for Lius
0
218
Member Avatar for jemz

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 …

Member Avatar for PinoyDev
0
283
Member Avatar for Fritz.fx

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 …

Member Avatar for Fritz.fx
0
453
Member Avatar for Jake.20

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 …

Member Avatar for Ezzaral
0
209
Member Avatar for strRusty_gal

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

Member Avatar for sknake
0
635
Member Avatar for sunjcarkey

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 …

Member Avatar for Ezzaral
0
380
Member Avatar for Riteman

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 …

Member Avatar for thecoolman5
0
176
Member Avatar for thecoolman5

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 …

Member Avatar for m4ster_r0shi
0
467
Member Avatar for CrankyMero

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 …

Member Avatar for ZidaneXero
0
404
Member Avatar for freesoft_2000

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 …

Member Avatar for Ezzaral
0
151
Member Avatar for neuro

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 …

Member Avatar for griswolf
0
303
Member Avatar for lifeworks

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 …

Member Avatar for almostbob
0
195
Member Avatar for rayden150

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 …

Member Avatar for Moschops
0
964
Member Avatar for pythonnoobie

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, …

Member Avatar for pythonnoobie
0
241
Member Avatar for asif49

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 …

Member Avatar for asif49
0
143
Member Avatar for JukesK

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 $ * …

Member Avatar for d5e5
0
179
Member Avatar for Graphix

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 …

Member Avatar for Graphix
0
266
Member Avatar for kapojian

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 …

Member Avatar for kapojian
0
211
Member Avatar for gujinni
Member Avatar for gujinni
0
105
Member Avatar for SakuraPink

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. …

Member Avatar for SakuraPink
0
246
Member Avatar for magnetic rifle

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

Member Avatar for sirlink99
0
84
Member Avatar for ARaza110

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 …

Member Avatar for ARaza110
0
207
Member Avatar for tubby123

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 …

Member Avatar for nezachem
0
178
Member Avatar for lili.edryana

[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?

Member Avatar for mKorbel
0
114
Member Avatar for pseudorandom21

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.

Member Avatar for shajis001
0
157
Member Avatar for magnetic rifle

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")) …

Member Avatar for griswolf
0
144
Member Avatar for reza.adinata

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] …

Member Avatar for reza.adinata
0
115
Member Avatar for atfOnly

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 …

Member Avatar for atfOnly
0
883
Member Avatar for winecoding
Member Avatar for AngelicOne

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 …

Member Avatar for AngelicOne
0
308
Member Avatar for Jessurider

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]; …

Member Avatar for NormR1
0
185
Member Avatar for jemz

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 …

Member Avatar for dnmurphy
0
136
Member Avatar for rajni kumari

what is the .net code for adding year in this form like 2001-2002,2002-2003, in dropdown with the asp.net

Member Avatar for debasisdas
0
103
Member Avatar for kosay

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

Member Avatar for debasisdas
0
97
Member Avatar for magnetic rifle

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 …

Member Avatar for magnetic rifle
0
9K
Member Avatar for nikelin

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.

Member Avatar for nikelin
0
119

The End.