Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7831989
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T11:58:40+00:00 2026-06-02T11:58:40+00:00

How can I convert the following C# hexadecimal into a VB.NET hexadecimal? private const

  • 0

How can I convert the following C# hexadecimal into a VB.NET hexadecimal?

private const UInt32 temp = 0xE6359A60;

I tried the following, but it doesn’t work.

Public Const temp As System.UInt32 = 0xE6359A60
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T11:58:44+00:00Added an answer on June 2, 2026 at 11:58 am

    C# uses 0x and VB.NET uses &H as the prefix to specify hexadecimal numbers.
    try this.

    Public Const temp As Integer = &HE6359A60
    
    Sub Main
    
    End Sub
    

    And it could be as Uint also:

    Public Const temp As UInt32 = &HE6359A60UI
    
    Sub Main
    
    End Sub
    

    Check MSDN’s Type Characters (Visual Basic) documentation for defining hexadecimal and octal literals:

    The compiler normally construes an integer literal to be in the
    decimal (base 10) number system. You can force an integer literal to
    be hexadecimal (base 16) with the &H prefix, and you can force it to
    be octal (base 8) with the &O prefix. The digits that follow the
    prefix must be appropriate for the number system.

    References:

    • Hex number (not ASCII hex value) to string in VB.NET (Stack Overflow)
    • What does &H57 represent and how can I translate it for C#? (Stack Overflow)
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

How can i convert the following code into JSP. I tried ${} and <%=
Trying to convert the following but am having difficulty. Can anyone see where I'm
I'm trying to convert the following list into a select list so it can
Can I convert the following declaration and assignment into one line: Dim clientToTest As
How can we convert the following 64 bit binary into the long equivalent; 01111101
I would like to convert following Query into HQL Query. How can i do?
How can I convert the following statement into razor syntax? OnDocumentReady Method accepts Action
How can I convert the following SQL statement into a LinqToSQL statement? select field,
How can I convert the following C# code to Java? private T GenericMethod<T>(String value)
How can i convert following plsql to tsql. B.STATUS(+)=1 doesnt work in tsql. Select

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.