Posts
 
Reputation
Joined
Last Seen
Ranked #560
Strength to Increase Rep
+7
Strength to Decrease Rep
-1
87% Quality Score
Upvotes Received
61
Posts with Upvotes
54
Upvoting Members
33
Downvotes Received
8
Posts with Downvotes
8
Downvoting Members
6
12 Commented Posts
~147.48K People Reached
Interests
software , gaming, board sports
Favorite Tags

195 Posted Topics

Member Avatar for DavidKroukamp

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

Member Avatar for Bdill7
5
23K
Member Avatar for Ancient Dragon

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!

Member Avatar for jkon
4
4K
Member Avatar for archie.herbias

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 …

Member Avatar for angela_8
0
2K
Member Avatar for AssertNull

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 …

Member Avatar for AssertNull
0
279
Member Avatar for Suzie999

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 …

Member Avatar for Suzie999
0
385
Member Avatar for cusoon.777

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"

Member Avatar for Philippe.Lahaie
0
359
Member Avatar for Robin_7

[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) ;)

Member Avatar for almostbob
0
233
Member Avatar for OMER AHMED

[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 ;)

Member Avatar for Minimalist
0
432
Member Avatar for JamesCherrill

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 …

Member Avatar for Alok_5
20
3K
Member Avatar for silent.saqi

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 …

Member Avatar for myaccount
0
8K
Member Avatar for joemathew

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

Member Avatar for webhawk
0
426
Member Avatar for Mr.M

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"

Member Avatar for Mr.M
0
429
Member Avatar for nabilmahesaniya

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

Member Avatar for Philippe.Lahaie
0
157
Member Avatar for happygeek

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

Member Avatar for Ginetta23
0
622
Member Avatar for Raouldukey

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 …

Member Avatar for Philippe.Lahaie
0
255
Member Avatar for ethan.david.376

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!

Member Avatar for Philippe.Lahaie
0
104
Member Avatar for munchlaxxx

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

Member Avatar for Philippe.Lahaie
0
83
Member Avatar for KushMishra

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 …

Member Avatar for KushMishra
0
339
Member Avatar for Gen_2

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

Member Avatar for Gen_2
0
436
Member Avatar for Shray_1

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

Member Avatar for Philippe.Lahaie
0
203
Member Avatar for Dani

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

Member Avatar for Mike_danvers
4
3K
Member Avatar for <M/>
Member Avatar for sam.escott4

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.

Member Avatar for Mr.M
0
216
Member Avatar for Sockoiid
Member Avatar for jwenting
2
316
Member Avatar for kedxu
Member Avatar for kedxu
0
181
Member Avatar for dendenny01

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 …

Member Avatar for gian88r
0
167
Member Avatar for ScarWars9
Member Avatar for jontennyeah

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 …

Member Avatar for jontennyeah
-1
147
Member Avatar for EliteNMC

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.

Member Avatar for tinstaafl
0
197
Member Avatar for pandeter

[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

Member Avatar for tinstaafl
0
316
Member Avatar for chriswelborn

i think you can edit for 3 hours after the original posted time. as for the display bug i can't help you, i did do some edits today though. Using windows 7 and chrome. Worked fine for me.

Member Avatar for Dani
0
842
Member Avatar for jangojan

put the validation code in the [OnTextChanged](http://msdn.microsoft.com/en-ca/library/system.web.ui.webcontrols.textbox.ontextchanged(v=vs.85).aspx?cs-save-lang=1&cs-lang=csharp#code-snippet-7) event

Member Avatar for tinstaafl
0
119
Member Avatar for IsaacMessi10

a database would probly be overkill for this, i believe most browsers just use text files or at most an xml to store favorites.

Member Avatar for IsaacMessi10
0
146
Member Avatar for <M/>

this reminded me how much i laughed yesterday watching this ;p [lie witness news](http://youtu.be/zR9NV7D4FVY)

Member Avatar for <M/>
0
89
Member Avatar for dreamslct

[Escape Characters](http://web.cerritos.edu/jwilson/SitePages/java_language_resources/Java_Escape_Sequences.htm) [Modulo](http://www.javaranch.com/drive/modulo.html) heres something to get you started ;)

Member Avatar for dreamslct
0
237
Member Avatar for Violet_82

not sure if you wanted to leave it out but that pseudocode does not swap digits 1&3 and 2&4. I would think the user has to put in the 4 digit int as 1 input personally. as for the pseudocode questions, im not the best to answer this but when …

Member Avatar for Violet_82
0
579
Member Avatar for codechrysalis

You are not too far from what you want to acomplish. You will not need the myPet variable in Robin , nor most of the functions you gave it. First its gonna be important that you keep separated what is comon to all pets, and what is specific to a …

Member Avatar for codechrysalis
1
166
Member Avatar for archelle

[older posts about this](http://www.daniweb.com/software-development/vbnet/threads/132410/time-difference-in-vb.net) [another](http://www.daniweb.com/software-development/vbnet/threads/333380/time-difference-between-2-dates) [one more](http://www.daniweb.com/software-development/vbnet/threads/147892/time-differnce-between-two-datetimepicker) [here too](http://www.daniweb.com/software-development/vbnet/threads/190778/time-difference-between-two-text-boxes) [and here](http://www.daniweb.com/software-development/vbnet/threads/353198/timespan-difference-between-two-dates)

Member Avatar for Reverend Jim
-1
321
Member Avatar for mark.scutt.7

you could use loops! one way would be to loop all assigned players when you generate a new number, making sure nbody else has been assigned that number yet. putting this whole logic in an outter loop to start over if it has. but that is not the most efficient …

Member Avatar for AndreRet
0
936
Member Avatar for vizz
Member Avatar for vizz
0
120
Member Avatar for Tortura

id look into Key events i guess but it will fire the saves multiple times since you can't really know when hes done typing if you dont lose focus? just a thought! Good Luck

Member Avatar for Tortura
0
2K
Member Avatar for Rahul47

Are you getting errors or is the result you are getting simply not the result you are expecting? What are the error(s) or what is the result you get/expect?

Member Avatar for Philippe.Lahaie
0
443
Member Avatar for firebird102085
Member Avatar for happygeek

I personally use chrome for everyday stuff, but when it comes to testing new code on the website i work on, i can't base my tests on global statistics since the site's target users are very specific and, according to my google analytics data, are over 80% ie users. Of …

Member Avatar for scaiferw
0
709
Member Avatar for shahai.ali

[SelectedIndexChanged](http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.listcontrol.selectedindexchanged.aspx)

Member Avatar for Philippe.Lahaie
0
217
Member Avatar for tiggermesho

index = i + 1; i believe this line is (in part) your culprit. from a quick look the rest of the code makes sense although it might not be the most efficient way to find the 5 lowest values, but your inner loop starts at i = index, and …

Member Avatar for jalpesh_007
1
234
Member Avatar for pinaka

Check out the [Loops](http://www.cplusplus.com/doc/tutorial/control/) section in this tutorial. Surround your switch case with one!

Member Avatar for thendrluca
0
157
Member Avatar for caswimmer2011

it would be easier if you included some code in your post and the exact error message you are getting along with the line at which you are getting it.

Member Avatar for JamesCherrill
0
230
Member Avatar for sillyboy
Member Avatar for lj81

there are many other ways than a switch to simply switch the currentPlayer value to the other player name. a simple if structure would be the easiest to understand, i personaly like using [ternary operators](http://en.wikipedia.org/wiki/%3F:) for such small tasks... something in the likes of : currentPlayer = (currentPlayer == player1 …

Member Avatar for Philippe.Lahaie
0
417

The End.