199,112 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Stefano Mtangoo

Is it good Idea for Newbie in Java like me(Python guy) to begine with 3rd Edition of thinking in Java by Bruce Eckel? The reason is, it is free downloadable. If no any suggestion?

Member Avatar for Stefano Mtangoo
0
106
Member Avatar for Rhijaen

Hi there, this is my first python project. I'm new to python but I have experience in a few other languages. I'm trying to export (to mysql) a list of files and subdirectories from several directories on my hard drive. Basically just so I can have an online database of …

Member Avatar for shadwickman
0
136
Member Avatar for kormie

Is there a setting to suppress warnings from dispalying when running a script via SQL Query Analyzer? I would like to have only errors print. Thanks!

Member Avatar for sknake
0
113
Member Avatar for agent154

I have a SQLite database added to my project in the solution explorer, named testdb.s3db. What I want to do is reference it in my code without having to fully qualify the path. Currently my code is [icode]SQLiteConnection connection = new SQLiteConnection("Data Source=C:\\Users\\Chris\\Documents\\Visual Studio 2008\\Projects\\ConsoleApplication3\\ConsoleApplication3\\testdb.s3db");[/icode] Can I do this somehow …

Member Avatar for sknake
0
110
Member Avatar for ndfi54

Im trying to write a program to print all the primes from 1 to 100. I am however required to use a boolean function. My problem is that all the odd #s except 1 also appear in the output. [code] #include "stdafx.h" #include <stdio.h> #include "strlib.h" #include "genlib.h" #include "random.h" …

Member Avatar for ndfi54
0
246
Member Avatar for Cromarte888

Alright, I'm down to the nitty gritty absolute end of a fully functional hangman game. There is just one part where I am absolutely stuck. When you get a wrong guess, the game successfully draws the gallows. I have no issues with wrong guesses. It's the right guesses that has …

Member Avatar for Cromarte888
0
232
Member Avatar for Facte

All I am trying to do is create an XML feed so that I can submit it to a site. However no matter what I do (albeit with my limited size of brain) all I get are errors. It hates pound signs and apostrophes even if I try the only …

Member Avatar for Facte
0
174
Member Avatar for urs.karuna1218

Hi, How can I find the number of nodes in the node-set. Here in the below document I want to find the number of nodes in DocumentList element. Am new to Xpath. Can anyone please help me out? <?xml version="1.0" encoding="UTF-8"?> <ProcessData> <SessionBeginTime>2009-07-14 13:24:28.218</SessionBeginTime> <ServerResponse> <Code>226</Code> <Text>226 Transfer OK</Text> </ServerResponse> …

Member Avatar for urs.karuna1218
0
162
Member Avatar for Denxerator

Okay so, It's my first time on C++. They say you can use C++ to make games, so I want to learn about C++. (remember I'm a big newbie) So my question is, how does C++ work? Like if you put the C++ code in notepad, save it, open it, …

Member Avatar for tux4life
0
181
Member Avatar for msteele

I've noticed a few different ways people write the main() function. int main{ } main(void){ } void main(){ } I'm confused with what's considered "best practice" or why I'd choose one over the other. Is there a difference? thanks!

Member Avatar for MosaicFuneral
0
151
Member Avatar for born_to_code

i have to make a program to find the intersection of two strings, i have made program but its not working. any help will be appreciated.:) [code] #include <cstdlib> #include <iostream> using namespace std; void intersection(char *str1, char *str2) { int len1,len2,i=0,j,flag=0; char temp[30]; while(*str1!='\0') //outer loop for 1st string. …

Member Avatar for Tom Gunn
0
1K
Member Avatar for darthvegan117

This is effect I want: [URL="http://haptictheory.com/clients/jh/nav/"]http://haptictheory.com/clients/jh/nav/[/URL]. I want the current page to have the green image behind it so people know what page they're on. This is what I have: [URL="http://haptictheory.com/clients/jh/index2.php"]http://haptictheory.com/clients/jh/index2.php[/URL]. The current page doesn't display the background image except on hover. CSS here: [URL="http://haptictheory.com/clients/jh/css/global.css"]http://haptictheory.com/clients/jh/css/global.css[/URL] Thoughts?

