Great, thanks - I see my problem. I was doing guid.newguid like a method,
not a function - DUH...
Thanks for the help programatix.
"Programatix" <pr*********@nospam.com> wrote in message
news:OZ**************@TK2MSFTNGP11.phx.gbl...
It should be like this,
Dim myGUID as Guid
myGUI = Guid.NewGuid()
"Tom L" <tlanger_n05p4m_dls.net> wrote in message
news:I-********************@dls.net... That creates the guid field, but it doesn't populate it with anything..
Here's my code..
Dim blah As Guid
blah.NewGuid()
Results:
?blah.tostring
"00000000-0000-0000-0000-000000000000"
I want it to create the actual value = equivalent of doing @@NEWID in
sql.
"Programatix" <pr*********@nospam.com> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl... GuiId.NewGuiId()
"Tom L" <tlanger_n05p4m_dls.net> wrote in message
news:FO********************@dls.net...
> How can I create a guid value in vb.net? I'm creating a sql procedure, and
> I want to pass the new guid value over to SQL instead of SQL
creating it. >
> thx
>
>