4,911 Posted Topics

Member Avatar for PM312

You can't concatenate an array. To see how to insert binary data you can look at [this code snippet](https://www.daniweb.com/software-development/vbnet/code/461171/insert-a-file-as-binary-data-into-a-database). The example uses a PDF.

Member Avatar for PM312
0
3K
Member Avatar for westsiderailway

You can't use LIKE on numeric values. You can use DATEPART to extract the year portion. Your query string should be qry = "SELECT * FROM test_table" & " WHERE DATEPART(YY,myColumn) = " & myDate

Member Avatar for westsiderailway
0
372
Member Avatar for Reverend Jim

I thought I'd install the newest Visual Studio (2013) but all that happens is this (see below). I have all available updates installed plus the latest C++ runtimes. Does anyone have any suggestions? Attempts to get the referenced update result in downloading Visual Studio 2013 Update 3 and when I …

Member Avatar for Slavi
0
301
Member Avatar for imti321
Member Avatar for imti321
0
232
Member Avatar for randal booker
Member Avatar for marktwo

A quick check in vb.net and vbScript (sorry, do not have vb6 installed) gives the following results Math.Round(1.5) is 2.0 Math.Round(2.5) is 2.0 Math.Round(3.5) is 4.0 <edit> corrected from 3.0 </edit> Math.Round(4.5) is 4.0 <edit> corrected from 3.0 </edit> If the integer portion is odd then it rounds up. If …

Member Avatar for Reverend Jim
0
231
Member Avatar for JorgeM
Member Avatar for rosario1990

