- Strength to Increase Rep
- +7
- Strength to Decrease Rep
- -1
- Upvotes Received
- 61
- Posts with Upvotes
- 54
- Upvoting Members
- 33
- Downvotes Received
- 8
- Posts with Downvotes
- 8
- Downvoting Members
- 6
- Interests
- software , gaming, board sports
Re: [QUOTE][CODE] /* The below is another way in which to read the file, however i think the shorter method would be the scanner class The reason for this is the below commented method uses 5 extra imports: import java.io.BufferedReader; import java.io.DataInputStream; import java.io.FileInputStream; import java.io.IOException; import java.io.InputStreamReader; */ [/CODE][/QUOTE] or … | |
Re: a woman asks her husband to go to the grocery store, her instructions are : -buy milk -if there are eggs, buy six suprisingly she got mad when he got home with 6 bottles of milk! | |
Re: alright well i am definitly not gonna give you any code as it is for a school project, but ill help you with the general idea and then you can come back with some actual work to get further help. first off, you do not want to create a forum … | |
Re: Indeed, the standard way of saving passwords is to first salt and then hash them, saving only the hash. In the login process, re-salt the entered password, hash that, and compare with the saved hash. Worth mentioning that MD5 which is a commonly used hash algorithm [might not be the … | |
Re: Really not my strong suit but I would try dumbing down the dllimport see if it works with the bare minimum. So, removing the entrypoint since you arent renaming it anyways, not specifying the char set, or using `CharSet = CharSet.Auto`. The wrapper I am using for PCSC communication with … | |
Re: Have you checked to see if there was any data available in your dictionary after your database query? Also for the autocomplete read [this article from msdn](https://msdn.microsoft.com/en-us/library/system.windows.forms.textbox.autocompletemode(v=vs.110).aspx) or [this stackoverflow thread](http://stackoverflow.com/questions/1357853/autocomplete-textbox-control), which were google's top results when searching "c# autocomplete on textbox" | |
Re: [Wikipedia #1](https://en.wikipedia.org/wiki/Bread_crumbs) [Wikipedia #2](https://en.wikipedia.org/wiki/Breadcrumb_(navigation)) Since I'm guessing you are refering to #2, you might wanna read [this](https://msdn.microsoft.com/en-us/library/microsoft.windowsserversolutions.web.controls.breadcrumb.aspx) ;) | |
Re: [Old post](https://www.daniweb.com/programming/web-development/threads/422131/restrict-size-of-file-upload#post1801680), probably not the only one but here is one i answered years ago. Example is C# but I'm sure you will figure it out ;) | |
Re: here are a few projects i really enjoyed doing on my own time during college : **mine sweeper**. (i even added a delay on the empty tile discovery so that you could see the path the algorithm would take :D ) **perfect maze**. (this was actually an assignement) the program … | |
Re: then the column "photo" in row 1 of your datatable does not contain any data, its set to null, to secure your code against such exceptions, test it before trying to convert... something like : [CODE] if(dt.Rows[1]["photo"] != System.DBNull){ bytes = (byte[])dt.Rows[1]["photo"]; } [/CODE] won't make your picture appear but … | |
Re: [HTML(HyperText Markup Language)](http://en.wikipedia.org/wiki/HTML) is a markup language, it is used to organize the contents of a web page. [CSS(Cascading Style Sheets)](http://en.wikipedia.org/wiki/Cascading_Style_Sheets) is a set of rules that define visual display for the *tags* in a markup language. So basicly, you write a webpage in HTML and put content inside tags. … | |
Re: have you traced the value of the session variable? is it correctly being set? have you considered having default.aspx use a different master page with no buttons? otherwise you should be able to [reference master page content](http://msdn.microsoft.com/en-us/library/xxwa0ff0.aspx) with the object named "Master" | |
Re: if i understand your question correctly, you are wondering when to use the private/public keywords, when to use void as a return type and when to use the static keyword when declaring functions. so lets break that down; [public/private](http://docs.oracle.com/javase/tutorial/java/javaOO/accesscontrol.html) simply decides who gets to call the function you are writing. … | |
Re: it's fun that everybody claims they want to be green, but anywhere a wind turbine project is suggested, people in the surroundings contest it... *sigh* Ps: > it should doing all it can *be* :P | |
Re: i am not aware of any standard libraries that play sounds and if i recall right the last time i did something simillar was for a school project and i ended up including a free third-party library i found online and used it to play some wav files. worked fine … | |
Re: i dont think it is impossible to do, you would probably need to recreate a custom JInternalFrame class and that might be too complex for what you are trying to achieve! ;) good luck! | |
Re: with a linked list the only game that comes to mind is **snake** at this time! not that it cant be done without it , but i just dont see other games ive reproduced working well with linked lists (minesweeper, tictactoe etc...) | |
Re: I would explore the avenue where you design a user control for items, where you add a grid and bind the 5 string columns. and then add and bind 5 of these itemUserControl in your main control's datagrid. There might be constraints with grids in datagrids never tried it but … | |
Re: what is the error message you get and on which line does it happen? also : If CheckBox2.Checked = True Then 'nothing ElseIf CheckBox2.Checked = False Then aspouse() End If 'is the same as : If Not CheckBox2.Cheked Then aspouse() End If | |
Re: have you done anything so far?? we do not complete assignements, we help you with problems you encounter while working on them yourself! looking foward to see code from you :) | |
Re: ah shame it doesnt go back further than 3 months, couldve been fun to make a timed heat map of all the posts since launch!! :P | |
Re: If you want to split on specific characters then look up the [split](http://www.dotnetperls.com/split-vbnet) function. If you want to split the string after reaching a certain ammount of characters then you should try getting familiar with [loops](http://msdn.microsoft.com/en-us/library/ezk76t25.aspx) and the [substring](http://www.dotnetperls.com/substring-vbnet) function. | |
Re: had not lost in a long time op :( I just lost the game. | |
Re: i usualy set the prefered size of the canvas to the size desired, then call up the pack() method. | |
Re: for loops execute the code between "for" and "next" until the condition next to the for statement is reached , so the first loop for example : For I = 1 to 4 , will loop 4 times, the first time arround, I will equal 1 , the second time … | |
| |
Re: All your threads are about listviews and stuff, they are all very unclear and none show some work done. Nobody should give you code until you provide proof that you have given this problem a genuine try. You are not getting better, hell you get spoon fed answers and when … | |
Re: are the values gonna be constant like in your example? you pretty much have the code down. id probly use an IIf but your way would work to. save the values in constant variables if they are the two values that you are always gonna switch between. | |
Re: [loops](http://en.wikibooks.org/wiki/Visual_Basic_.NET/Loop_statements) [if/else](http://en.wikibooks.org/wiki/Visual_Basic_.NET/Branch_statements) [dates](http://msdn.microsoft.com/en-us/library/bb546099.aspx) even without google, just using the text box on this page : [1](http://www.daniweb.com/software-development/vbnet/threads/323752/compare-dates#post1387744) [2](http://www.daniweb.com/software-development/vbnet/threads/432047/date-comparison) [3](http://www.daniweb.com/software-development/vbnet/threads/357007/compare-current-date-with-one-in-ms-access-db) [4](http://www.daniweb.com/software-development/vbnet/threads/383279/how-to-compare-two-date-values-in-two-different-columns-of-a-table) [5](http://www.daniweb.com/software-development/vbnet/threads/272271/comparing-datetimes-find-the-closest-to-system-time) [6](http://www.daniweb.com/software-development/vbnet/threads/414860/date-compare) that was just from first page too... this reminds me a lot of [this thread](http://www.daniweb.com/software-development/vbnet/threads/445938/how-to-compute-working-hours) lol |