Member Avatar for darthvegan117
0
126
Member Avatar for RahulV

Hi, [icode]Environment.SpecialFolder[/icode], this returns a enum without having a [icode] public GetEnumerator();[/icode], , can u tell me how to access the values like by using foreach statement?

Member Avatar for Ramy Mahrous
0
127
Member Avatar for kinger29

How do you print a SOAP response? I have been trying to do the following but its not printing the actual soap message. Its just giving me some sort of description. [ICODE] SOAPMessage reply = connection.call(message, destination); String myreply = reply.getSOAPPart().getContent().toString(); [/ICODE]

Member Avatar for ~s.o.s~
0
347
Member Avatar for karamjeet2004

Hi I am making some kind of search engine in java.In which i want to search initials from database(ms access) suppose to search united states of america we type usoa so how can i do that from where to i start can anybody plz.........

Member Avatar for tux4life
0
179
Member Avatar for lotrsimp12345

ITS ALL THE WAY AT THE BOTTOM OF MY IMPLEMENTATION FILE. MAIN [code] #include <iostream> #include <fstream> #include "line_test.h" using namespace std; int main() { //open up file to be read string input; ifstream in; cout<<"enter file name which needs to be opened\n"; cin>>input; in.open(input.c_str()); while(!in) { in.close(); cout<<"the input …

Member Avatar for Dave Sinkula
0
108
Member Avatar for Facte

All I am trying to do is create an XML feed so that I can submit it to a site. However no matter what I do (albeit with my limited size of brain) all I get are errors. It hates pound signs and apostrophes even if I try the only …

Member Avatar for mschroeder
0
234
Member Avatar for CppBuilder2006

please download the VC++ express 2008 project attached. it has linker errors. please help me solve the problem.

Member Avatar for CppBuilder2006
0
63
Member Avatar for BHUJI

Hi guys, I am in great trouble. I want a c++ project within 1 week!!!! But my teacher wants the topic name tomorrow ! pls help me give me some project ideas project should be simple&is in c++ language graphics are not allowed it can be management projects:sad:

Member Avatar for tux4life
0
270
Member Avatar for deostroll

Hi. I am trying to print a single digit decimal number on to the screen. So far I've come out with this code. [ICODE] mov ax, 3 var db '$' mov bx, offset var add ax, 30h mov [bx], ax add bx, 1 mov byte ptr [bx], '$' mov ah, …

Member Avatar for wildgoose
0
2K
Member Avatar for nolesce

I am working on a vb app and am getting this error when calling a form (frmCaseList) from another form(LoginForm). the frmCaseList wasat one time in a different solution where it worked fine (it was the startup form). frmCaseList is also inside a namespace. If I commentout the [icode].show()[/icode] line …

Member Avatar for nolesce
0
385
Member Avatar for smoore

Okay so I have a screen with a toolbar on the top (BorderLayout.NORTH) with about 5 buttons. What I want to do is be able to switch back and forth between JPanels with each button click. so each time I click one of the buttons a new JPanel appears in …

Member Avatar for masijade
0
146
Member Avatar for sivak

can anyone tell me the differnence between sql 2000 and sql 2005 ....scarp me or send me the link or material ..it will be very useful and very urgent also

Member Avatar for serkan sendur
0
138
Member Avatar for dquiles

Hi, I wrote a query statement in SQL server to take paramaters, and generate then run a sql statement based on which criteria were provided. The tables got pretty massive so I need the query only filter when the value to filter on was provided. When I tried to bring …

Member Avatar for dquiles
0
197
Member Avatar for Jintu

