On page 80, of WROX's Beginning
VB.Net Databases by Thearon Willis ISBN: 0-7645-6800-0, they have the code:
Public Class Form1
Inherits System.Windows.Forms.Form
Private Sub btnGenerate_Click(ByVal sender As System.Object, _
ByVal e As System.EventArgs) Handles btnGenerate.Click
txtGuid.Text = guid.newGuid.tostring.toupper
End Sub
End Class
And I get the error:
D:\
VB\guid\Form1.
vb(73) : error BC30456: 'newGuid' is not a member of 'guid'.
I'm pretty sure that means I have to Import something, but I can't seem to figure out what. I tried:
Imports System.Guid
Imports Microsoft.Win32.SystemEvents
but that doesn't fix the problem. I'm running under VS.Net 2003.
R. W. DelPorto
R. W. DelPorto