How to transfer values between Integer and UInt32 Type?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

The below code always get compile error, "Can not change Interger to UInt32". Then How to set the BackColor property

With TextObjec
.Name = "txtProductCode
.SetText("Apple"
.BackColor = 8 ' BackColor is UInt32 typ
End Wit
 
.BackColor = System.Convert.ToUInt32(8)

Craig VB.Net Team
--------------------
Thread-Topic: How to transfer values between Integer and UInt32 Type?
thread-index: AcRN/5eFbYBMOee9S7ma1e2vWmbtRQ==
X-WN-Post: microsoft.public.dotnet.languages.vb
From: =?Utf-8?B?c3RlZWxsb2Nr?= <[email protected]>
Subject: How to transfer values between Integer and UInt32 Type?
Date: Wed, 9 Jun 2004 01:56:02 -0700
Lines: 8
Message-ID: <[email protected]>
MIME-Version: 1.0
Content-Type: text/plain;
charset="Utf-8"
Content-Transfer-Encoding: 7bit
X-Newsreader: Microsoft CDO for Windows 2000
Content-Class: urn:content-classes:message
Importance: normal
Priority: normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
Newsgroups: microsoft.public.dotnet.languages.vb
Path: cpmsftngxa10.phx.gbl
Xref: cpmsftngxa10.phx.gbl microsoft.public.dotnet.languages.vb:208546
NNTP-Posting-Host: tk2msftcmty1.phx.gbl 10.40.1.180
X-Tomcat-NG: microsoft.public.dotnet.languages.vb

The below code always get compile error, "Can not change Interger to
UInt32". Then How to set the BackColor property?

With TextObject
.Name = "txtProductCode"
.SetText("Apple")
.BackColor = 8 ' BackColor is UInt32 type
End With
 
Back
Top