4,901 Posted Topics

Member Avatar for Kevin_7

It the OP manages to do this it would be the very definition of a cache cow.

Member Avatar for khakilang
0
117
Member Avatar for vodkasoda

If you do SELECT MailTypeName, LeagueName FROM MailTypes AS M INNER JOIN Leagues AS L ON M.MailTypeID = L.MailTypeID ORDER BY MailTypeName you get Pass 1 League4 Pass 1 League5 Pass 2 League1 Pass 2 League3 Pass 3 League2 Pass 3 League6 which, with a little formatting, is what you …

Member Avatar for vodkasoda
0
355
Member Avatar for rectifier

I don't know about newer versions of folder lock, but older versions relied on a rootkit. As such, folders were hidden only when accessing them from that machine and that OS. Folders and files were available if accessed from another machine (on the network) or by booting another OS such …

Member Avatar for Reverend Jim
0
1K
Member Avatar for Reverend Jim

Considering the demographic this is a long shot but is there anyone else here who has been involved in the SPEBSQSA?

Member Avatar for Reverend Jim
0
101
Member Avatar for diafol

I've noticed that on a few news articles. Perhaps the Sticky flag on news articles should have an expiry date. After expiry they would still bubble up to the top as long as people are posting.

Member Avatar for richkardmunga.hounarable
0
595
Member Avatar for tasmotors

Function fact(n) If n < 2 Then fact = 1 Else fact = n * fact(n-1) End If End Function

Member Avatar for Reverend Jim
0
91
Member Avatar for Reverend Jim

I've been having a problem for (I'm guessing) a few months that I finally resolved and I'm posting it here as a warning. The problem occurs in Outlook 2003 but may also occur in later versions. **Symptoms** I'd start composing an email in Outlook 2003 and save it to the …

Member Avatar for Reverend Jim
0
308
Member Avatar for Nebil

Another possibility would be to have a public property declared in the called form and have it set to a different value from each menu handler. Then the called form could use the value of that variable to do the appropriate initialization. That puts more of the logic in the …

Member Avatar for Reverend Jim
0
144
Member Avatar for theashman88
Member Avatar for theashman88
0
178
Member Avatar for Sahil89
Member Avatar for rubberman
0
1K
Member Avatar for happygeek

I've used PowerQuest, Acronis and Macrium Reflect to make system images (I no longer use PQ). With both Acronis and Macrium I have bootable media that I can use in the event I have to restore an image and I cannot boot into Windows. Is there similar functionality for the …

Member Avatar for rubberman
0
511
Member Avatar for alina.nazchowdhury

Try dtaTitles.Recordset.Find("Author >= '" & cmdLetter(Index).Caption & "'", 0, adSearchForward) It would also help if you specify what version of VB you are using. In my version (2010), Variant is not a valid type. You should be using "&" for concatenation rather than "+". And finally, instead of If dtaTitles.Recordset.EOF …

Member Avatar for alina.nazchowdhury
0
337
Member Avatar for pritaeas
Member Avatar for serkan sendur

Did MS ever officially implement the open doc format? If so, was it a "real" implementation or was it their typical "our version of ODF" which means "incompatible with real ODF"?

Member Avatar for Reverend Jim
0
333
Member Avatar for poiu1
Member Avatar for john_56

Just checking your profile. Can you clarify something? You mention >Pretty mad individual Are we talking "monster raving looney" mad or "mad as hell and I'm not going to take it anymore" mad? Or possibly even "a little from column A and a little from column B"? Just curious ;-P

Member Avatar for JorgeM
0
231
Member Avatar for nyathikhulumani

If you have downloaded the entire project file and it was built using Visual Studio 2010 then you may find an executable in either MyProject\MyProject\bin\Debug or MyProject\MyProject\bin\Release Just replace "MyProject" with the actual project name.

Member Avatar for Reverend Jim
0
38
Member Avatar for kjklls

