4,901 Posted Topics
Re: Usually when someone posts a question like that they get a "please show proof of your work so far" response or a reminder of the rules (with a link to the rules). If they persist in this behaviour they can get a comment and a downvote (which results in a … | |
I don't usually recommend software unless I am asked, but I came across something that was too good not to share. I had taken a video while biking down a road here at the cottage and was very disappointed in the result with all the shaking and jittering. I went … | |
Re: I think you can get a list of the matching tables by SELECT MSysObjects.Name AS table_name FROM MSysObjects WHERE [Name] LIKE "DailyCashSalesRpt*" Then you can step through the resulting records and build your delete queries. I can't test this out because I only have MS SQL installed, not Access. | |
Re: You start by writing comments and putting them in your code. The comments should say what the code does, not how it does it. Then you remove the code. What's left is your pseudocode. | |
Re: I find it easiest to use My.Settings. I don't know if there is an industry standard but I prefer to avoid the registry whenever possible. | |
Re: What version of vb.net are you using? | |
Re: I'd say this goes way beyond "code snippet" and could easily be a tutorial. Nicely done. | |
Re: Because the action involves making a selection, wouldn't you be better off with either radio buttons or checkboxes instead of buttons? | |
Re: What have you done so far? Reading words from a file into an array is simple but how you do it depends on the format of the file. Considerations are: 1. is there one word per line or multiple words 1. are there non-word characters (punctuation) to be accounted for … | |
Re: You could try changing your connection string to SqlConnection("Server=.\SQLEXPRESS;Database=demo1;Trusted_Connection=yes;") Change the server name to whatever your local installation is named. | |
Re: This is a little after-the-fact considering that you posted this 11 months ago but I just picked up a ChromeCast a couple of days ago and I've been quite happy with it. I used to have to cable my laptop to the tv but now I can just run everything … | |
Re: We can't tell you where to get drivers if you don't tell us what kind of laptop you have. This may not be necessary, however, because most laptops come with a recovery partition which will allow you to restore the laptop to the state it was in when you bought … | |
Re: I would have to say that your biggest problem is that this isn't vb.net code. I'm guessing it is C#. Please let me know for sure and I'll move it to the correct forum. | |
Re: Had one almost constantly since around 1980. I shave it off every ten years or so when I want a good laugh (or cry). This one is from just before I retired.  | |
Re: If you let anyone else use your computer then I suggest one other layer of protection. A great big stick. It won't save you from one infection, but it will likely prevent a repeat infection. I've had great success with this tool :) | |
Re: The following code will allow/prevent the entry of specific keys. Add a Case statement for each key or range of keys you want to allow. Note that you have to add a Case to allow BackSpace but not Left/Right Arrow or Delete. Public Class Form1 Private Sub TextBox1_KeyPress(sender As System.Object, … | |
Re: Having AOL **not** run is a feature, not a bug. | |
Re: There should be a control panel applet for power settings where you can disable standby/sleep/hibernate. | |
Re: I don't know if this is what you are looking for but [AutoIt])https://www.autoitscript.com/site/autoit/) comes with a tool called AutoIt Window Info which can do that. | |
Re: What is `recno.Length` and what is its value? Please post the code associated with `recno`. | |
Re: You could try pinging the server at startup to see if the machine is accessible. That would get a much faster response than trying to connect and waiting for the timeout. | |
Re: The first problem is that you are reading the entire file on every iteration of the loop. Read the entire file once before the loop, then iterate over the lines. Or you could read the file once and use a For Each as in Dim found As Boolean = False … | |
Re: The following code will allow/prevent the entry of specific keys. Add a Case statement for each key or range of keys you want to allow. Note that you have to add a Case to allow BackSpace but not Left/Right Arrow or Delete. Public Class Form1 Private Sub TextBox1_KeyPress(sender As System.Object, … | |
Re: Because the question has already been asked, and you are aware of this because you state it in your post, how about we just continue this discussion in the [original thread](https://www.daniweb.com/software-development/vbnet/threads/482760/arrange-numbers-from-highest-to-lowest). | |
Re: Chill. It's just a phone. I refer you to [this](https://www.youtube.com/watch?v=tZC3uFv6TN8). | |
Re: You might want to look into [Bart's PE](http://www.nu2.nu/pebuilder/) which will allow you to boot into a USB Windows environment. I seem to recall reading somewhere that Windows 9 will come with a tool which allows you to build a Windows USB. | |
Re: Here is some sample code. I just coded this up using simple BackGround colour changes to indicate state but with a little work you could change it to use images. It uses a 2-D array to reference the PictureBoxes and you can iterate over the array to determine the number … | |
Re: Same mistake here as in two other threads. By filtering at the form level you affect the bahaviour of all textboxes at the top level of the form. | |
Re: Well, your Canadian is almost spot on except you should use "eh" instead of "ey". Maybe you speak it with an accent ;-) | |
Re: The following code will allow/prevent the entry of specific keys. Add a Case statement for each key or range of keys you want to allow. Note that you have to add a Case to allow BackSpace but not Left/Right Arrow or Delete. Public Class Form1 Private Sub Form1_Load(sender As System.Object, … | |
Re: This doesn't cause the error, but you should not use the form `Me.i`. Just use the variable name without the `Me` qualifier. As for the error, try the loop For Each pbx As PictureBox In Me.Controls.OfType(Of PictureBox)() AddHandler pbx.MouseEnter, AddressOf highlight Next If that doesn't fix the problem then perhaps … | |
Re: _NSAKEY was a variable name discovered in Windows NT 4 Service Pack 5. It was accidentally released with symbolic debugging data included. The variable contained a 1024-bit public key. You can be sure if it was there then, it's still there now, just better hidden. I read recently that researchers, … | |
Please read through the following suggestions before posting in this forum. Questions in this forum are answered by people who generously volunteer their time. Following these guidelines will increase the chances of getting a quick and accurate answer. 1. Use Search to see if your question has been asked and … | |
Re: Take a look at [Recovering Outlook Files](https://www.daniweb.com/hardware-and-software/microsoft-windows/threads/52162/recovering-outlook-files). The only posts in the last five years were two deleted (spam) and one that basically says **shoulda made a backup, dude**. The suggestion to **use some sort of recovery tool** is completely useless without a recommendation to a specific tool. I think … | |
Re: You might try strings.exe from the free [Sysinternals Suite](http://technet.microsoft.com/en-ca/sysinternals/bb545027.aspx). This may allow you to recover all/most/some of the text. | |
Re: I see we have another "what is the best..." thread that is probably going to generate endless discussion from the linux/Mac/Windows camps. [Here](http://joelgrus.com/2013/12/24/why-programming-language-x-is-unambiguously-better-than-programming-language-y/) is some enlightening and amusing reading for anyone who is tempted to respond to **any** "what is the best..." type threads. It seems to me that most … | |
Re: You didn't provide the table structures so I'll assume the tables have the same structure. I have no idea how much detail you need so I'll start with a little and you can ask for more as you need. If you have an ADODB.Connection object named `con` then you can … | |
Re: See [here](https://www.daniweb.com/hardware-and-software/microsoft-windows/threads/484044/hi-everyone#post2118530). | |
Re: "_0" is not an integer. Strip off the underscore before you try to convert. | |
Re: You can open the CSV as a text based database using ADO then use standard SQL statements to query to records. A detailed explanation can be found [here](http://msdn.microsoft.com/en-us/library/ms974559.aspx). Here is a short example. Assuming your CSV file does not have a header line (identifying field names) you can create a … | |
Re: I'll assume that you are using a database. You can select the current maximum student number by SELECT MAX(StudentNo) Therefore the next available number would be SELECT MAX(StudentNo)+1 AS NextStudentNo | |
Re: I had the same problem but it's much better now that nobody wants to chat with me ;-P | |
Re: The first mistake you made is asking us to tell you the requirements of a system that we know nothing about. What you have to do is meet with the people who are doing the manual process and document that process. The people who maintain the current manual system can … | |
Re: It's so simple. All the media has to do is use the "HOLY SHIT LOOK OVER THERE!!!" approach and people panic and do what they're told. |
The End.