• Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in help-Positioning the button inside the listbox

    If you use a panel instead of a listbox and set AutoScroll to True then it will work.
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in help-Positioning the button inside the listbox

    Adding more controls than can be shown will not activte the scroll bars. You have to add text to do that.
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Things I hate about TV shows

    I've always enjoyed comic books. When I was but a lad in the 60s my favourite character was The Flash. I was disappointed in the 1990s TV show. John Wesley …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in I want to Count how many times i click a button

    Declare an integer at the class level as in Private ButtonClickCount As Integer = 0 Then in the button click event handler do ButtonClickCount += 1 Me.Text = "Current count …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Feedback

    I'd estimate I spend anywhere from 1-3 hours per day on DaniWeb. When I started as a noob back in 2010 I had already been programming for over 30 years …
  • Member Avatar for Reverend Jim
    Reverend Jim

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

    Just saw the movie, [Paul](http://www.imdb.com/title/tt1092026/?ref_=fn_al_tt_1). It's a hoot. Of course, I've come to expect that from Simon Pegg & Nick Frost.
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in VB.NET ERROR "parameter is not valid"

    I haven't got SQL installed at the moment so I can't code and test something but I have used the following Private Sub btnRetrieve_Click(sender As System.Object, e As System.EventArgs) Handles …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Would you play your laptop in bed???

    I'm doing it right now.
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in There is an elephant on the loo!

    You gotta love that the 10 year old boy who wrote a best selling Christian book about how he came back from heaven (and just admitted it was all bullshit …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Help!

    >Windows 7 creates a boot partition that is 100MB and is at the beginning of the drive. Not on the four machines that I've installed it on. My current laptop …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Help!

    It is not necessary to delete all of the partitions on the drive. I always recommend two partitions, C for the OS and apps, and D for user files (I …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Random Facts

    The Roman Catholic Archdiocese of St. Paul and Minneapolis filed for bankruptcy protection in the wake of yet another clergy sexual abuse scandal, becoming the 12th US diocese to do …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Edited Sql query problems

    hy, i'm having a big problem, thats because i'm new in this, i have two qrys unfort doesnt work if(isset($_GET['id'])){ $id=$_GET['id']; $qry=mysql_query("SELECT *,replace(category, ',', ' ') as category FROM articles …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Isaac Newtons theory about the earth falling to the sun.

    >Then use them to prove to me that gravity is a lie Well obviously since nobody knows how gravity works then it's only a "theory" like the theory of evolution …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in How to calculate discount depending on quality

    Helping by Skype would not benefit anyone else on the forum.
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Disable safe mode

    What happens when you reboot and press F8? Do you get the option to boot windows normally?
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in creat a checkbox for example if we checked gender then select age automatiy

    Please provide a little more detail.
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in [HELP]Updating database Error [vb.net+ms access]

    For OleDB you use **?** for the parameters as follows: sql = "UPDATE tbdishlist SET " & _ "qty = qty + ?, " & _ "price = price + …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Marked Solved Status for Duplicate notifications

    Dani: I've started getting duplicate notifications by email. I forwarded them to your regular email address.
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Duplicate notifications

    My next notice came only once so it seems it was an Outlook problem.
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Duplicate notifications

    I have disabled all Outlook rules to see if that is causing false duplicates.
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Random Facts

    Researchers at Yale were able to teach Capuchin monkeys the concept of money. The first use of that money was to buy sex. The monkey receiving the money used it …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Random Facts

    Based on numbers in the bible, God killed at least 2,476,633 people (not counting those who died in the flood - no numbers are given for that), while Satan killed …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Random Facts

    The book that holds the world's record for "most often stolen from the public library" is the Guinness Book of Workd Records. [Source](http://www.news.dm/did-you-know-the-guinness-book-of-world-records-holds-the-record-for-being-the-book-most-often-stolen-from-public-libraries/)
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Duplicate notifications

    Still getting dups.
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Why does Windows XP refuse to die?

    If you use [Markdown Pad](http://markdownpad.com/) instead of Notepad then you can see what the formatted post will look like.
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in insurance database software

    By the way - do you see that article at the top of the forum page that says [Please Read This Before Posting](https://www.daniweb.com/software-development/vbnet/threads/424836/please-read-this-before-posting)? It's there for a reason.
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in insurance database software

    You talk to the customer to determine the requirements (specs) then you develop the code. Along the way you might decide to prototype a GUI for the customer to approve. …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in There is an elephant on the loo!

    In 2013, millionaires made up more than 50% of the US Congress.
  • Member Avatar for Reverend Jim
    Reverend Jim

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

    Saw the Hobbit finale. It's what I expected from reading the book - lots of fighting. Rewatched American Graffiti last night. It was while watching the credits that I noticed …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Memorable Quotations

    Man is the Religious Animal. He is the only Religious Animal. He is the only animal that has the True Religion–several of them. He is the only animal that loves …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Who is the better Joker?

    >Christopher Nolan's Dark Knight Trilogy was worth it. Except for the third one which was too drawn out. Take another look at the mob fight scene later in the movie. …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in how to add a new items and it will save into database after stop debugging

    It would also help others if you posted your solution.
  • Member Avatar for Reverend Jim
    Reverend Jim

    Marked Solved Status for how to add a new items and it will save into database after stop debugging

    Public Class Form4 Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click ListBox1.Items.Add(InputBox("Masukkan jenama baru anda:")) End Sub Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Value of type 'String' cannot be converted to 'System.Data.OleDb.OleDbComma

    Just put a ">" at the start of a line and it will quote the text. You can also select the text and click on the quote tool.
  • Member Avatar for Reverend Jim
    Reverend Jim

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

    Just saw the movie, Elysium. I'm glad I only paid $1.20 to get it from the library instead of full price in the theatre when it was released. The writers …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Value of type 'String' cannot be converted to 'System.Data.OleDb.OleDbComma

    For OLEDb the synax would be Dim da As New OleDbDataAdapter("SELECT * from EncodingComplete where (Date_Bill BETWEEN ? AND ?) AND Client like ? Order by Date_Bill desc" , con) …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Value of type 'String' cannot be converted to 'System.Data.OleDb.OleDbComma

    Parameterrs in OleDB are specified with **?** rather than **&parm**. See [here](https://www.daniweb.com/software-development/vbnet/code/445801/use-parameterized-queries-to-avoid-sql-injection-attacks) for a working example.
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in There is an elephant on the loo!

    In the United States you are statistically in less danger of dying from a terrorist attack than from a toddler accidentally shooting you.
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Permission to read a file

    In an Explorer window Organize >- Folder and Search Options Click on the View tab.
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in How many hours do you spend on computers all day.

    5-6
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Permission to read a file

    It's a hidden folder. You have to enable "Show Hidden Folders, Files and Drives" in folder view.
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in There is an elephant on the loo!

    >I was trying to think like you... That's not answering the question. That's avoiding answering the question. >its the people who are using a religion to cover up their wrong …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Marked Solved Status for retrieve data

    hi everyone, how can i retrieve the data from sql serve2008 and put it in array using vb.net2010. Can anyone help me with this?
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in help with string and for next loop

    >The easiest way to do this would be the string.split method. That would be easier. I assumed because SubString was out that Split would also be disallowed. As for last …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in There is an elephant on the loo!

    >Well, all i am trying to point out is that we shouldn't be taking things out of context. Can you please explain what context could be used to explain how …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Duplicate notifications

    Nope.
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in There is an elephant on the loo!

    >no religion promotes violence (at least the religions I know of). And yet in your second paragraph you cite many examples of violence in both the old and new testaments, …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Archer

    >Is the show good? I may consider watching it. Absolutely hilarious.
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in help with string and for next loop

    Start by taking the string from the textbox and adding a blank at the front. Then scan through the entire string and check each character. If a character is non-blank …

The End.