4,901 Posted Topics
Re: 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 … ![]() | |
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? | |
Re: Are you doing an insert or an update? Are you using SqlClient or OleDB? | |
Re: What have you tried so far? | |
Re: 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? | |
Re: 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 … | |
Re: 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 … | |
Re: Likely already answered [here](https://www.daniweb.com/software-development/vbnet/threads/494665/monitor) | |
Re: If the thing you want to click is a button you can always execute it by myButton.PerformClick() | |
Re: 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.  | |
Re: Have you tried to do a repair/install or `sfc /scannow`? | |
Re: 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. … | |
Re: 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) | |
Re: @altjen - Please do not request help via Skype. Any answers provided through Skype would not be of use to anyone else on this forum. | |
Re: 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. | |
Re: 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 … | |
Re: 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) … | |
![]() | |
Re: 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 … | |
Re: 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. | |
Re: >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 … ![]() | |
Re: > 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 … | |
Re: 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 … | |
Re: 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. | |
Re: Why not just use [kiosk mode](http://www.howtogeek.com/173562/how-to-easily-put-a-windows-pc-into-kiosk-mode-with-assigned-access/)? | |
Re: How about DV.RowFilter = "ID = " & TextBox1.Text | |
Re: 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 | |
Re: 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 … | |
Re: 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 … | |
Re: In case you didn't know, you can edit a post within 30 minutes of submitting it. | |
![]() | Re: I *worked* with a few programming jokes, but to be fair, they probably thought the same of me. |
Re: What happens when you reboot and press F8? Do you get the option to boot windows normally? | |
Re: 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 … | |
Re: 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. | |
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 … | |
Re: You could restore it from your most recent backup. You **do** do backups, right? | |
Re: 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. | |
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 … | |
Re: >Its absolutely irrational There was a Kodak commercial years back where James Garner responds to a comment from Mariette Hartley with, "that doesn't make sense." She replies with "you mean you don't understand it." You might want to dial it back a bit. * How do quotes work on this … | |
Re: > Im busy I can help you on skype, can send and code if is needed. If you supply a solution via Skype then it doesn't help anyone else here. If you do this then please post the solution. | |
Re: Chat is very useful for those members with whom people want to chat. When someone has posted a message in your chat box the indicator will change to a different colour with a number indicating the number of waiting messages. The usefulness of a feature is not determined by your … | |
Re: I reported this same problem some days/weeks ago [here](https://www.daniweb.com/community-center/daniweb-community-feedback/threads/491822/edit-box-problem). | |
Re: We can't help you unless you show us your code. What are you using for your database? | |
Re: That is why I prefer to avoid the complicated method. Too many ways to bollux things up. Try this Dim con As New OleDbConnection(your connection string here) Dim cmd As New OleDbCommand("", con) cmd.CommandText = "INSERT INTO Films " _ & " (Title, Director, Certificate, Genre, " _ & " … | |
Re: What line is giving the error? You should use a DataReader. Try Dim query As String qry = "SELECT Description, Price " & " FROM tblProducts " & " WHERE pID = ?" Dim cmd As New OleDb.OleDbCommand(query, myConnToAccess) cmd.Parameters.AddWithValue("@parm", cmbID.Text) Dim rdr As OleDbDataReader = cmd.ExecuteReader() If rdr.Read Then … | |
Re: Assuming the numbers are separated by a comma, you could split the string into separate numeric string by Dim nums() As String = tbx.Nums.Text.Split(",") Then you could create a dictionary, iterate over the strings and add/increment the count for each unique string in the dictionary. | |
Re: Your spec is incomplete. 1. write a function 1. with two parameters, an array and constant k 1. should return an array where array(i) is equal to k You didn't specify what `i` is. It isn't a parameter, and if it is a global then the design is bad. By … | |
Re: >if you were presented with 15 ads in a row..you'd probably be annoyed and you would change the channel. The channel provider wouldn't like that. That's not good business. I don't believe that the networks ARE practising good business. At one time, an hour show was about 55 minutes long. … |
The End.