• Member Avatar for DaveAmour
    DaveAmour

    Replied To a Post in c++

    Writer (Author of books etc) or programmer?
  • Member Avatar for DaveAmour
    DaveAmour

    Replied To a Post in Encrypting an object

    To clarify - serialization doesn't mean to serialise to disk - you can serialize to many places - the screen, a printer, a disk, memory, over a network etc.
  • Member Avatar for DaveAmour
    DaveAmour

    Replied To a Post in Encrypting an object

    No - you can serialise in memory, encrypt in memory and then write to disk.
  • Member Avatar for DaveAmour
    DaveAmour

    Replied To a Post in Looping for Datatable

    Ok first things first, before getting your code to work lets fix your database as the design is wrong. There are a set of design guidelines for designing databases called …
  • Member Avatar for DaveAmour
    DaveAmour

    Replied To a Post in jquery noob

    Youre welcome.
  • Member Avatar for DaveAmour
    DaveAmour

    Began Watching Saving text after app is closed

    Im designing a app that after press a button textblock1.text goes with "YES" if press an other it goes "NO" how to make it save that text when close the …
  • Member Avatar for DaveAmour
    DaveAmour

    Replied To a Post in Saving text after app is closed

    I would like to help you with this but you need to be a bit more specific and also record the question - it is not very clear exactly what …
  • Member Avatar for DaveAmour
    DaveAmour

    Began Watching Encrypting an object

    i have an assignment and i need to encrypt the objects before serializing them into the file. i've looked for information and all i found was encrypting strings. is this …
  • Member Avatar for DaveAmour
    DaveAmour

    Replied To a Post in Encrypting an object

    Do you have to encrypt BEFORE serializing? Serializing and then encrypting makes far more sense to me. See this for how to serialize: http://www.paxium.co.uk/PublicArticle/Article/493 Then just encrypt the xml. This …
  • Member Avatar for DaveAmour
    DaveAmour

    Replied To a Post in jquery noob

    Some additional info. When you select someting in jquery, you are using the same selectors used in CSS. If you do this $("p").append("XXXXXXXXXXXXXXXXXXXXXX") then this will append to all paragraph …
  • Member Avatar for DaveAmour
    DaveAmour

    Began Watching jquery noob

    i am trying to get to modify this script . i have a form that returns the longditude and latitude from google map api. I am trying to insert that …
  • Member Avatar for DaveAmour
    DaveAmour

    Replied To a Post in jquery noob

    Change }).appendTo('form'); to instead of 'form' to be something more specific Eg #formid if the other form has an id. Does the other form already exist or are you creating …
  • Member Avatar for DaveAmour
    DaveAmour

    Replied To a Post in CVs on DANIWEB

    Ok I see the other sections now, sorry about that. Anyway the LinkedIn bit is working now, well done! What was wrong wth it? Was it because I am in …
  • Member Avatar for DaveAmour
    DaveAmour

    Replied To a Post in Cannot cash out reward points

    Ok no worries, you can always just send me a bag of cash if you like!
  • Member Avatar for DaveAmour
    DaveAmour

    Replied To a Post in CVs on DANIWEB

    Hi Dani - Yes LinkedIn still isn't working. Must be something different about me - browser, location etc? Do you know if it works for anyone else? Or how about …
  • Member Avatar for DaveAmour
    DaveAmour

    Replied To a Post in slideshow with list and array

    A loop is nothing more than an automatic repetition of code eg: While (i < 10) { Print i i = i + 1 } End By the way the …
  • Member Avatar for DaveAmour
    DaveAmour

    Began Watching Foreign key is disturbing can't handle

    I have created a vendors page where I want to show how many vendors exist in the database. I have succcssfully done but main problem is that how do i …
  • Member Avatar for DaveAmour
    DaveAmour

    Replied To a Post in Foreign key is disturbing can't handle

    reyborn - will that SQL display vendors with Zero products?
  • Member Avatar for DaveAmour
    DaveAmour

    Began Watching Monkey Array issues getting started

    So i am back again, working with arrays this time. I can get it to run in the main but i am not sure how to make this code into …
  • Member Avatar for DaveAmour
    DaveAmour

    Replied To a Post in Monkey Array issues getting started

    Actualy just noticed in your first bit of code you have this: double food [monkeytot][Wdays]; But then in your second bit you have this: double food[monkeys][Wdays]; Try changing that.
  • Member Avatar for DaveAmour
    DaveAmour

    Began Watching Looping for Datatable

    Hi all :) I'm using VB 2008 and VB.NET I have a database data. Each column namely as name, age and hobby. For 1 person have more than one hobby. …
  • Member Avatar for DaveAmour
    DaveAmour

    Replied To a Post in Looping for Datatable

    How do you want to display this? Also you say 1 person has potentially more than 1 hobby. How are you dealing with this in your database design? Showing us …
  • Member Avatar for DaveAmour
    DaveAmour

    Replied To a Post in Cannot cash out reward points

    Ok thanks Dani, no rush I have othe sources of income to sustain me!
  • Member Avatar for DaveAmour
    DaveAmour

    Began Watching How to update data in database

    I want to ask how to update data in database? I'm using the code as the below. string value1 = TextBox1.Text; string value2 = TextBox2.Text; string value3 = TextBox3.Text; string …
  • Member Avatar for DaveAmour
    DaveAmour

    Replied To a Post in How to update data in database

    You need a comma before Address=
  • Member Avatar for DaveAmour
    DaveAmour

    Began Watching If statements in VB

    Hi everyone I am fairly new to programming VB. Net I have a program I have written to calculate the totals of snowfall for an each month and make it …
  • Member Avatar for DaveAmour
    DaveAmour

    Replied To a Post in If statements in VB

    To add only non negative values do this: Private Sub Button2_Click(sender As Object, e As EventArgs) Handles Button2.Click Dim Total As Integer For Each Str As String In ListBox1.Items If …
  • Member Avatar for DaveAmour
    DaveAmour

    Replied To a Post in view and iud

    Essentially a poco is just a simple, plain class with just simple properties. Easy to serialise, no dependancies etc. POCO stands for Plain Old Clr Object. It was coined from …
  • Member Avatar for DaveAmour
    DaveAmour

    Replied To a Post in slideshow with list and array

    I was bored so took your/my code and made a slideshow on my site - this is without scrollbars so view the source to see how it works. http://www.paxium.co.uk
  • Member Avatar for DaveAmour
    DaveAmour

    Replied To a Post in slideshow with list and array

    If you like what I have done, I can get rid of the scrollbar too if you like?
  • Member Avatar for DaveAmour
    DaveAmour

    Began Watching slideshow with list and array

    --Create an array to contain the path to the image’s source. Don’t hardcode the path into the array. Use a loop to retrieve the name of the file from the …
  • Member Avatar for DaveAmour
    DaveAmour

    Replied To a Post in slideshow with list and array

    I think if you change slideShowItem = '.slides li' to slideShowItem = $('.slides li') then you will get a collection of items. I had a play with your code and …
  • Member Avatar for DaveAmour
    DaveAmour

    Replied To a Post in view and iud

    Is this any help? http://www.binaryintellect.net/articles/4a00a9ce-73e5-4d89-aaae-2d835eca0854.aspx Its not exactly what you are looking for but I think you are more interested in the view aspect rather than the background data access …
  • Member Avatar for DaveAmour
    DaveAmour

    Replied To a Post in view and iud

    And any preference on data access technologies - ie Entity Framework ok for example?
  • Member Avatar for DaveAmour
    DaveAmour

    Replied To a Post in view and iud

    Any preference on database?
  • Member Avatar for DaveAmour
    DaveAmour

    Began Watching view and iud

    can any one suggest me a link where Insert update delete can be done by one view ..
  • Member Avatar for DaveAmour
    DaveAmour

    Replied To a Post in view and iud

    One view in what - MVC with C# for example?
  • Member Avatar for DaveAmour
    DaveAmour

    Began Watching Array in Ascending and Descending Order

    Hi guys I need some help in sorting array in descending and ascending order. I already have my ascending program but it does not work when I put codes for …
  • Member Avatar for DaveAmour
    DaveAmour

    Replied To a Post in Array in Ascending and Descending Order

    Switching ascending to descending should be easy. Can you show us your ascending code?
  • Member Avatar for DaveAmour
    DaveAmour

    Replied To a Post in Interfaces, The Basics. Have I Got It Right?

    I think ReadOnlyCollection has only been around since 2012 so I don't feel too bad now!
  • Member Avatar for DaveAmour
    DaveAmour

    Replied To a Post in Interfaces, The Basics. Have I Got It Right?

    I haven't seen those interfaces before, shall look inot them, thanks :)
  • Member Avatar for DaveAmour
    DaveAmour

    Began Watching Interfaces, The Basics. Have I Got It Right?

    Hello Dear DaniWeber's. I've been away for some time, and have recently made the transition from VB to C# (Finally). Using C# has opened my eyes to many things that …
  • Member Avatar for DaveAmour
    DaveAmour

    Replied To a Post in Interfaces, The Basics. Have I Got It Right?

    With this `public List<TyrePressure> Wheels { get; private set; }` I think you can still change Items in the list. Often you see this kind of thing if you don't …
  • Member Avatar for DaveAmour
    DaveAmour

    Replied To a Post in accessing apache web server with private IP (LAN)

    I have had some that don't support it and some that do. Pot luck usually but as Jorge says you can still connect via the local ip. I think I …
  • Member Avatar for DaveAmour
    DaveAmour

    Replied To a Post in Cannot cash out reward points

    Ok thanks I will wait and be patient I suppose...
  • Member Avatar for DaveAmour
    DaveAmour

    Replied To a Post in Cannot cash out reward points

    I see. I don't have any such buttons. Mine looks like this... ![CashOut.png](/attachments/large/2/a03451d87ad0eaec8d99f012f1f83f9a.png "align-center")
  • Member Avatar for DaveAmour
    DaveAmour

    Replied To a Post in Date string conversion;

    Ok cool, glad to help.
  • Member Avatar for DaveAmour
    DaveAmour

    Began Watching Date string conversion;

    Hi guys. I have a date in format "2015-04-04 10:50" (yyyy-MM-dd hh:mm) I'm having a tough time finding a way to alter this date if a condition is met. The …
  • Member Avatar for DaveAmour
    DaveAmour

    Replied To a Post in Date string conversion;

    Hi Suzie Does this help? using System; namespace DaniWebDates { class Program { static void Main(string[] args) { string d1 = "2015-04-04 00:06"; Console.WriteLine(ConvertDate(d1)); Console.ReadKey(); } static DateTime ConvertDate(string s) …
  • Member Avatar for DaveAmour
    DaveAmour

    Replied To a Post in Cannot cash out reward points

    Sorry I don't understand how I can try PayPal? I click on the following page: https://www.daniweb.com/rewards/earnings It then says I now have over 2000 reward points. But then it also …

The End.