You could use a BackGroundWorker control to execute the code in another thread.

Member Avatar for Reverend Jim
0
266
Member Avatar for Ancient Dragon
Member Avatar for ddanbe

I see it from time to time. Mostly for notifications that I have received a PM.

Member Avatar for Reverend Jim
0
224
Member Avatar for Ancient Dragon

The first thing I would look at is if your game is compatible with Windows 8.1. After that I would check to see if there are issues with your video card/drivers. You may find info on this on the Blizzard forums. If there is a newer version of the drivers …

Member Avatar for jwenting
0
200
Member Avatar for RLS0812

EA used to produce great software. They created some of the best software released on the Amiga. However, from what I hear about them these days they are pretty much evil incarnate.

Member Avatar for jwenting
0
225
Member Avatar for LeNenne
Member Avatar for happygeek

Midnight at the oasis Send your camel to bed Maria Muldaur It's not poetic or deep. It's just odd, and that's why I like it.

Member Avatar for happygeek
0
271
Member Avatar for Twirlz
Member Avatar for Iamateur

When you do Dim myarr(2) As Integer You are declaring an array of integers (indices 0, 1, 2). When you do Dim myarr(2)() As Integer You are declaring an array of array of integers. This structure can contain 3 arrays of indeterminate length as in Dim myarr(2)() As Integer myarr(0) …

Member Avatar for G_Waddell
0
116
Member Avatar for mavtcr

I suggest using CTRL instead of ALT for two reasons: 1. CTRL-ENTER is used in many other apps for this purpose 1. ALT typically activates the menu

Member Avatar for G_Waddell
0
981
Member Avatar for s.sankaralingam
Member Avatar for cynthiarc

This sounds like a homework assignment. We don't do your homework for you.

Member Avatar for Reverend Jim
0
55
Member Avatar for KushMishra
Member Avatar for RADSMIL
Member Avatar for VBnewbiecode

Did you happen to notice that the code as posted is incomplete? For example, even though it starts with **Private Sub** there is no opening **If** statement. That means some of the code was left out.

Member Avatar for Reverend Jim
0
200
Member Avatar for fx.eko

It's hard to be specific without seeing the code but generally the problem is because you declared a reference to an object but did not actually create an instance. It's the difference between Dim myobj As SomeObject 'a reference to SomeObject and Dim myobj As New SomeObject 'an instance of …

Member Avatar for fx.eko
0
906
Member Avatar for Ancient Dragon
Member Avatar for benscomputers

Note that this does no error checking - it assumes that all of the strings represent numbers. Dim strings() As String = System.IO.File.ReadAllLines("D:\temp\test.txt") Dim numbers(UBound(strings)) As Integer For i = 0 To UBound(strings) numbers(i) = CInt(strings(i)) Next A version that checks but does not strictly speaking use an array is …

Member Avatar for jeremy.lawrence.7587
0
1K
Member Avatar for mavtcr

You can specify the sort order when you retrieve the records by using the ORDER BY clause in the query. SELECT * FROM mytable ORDER BY fieldname

Member Avatar for mavtcr
0
357
Member Avatar for aabbccbryanmark_1
Member Avatar for ronakpatel94apc

You need to account for all cases. Your function does nothing for Fact(0). You should also just return a value rather than assign it to the textbox in the function. Private Function Fact(no As Integer) As Integer If no > 1 Then Return no * Fact(no - 1) Else Return …

Member Avatar for Reverend Jim
0
108
Member Avatar for sanitak