You start by putting in some effort on your own. [Google](http://goo.gl/XHAvvN) it.

Member Avatar for jim3472
-2
406
Member Avatar for jkon

Mine is under my avatar. Noli mentula, which (not literally) translated into English is "don't be a dick".

Member Avatar for Warrens80
0
322
Member Avatar for jez9

For what it's worth, GOTOs are evil. Before the advent of structured programming constructs like IF-THEN-ELSE, GOTOs were a necessary evil, but used properly they could be tolerated. I, myself, have (on rare occasions) used GOTOs to escape from nested constructs, but I have never had to resort to that …

Member Avatar for jez9
0
218
Member Avatar for PulsarScript

Lighten up. diafol did not out-and-out accuse you of asking us to do your homework. What he *did* do was take the time to provide information on table relationships, something which you would find useful considering that you do not seem to understand them. On a related note, having a …

Member Avatar for diafol
0
136
Member Avatar for Reverend Jim

I see that ALT-M has no particular signficaance on Daniweb pages. I recall that there are one or more hotleys already defined so would it be possible to link ALT-M on the forum thread pages to the MARK FORUM READ button?

Member Avatar for Reverend Jim
0
167
Member Avatar for bamun
Member Avatar for Reverend Jim
0
274
Member Avatar for Sequeira
Member Avatar for happygeek

When the party in power already benefits by gerrymandering and passing voter ID laws designed to minimize opposition votes, why should we be surprised when they also benefit from electroniic voting systems that are rigged in their favour?

Member Avatar for Reverend Jim
2
663
Member Avatar for samuelz

You could clear the textboxes whenever you do a insert or delete. This is unrelated to the question but you might simplify the query as query = "SELECT StudentNo,Fullname,Year,Term,Class " & " FROM StudentRegistration " & " WHERE StudentNo = '" & TxtStudentNo.Text & "'" & " AND class IN …

Member Avatar for samuelz
0
2K
Member Avatar for zakn

I strongly suggest you read [this](https://www.daniweb.com/software-development/vbnet/threads/424836/please-read-this-before-posting). It's titled **Please Rest This Before Posting** for a reason. Point 2 says, in part Create a meaningful title for your question. Your thread titles are yahoo mute? zip monitor fb None of these titles in any way gives any useful information on the …

Member Avatar for Reverend Jim
0
99
Member Avatar for zakn

Likely already answered [here](https://www.daniweb.com/software-development/vbnet/threads/494665/monitor)

Member Avatar for Reverend Jim
0
96
Member Avatar for Rustatic

If the thing you want to click is a button you can always execute it by myButton.PerformClick()

Member Avatar for J.C. SolvoTerra
0
277
Member Avatar for DaveAmour

You'll have to open this picture in another tab to get the effect because it is an animated gif. It's a false colour illusion. ![CLvcc.gif](/attachments/small/3/5e20cc8cbb947b8c397a8f0e7cd7c98d.gif "align-left")

Member Avatar for advent_geek
1
405
Member Avatar for Wanjan
Member Avatar for Kelly Burby
0
106
Member Avatar for Siberian

I don't know how your system is partitioned but what I have done for years is (on a single disk system) to create a C and D partition where C is 60-70 gig (depending on how many apps you have installed), and D is the rest of the available space. …

Member Avatar for Reverend Jim
0
247
Member Avatar for eetigu

You could convert nulls to 0. In MS SQL it is the COALESCE function. When you specify a column, instead of SELECT column use SELECT COALESCE(column,0)

Member Avatar for AleMonteiro
0
661
Member Avatar for altjen

@altjen - Please do not request help via Skype. Any answers provided through Skype would not be of use to anyone else on this forum.

Member Avatar for AleMonteiro
0
204
Member Avatar for Emma Etigu

When would you like it to load? It can be done on the click of a button, after a given time interval, at a specific time of day, when a file appears in a folder, etc.

Member Avatar for altjen
0
1K
Member Avatar for gbhs

You can use regular expressions. Here's your example Imports System.Text.RegularExpressions Public Class Form1 Private Sub Form1_Load(sender As System.Object, e As System.EventArgs) Handles MyBase.Load Dim rx As New Regex("\d+") Dim s As String = "32/355ab//3456" For Each m As Match In rx.Matches(s) MsgBox(m.Value) Next End Sub End Class The output will …

Member Avatar for gbhs
0
322
Member Avatar for wagraphics

As far as I know, auto-complete only matches from the beginning of the string. If you want to match any string at any position you'll have to roll your own. You could populate a listbox with every keystroke to contain only the matching strings. The user could click (or double-click) …

Member Avatar for wagraphics
0
145
Member Avatar for diafol
Member Avatar for karodhill

Try If radResidential.Checked Then totalDue = 4.5 + 30 + 5 * premiumChannels Else totalDue = 16.50 + 80 + 4 * Math.Max(premiumChannels - 10, 0) End If Math.Max returns the maximum of the two values. If the number of channels is 10 or fewer it return 0, otherwise it …

Member Avatar for Reverend Jim
0
149
Member Avatar for LulaLulaLula

Try Private Sub Form1_Load(sender As System.Object, e As System.EventArgs) Handles MyBase.Load For Each tbx As TextBox In Me.Controls.OfType(Of TextBox)() AddHandler tbx.Enter, AddressOf TextBox_Enter Next End Sub Private Sub TextBox_Enter(sender As System.Object, e As System.EventArgs) Dim tbx As TextBox = sender lblMessage.Caption = tbx.Tag End Sub Use the same for ComboBox.

Member Avatar for Reverend Jim
0
250
Member Avatar for DaveAmour

>We (within Polish webdeveloping society) call person like Dani script-newbie (also script-kiddie) - she is knowledgeable how to code (=write code), but dont understand what many directives do on their own. Im more than sure if she was to take SC exam, she would fail So now we are at …

Member Avatar for diafol
0
1K
Member Avatar for DaveAmour

> I guess most native English speaking people will notice that English is not my main language. Nothing that couldn't be attributed to fumbly keyboarding. Trust me, your English is vastly superior to my pathetic attempts at a foreign language. What I don't understand is the people who post in …

Member Avatar for ddanbe
0
127
Member Avatar for tucker001

You'll want to get the value from the input box as a string as in Dim a As String = InputBox("Enter the snowfall totals month by month: ") Then you can test the string If IsNumeric(a) Then num = CInt(a) You may then test for positive or negative. Note that …

Member Avatar for Reverend Jim
0
144
Member Avatar for Russellbd

Google is your friend. You can find instructions [here](http://pcsupport.about.com/od/windows7/a/install-windows-7-usb.htm) on how to install Wiindows from a USB flash drive. This is for Windows 7. Should also work for XP.

Member Avatar for Kevin_14
0
160
Member Avatar for Wuhoo

Why not just use [kiosk mode](http://www.howtogeek.com/173562/how-to-easily-put-a-windows-pc-into-kiosk-mode-with-assigned-access/)?

Member Avatar for cgeier
0
311
Member Avatar for altjen
Member Avatar for Athanassios

How about For Each line As String In lines if not line.StartsWith("#") then Dim columns() As String = line.Split(" ") Dim index = Me.DataGridView1.Rows.Add() Me.DataGridView1.Rows(index).SetValues(columns) end if Next

Member Avatar for Athanassios
0
680
Member Avatar for XP78USER

Microsoft has made many changes from Windows 7 to Windows 10. They redesigned the start menu (and made it worse) after having removed it in Windows 8. They've, yet again, rearranged everything so I have to go looking for the new locations, etc, etc. The thing I am absolutely the …

Member Avatar for Lardmeister
0
361
Member Avatar for Wojciech_1

The point of the voting is to let you know what people think of your post. If you keep getting down-votes then that should tell you something useful regardless of whether or not you know the users who down-voted. The only reason to might want to know who down-voted you …

Member Avatar for Reverend Jim
-4
337
Member Avatar for aakashchopra121

"The best database" depends on many factors such as 1. your level of expertise 1. the amount of the data to be managed 1. the type of data to be managed 1. the number of concurrent users 1. the OS hosting the database and "to host the cloud" is so …

Member Avatar for diafol
0
90
Member Avatar for Emma Etigu

In case you didn't know, you can edit a post within 30 minutes of submitting it.

Member Avatar for Emma Etigu
0
339
Member Avatar for humorousone

I *worked* with a few programming jokes, but to be fair, they probably thought the same of me.

Member Avatar for ZZucker
0
501
Member Avatar for Carmenchi

What happens when you reboot and press F8? Do you get the option to boot windows normally?

Member Avatar for helenspencer
0
119
Member Avatar for mattyd

There are three easy ways. 1. Click the **Code** tool. This will open a window where you can paste your code. When you click **Insert code snippet** or press **ALT-I**, the code will be inserted into your post. 2. Paste the code directly into your post. If you do it …

Member Avatar for Reverend Jim
0
352
Member Avatar for Wojciech_1
Member Avatar for cereal
-2
860
Member Avatar for robroyxdry

I have learned the hard way that Restore Points are not 100% reliable. I disable the feature and rely on periodic disk images for when things go south.

Member Avatar for Reverend Jim
0
172
Member Avatar for Reverend Jim

At a recent conference, Microsoft said that the switch to allow Secure Boot to be turned off would be optional. "Hardware can be Designed for Windows 10 and can offer no way to opt out of the Secure Boot lock down." The presenter did not touch on whether OEMS can …

Member Avatar for se25
0
426
Member Avatar for Siberian
Member Avatar for Reverend Jim
0
174
Member Avatar for Wojciech_1

Hopefully he will realize that he is a guest in Dani's house and like all rude guests he will eventually be asked to leave.

Member Avatar for deceptikon
-5
288
Member Avatar for Reverend Jim

I just posted an [article](https://www.daniweb.com/software-development/vbnet/threads/493564/windows-10-and-secure-boot) in Hardware & Software -> Microsoft Windows with the title "Windows 10 and Secure Boot". I added a few tags in the Tags field and when I submitted I was told "You do not have permission to create new tag(s): 10". I was told the …

Member Avatar for Dani
0
298

The End.