4,901 Posted Topics
This is just too good not to share with everyone. >The only reason coders' computers work better than non-coders' computers is coders know computers are schizophrenic little children with auto-immune diseases and we don't beat them when they're bad. From [Programming Sucks](http://stilldrinking.org/programming-sucks). A must-read. | |
![]() | Re: My senior year of high school was the only year of school up to then that I enjoyed. I got involved in our production of My Fair Lady. I started on scenery then ended up in the cast. That spring when our geography teacher took a group of students to … |
Re: What is the error? Please post the full text and identify the line causing the error. | |
![]() | Re: You could try [how to remove vmhost.exe](http://malwaretips.com/blogs/remove-vmhost-exe-virus/) first. ![]() |
Re: First of all, JJ Abrams doesn't know shit about Star Trek. See the excellent [Star Trek by the Minute](http://structureddream.blogspot.ca/2009/06/my-take-on-star-trek-2009-001.html) blog for more explanation. Against my better judgement I watched "Star Trek Into Darkness". More of the same nonsense and idiotic plot holes. for example, they establish that the new transporters … | |
Re: One way (not necessarily the best way) is to use [AutoIt](https://www.autoitscript.com/site/autoit/) to get a list of all windows and check the title bar text for a match. I use this for a lot of vbscript jobs to do just that. | |
Re: You mean you want us to do all the work for you even though you have shown no proof that you have put any effort into it yourself? | |
Re: The thing to keep in mind is that the computer belongs to your employer, not to you, so they have the right to monitor your activity. While something like a key logger may be too big-brotherish, logging what web sites you go to is not unreasonable. My former employer took … | |
Re: If you use a Dictionary (also known as an associative array) you can do the following: Dim cars As New Dictionary(Of String, Integer) For Each item As String In {"Opel,5", "BMW,7", "Renault,12", "Opel,3", "Renault,6"} Dim flds() As String = item.Split(",") Dim car As String = flds(0) Dim num As Integer … | |
Re: Don't make a typo. You are allowed only one change. | |
Re: Possibly it's because of other "stuff" that you have loaded on your computer. Without knowing what else you have installed it's impossible to tell. I'm extremely careful as to what I install. If I want to try something new that is even remotely questionable I install it into a virtual … | |
Re: I would suggest that instead of shuffling you start with a list of all possible numbers. Then for each new selection you just generate a random index from 0 to list.Count - 1. Once you retrieve the number at that index, remove it from the list. | |
Re: It is possible to portray higher dimensional objects in lower dimiensions but the result always contains distortions. Just look at maps. Most maps (in the projection which is most commonly used) show Greenland as inordinately large. In the same way we can portray a cube in two dimensions  … | |
Re: What is the message associated with the squiggly line? I suspect your control has a slightly different name than the one you typed in the code. | |
Re: That's why a lot of places have probationary periods. A degree is not a guarantee of skills but a degree with a transcript showing your grades is a better guarantee than the word of the applicant that he/she has read a lot of books and learned the skills independently. | |
Re: Add a label to the form at design time and on form load do Label1.Parent = PictureBox1 Label1.BackColor = Color.Transparent When you assign text to the label it will be visible. To make it disappear just assign the null string to the label. If the label text is the same … | |
Re: What is the make and model of your Dell system? I have a Dell Inspiron 1720 (32 bit) and I'm running Windows 7. | |
[Article here](http://thenextweb.com/google/2014/08/07/google-is-now-ranking-websites-with-https-higher-in-its-search-results/) | |
Re: Why not create the button in the main form and just use the second form to get the parameters? Private Sub Form1_MouseClick(sender As Object, e As System.Windows.Forms.MouseEventArgs) Handles Me.MouseClick If e.Button = Windows.Forms.MouseButtons.Right Then If Form2.ShowDialog = Windows.Forms.DialogResult.OK Then Dim btn As New Button btn.Text = Form2.txtLabel.Text btn.Location = e.Location … | |
Re: I've been using [Virtual Clone Drive](http://www.slysoft.com/en/virtual-clonedrive.html) for years. It works great, is free, and does not install any crapware. | |
Re: You don't need to use a timer to update the progress bar. Just increment the progressbar value in the loop you are tracking. As for the cross form update, why not just put the progress bar on the form containing the loop? | |
Re: A timer is simply another thread that runs concurrently with the main thread. When your program is minimized it does not have focus and does not receive notification of keyboard events. | |
Re: There's always [ReactOS](http://www.reactos.org/download) | |
Re: The obvious question is do you have Microsoft Word installed on the tablet? | |
Re: There is already a builtin way to generate a unique reference. It's called a GUID and you can use it as follows: Dim g As System.Guid = System.Guid.NewGuid It will generate a result of the form e57bf525-4b8e-4d09-98aa-53fe997acfb8 | |
Re: >I would suggest windows 8 because I use it and it works well and has a better user interface than windows 7 Keep in mind that this is one user's opinion and was given with no explanation as to why the interface is "better". | |
Re: You could start with a button and a timer and do Private Sub Button1_Click(sender As System.Object, e As System.EventArgs) Handles Button1.Click Process.Start(My.Computer.FileSystem.CurrentDirectory & "\first.exe") Timer1.Interval = 10 * 1000 'ten seconds Timer1.Start() End Sub Private Sub Timer1_Tick(sender As System.Object, e As System.EventArgs) Handles Timer1.Tick Timer1.Stop() Process.Start(My.Computer.FileSystem.CurrentDirectory & "\second.exe") End Sub | |
Re: You can set the index of the topmost entry with the TopIndex property. If you want to scroll automatically you could use a timer and modify the value of TopIndex on each timer event. | |
Re: >use PowerShell instead You'd think that with all the added power of PowerShell I'd finally be able to use ctrl-c and ctrl-v for copy and paste like every other dog damned program but nooooooooooooooo. I still have to go through the menu. But I'm not bitter. | |
Re: Go to **Edit Profile** and make sure you check **Receive Occasional Community-related Email?** | |
Re: Problems: 1. You didn't say what version of vb or vb.net 1. You posted in the wrong forum 1. You couldn't be bothered to provide any details 1. You didn't read [the rules](http://www.daniweb.com/community/rules) 1. We won't write your program for you | |
Re: Sounds painful. Kind of hard to get around without irritating it. Hope you are feeling better soon. | |
Re: The most challenging programs are typically the ones that you learn the most by doing. | |
Re: There is a more complete example [here](http://www.daniweb.com/software-development/vbnet/threads/481034/save-and-retrieve-word-document-in-sql-database). I wrote the code to handle saving/retrieving Word documents but the same code works for any type of file. | |
Re: That answer would have been more helpful if you had included the number. | |
Re: CTRL W = close (browser tab) CTRL O = open (standard app hotkey) Close your eyes and open your mind. | |
Re: How about For Each tbx As TextBox In Me.Controls.OfType(Of TextBox)() If Not tbx.ReadOnly Then tbx.Text = "" End If Next | |
Re: Is it possible that you are updating an in-memory copy of the database that is not getting saved to the actual database? | |
Re: Post your code and a description of the problem and we'll see what we can do. | |
Re: Depending on the mood I am in at the time, I may or may not delete posts like "what he said" as having zero content. Call it a loose interpretation of a Daniweb rule which states (in part) **Do ensure that all posts contain relevant content and substance** | |
Re: Password entropy is usually calculated by log2(x) where x is the number of characters in the pool. For example, a password of length 8 using only upper and lower case characters would be log2(52) * 8 = 45.6 The higher the entropy the better. However, even this number can be … | |
Re: Can't be done. What you could do is make a pseudo-button of your own by using a PictureBox. Set the BackColor to Transparent. | |
Re: If you can't find a free or reasonably priced library you might want to have a look at [VisiPics](http://www.visipics.info/index.php?title=Main_Page). This is a free application that I found does a pretty good job of comparing images. You can adjust the degree of similarity. | |
Re: I would not like anonymous comments. I think if you have something to say then you should be willing to have your name attached to it especially when what you have to say affects the reputation of another user. Having said that I have seen how anonymous voting can be … | |
Re: Perhaps something like this 'This assumes that only valid selections appear in cboSearchType Dim sql As String = "SELECT * FROM BusinessInfo WHERE " Select Case cboSearchType.Text Case "Accredited Month" sql = sql & AccreditationDate " & " like '" & cboMonths.Text & "%'" Case "Accredited Year" sql = sql … | |
Re: If you start with a form containing lbxWords (a ListBox) and txtFilter (a TextBox) then add the following code Public Class Form1 Private WordList() As String Private Filtered() As String Private Sub Form1_Load(sender As System.Object, e As System.EventArgs) Handles MyBase.Load WordList = Split("abatement abatements abater abaters abates abatic abating abatis … | |
Re: I've been programming since the 70s and I still haven't created one. ![]() |
The End.