- Strength to Increase Rep
- +11
- Strength to Decrease Rep
- -2
- Upvotes Received
- 76
- Posts with Upvotes
- 54
- Upvoting Members
- 39
- Downvotes Received
- 9
- Posts with Downvotes
- 7
- Downvoting Members
- 3
I am the Maj!
- Interests
- Java, .NET (not fluent though!), C.
- PC Specs
- intel core 2 2ghz, 2ghz2gb RAMWin XP (for gaming!)Ubuntu 9.04 Jaunty (for everything else!)
537 Posted Topics
| |
Hi all, here is a small program I have worked on over these last two days, I have submitted it in the hopes of some constructive criticism and suggestions (please be kind, this is one of my earlier C projects lol). This is a small console application that simulates a … | |
Re: saucer is an object of TYPE Disk. Disk is a class. Remember, in java, Classes are [I]blueprints[/I] for objects. So, yes you will need the Disk class. Place the code in the same package as class TestDisk and then if you are still having issues, post back here and we … | |
Re: Nim's Island | |
Re: the difference between men and boys is the price of their toys | |
Re: the file upload component has a box where you can specify a path (eg. "c:\project\image\winter.jpg"), I would use that | |
Re: Do you have the .net framework installed? Check by looking here: [url]http://support.microsoft.com/kb/318785[/url] The upshot is that the easiest way to determine which versions of the .NET Framework you have installed on a computer is to locate the \Microsoft.NET\Framework folder in the drive you installed it on. Hope this helps! | |
Re: Hi there rrocket, I have found this link which has some great sample code for working with regex. [QUOTE][url]http://www.codeproject.com/KB/validation/Valid_Email_Addresses.aspx[/url][/QUOTE] I hope this helps. | |
Re: [B]7 reasons not to mess with children. [/B] A little girl was talking to her teacher about whales.The teacher said it was physically impossible for a whale to swallow a human because even though it was a very large mammal its throat was very small.The little girl stated that Jonah … | |
Re: Jx_man probably knows it off the top of his head. He is the Don! | |
Re: Anything by the scissor sisters, eminem or rap of any kind drives me mad lol | |
Re: Hi there asif49, I would say you can play older games on that alright. The graphics card is not that powerful and most likely won't play games released after 2010. My partner has a similar unit and it is totally unable to play even Diablo III, which isn't terribly demanding. … | |
Re: Here is the listener, all you need to do further is get the selected value of the combo (within the actionPerformed(ActionEvent e) method )and then change the colour of the background based on that value! myCombobox.addActionListener (new ActionListener () { public void actionPerformed(ActionEvent e) { //change back ground colour } … | |
Re: > java.lang.NoSuchMethodError: javax.servlet.jsp.tagext.TagAttributeInfo.<init>(Ljava/lang/String;ZLjava/lang/String; I would check this thread, the same issue I believe. The constructor with the specified parameters for TagAttributeInfo cannot be found. https://forums.oracle.com/forums/thread.jspa?threadID=1251814 | |
Re: Hi there timk25 and welcome to DaniWeb!. First try changing the connection statement from: [CODE=c#]String conn_String = "server=localhost;database=contacts_db;uid=sa;pwd=sqlsecret"; [/CODE] To [CODE=c#] String conn_String = "Data Source=localhost;Initial Catalog=contacts_db;User Id=sa;Password=sqlsecret;"; [/CODE] Then tell me what happens....hope that helps :) | |
| |
Re: Hi there, welcome to DaniWeb! if you are interested in web development I would recommend this great tutorial site: [QUOTE][url]http://www.w3schools.com/default.asp[/url][/QUOTE] I would recommend you start with the HTML section. If you are interested in software development I suggest you pick a language that appeals to you most (I like C# … | |
Re: you could hide the login form by adding the following under the instantiation of your next form(in login form class): [CODE]this.Hide();[/CODE] | |
Re: do you mean 1.that if i type in "hello" in textbox, your label should reflect what has been typed (therefore the label text will be "hello")? 2.or do you mean that if I type in "hello"in to the textbox you want the label text set to "5" (because of five … | |
Re: Hi again Nithya. Here is a great tutorial: [QUOTE][url]http://quickstart.developerfusion.co.uk/QuickStart/aspnet/doc/ctrlref/login/passwordrecovery.aspx[/url][/QUOTE] Has code samples too! HTH | |
Re: Nice snippet, the comments are especially useful to gain a better understanding of what is going on. Good work! | |
Re: Hi there may I direct you to a page that may help you within this forum: [QUOTE][url]http://www.daniweb.com/forums/thread17156.html[/url][/QUOTE] | |
Re: if you are aiming at a windows o/s for your installation try this: [QUOTE][url]http://nsis.sourceforge.net/Main_Page[/url][/QUOTE] otherwise try this: [QUOTE][url]http://java-source.net/open-source/installer-generators[/url][/QUOTE] hope this helps. | |
Re: You want the image button to open the page in the same window (i.e. without launching a new IE browser?)? | |
Re: don't forget code tags either send us updated code too | |
Re: Where I live in Bristol, UK, any food we need to throw out is put into a separate bin and then taken to a large (very) compost facility for processing. I think this is great as I try to be as green as possible, I dont own a car for … | |
Re: Very nice, constructed a similar project myself (in C# as opposed to Java) the main difficulty I encountered was achieving the transformation on a specific XML(user specified) file. This involved uploading that file (via file upload - ASP.NET) to a server, then transforming that to a HTML file (on server) … | |
Re: you can use javascript to disable the back button (not so great) ,or a better solution is to implement a filter mechanism as suggested here : [URL="http://stackoverflow.com/questions/3902688/how-to-properly-invalidate-jsp-session"]http://stackoverflow.com/questions/3902688/how-to-properly-invalidate-jsp-session[/URL] | |
Re: Take a look here, a good explanation : [URL="http://stackoverflow.com/questions/1444674/getservletcontext-getattribute-returning-null"]http://stackoverflow.com/questions/1444674/getservletcontext-getattribute-returning-null[/URL] | |
Re: ^ Has a low post count < is a daniweb addict V has a better hair do than me! | |
Re: Scriptlets are bad because : [CODE]1-EL is more terse and readable. 2-scriptlets are not re-usable software components. 3-java and HTML should be separated as much as possible. Business logic does not belong in the presentation layer, and should be encapsulated in javabeans instead, which are re-usable. 4-scriptlets cannot use inheritance … | |
Re: google is your best pal: [URL="http://www.javaworld.com/javaworld/javaqa/2001-04/03-qa-0420-abstract.html"]http://www.javaworld.com/javaworld/javaqa/2001-04/03-qa-0420-abstract.html[/URL] | |
Re: Thank you for holding your breathe while I smoke | |
Re: This is not my favourite quote but its depressingly true lol [B]behind every smile is a tear[/B] | |
Re: You will need to modify your select statement. Are you using SQL table as your back end database? | |
Re: Hi there HDRG, I suggest very strongly that you look at the Javadoc for NullpointerException : [URL="http://download.oracle.com/javase/1.4.2/docs/api/java/lang/NullPointerException.html"]http://download.oracle.com/javase/1.4.2/docs/api/java/lang/NullPointerException.html[/URL] The Javadoc API is an incredibly useful tool for any Java developer and should be your first port of call, especially for exceptions. I see that each of your classes has a main() … | |
Re: Try using something like: [CODE=java] ps.setString(2, "%" + authorname + "%"); [/CODE] then do the same for the bookname parameter. Let me know if this helps, I am posting from mobile so cannot test. | |
Re: Hi there Rakesh here is a great site that fully explains how to open a PDF without the dialog box: [QUOTE][url]http://www.beansoftware.com/ASP.NET-Tutorials/PDF-View-Custom-Control.aspx[/url][/QUOTE] I hope this helps! Please don't forget to mark the thread as solved!:) | |
Re: Hi there kbalba, here is a link you may find interesting: [URL="http://www.c-sharpcorner.com/UploadFile/ssrinivas/SpeeechRecognitionusingCSharp11222005054918AM/SpeeechRecognitionusingCSharp.aspx"]http://www.c-sharpcorner.com/UploadFile/ssrinivas/SpeeechRecognitionusingCSharp11222005054918AM/SpeeechRecognitionusingCSharp.aspx[/URL] hope that helps | |
Re: I have heard that Dev C++ works with 64 bit vista but I have not tested it myself: [URL="http://www.bloodshed.net/download.html"]http://www.bloodshed.net/download.html[/URL] | |
Re: not sure if this has been mentioned yet but i love it: [URL="http://www.stellarium.org/"]http://www.stellarium.org/[/URL] Shows a realistic sky in 3D, just like with the naked eye, binoculars or a telescope | |
Re: Here is alink to something that may help - its a media player someone created in ASP.NET (with project files). download it! [QUOTE][url]http://www.a1vbcode.com/app-4130.asp[/url][/QUOTE] |
The End.