4,911 Posted Topics
Re: Please read the [Daniweb posting rules](https://www.daniweb.com/community/rules) and try again. We will not do your homework for you. Show us what you have so far and where you are stuck. | |
Re: You can loop through all of the pictureboxes by For Each pbx As PictureBox In Me.Controls.OfType(Of PictureBox)() pbx.Image = ... Next or if you have named them with the same prefix followed by a number like `PictureBox1, PuctureBox2, etc.` then you can access them by name as Dim pbx As … | |
Re: Sounds like a homework assignment. It also sounds like you didn't read [this sticky](https://www.daniweb.com/programming/threads/435023/read-this-before-posting-a-question) or the [Daniweb rules](https://www.daniweb.com/welcome/rules) | |
Re: Have you set the `KeyPreview` form property to `True`? | |
When I click on [5 hours ago](https://www.daniweb.com/posts/jump/2210636) in the [Trump](https://www.daniweb.com/community-center/threads/504416/trump), instead of being taken to the end of the thread I get the first post on the first page. | |
Re: My two cents - a goto should only be used as an escape. In some rare cases when you have code that has several levels of nesting and whenever an error occurs you want to just bail out, (I think) it is acceptable to use a goto to drop out … | |
Re: I no longer have a database installed so I can't try anything with parameters, but a few years back I posted a [code snippet](https://www.daniweb.com/programming/software-development/code/461171/insert-a-file-as-binary-data-into-a-database) that inserts a picture (binary file) into a database without parameters. Perhaps that will help. | |
Re: You could be a victim of the double dot problem. See the note section of [this code snippet](https://www.daniweb.com/programming/software-development/code/464769/export-listview-to-excel-spreadsheet) for details. | |
Re: I have had similar problems and I have found it was easier overall to just rebuild everything from scratch. That means creating a new project while keeping the broken one open. Create a form of the correct size then go to the original form and do "select all/cop", then go … | |
Re: Why can't you just use TrueCrypt? It still works just fine. | |
Re: I suggest you look at [AutoHotKey](https://autohotkey.com/) or [AutoIt](https://www.autoitscript.com/site/autoit/). | |
Re: There is only one way to exit from the function and that is by falling through to the end. That will happen once for every call to the function (including recursive calls). | |
Re: I've had that happen a few times. Now if I have anything substantial to submit I create it first in MarkDownPad, then copy/paste to Daniweb. A side benefit is you get to see how the post looks in the preview pane while you are composing. | |
Re: >That's done by offering some pay and a longer spec. Keep in mind that daniweb is not the place to go if you want someone to do your homework for you. Not even for pay. Please read [Read this before posting a question](https://www.daniweb.com/programming/threads/435023/read-this-before-posting-a-question). Judging from the quality of your title … | |
Re: You have to 1. Clearly define your problem 1. Show us that you have tried to solve this yourself | |
Re: Macrium Reflect (free) has a disk clone option. | |
What happened to the PM functionality? I wanted to send a PM to rproffitt but the only messaging thingy I could find was the single line `send message` when I went to his profile. One line is certainly not suitable for composing even something as short as a tweet. While … | |
Re: You might want to use [Notepad++](https://notepad-plus-plus.org/) instead of Notepad. It's better, supports regular expressions, and is free. Your search term as a regex is \(.*$ and your replacement text is blank. In brief "\\(" matches a left parenthesis, ".\*" matches any length string and "$" matches the end of line. … | |
Re: Isn't that what you see when you go to the daniweb home page? | |
Re: And please take the time to read [this](https://www.daniweb.com/programming/threads/435023/read-this-before-posting-a-question) before replying. | |
Re: In order to use a ProgressBar you have to know the total number of rows before you start. If you don't know this before you start you will have no way of knowing where you are in the transfer. The following code assumes you have 142 rows. Every time you … | |
Re: If you plan to write your own app (wrapper) but don't want to write your own tag code you can use either [Perry's IDs Tag Library](http://glassocean.net/perrys-id3-tag-library/) (which I have used) or [this one](https://id3.codeplex.com/) which I have not tried. | |
Re: On my Dell laptop I can toggle the top row between `function keys` and `media keys` by pressing `Fn+ESC`. Pressing `Fn+F1` toggles the mute and occasionally I miss `F1` and press `esc` by mistake (thereby toggling the function keys). Perhaps this is what is happening with you. | |
Re: Test your web pages in a bunch of different browsers and see if they wiork. | |
Re: Keep in mind that Math.Round exhibits (in my opinion) odd (no pun intended) behaviour. It behaves differently depending on whether the integer portion of a number is odd or even. For example Math.Round(2.5) evaluates to 2.0 Math.Round(3.5) evaluates to 4.0 That's why I prefer to roll my own that always … | |
Re: Use a DataGridView rather than a ListView. That would allow you to change colours of individual cells in any way that you want. To change an individual cell you code dgvData.Rows(row).Cells(col).Style.BackColor = Color.Thistle replacing `row `& `col` with the 0-relative row and column numbers. | |
Re: Technology is changing at an accelerating pace so an ability to self-educate will be a great asset. However, in the rush to keep pace with the technology, make sure to develop the ability to communicate effectively. No matter what you are asked to do technically, the ability to understand anbd … | |
Re: Please note that you are posting a solution to a question that was asked 9 years ago. | |
Re: The thing about code is that it allows you to automate highly repetitive and mindless tasks so that you don't have to do them manually. Repeatedly clickling the same control seems to be a good example of that. | |
Re: As I recall you should use `fseek` and `ftell` to get the file size, them `malloc` to allocate enough space to hold the entire file, then `rewind` and `fread` to read the entire file at once. | |
Re: We don't do your homework for you. You obviously did not read [this sticky post](https://www.daniweb.com/programming/web-development/threads/435023/read-this-before-posting-a-question) at the top of the thread list. | |
Re: You can reference a control dynamically by name like num = 4 dim tbx as TextBox = Me.Controls("TextBox" & num) Then you can reference the control through the variable. If you want to cycle through a series of TextBoxes just put it in a look like For i As Int … | |
Re: Welcome aboard. And please take the time to read [these suggestions](https://www.daniweb.com/programming/web-development/threads/435023/read-this-before-posting-a-question) before posting questions. | |
Re: Give us a little more info please. What you say suggests, not only that you don't know c++ but that you also don't know coding. If that is the case then I strongly suggest you avoid c++ until you have developed some coding experience. You start with pewter then move … | |
Re: You can start by watching [this video](https://www.youtube.com/watch?v=tNfGyIW7aHM) on "How to do it". | |
Re: Unless the code in question is inside a loop that will be executed millions of times, a slight (but otherwise unmeasurable) increase in efficiency is not worth sacrificing clarity. | |
A note to everyone on Daniweb who is eligible to vote this November, especially young voters who show up in notoriously low numbers. This is not like making a bad decision, knowing your parents are there to save you. There is no safety net. There is no do-over. If you, … | |
Re: Can you be more specific? A simple answer would be to binary append one file to the other. That's probably not what you are looking for. If you put more effort into the question you might get more detail in the answer. | |
I tried to go to a thread in Chrome and the connection timed out. I loaded Firefox and browsed to Daniweb and tried to log in. I was sent to Dazah (as expected) where I was told my password was no longer valid (I use a password manager so a … | |
Re: Why bother? There is already a program (diskmgmt.msc) on every version of Windows that already does this. And if you need finer control and more options there is diskpart.exe which is also included. | |
Re: Despicable marketing. Give you a snotload of online storage, then, once you fill it up, cut back and charge you for anything over the new minimum. | |
Re: >but there is a ton of stuff I just do not understand yet No matter how much you know and how long you have been working in the industry this will always be the case. A knowledge of design concepts and and good workingh knowledge of at least two languages … | |
Re: >Also, it's a good idea to quote the assignment spec Could be copyright issues with that. Probably best to paraphrase. | |
Re: And too lazy to even ask a question. | |
Re: Tell her to google "rape and the US military". When you tuen 18 you are an adult but that doesn't automatically make you responsible. ![]() | |
Re: This is a bit roundabout but it should work. I've used [AutoIt](https://www.autoitscript.com/site/autoit/) for years to automate tasks. There is a scriptable (usable from vbScript, vb.net and C#) component that exposes the WinSetOnTop method. WinSetOnTop - Change a window's "Always On Top" attribute. WinSetOnTop "title", "text", flag Parameters title - The … | |
Re: In my experience that kind of error results from using an uninitialized pointer. A pointer variable contains the address of what you want to operate on. If it is uninitialized it has the value zero. Trying to access .ocation zero results in an error. ake sure all your pointer variables … |
The End.