I think you are going to have to ask a more specific question. I really do not know what you are asking. Also, for future reference, daniweb does not use bbcode tags ([B], etc). We use markdown syntax. For details please see [here](http://www.daniweb.com/community/syntax). That page is also available by clicking …

Member Avatar for sanitak
0
216
Member Avatar for Roily Lucky

In order to be useful it is necessary for dynamically created controls to be added to the form (or a container in the form). Typically you also want to add event handlers. There are examples of how to create controls at runtime, attach event handlers, etc. in the [code snippets](http://www.daniweb.com/software-development/vbnet/code/_/58) …

Member Avatar for Reverend Jim
0
334
Member Avatar for Gebby

You can download Visual Studio Express for free [here](http://www.visualstudio.com/en-US/products/visual-studio-express-vs). This is VS 2013. You can download visual studio express 2012 [here](http://www.microsoft.com/en-ca/download/details.aspx?id=34673)

Member Avatar for Ancient Dragon
0
442
Member Avatar for christan

See this example (con is the connection object) Dim cmd As New SqlCommand("", con) cmd.CommandType = CommandType.StoredProcedure cmd.CommandText = "InsertRecord" cmd.Parameters.Add("@Details", SqlDbType.VarChar) con.Open() cmd.Parameters("@Details").Value = "Sample details 1" cmd.ExecuteNonQuery() cmd.Parameters("@Details").Value = "Sample details 2" cmd.ExecuteNonQuery() cmd.Parameters("@Details").Value = "Sample details 3" cmd.ExecuteNonQuery() con.Close() Just replace the centre block (between con.Open and …

Member Avatar for pawanthenerd
0
238
Member Avatar for chicpang

I wrote this script a few years ago to do just that. You can modify it to restrict it to specific types of names. See attached. Usage: delete_older_than #days [folder] [-s] [-l] where #days number of days to keep folder name of folder containing files to delete (default is current) …

Member Avatar for Reverend Jim
0
1K
Member Avatar for Ketsuekiame

There is one post by you in the thread that is visible. The deleted post was a duplicate. It is still visible (but greyed out) to me because I am a moderator. What is the problem?

Member Avatar for Ketsuekiame
0
306
Member Avatar for alexander.andrew.7771

If you do a Split(line,"=") on each line you will get an array where element 0 has everything to the left of "=" and element 1 gets everything to the right. In actual code it looks like For Each line As String In System.IO.File.ReadAllLines("D:\test.txt") Dim fields() As String = line.Split("=") …

Member Avatar for Reverend Jim
0
87
Member Avatar for Reverend Jim

While browsing [this thread](http://www.daniweb.com/software-development/vbnet/threads/472112/increment-or-loop-how-help-me-good-sirs) I noticed that the code was unformatted. Mr. Waddell is well aware of how to format code so I was surprised. When I went to edit the code, however, I saw that it **was** formatted correctly. Here is a section of the code as originally entered …

Member Avatar for Reverend Jim
0
232
Member Avatar for y0yie_333

From what I understand, fingerprints are not compared the way you would compare images. This is especially impractical considering the varying quality of fingerprints. Some are partials, others are smudged, etc. Instead, fingerprints are reduced to a numerical representation that describes certain characteristics (whorls, bifurcations, etc) and these represeentations are …

Member Avatar for abelingaw
0
482
Member Avatar for LukeJWhitworth

Start with this Dim sdate As Date = CDate("2014-01-01") Dim edate As Date = CDate("2014-01-31") Do While sdate <= edate If IsWeekDay(sdate) Then ListBox1.Items.Add(sdate & " " & WeekdayName(Weekday(sdate))) End If sdate = DateAdd(DateInterval.Day, 1, sdate) Loop Private Function IsWeekDay(d As Date) As Boolean Return d.DayOfWeek >= DayOfWeek.Monday And d.DayOfWeek …

Member Avatar for Reverend Jim
0
184
Member Avatar for on94

You have to refer to a particular instance of an object. Use form2.TextBox1.Text rather then form2.TextBox.Text

Member Avatar for G_Waddell
0
122
Member Avatar for napninjanx

Album art can also be embedded in the mp3 file itself as metadata so don't knock yourself out if you end up with album art but cannot locate a separate art file.

Member Avatar for Reverend Jim
0
974

The End.