• Member Avatar for DaveAmour
    DaveAmour

    Began Watching What movie have you seen lately?

    Hi I watch a few movies the past weekend, just to relaxed and not think about work. I saw a few movies. I saw: **The Raid Redemption** - The best …
  • Member Avatar for DaveAmour
    DaveAmour

    Replied To a Post in What movie have you seen lately?

    I watched Nightcrawler yesterday, a fantasic performance from Jake Gyllenhaal!
  • Member Avatar for DaveAmour
    DaveAmour

    Began Watching which is your favourite game?

    hallo everyone its time to fun.which is your favourite game?
  • Member Avatar for DaveAmour
    DaveAmour

    Replied To a Post in which is your favourite game?

    I'm old school so chess for me!
  • Member Avatar for DaveAmour
    DaveAmour

    Replied To a Post in So. Does anyone have any good programming/computing jokes?

    And finally There are only 10 types of people. Those who understand binary and those who don't.
  • Member Avatar for DaveAmour
    DaveAmour

    Replied To a Post in So. Does anyone have any good programming/computing jokes?

    Or sometimes in real production code I have been know to use silly variables like Underpants particularly with foreach... foreach (var item in pairOfUnderPants) { }
  • Member Avatar for DaveAmour
    DaveAmour

    Began Watching So. Does anyone have any good programming/computing jokes?

    While I wait for a response, I'm going to spend some time reading fifty shades of grey code.
  • Member Avatar for DaveAmour
    DaveAmour

    Replied To a Post in So. Does anyone have any good programming/computing jokes?

    Not a joke as such but one I use a lot. "Ahh that' would be a PICNIC error"? Problem In Chair, Not In Computer.
  • Member Avatar for DaveAmour
    DaveAmour

    Replied To a Post in How to get difference in minutes.

    Youre welcome. I also added return true since you were not doing that.
  • Member Avatar for DaveAmour
    DaveAmour

    Replied To a Post in Anyone using Google's Go language?

    Sounds good and I think this is already in modern .net langugaes too with the relativeley new parallelization classes and methods. Have you been using Go or just looking into …
  • Member Avatar for DaveAmour
    DaveAmour

    Replied To a Post in Theres something wrong with my keyword cipher

    Ok I see - will wait for this reply then.
  • Member Avatar for DaveAmour
    DaveAmour

    Replied To a Post in how to add new model class

    Based on years of experience and many discusions with other experienced developers both face to face and online and through working in many different companies as a contractor and seeing …
  • Member Avatar for DaveAmour
    DaveAmour

    Replied To a Post in Theres something wrong with my keyword cipher

    How can you tell it is a scripting version?
  • Member Avatar for DaveAmour
    DaveAmour

    Replied To a Post in how to add new model class

    You are using database first - we are not telling you to change that. We are just saying that code first is better. To answer your original question (which I …
  • Member Avatar for DaveAmour
    DaveAmour

    Began Watching How to get difference in minutes.

    <html> <script language="javascript"> function validate(dt1,dt2) { var jdt1=Date.parse('20 Aug 2000 '+dt1); var jdt2=Date.parse('20 Aug 2000 '+dt2); if(isNaN(jdt1)) { alert('invalid start time'); return false; } if(isNaN(jdt2)) { alert('invalid end time'); return …
  • Member Avatar for DaveAmour
    DaveAmour

    Replied To a Post in How to get difference in minutes.

    Try this function validate(dt1, dt2) { var jdt1 = Date.parse('20 Aug 2000 ' + dt1); var jdt2 = Date.parse('20 Aug 2000 ' + dt2); var diffMs; var diffMins if (isNaN(jdt1)) …
  • Member Avatar for DaveAmour
    DaveAmour

    Replied To a Post in Theres something wrong with my keyword cipher

    Ok an some more thing. I don't have VB6 installed. Can I code this in Vb.net for you? If it has to be VB6 I won't be able to do …
  • Member Avatar for DaveAmour
    DaveAmour

    Replied To a Post in how to add new model class

    Yes code first is definatley best.
  • Member Avatar for DaveAmour
    DaveAmour

    Began Watching how to add new model class

    when I added entityfarme work model in mvc Application ..so ultimately it added respected model classes for each table in database .and it added commented line in each class like …
  • Member Avatar for DaveAmour
    DaveAmour

    Replied To a Post in how to add new model class

    You just hit update model from database as far as I remember - no need to delete. I am doing code first now though which is much better but I'm …
  • Member Avatar for DaveAmour
    DaveAmour

    Began Watching Anyone using Google's Go language?

    Just wanted to know if anyone on DaniWeb is using or at least experimenting with Go.
  • Member Avatar for DaveAmour
    DaveAmour

    Replied To a Post in Anyone using Google's Go language?

    I had a very quick look at the tutorial. Looks like a cross between JavaScript and C.
  • Member Avatar for DaveAmour
    DaveAmour

    Began Watching Laptop

    I have facing a problem of my Laptop which is HP Pavilion g6. My laptop is going to very hot staring time to after 30 munites. Somebody help me.
  • Member Avatar for DaveAmour
    DaveAmour

    Replied To a Post in Laptop

    Make sure all the vents are clear - buy some compresssed air to clean it out. You must buy the correct stuff as it has anti static properties. http://www.ebuyer.com/649796-ebuyer-com-air-duster-400ml-ebairduster After …
  • Member Avatar for DaveAmour
    DaveAmour

    Began Watching loops

    Write a program that calculates how much a person would earn over a period of time if his or her salary is one ringgit the first day and two ringgit …
  • Member Avatar for DaveAmour
    DaveAmour

    Replied To a Post in loops

    Do you have any code at all yet?
  • Member Avatar for DaveAmour
    DaveAmour

    Began Watching Display div in Center

    Sir I am using these codes <html> <head> <title>Center dive</title> <style type="text/css"> html body{ margin:0 atuo; margin-top:20px; } #main { margin: 0 auto; background-color: lightgreen; overflow: auto; text-align:center; height:400px; width:400px; …
  • Member Avatar for DaveAmour
    DaveAmour

    Replied To a Post in Display div in Center

    Is this any help? ` <style type="text/css"> html body { margin: 0 atuo; margin-top: 20px; } #main { margin: 0 auto; background-color: lightgreen; overflow: auto; text-align: center; height: 300px; width: …
  • Member Avatar for DaveAmour
    DaveAmour

    Replied To a Post in Theres something wrong with my keyword cipher

    Ok and the same characters for the key? Also any min and max size for the input and for the key?
  • Member Avatar for DaveAmour
    DaveAmour

    Replied To a Post in Theres something wrong with my keyword cipher

    Ok so which characters do you want to allow?
  • Member Avatar for DaveAmour
    DaveAmour

    Replied To a Post in Theres something wrong with my keyword cipher

    You can restrict which characters are allowed, that's fine. But you cannot encrypt like that as you will not be able to decrypt. Does that make sense?
  • Member Avatar for DaveAmour
    DaveAmour

    Replied To a Post in Theres something wrong with my keyword cipher

    Well I can code you an example if you like but I would need to ask some questions first. So first question - what is the range of permissable characters …
  • Member Avatar for DaveAmour
    DaveAmour

    Replied To a Post in Theres something wrong with my keyword cipher

    Sorry but that just looks like an awful mess and just looks all wrong to me. I wouldn't code it that way. Also if you encode numbers to 0 then …
  • Member Avatar for DaveAmour
    DaveAmour

    Replied To a Post in Theres something wrong with my keyword cipher

    Ok I understand now. Let me take a look...
  • Member Avatar for DaveAmour
    DaveAmour

    Replied To a Post in VB yes no problem

    Right sorry I assume this was Vb.net! Didn't even notice which area I was in. Sorry
  • Member Avatar for DaveAmour
    DaveAmour

    Replied To a Post in Theres something wrong with my keyword cipher

    So are you saying whatever you want to encrypt you had to provide a key of the same length? So if you want to encrypt a 20 character string you …
  • Member Avatar for DaveAmour
    DaveAmour

    Replied To a Post in Programmatically creating pictureboxes?

    No you can create them on the fly. What is it you want to do specifically?
  • Member Avatar for DaveAmour
    DaveAmour

    Replied To a Post in VB yes no problem

    Looks oks to me. Can you zip and send me the whole solution? Message me for my email if you want to send it.
  • Member Avatar for DaveAmour
    DaveAmour

    Began Watching Open Source Mobile Application

    help me guys. how can i know the open source mobile application ? any link or website to do this things ? its for my final exam . thanks guys
  • Member Avatar for DaveAmour
    DaveAmour

    Replied To a Post in Open Source Mobile Application

    Hi "how can i know the open source mobile application" doesn't make much sense - can you clarify please?
  • Member Avatar for DaveAmour
    DaveAmour

    Began Watching hey all

    Im IT pro working as freelancer. I usually code alot in C#. Mainly financial apps.
  • Member Avatar for DaveAmour
    DaveAmour

    Replied To a Post in hey all

    Hi I do lots of C# too.
  • Member Avatar for DaveAmour
    DaveAmour

    Replied To a Post in VB yes no problem

    Where is the actual compile error?
  • Member Avatar for DaveAmour
    DaveAmour

    Replied To a Post in VB yes no problem

    Show me your code?
  • Member Avatar for DaveAmour
    DaveAmour

    Replied To a Post in VB yes no problem

    Sorry I just realied you might want an Else Statement - put one in if you need one.
  • Member Avatar for DaveAmour
    DaveAmour

    Replied To a Post in VB yes no problem

    No need for an Else statement since that does nothing. Dim reply As Integer = MsgBox("Are you sure you want to Logout?", vbYesNo, "Confirmation") If reply = vbYes Then Unload …
  • Member Avatar for DaveAmour
    DaveAmour

    Replied To a Post in Remove white spaces in a string

    What is your other problem? If it is different you should open a new question.
  • Member Avatar for DaveAmour
    DaveAmour

    Began Watching VB yes no problem

    can you please help me in my code MsgBox "Are you sure you want to Logout?", vbYesNo, "Confirmation" If vbYes Then Unload Me frmAuthentication.Show End If how can i have …
  • Member Avatar for DaveAmour
    DaveAmour

    Replied To a Post in VB yes no problem

    Can you reword "how can i have 2 choices example i want vb no and just stay with my form help me.." It is not clear what you need. Thanks
  • Member Avatar for DaveAmour
    DaveAmour

    Began Watching Remove white spaces in a string

    $time1=implode(":",$timepick1); $time2=implode(":",$timepick2); Result is 11 : 10 :00 11 : 11 :00 Any body help me to remove white spaces I want result 11:10:00

The End.