• Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Read second last line

    Why not write a one-shot program that reads the file line-by-line and writes a new file, skipping any blank lines? Replace your old file with the new file. Then you …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Edited Read second last line

    Hi Dw. I have a very huge text file with size "662 MB" and its can't be opened by a notepad on my computer so I created a program to …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Warning: Dell Laptops may cause insanity

    The continuing story... We are are just starting to pack up things for the end of summer and return home where one of my first jobs will be to take …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Two-Digit Year Setting Registry Location

    You can change the setting for the default profile (which gets used whenever a new profile is created) by navigating to HKEY_USERS\Default User\Control Panel\International and changing the values for sShortDate …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in trying to get data from a html file

    That's hardly enough information to even begin thinking about a possible solution.
  • Member Avatar for Reverend Jim
    Reverend Jim

    Gave Reputation to jwenting in Save Listview items to database

    even if you're not facing potential SQL injection attacks (and who isn't facing those these days...).
  • Member Avatar for Reverend Jim
    Reverend Jim

    Gave Reputation to Rakhmat_1 in Save Listview items to database

    Dim sqlQuery As String = "INSERT INTO tblSales (proDescription, SaleValue) Values ('" & _ Sale.SubItems(0).Text & "' ,'" & _ Sale.SubItems(1).Text & "')"
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Save Listview items to database

    You know, I had to stare at that for five minutes before I spotted the difference. Kind of makes the point for using parameterized queries.
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in auto generation of id in visual basic 6.0

    Let's assume your ID field is called empID. You can determine the next available number by SELECT newID = MAX(empID)+1 FROM empdetails
  • Member Avatar for Reverend Jim
    Reverend Jim

    Marked Solved Status for Unable to debug in visual studio

    cmd.CommandText = "UPDATE tbl_System SET S_Name='" & TextBox2.Text & "', S_Function='" & RichTextBox1.Text & "', S_Failure='" & RichTextBox2.Text & "' WHERE EquipTag='" & Tbl_SystemDataGridView.CurrentRow.Cells(0).Value & "' i think this is …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Unable to debug in visual studio

    I presume the error you got was regarding incorrect SQL syntax. You didn't post the error message. Without seeing the actual query, determining the problem will be, well, a problem. …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Edited prevent user from move to next form

    hello friends, i need a help in vb6, i just start using vb6 for my project. my problem like this, i have two button, button Ok and Next. if i …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in load image based on comboboxselection

    Use Private Sub ComboBox_TypeOfSys_SelectedIndexChanged(sender As System.Object, e As System.EventArgs) Handles ComboBox_TypeOfSys.SelectedIndexChanged PictureBox_FullFeed.Image = Image.FromFile(ComboBox_TypeOfSys.Text) End Sub
  • Member Avatar for Reverend Jim
    Reverend Jim

    Gave Reputation to pritaeas in The future of DaniWeb

    I have to make a feature request though. Would you be so kind as to block url's in the chat. It's getting spam links now too, instead of just links …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Vb.net Calculator

    Lacking code, I would hazard a guess that it is not doing a running calculation (1+2+3) but only displaying the result of the last operation (2+3).
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Bad Grammar

    I just got a coupon via email from a local chain (Giant Tiger) thanking me for taking an online survey. It is good for ten dollars off "on a minimum …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Edited how to insert selected value from dropdownlist into sql

    hi, I want to ask about how to declare dropdownlist in vb.net. actually I'm a newbie to this vb.net language. I'm try to insert selected item from dropdownlist into database. …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Any way to block unsolicited contact requests in Skype?

    New version is the same as the old one. Still getting multiple spams per day. I have to wonder why Microsoft thinks this is a good thing.
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in 4*4 Board Game

    Grid(nextRow,nextCol).BackColor = Color.Red
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Searching for the bug ... but there isn't any

    I found a bug in the PL/1 compiler (verified by my professor) that caused me to had in an incomplete project. I spent two days trying to figure out what …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Marked Solved Status for 4*4 Board Game

    I'm building a board game. The game is played on a 4 by 4 grid in pairs, one player at a time. I would really appreciate if you could help …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in 4*4 Board Game

    If you declare class level integers `nextRow` and `nextCol` you can generate a new randow row and column by Private Sub btnNumber_Click(sender As System.Object, e As System.EventArgs) Handles btnNumber.Click Dim …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Not responding screen

    If you scan the folder when the app first starts and build a list of the files you can have your app notified when any new files are created. Here …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in reinstall windows xp, lost validation code

    Too late this time but I have a couple of suggestions for next time. 1. Partition your disk into C and D. Make C big enough to hold Windows plus …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in 4*4 Board Game

    I'm not sure I follow the logic but I'm going to offer a suggestion to see if that simplifies things. The user is expected to click on a textbox and …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in load record from sqlserver into form

    @Sanu - note that `Me.Controls("CheckBox" & i)` will directly reference the control (but it has to be cast to CheckBox first). @fugio - you have two examples here that do …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Any way to block unsolicited contact requests in Skype?

    I'm so used to Skype auto-updating that I didn't realize there was a newer version available. I'll give it a try, although I see there are no new settings under …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in reinstall windows xp, lost validation code

    You could try to recover the product key using [this utility](http://www.nirsoft.net/utils/product_cd_key_viewer.html)
  • Member Avatar for Reverend Jim
    Reverend Jim

    Created Any way to block unsolicited contact requests in Skype?

    Skype used to have a setting that would allow me to block all unsolicited contact requests. Shortly after Microsoft acquired Skype this feature was removed. I used to get 2-3 …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in load record from sqlserver into form

    You can do Dim val As String = "10010" For i As Integer = 0 To 4 Dim cbx As CheckBox = Me.Controls("CheckBox" & i) cbx.Checked = val.Substring(i - 1, …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Bad Grammar

    I was having trouble deciding whether to post this here (because it's about grammar) or in AD's thread (because it's a joke). I decided to post it here. A "proper" …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Selecting between dates sql

    If you install SQL Management Studio (free from Microsoft) you can debug your queries in an interactive window and then code up the same query in your app.
  • Member Avatar for Reverend Jim
    Reverend Jim

    Marked Solved Status for Failed to Connect to MS ACCESS DATABASE

    Im making a simple login form for my project and I faced this annoying database connection problem. The problem is I can't connect to "MSACCESS2013" it directs me to my …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in What I've been working on lately ...

    I didn't want to start a new thread for this bu, Dani - you might not be surprised by this. Google is being sued for skewing search results. >The claim …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Windows 10

    Microsoft [backdates privacy violating Windows 10 "features"](http://www.extremetech.com/computing/213183-once-more-with-tracking-microsoft-backports-privacy-invading-windows-10-features-to-windows-7-8) to Windows 7 & 8. Note that some of these invasions cannot be blocked via stubs in the hosts file because the connecting …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Windows 10 Questions

    Microsoft [backdates privacy violating Windows 10 "features"](http://www.extremetech.com/computing/213183-once-more-with-tracking-microsoft-backports-privacy-invading-windows-10-features-to-windows-7-8) to Windows 7 & 8.
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Selecting between dates sql

    Read my last post.
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Selecting between dates sql

    Set a breakpoint at SqlDataAdapter1.Fill(DataSetViewEmp, "EmployeeRegistration") then in the immediate window type ?cmd.CommandText ?cmd.Parameters(0).Value ?cmd.Parameters(1).Value and post the output here.
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Failed to Connect to MS ACCESS DATABASE

    At [ConnectionStrings.com](https://www.connectionstrings.com/access-2013/) the string for Access 2013 (standard security) is Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\myFolder\myAccessFile.accdb;Persist Security Info=False; Try specifying the fully qualified file name for the database. It also might help (more info) …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in youtube downloader

    That's not a question.
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in How can I read my old emails from another laptop?

    What format is your email in? What program did you use on the old laptop? For Outlook you can just copy the PST. For Thunderbird, the entire profile folder.
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Dazah vs. DaniWeb

    > I think its not rude, its truth being told in straightforward way. So, hypothetically, if you make a statement that is contradicted by the facts and I respond with …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in What I've been working on lately ...

    How does this differ from LinkedIn?
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Programmer

    For MS SQL an example is SELECT * FROM Orders WHERE OrderDate BETWEEN '1996-07-01' AND '1996-07-23' For AccessDB use SELECT * FROM Orders WHERE OrderDate BETWEEN #1996-07-01# AND #1996-07-23#
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Selecting between dates sql

    How is EmpJoinDate defined in the database?
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Bad Grammar

    That takes me to the picosong home page which apparently has nothing to do with grammar.
  • Member Avatar for Reverend Jim
    Reverend Jim

    Edited Need help with Backend WHMCS

    Appologies for posting this help thread here, but I think, DANIWEB communitty can help me out. We have developed an awesome website builder, at present we want some help to …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Using BackgroundWorker On VB.Net

    A few things to note here. Do not create the control in the BG thread. Make it part of your GUI. Create a Sub to update the existing label with …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in Random Facts

    You're right. But "nasty" doesn't begin to describe it and calling it "a stat" just masks the horror. That's a big part of the problem. In the days after each …
  • Member Avatar for Reverend Jim
    Reverend Jim

    Replied To a Post in need help with mysql data to label

    OK. Then the obvious next question is - what is the type of the database field named playerid. I had assumed it was numeric based on the single example. Please …

The End.