4,911 Posted Topics

Member Avatar for abdullah_11

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.

Member Avatar for Santanu.Das
0
423
Member Avatar for Garry_1

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 …

Member Avatar for Reverend Jim
0
832
Member Avatar for Ami Abdul

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)

Member Avatar for AssertNull
-2
216
Member Avatar for bhavna_816
Member Avatar for Reverend Jim

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.

Member Avatar for Dani
1
244
Member Avatar for Peter_36

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 …

Member Avatar for ddanbe
0
360
Member Avatar for Kifiote

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.

Member Avatar for Kifiote
0
894
Member Avatar for Papa_Don

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.

Member Avatar for Papa_Don
0
5K
Member Avatar for Papa_Don

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 …

Member Avatar for Papa_Don
0
690
Member Avatar for Jim_14
Member Avatar for Reverend Jim
1
98
Member Avatar for Saluki
Member Avatar for pritaeas
0
500
Member Avatar for DoÄŸukan

I suggest you look at [AutoHotKey](https://autohotkey.com/) or [AutoIt](https://www.autoitscript.com/site/autoit/).

Member Avatar for Reverend Jim
0
824
Member Avatar for glao

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).

Member Avatar for glao
0
495
Member Avatar for AssertNull

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.

Member Avatar for Reverend Jim
0
378
Member Avatar for lytonia

>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 …

Member Avatar for ddanbe
0
384
Member Avatar for AmNa_3

You have to 1. Clearly define your problem 1. Show us that you have tried to solve this yourself

Member Avatar for Reverend Jim
0
143
Member Avatar for lewashby
Member Avatar for Reverend Jim

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 …

Member Avatar for Dani
0
385
Member Avatar for Dani
Member Avatar for Stefce

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. …

Member Avatar for cereal
0
377
Member Avatar for tinstaafl
Member Avatar for tinstaafl
0
399
Member Avatar for mohammad shadab hussain

And please take the time to read [this](https://www.daniweb.com/programming/threads/435023/read-this-before-posting-a-question) before replying.

Member Avatar for Reverend Jim
0
102
Member Avatar for TheGuy831

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 …

Member Avatar for TheGuy831
0
3K
Member Avatar for Mr.M

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.

Member Avatar for AssertNull
0
972
Member Avatar for altjen

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.

Member Avatar for Reverend Jim
0
291
Member Avatar for Swapnali_2
Member Avatar for Michael_57

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 …

Member Avatar for Reverend Jim
0
175
Member Avatar for PEM_1

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.

Member Avatar for Reverend Jim
0
403
Member Avatar for Sandeep_21

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 …

Member Avatar for AssertNull
0
261
Member Avatar for rroygaga
Member Avatar for Reverend Jim
0
2K
Member Avatar for Traevel

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.

Member Avatar for Reverend Jim
2
444
Member Avatar for Jose_12

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.

Member Avatar for deceptikon
0
178
Member Avatar for Dani
Member Avatar for Wabu_1

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.

Member Avatar for Reverend Jim
-1
60
Member Avatar for Matthew_15

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 …

Member Avatar for Reverend Jim
0
152
Member Avatar for Edison_2

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.

Member Avatar for Dani
0
230
Member Avatar for Azim_1

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 …

Member Avatar for rubberman
0
294
Member Avatar for Chisanga_1

You can start by watching [this video](https://www.youtube.com/watch?v=tNfGyIW7aHM) on "How to do it".

Member Avatar for Traevel
0
297
Member Avatar for Suzie999

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.

Member Avatar for JamesCherrill
0
311
Member Avatar for Reverend Jim

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, …

Member Avatar for Reverend Jim
1
270
Member Avatar for ridwan_1

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.

Member Avatar for Reverend Jim
0
78
Member Avatar for Reverend Jim

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 …

Member Avatar for Reverend Jim
0
492
Member Avatar for Ghast

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.

Member Avatar for Ghast
0
299
Member Avatar for philpense

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.

Member Avatar for Reverend Jim
1
955
Member Avatar for Mark_54

>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 …

Member Avatar for Reverend Jim
0
442
Member Avatar for Tom_15

>Also, it's a good idea to quote the assignment spec Could be copyright issues with that. Probably best to paraphrase.

Member Avatar for Reverend Jim
0
2K
Member Avatar for Clayton_2
Member Avatar for AssertNull

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.

Member Avatar for diafol
0
395
Member Avatar for Jim_11

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 …

Member Avatar for tinstaafl
0
2K
Member Avatar for Mr.M

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 …

Member Avatar for Mr.M
0
2K

The End.