4,901 Posted Topics

Member Avatar for Reverend Jim

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.

Member Avatar for Reverend Jim
1
392
Member Avatar for Warrens80

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 …

Member Avatar for veedeoo
0
250
Member Avatar for gil.nickson

What is the error? Please post the full text and identify the line causing the error.

Member Avatar for gil.nickson
0
280
Member Avatar for aaafan

You could try [how to remove vmhost.exe](http://malwaretips.com/blogs/remove-vmhost-exe-virus/) first.

Member Avatar for aaafan
0
181
Member Avatar for mattster

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 …

Member Avatar for mattster
0
359
Member Avatar for Start4me

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.

Member Avatar for Reverend Jim
0
187
Member Avatar for Aizaz Khan

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?

Member Avatar for Schol-R-LEA
-2
156
Member Avatar for samsudin

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 …

Member Avatar for melissad
0
592
Member Avatar for razree

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 …

Member Avatar for razree
0
2K
Member Avatar for Hamza Saleem
Member Avatar for beep

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 …

Member Avatar for Hiroshe
0
107
Member Avatar for Start4me

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.

Member Avatar for Minimalist
0
1K
Member Avatar for ddanbe
Member Avatar for Hiroshe
1
126
Member Avatar for ddanbe

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 ![cbd01b4660a6ec4ebad71de589f69069](/attachments/small/3/cbd01b4660a6ec4ebad71de589f69069.jpg "align-center") …

Member Avatar for mattster
0
766
Member Avatar for kyleagus
Member Avatar for Blueie

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.

Member Avatar for cgeier
0
199
Member Avatar for iConqueror

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.

Member Avatar for heidi.dum
1
481
Member Avatar for KnifeDarky

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 …

Member Avatar for KnifeDarky
0
155
Member Avatar for Benny_1

What is the make and model of your Dell system? I have a Dell Inspiron 1720 (32 bit) and I'm running Windows 7.

Member Avatar for Benny_1
0
292
Member Avatar for Reverend Jim

[Article here](http://thenextweb.com/google/2014/08/07/google-is-now-ranking-websites-with-https-higher-in-its-search-results/)

Member Avatar for PixelatedKarma
0
594
Member Avatar for gizidda

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 …

Member Avatar for Reverend Jim
0
438
Member Avatar for Slavi

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.

Member Avatar for Reverend Jim
0
209
Member Avatar for Sarwat Zodiac
Member Avatar for Nebil

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?

Member Avatar for Nebil
0
362
Member Avatar for supun.lakshan

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.

Member Avatar for Reverend Jim
0
887
Member Avatar for khakilang
Member Avatar for mrbungle
Member Avatar for Reverend Jim
0
913
Member Avatar for PM312

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

Member Avatar for Reverend Jim
0
208
Member Avatar for example868

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

Member Avatar for Reverend Jim
0
399
Member Avatar for Ryan Nigel

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

Member Avatar for tinstaafl
0
965
Member Avatar for xn hunk

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.

Member Avatar for tinstaafl
0
3K
Member Avatar for Slavi

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

Member Avatar for Slavi
0
244
Member Avatar for ggeoff

Go to **Edit Profile** and make sure you check **Receive Occasional Community-related Email?**

Member Avatar for Dani
0
655
Member Avatar for saira.banu

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

Member Avatar for Reverend Jim
-1
68
Member Avatar for Dani

Sounds painful. Kind of hard to get around without irritating it. Hope you are feeling better soon.

Member Avatar for <M/>
0
367
Member Avatar for iConqueror

The most challenging programs are typically the ones that you learn the most by doing.

Member Avatar for tinstaafl
0
256
Member Avatar for dennis.acquah1

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.

Member Avatar for Reverend Jim
0
212
Member Avatar for Barn Carolium
Member Avatar for iConqueror
-2
342
Member Avatar for iConqueror

CTRL W = close (browser tab) CTRL O = open (standard app hotkey) Close your eyes and open your mind.

Member Avatar for veedeoo
0
125
Member Avatar for Gus_19

How about For Each tbx As TextBox In Me.Controls.OfType(Of TextBox)() If Not tbx.ReadOnly Then tbx.Text = "" End If Next

Member Avatar for Gus_19
0
140
Member Avatar for Jessica_7

Is it possible that you are updating an in-memory copy of the database that is not getting saved to the actual database?

Member Avatar for Reverend Jim
0
130
Member Avatar for uDevv

Post your code and a description of the problem and we'll see what we can do.

Member Avatar for Reverend Jim
0
92
Member Avatar for Borzoi

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

Member Avatar for happygeek
0
273
Member Avatar for ronniel.duque.1

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 …

Member Avatar for Hiroshe
0
630
Member Avatar for Samarth_1

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.

Member Avatar for deceptikon
0
361
Member Avatar for Mr.M

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.

Member Avatar for Mr.M
0
211
Member Avatar for cgeier

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 …

Member Avatar for Dani
0
398
Member Avatar for mcdczzz

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 …

Member Avatar for mcdczzz
0
186
Member Avatar for liq

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 …

Member Avatar for Reverend Jim
0
768
Member Avatar for yeshamarques
Member Avatar for diafol
0
513

The End.