I dun quite understand how this program works....... Please advice... What is the output of this program? [CODE] <html> <!-- test01.php --> <body> <?php $x = 2; for ($i = 1; $i <= 6; $i++) { if ($i % 2 == 1) { $x++; } print $i . 'x' . …

Member Avatar for diafol
0
156
Member Avatar for flair999

Hi ancient dragon. i need to extract specific words from 2 different point (directors and writers in a text file), like delimiters example of the text file below: i want [B]alex proyas[/B] to be extracted. words........ [B]DIRECTOR:[/B] alex proyas [B]Writers[/B]:...... this case is quite similar to the one above, but.... …

Member Avatar for Salem
0
90
Member Avatar for Zurompeta

Hi all, I'm creating a fairly large web-application that uses a reasonable amount of AJAX. My question is; will it cause problems (in terms of process speed, overall performance and most importantly if it's actually possible) to run this application from multiple computers? Primarily if, for example, two separate computers …

Member Avatar for Zurompeta
0
104
Member Avatar for declain

I am working on an assignment that basically requires a class INT that operates similar to the int standard class... Below is my code. All seems to be working, with the exception of handling this line: INT x,y = 6; should assign 6 to x and y. Assigns only to …

Member Avatar for declain
0
121
Member Avatar for smoore

Okay so i am having a little trouble with my JFormattedTextField. I figured out how to work the MaskFormatter somewhat but not great. the formatting is fine, like when I want to restrict a field to only 15 characters that works but when I move the cursor to another field …

Member Avatar for smoore
0
111
Member Avatar for rizillion

I have created a database using MS SQL named "Company" and there is a table named "Employee". I need to print the records from the "Employee" table to a JTextArea keeping tabs for each columns in the JTextArea. How can i do it? Please help.

Member Avatar for peter_budo
0
174
Member Avatar for buzzby8

Purchased Car dealer script from built2go.com about a week ago. Installed on test server (so I could work on design) and also on live server ready to transfer new design when approved by client. All working for about a week, then this morning started getting error messages, on both sites, …

Member Avatar for samarudge
0
92
Member Avatar for ViLeNT

Hello, I'm still fairly new at shell scripting, can someone please show me how I would go about accomplishing a script to tackle these tasks? I've got a server setup. I want to find duplicate files that are taking up all the space on the hard drive. I want to …

Member Avatar for ViLeNT
0
204
Member Avatar for serkan sendur
Member Avatar for hoti99

