• Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in displaying text in texbox from databse based on selected items from combox

    When the query returns a single value then you can use ExecuteScalar and do not require a reader.
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in VB.NET

    You can do it with a simple query. For example UPDATE myTable SET numHours = numHours + 1 WHERE empid = 23 If you need more details on how to …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Probability and Coin Tossing

    When I test the random number generation (for 0, 1) against ten million tosses I compare the number of each result and see only (approximately) a 0.02% difference. In any …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in What is best Browser?

    Best for what? Security? Speed of bug fixes? Rendering speed? This question can usually be answered for specific apps (image manipulation, sound editing, etc.) but is generally pointless for more …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Probability and Coin Tossing

    I don't speak java (luddite, I suppose). In case there is a misunderstanding about the tosses, when I do the tosses I don't generate three new tosses at each pass. …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in it works but.........

    First of all there is a problem with your variable naming. You use `avemark` to contain your total and `totalmarks` to contain your average. You should have totalmarks = mark1 …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Edited Probability and Coin Tossing

    Here's an interesting little scenario. You get challenged to a game of coin toss. Both players pick a sequence of coin toss results (heads or tails). The coin is repeatedly …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Probability and Coin Tossing

    There was a small typo in my code (corrected in the original post). In the button_Choose handler the line should be Button4.Text = IIf(Button2.Text = "H", "T", "H") 'Opposite of …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Edited Probability and Coin Tossing

    Here's an interesting little scenario. You get challenged to a game of coin toss. Both players pick a sequence of coin toss results (heads or tails). The coin is repeatedly …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Probability and Coin Tossing

    It's one of those problems where the "obvious" solution is not the correct solution. Take the following problem, for example. Let's assume, for the moment, that the Earth is perfectly …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Probability and Coin Tossing

    I don't know the math, but by running the code you can see that player B will win either by a little or by a lot. You can modify the …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in How to find my posts quickly

    Click the dropdown `Finder` tool in the top banner.
  • Member Avatar for Reverend Jim
    Reverend Jim

    Edited Probability and Coin Tossing

    Here's an interesting little scenario. You get challenged to a game of coin toss. Both players pick a sequence of coin toss results (heads or tails). The coin is repeatedly …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Edited Probability and Coin Tossing

    Here's an interesting little scenario. You get challenged to a game of coin toss. Both players pick a sequence of coin toss results (heads or tails). The coin is repeatedly …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Edited Probability and Coin Tossing

    Here's an interesting little scenario. You get challenged to a game of coin toss. Both players pick a sequence of coin toss results (heads or tails). The coin is repeatedly …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Edited Probability and Coin Tossing

    Here's an interesting little scenario. You get challenged to a game of coin toss. Both players pick a sequence of coin toss results (heads or tails). The coin is repeatedly …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Created Probability and Coin Tossing

    Here's an interesting little scenario. You get challenged to a game of coin toss. Both players pick a sequence of coin toss results (heads or tails). The coin is repeatedly …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in How to fix error 0x80070035 Windows 10?

    What are you doing that triggers the error? Are you trying to access networked drives?
  • Member Avatar for Reverend Jim
    Reverend Jim

    Edited Archimedean spiral

    I am trying to define the archimedean spiral: when im trying to define the inclination angle (incl) of the tangent vector to the orbit ( i.e: tan(incl)) im getting an …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Wait for process to finish

    OK. Note that I set certain flags to the opposite of yours so that I **would** see the progress of the spawned task.
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Microsoft's Heavy Handed Approach to Windows 10 Upgrades

    According to [Woody Leonhard](http://www.infoworld.com/article/3032751/microsoft-windows/windows-10-forced-update-kb-3135173-changes-browser-and-other-defaults.html), forced update KB 3135173 >Do you use IrfanView, Acdsee, Photoshop Express, or Elements? The default photo app may have been reset to -- you guessed it …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Edited Jokes

    A cat has 9 lives -- what has more than 9 lives? Answer: Frogs because they croak every night. (Duck Dynasty)
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Wait for process to finish

    How about using a timer which periodically tests for the existence of the `ffmpeg` process? For example Public Class Form1 Private proc1 As New Process Private Sub Button1_Click(sender As System.Object, …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Gave Reputation to RudyM in Jokes

    Why do cows have hooves? Because they lactose.
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Wait for process to finish

    You said you were using `BackgroundWork` but it looks to me that you are spawning a separate process. If you actually do it with a `BackGroundWorker` then you can tell …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Changing a string variable value to another string value

    Well, the OP tagged the article with PYTHON so I kinda wonder why you posted php code.
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Why my computer always has blue screen problems

    Also a failing hard drive.
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Read txt file

    The point is not to do all the work for them but to help them learn to do it themselves.
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Read txt file

    >Can anybody give me a solution to do this? Sounds like homework and nobody is going to do it for you. However, if you show us what you have so …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Math Problem

    >This is not the case though It's not going to help to describe what it doesn't do. You'll have to provide more examples to show what it **does** do.
  • Member Avatar for Reverend Jim
    Reverend Jim

    Edited Validate a Form.

    Can anyone help me for this problem ?.. I have a Log-in form and i want to validate the username and password to log-in but the account is default. This …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Personal Information

    The common complaint from users. "It's just what I asked for but not what I wanted."
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in How: Save multiple texbox inputs and load back?

    Clearly my approach as stated will not work. Also clear is that you do not know the definition of a paragraph.
  • Member Avatar for Reverend Jim
    Reverend Jim

    Gave Reputation to Itz Mhe in pseudocode algorithm

    Am trouble with this algorithm can someone please assist Mi.. Write a algorithm that will accept employee name, job title, total sales of all sale staff,the algorithm should calculate a …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in pseudocode algorithm

    If you don't even make an attempt to do it yourself then you won't learn anything. If you are unwilling to learn then why should we go to the effort …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in About compiler warnings. Why do folk ignore or turn them off?

    My (former) boss never understood the concept of "technical debt".
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in How: Save multiple texbox inputs and load back?

    Do you know anything about how to do I/O?
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Math Problem

    It would appear the code doesn't sort at all. Can you please explain what you mean by >But then it gets a bit messy as it can sort out numerous …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Gave Reputation to rproffitt in Personal Information

    So something like this? public class HelloWorld{ public static String newline = System.getProperty("line.separator"); public static void main(String []args){ String me = "your name" + newline +"your address" + newline +"city, …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Windows Photo Gallery-like Program:

    If you have no idea how to do any of these things then I suggest you don't try. You'll just be asking us to do it all for you. Start …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Battery problem

    Probably not. I've never had any luck trying to rejuvinate an old battery.
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in How: Save multiple texbox inputs and load back?

    Sure. Just write each paragraph as a separate line in the save file. Your loop would be For Each tbx As TextBox In Me.Controls.OfType(Of TextBox)() `output tbx.Text Next with the …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in How to be a good programmer

    Your most important skill as a programmer is the ability to communicate clearly. Develop that skill first. Never assume that the person you are communicating with has developed that skill. …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Can't format my USB 64GB anymore

    You can do it from Windows. Open a command shell as Aministrator and run DISKPART.EXE. First, list the mounted disks `list disk` Select the usb stick by its disk number …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Windows Photo Gallery-like Program:

    Since there is already a program with those features the answer is obviously yes. Whether or not you can write it depends on your level of expertise.
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Microsoft's Heavy Handed Approach to Windows 10 Upgrades

    You my recall Windows Update `KB 3035583` which led to many unwanted Windows 10 upgrades and many more unwanted nags. You may want to block `KB 3123862` as well, at …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Edited Looking for recommendation for Windows based gaming desktop

    My number two son is looking to replace his old(ish) Alienware laptop with a new gaming desktop. He is leaning toward another Alienware (although desktop this time rather than notebook). …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Created Looking for recommendation for Windows based gaming desktop

    My number two son is looking to replace his old(ish) Alienware laptop with a new gaming desktop. He is leaning toward another Alienware (although desktop this time rather than notebook). …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Battery problem

    I'll refer you to [9 Tips for Longer Laptop Battery Life](http://www.pcmag.com/article2/0,2817,2458636,00.asp)
  • Member Avatar for Reverend Jim
    Reverend Jim

    Gave Reputation to Joshua_14 in Turbo C help

    Enter 10 student grades and print the total number of passing and failing grades entered

The End.