i want to simulate something in asm like strcat function in C strcat("Hello",World") ==> Result "HelloWorld" please help me to do this iam very begginer in coding i need just a simple code .model small .stack 64 .data ;******************************** s1 db 'hello ' s2 db 'world' ;******************************** .code main proc …

Member Avatar for wildgoose
0
725
Member Avatar for NoID

Hello, i would like to know if its any chance of me being able to retrive data by typing ID, so for example if i type 100 and click on get, i want it to echo the "mobile" number. Can someone please help me with that Thank you

Member Avatar for NoID
0
124
Member Avatar for thwias1b3008

Hi, I used PostgreSQL and i want to populate its fields in combo box. Is anyone know how to make it. . Please help me. . . it is for my project. . :icon_sad: Here is my code: Dim conn As ADODB.Connection Dim rst As ADODB.Recordset Dim sSQL As String …

Member Avatar for vb5prgrmr
0
221
Member Avatar for Denxerator

So on my last post, I asked about how to make C++ codes to work. This time I want to ask. How should I get started? Where should I get started to learn C++. Or what should I learn before I learn C++? Everything please XD. Oh and, I'm 12 …

Member Avatar for jencas
0
150
Member Avatar for avisek_cts

I want to draw a graph in vb6 thta will take data from the database (here it is MS ACCESS) .The databse has a table with 2 columns,How to draw the 2d graph dynamically, I am connecting the databse and vb 6 but an error is occuring Please tell me …

Member Avatar for vb5prgrmr
0
912
Member Avatar for dub4theworld

Well technically I don't know how to make it quit. I am very new to programming. I wrote my first program three weeks ago and I must say it is a wonderful mix of highs and lows, especially when your code compiles. Anyway, I have been trying to figure out …

Member Avatar for jencas
0
155
Member Avatar for mortalex

God i'm having a terrible time trying to do this. Does anyone know how to set a javascript variable as a query result from a MySQL database. As an example, like this: Set this query: [CODE]$query4=mysql_query("select price from pricelist where item='$result3[item]'"); $result4=mysql_query($query4);[/CODE] into a variable: [CODE]var price[/CODE] i just can't …

Member Avatar for deMechanico
0
4K
Member Avatar for jbfsantelices

Hi to our community! Just want to get some idea regarding the connection setup of SQL Server 7.0, I've been doing an application written in VB6 and I used SQL Server 7.0 as a storage of my database. On my local pc I can successfully connected to SQL and manipulate …

Member Avatar for vb5prgrmr
0
211
Member Avatar for Menster

Hi there peoples of DaniWeb, Does anybody know how to authenticate that a request is coming to one of my pages from a specific server and not from any random script. Many thanks,

Member Avatar for Menster
0
131
Member Avatar for gispe

hi all, i've written a program, n almost works, it just gives me this errors and dont know how to solve them :$ thanks for the help in advanced :D [code=cplusplus] 1>Compiling... 1>VersionFinalTpProg1.cpp 1>e:\esba\2cuat\programacion1\tpfinalaentregar\versionfinaltpprog1\versionfinaltpprog1\versionfinaltpprog1.cpp(199) : error C2676: binary '[' : 'art' does not define this operator or a conversion to …

Member Avatar for gispe
0
170
Member Avatar for exzibit23

this is the code for tje fading effect of a form.. can anyone explain this code to me.. i really wanna learn this thing.. or do you have any site or ebooks to read related to my problem?? I dont know what book should I read. Is this all about …

Member Avatar for vb5prgrmr
0
104
Member Avatar for rinkuchoudhury

hi I have to add nodes and subnodes to a tree view from sql database in asp.net(VB.Net) 2.0 How to do this i have 3 tables i want to add nodes from first table and respective childnodes from the 2nd table subsiquent child nodes from the 3rd table how to …

Member Avatar for bassam572009
0
315
Member Avatar for napsternapster

Hi, I'm creating a dynamic site but now I'm coming across a problem when I'm displaying input textbox.The textboxes uses two events onblur and onkeypress These two events they invoke the same function which suppose to determine the function must be executed between Shownext() and tabbackorFront() When a use uses …

Member Avatar for Airshow
0
763
Member Avatar for sandli28

Hi, In vb.net2008 if we want to disable/enable the groupbox as per condition.Then how its possible when we used save button.how its insert into database.following is the code: [code=vb.net] Imports System.Data.OleDb Public Class addcust Dim da As OleDbDataAdapter Dim ds As DataSet Dim cmd As OleDbCommand Dim cmd1 As OleDbCommand …

Member Avatar for Piya27
0
1K
Member Avatar for gretty

Hi My program is rather simple, or I thought it would be rather simple :P My program reads a text file & saves each line of text into an array called buffer. [B]The problem is[/B]; each line of text is not in a separate array, the whole text file is …

Member Avatar for iamthwee
0
384
Member Avatar for massivefermion

Hi I'm trying to write a heap data structure but I have no idea how to do this.Could Someone help? thanks

Member Avatar for tux4life
0
202
Member Avatar for swarupa_shet

<CCAddMFADetailsRequest> <accounts> <tp_account> <tp_account_id> 28 </tp_account_id> <questions> <question> <text>Enter your first pet's name:</text> <answer>tiger</answer> </question> <question> <text>Enter your first pet's name2:</text> <answer>tiger2</answer> </question> <question> <text>Enter your first pet's name3:</text> <answer>tiger3</answer> </question> </questions> </tp_account> <tp_account> <tp_account_id> 29 </tp_account_id> <questions> <question> <text>Enter your 9</text> <answer>dsftiger</answer> </question> </questions> </tp_account> </accounts> </CCAddMFADetailsRequest> How to …

Member Avatar for xml_looser
0
178

The End.